def batch_get_deployments(deploymentIds=None):
    """
    Gets information about one or more deployments.
    See also: AWS API Documentation
    
    
    :example: response = client.batch_get_deployments(
        deploymentIds=[
            'string',
        ]
    )
    
    
    :type deploymentIds: list
    :param deploymentIds: A list of deployment IDs, separated by spaces.
            (string) --
            

    :rtype: dict
    :return: {
        'deploymentsInfo': [
            {
                'applicationName': 'string',
                'deploymentGroupName': 'string',
                'deploymentConfigName': 'string',
                'deploymentId': 'string',
                'previousRevision': {
                    'revisionType': 'S3'|'GitHub',
                    's3Location': {
                        'bucket': 'string',
                        'key': 'string',
                        'bundleType': 'tar'|'tgz'|'zip',
                        'version': 'string',
                        'eTag': 'string'
                    },
                    'gitHubLocation': {
                        'repository': 'string',
                        'commitId': 'string'
                    }
                },
                'revision': {
                    'revisionType': 'S3'|'GitHub',
                    's3Location': {
                        'bucket': 'string',
                        'key': 'string',
                        'bundleType': 'tar'|'tgz'|'zip',
                        'version': 'string',
                        'eTag': 'string'
                    },
                    'gitHubLocation': {
                        'repository': 'string',
                        'commitId': 'string'
                    }
                },
                'status': 'Created'|'Queued'|'InProgress'|'Succeeded'|'Failed'|'Stopped'|'Ready',
                'errorInformation': {
                    'code': 'DEPLOYMENT_GROUP_MISSING'|'APPLICATION_MISSING'|'REVISION_MISSING'|'IAM_ROLE_MISSING'|'IAM_ROLE_PERMISSIONS'|'NO_EC2_SUBSCRIPTION'|'OVER_MAX_INSTANCES'|'NO_INSTANCES'|'TIMEOUT'|'HEALTH_CONSTRAINTS_INVALID'|'HEALTH_CONSTRAINTS'|'INTERNAL_ERROR'|'THROTTLED'|'ALARM_ACTIVE'|'AGENT_ISSUE'|'AUTO_SCALING_IAM_ROLE_PERMISSIONS'|'AUTO_SCALING_CONFIGURATION'|'MANUAL_STOP',
                    'message': 'string'
                },
                'createTime': datetime(2015, 1, 1),
                'startTime': datetime(2015, 1, 1),
                'completeTime': datetime(2015, 1, 1),
                'deploymentOverview': {
                    'Pending': 123,
                    'InProgress': 123,
                    'Succeeded': 123,
                    'Failed': 123,
                    'Skipped': 123,
                    'Ready': 123
                },
                'description': 'string',
                'creator': 'user'|'autoscaling'|'codeDeployRollback',
                'ignoreApplicationStopFailures': True|False,
                'autoRollbackConfiguration': {
                    'enabled': True|False,
                    'events': [
                        'DEPLOYMENT_FAILURE'|'DEPLOYMENT_STOP_ON_ALARM'|'DEPLOYMENT_STOP_ON_REQUEST',
                    ]
                },
                'updateOutdatedInstancesOnly': True|False,
                'rollbackInfo': {
                    'rollbackDeploymentId': 'string',
                    'rollbackTriggeringDeploymentId': 'string',
                    'rollbackMessage': 'string'
                },
                'deploymentStyle': {
                    'deploymentType': 'IN_PLACE'|'BLUE_GREEN',
                    'deploymentOption': 'WITH_TRAFFIC_CONTROL'|'WITHOUT_TRAFFIC_CONTROL'
                },
                'targetInstances': {
                    'tagFilters': [
                        {
                            'Key': 'string',
                            'Value': 'string',
                            'Type': 'KEY_ONLY'|'VALUE_ONLY'|'KEY_AND_VALUE'
                        },
                    ],
                    'autoScalingGroups': [
                        'string',
                    ]
                },
                'instanceTerminationWaitTimeStarted': True|False,
                'blueGreenDeploymentConfiguration': {
                    'terminateBlueInstancesOnDeploymentSuccess': {
                        'action': 'TERMINATE'|'KEEP_ALIVE',
                        'terminationWaitTimeInMinutes': 123
                    },
                    'deploymentReadyOption': {
                        'actionOnTimeout': 'CONTINUE_DEPLOYMENT'|'STOP_DEPLOYMENT',
                        'waitTimeInMinutes': 123
                    },
                    'greenFleetProvisioningOption': {
                        'action': 'DISCOVER_EXISTING'|'COPY_AUTO_SCALING_GROUP'
                    }
                },
                'loadBalancerInfo': {
                    'elbInfoList': [
                        {
                            'name': 'string'
                        },
                    ]
                },
                'additionalDeploymentStatusInfo': 'string',
                'fileExistsBehavior': 'DISALLOW'|'OVERWRITE'|'RETAIN'
            },
        ]
    }
    
    
    :returns: 
    S3: An application revision stored in Amazon S3.
    GitHub: An application revision stored in GitHub.
    
    """
    pass
