{ "version": "2.0", "metadata": { "apiVersion": "2014-10-06", "endpointPrefix": "codedeploy", "jsonVersion": "1.1", "protocol": "json", "serviceAbbreviation": "CodeDeploy", "serviceFullName": "AWS CodeDeploy", "serviceId": "CodeDeploy", "signatureVersion": "v4", "targetPrefix": "CodeDeploy_20141006", "uid": "codedeploy-2014-10-06" }, "operations": { "AddTagsToOnPremisesInstances": { "input": { "type": "structure", "required": [ "tags", "instanceNames" ], "members": { "tags": { "shape": "S2" }, "instanceNames": { "shape": "S6" } } } }, "BatchGetApplicationRevisions": { "input": { "type": "structure", "required": [ "applicationName", "revisions" ], "members": { "applicationName": {}, "revisions": { "shape": "Sa" } } }, "output": { "type": "structure", "members": { "applicationName": {}, "errorMessage": {}, "revisions": { "type": "list", "member": { "type": "structure", "members": { "revisionLocation": { "shape": "Sb" }, "genericRevisionInfo": { "shape": "Su" } } } } } } }, "BatchGetApplications": { "input": { "type": "structure", "required": [ "applicationNames" ], "members": { "applicationNames": { "shape": "S10" } } }, "output": { "type": "structure", "members": { "applicationsInfo": { "type": "list", "member": { "shape": "S13" } } } } }, "BatchGetDeploymentGroups": { "input": { "type": "structure", "required": [ "applicationName", "deploymentGroupNames" ], "members": { "applicationName": {}, "deploymentGroupNames": { "shape": "Sw" } } }, "output": { "type": "structure", "members": { "deploymentGroupsInfo": { "type": "list", "member": { "shape": "S1b" } }, "errorMessage": {} } } }, "BatchGetDeploymentInstances": { "input": { "type": "structure", "required": [ "deploymentId", "instanceIds" ], "members": { "deploymentId": {}, "instanceIds": { "shape": "S31" } } }, "output": { "type": "structure", "members": { "instancesSummary": { "type": "list", "member": { "shape": "S35" } }, "errorMessage": {} } }, "deprecated": true, "deprecatedMessage": "This operation is deprecated, use BatchGetDeploymentTargets instead." }, "BatchGetDeploymentTargets": { "input": { "type": "structure", "members": { "deploymentId": {}, "targetIds": { "shape": "S3i" } } }, "output": { "type": "structure", "members": { "deploymentTargets": { "type": "list", "member": { "shape": "S3m" } } } } }, "BatchGetDeployments": { "input": { "type": "structure", "required": [ "deploymentIds" ], "members": { "deploymentIds": { "shape": "S42" } } }, "output": { "type": "structure", "members": { "deploymentsInfo": { "type": "list", "member": { "shape": "S45" } } } } }, "BatchGetOnPremisesInstances": { "input": { "type": "structure", "required": [ "instanceNames" ], "members": { "instanceNames": { "shape": "S6" } } }, "output": { "type": "structure", "members": { "instanceInfos": { "type": "list", "member": { "shape": "S4k" } } } } }, "ContinueDeployment": { "input": { "type": "structure", "members": { "deploymentId": {}, "deploymentWaitType": {} } } }, "CreateApplication": { "input": { "type": "structure", "required": [ "applicationName" ], "members": { "applicationName": {}, "computePlatform": {} } }, "output": { "type": "structure", "members": { "applicationId": {} } } }, "CreateDeployment": { "input": { "type": "structure", "required": [ "applicationName" ], "members": { "applicationName": {}, "deploymentGroupName": {}, "revision": { "shape": "Sb" }, "deploymentConfigName": {}, "description": {}, "ignoreApplicationStopFailures": { "type": "boolean" }, "targetInstances": { "shape": "S4c" }, "autoRollbackConfiguration": { "shape": "S1z" }, "updateOutdatedInstancesOnly": { "type": "boolean" }, "fileExistsBehavior": {} } }, "output": { "type": "structure", "members": { "deploymentId": {} } } }, "CreateDeploymentConfig": { "input": { "type": "structure", "required": [ "deploymentConfigName" ], "members": { "deploymentConfigName": {}, "minimumHealthyHosts": { "shape": "S4v" }, "trafficRoutingConfig": { "shape": "S4y" }, "computePlatform": {} } }, "output": { "type": "structure", "members": { "deploymentConfigId": {} } } }, "CreateDeploymentGroup": { "input": { "type": "structure", "required": [ "applicationName", "deploymentGroupName", "serviceRoleArn" ], "members": { "applicationName": {}, "deploymentGroupName": {}, "deploymentConfigName": {}, "ec2TagFilters": { "shape": "S1e" }, "onPremisesInstanceTagFilters": { "shape": "S1h" }, "autoScalingGroups": { "shape": "S4d" }, "serviceRoleArn": {}, "triggerConfigurations": { "shape": "S1p" }, "alarmConfiguration": { "shape": "S1v" }, "autoRollbackConfiguration": { "shape": "S1z" }, "deploymentStyle": { "shape": "S22" }, "blueGreenDeploymentConfiguration": { "shape": "S25" }, "loadBalancerInfo": { "shape": "S2d" }, "ec2TagSet": { "shape": "S2s" }, "ecsServices": { "shape": "S2w" }, "onPremisesTagSet": { "shape": "S2u" } } }, "output": { "type": "structure", "members": { "deploymentGroupId": {} } } }, "DeleteApplication": { "input": { "type": "structure", "required": [ "applicationName" ], "members": { "applicationName": {} } } }, "DeleteDeploymentConfig": { "input": { "type": "structure", "required": [ "deploymentConfigName" ], "members": { "deploymentConfigName": {} } } }, "DeleteDeploymentGroup": { "input": { "type": "structure", "required": [ "applicationName", "deploymentGroupName" ], "members": { "applicationName": {}, "deploymentGroupName": {} } }, "output": { "type": "structure", "members": { "hooksNotCleanedUp": { "shape": "S1k" } } } }, "DeleteGitHubAccountToken": { "input": { "type": "structure", "members": { "tokenName": {} } }, "output": { "type": "structure", "members": { "tokenName": {} } } }, "DeregisterOnPremisesInstance": { "input": { "type": "structure", "required": [ "instanceName" ], "members": { "instanceName": {} } } }, "GetApplication": { "input": { "type": "structure", "required": [ "applicationName" ], "members": { "applicationName": {} } }, "output": { "type": "structure", "members": { "application": { "shape": "S13" } } } }, "GetApplicationRevision": { "input": { "type": "structure", "required": [ "applicationName", "revision" ], "members": { "applicationName": {}, "revision": { "shape": "Sb" } } }, "output": { "type": "structure", "members": { "applicationName": {}, "revision": { "shape": "Sb" }, "revisionInfo": { "shape": "Su" } } } }, "GetDeployment": { "input": { "type": "structure", "required": [ "deploymentId" ], "members": { "deploymentId": {} } }, "output": { "type": "structure", "members": { "deploymentInfo": { "shape": "S45" } } } }, "GetDeploymentConfig": { "input": { "type": "structure", "required": [ "deploymentConfigName" ], "members": { "deploymentConfigName": {} } }, "output": { "type": "structure", "members": { "deploymentConfigInfo": { "type": "structure", "members": { "deploymentConfigId": {}, "deploymentConfigName": {}, "minimumHealthyHosts": { "shape": "S4v" }, "createTime": { "type": "timestamp" }, "computePlatform": {}, "trafficRoutingConfig": { "shape": "S4y" } } } } } }, "GetDeploymentGroup": { "input": { "type": "structure", "required": [ "applicationName", "deploymentGroupName" ], "members": { "applicationName": {}, "deploymentGroupName": {} } }, "output": { "type": "structure", "members": { "deploymentGroupInfo": { "shape": "S1b" } } } }, "GetDeploymentInstance": { "input": { "type": "structure", "required": [ "deploymentId", "instanceId" ], "members": { "deploymentId": {}, "instanceId": {} } }, "output": { "type": "structure", "members": { "instanceSummary": { "shape": "S35" } } }, "deprecated": true, "deprecatedMessage": "This operation is deprecated, use GetDeploymentTarget instead." }, "GetDeploymentTarget": { "input": { "type": "structure", "members": { "deploymentId": {}, "targetId": {} } }, "output": { "type": "structure", "members": { "deploymentTarget": { "shape": "S3m" } } } }, "GetOnPremisesInstance": { "input": { "type": "structure", "required": [ "instanceName" ], "members": { "instanceName": {} } }, "output": { "type": "structure", "members": { "instanceInfo": { "shape": "S4k" } } } }, "ListApplicationRevisions": { "input": { "type": "structure", "required": [ "applicationName" ], "members": { "applicationName": {}, "sortBy": {}, "sortOrder": {}, "s3Bucket": {}, "s3KeyPrefix": {}, "deployed": {}, "nextToken": {} } }, "output": { "type": "structure", "members": { "revisions": { "shape": "Sa" }, "nextToken": {} } } }, "ListApplications": { "input": { "type": "structure", "members": { "nextToken": {} } }, "output": { "type": "structure", "members": { "applications": { "shape": "S10" }, "nextToken": {} } } }, "ListDeploymentConfigs": { "input": { "type": "structure", "members": { "nextToken": {} } }, "output": { "type": "structure", "members": { "deploymentConfigsList": { "type": "list", "member": {} }, "nextToken": {} } } }, "ListDeploymentGroups": { "input": { "type": "structure", "required": [ "applicationName" ], "members": { "applicationName": {}, "nextToken": {} } }, "output": { "type": "structure", "members": { "applicationName": {}, "deploymentGroups": { "shape": "Sw" }, "nextToken": {} } } }, "ListDeploymentInstances": { "input": { "type": "structure", "required": [ "deploymentId" ], "members": { "deploymentId": {}, "nextToken": {}, "instanceStatusFilter": { "type": "list", "member": { "shape": "S36" } }, "instanceTypeFilter": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "instancesList": { "shape": "S31" }, "nextToken": {} } }, "deprecated": true, "deprecatedMessage": "This operation is deprecated, use ListDeploymentTargets instead." }, "ListDeploymentTargets": { "input": { "type": "structure", "members": { "deploymentId": {}, "nextToken": {}, "targetFilters": { "type": "map", "key": {}, "value": { "type": "list", "member": {} } } } }, "output": { "type": "structure", "members": { "targetIds": { "shape": "S3i" }, "nextToken": {} } } }, "ListDeployments": { "input": { "type": "structure", "members": { "applicationName": {}, "deploymentGroupName": {}, "includeOnlyStatuses": { "type": "list", "member": {} }, "createTimeRange": { "type": "structure", "members": { "start": { "type": "timestamp" }, "end": { "type": "timestamp" } } }, "nextToken": {} } }, "output": { "type": "structure", "members": { "deployments": { "shape": "S42" }, "nextToken": {} } } }, "ListGitHubAccountTokenNames": { "input": { "type": "structure", "members": { "nextToken": {} } }, "output": { "type": "structure", "members": { "tokenNameList": { "type": "list", "member": {} }, "nextToken": {} } } }, "ListOnPremisesInstances": { "input": { "type": "structure", "members": { "registrationStatus": {}, "tagFilters": { "shape": "S1h" }, "nextToken": {} } }, "output": { "type": "structure", "members": { "instanceNames": { "shape": "S6" }, "nextToken": {} } } }, "PutLifecycleEventHookExecutionStatus": { "input": { "type": "structure", "members": { "deploymentId": {}, "lifecycleEventHookExecutionId": {}, "status": {} } }, "output": { "type": "structure", "members": { "lifecycleEventHookExecutionId": {} } } }, "RegisterApplicationRevision": { "input": { "type": "structure", "required": [ "applicationName", "revision" ], "members": { "applicationName": {}, "description": {}, "revision": { "shape": "Sb" } } } }, "RegisterOnPremisesInstance": { "input": { "type": "structure", "required": [ "instanceName" ], "members": { "instanceName": {}, "iamSessionArn": {}, "iamUserArn": {} } } }, "RemoveTagsFromOnPremisesInstances": { "input": { "type": "structure", "required": [ "tags", "instanceNames" ], "members": { "tags": { "shape": "S2" }, "instanceNames": { "shape": "S6" } } } }, "SkipWaitTimeForInstanceTermination": { "input": { "type": "structure", "members": { "deploymentId": {} } }, "deprecated": true, "deprecatedMessage": "This operation is deprecated, use ContinueDeployment with DeploymentWaitType instead." }, "StopDeployment": { "input": { "type": "structure", "required": [ "deploymentId" ], "members": { "deploymentId": {}, "autoRollbackEnabled": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "status": {}, "statusMessage": {} } } }, "UpdateApplication": { "input": { "type": "structure", "members": { "applicationName": {}, "newApplicationName": {} } } }, "UpdateDeploymentGroup": { "input": { "type": "structure", "required": [ "applicationName", "currentDeploymentGroupName" ], "members": { "applicationName": {}, "currentDeploymentGroupName": {}, "newDeploymentGroupName": {}, "deploymentConfigName": {}, "ec2TagFilters": { "shape": "S1e" }, "onPremisesInstanceTagFilters": { "shape": "S1h" }, "autoScalingGroups": { "shape": "S4d" }, "serviceRoleArn": {}, "triggerConfigurations": { "shape": "S1p" }, "alarmConfiguration": { "shape": "S1v" }, "autoRollbackConfiguration": { "shape": "S1z" }, "deploymentStyle": { "shape": "S22" }, "blueGreenDeploymentConfiguration": { "shape": "S25" }, "loadBalancerInfo": { "shape": "S2d" }, "ec2TagSet": { "shape": "S2s" }, "ecsServices": { "shape": "S2w" }, "onPremisesTagSet": { "shape": "S2u" } } }, "output": { "type": "structure", "members": { "hooksNotCleanedUp": { "shape": "S1k" } } } } }, "shapes": { "S2": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Value": {} } } }, "S6": { "type": "list", "member": {} }, "Sa": { "type": "list", "member": { "shape": "Sb" } }, "Sb": { "type": "structure", "members": { "revisionType": {}, "s3Location": { "type": "structure", "members": { "bucket": {}, "key": {}, "bundleType": {}, "version": {}, "eTag": {} } }, "gitHubLocation": { "type": "structure", "members": { "repository": {}, "commitId": {} } }, "string": { "type": "structure", "members": { "content": {}, "sha256": {} }, "deprecated": true, "deprecatedMessage": "RawString and String revision type are deprecated, use AppSpecContent type instead." }, "appSpecContent": { "type": "structure", "members": { "content": {}, "sha256": {} } } } }, "Su": { "type": "structure", "members": { "description": {}, "deploymentGroups": { "shape": "Sw" }, "firstUsedTime": { "type": "timestamp" }, "lastUsedTime": { "type": "timestamp" }, "registerTime": { "type": "timestamp" } } }, "Sw": { "type": "list", "member": {} }, "S10": { "type": "list", "member": {} }, "S13": { "type": "structure", "members": { "applicationId": {}, "applicationName": {}, "createTime": { "type": "timestamp" }, "linkedToGitHub": { "type": "boolean" }, "gitHubAccountName": {}, "computePlatform": {} } }, "S1b": { "type": "structure", "members": { "applicationName": {}, "deploymentGroupId": {}, "deploymentGroupName": {}, "deploymentConfigName": {}, "ec2TagFilters": { "shape": "S1e" }, "onPremisesInstanceTagFilters": { "shape": "S1h" }, "autoScalingGroups": { "shape": "S1k" }, "serviceRoleArn": {}, "targetRevision": { "shape": "Sb" }, "triggerConfigurations": { "shape": "S1p" }, "alarmConfiguration": { "shape": "S1v" }, "autoRollbackConfiguration": { "shape": "S1z" }, "deploymentStyle": { "shape": "S22" }, "blueGreenDeploymentConfiguration": { "shape": "S25" }, "loadBalancerInfo": { "shape": "S2d" }, "lastSuccessfulDeployment": { "shape": "S2p" }, "lastAttemptedDeployment": { "shape": "S2p" }, "ec2TagSet": { "shape": "S2s" }, "onPremisesTagSet": { "shape": "S2u" }, "computePlatform": {}, "ecsServices": { "shape": "S2w" } } }, "S1e": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Value": {}, "Type": {} } } }, "S1h": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Value": {}, "Type": {} } } }, "S1k": { "type": "list", "member": { "type": "structure", "members": { "name": {}, "hook": {} } } }, "S1p": { "type": "list", "member": { "type": "structure", "members": { "triggerName": {}, "triggerTargetArn": {}, "triggerEvents": { "type": "list", "member": {} } } } }, "S1v": { "type": "structure", "members": { "enabled": { "type": "boolean" }, "ignorePollAlarmFailure": { "type": "boolean" }, "alarms": { "type": "list", "member": { "type": "structure", "members": { "name": {} } } } } }, "S1z": { "type": "structure", "members": { "enabled": { "type": "boolean" }, "events": { "type": "list", "member": {} } } }, "S22": { "type": "structure", "members": { "deploymentType": {}, "deploymentOption": {} } }, "S25": { "type": "structure", "members": { "terminateBlueInstancesOnDeploymentSuccess": { "type": "structure", "members": { "action": {}, "terminationWaitTimeInMinutes": { "type": "integer" } } }, "deploymentReadyOption": { "type": "structure", "members": { "actionOnTimeout": {}, "waitTimeInMinutes": { "type": "integer" } } }, "greenFleetProvisioningOption": { "type": "structure", "members": { "action": {} } } } }, "S2d": { "type": "structure", "members": { "elbInfoList": { "type": "list", "member": { "type": "structure", "members": { "name": {} } } }, "targetGroupInfoList": { "shape": "S2h" }, "targetGroupPairInfoList": { "type": "list", "member": { "type": "structure", "members": { "targetGroups": { "shape": "S2h" }, "prodTrafficRoute": { "shape": "S2m" }, "testTrafficRoute": { "shape": "S2m" } } } } } }, "S2h": { "type": "list", "member": { "shape": "S2i" } }, "S2i": { "type": "structure", "members": { "name": {} } }, "S2m": { "type": "structure", "members": { "listenerArns": { "type": "list", "member": {} } } }, "S2p": { "type": "structure", "members": { "deploymentId": {}, "status": {}, "endTime": { "type": "timestamp" }, "createTime": { "type": "timestamp" } } }, "S2s": { "type": "structure", "members": { "ec2TagSetList": { "type": "list", "member": { "shape": "S1e" } } } }, "S2u": { "type": "structure", "members": { "onPremisesTagSetList": { "type": "list", "member": { "shape": "S1h" } } } }, "S2w": { "type": "list", "member": { "type": "structure", "members": { "serviceName": {}, "clusterName": {} } } }, "S31": { "type": "list", "member": {} }, "S35": { "type": "structure", "members": { "deploymentId": {}, "instanceId": {}, "status": { "shape": "S36" }, "lastUpdatedAt": { "type": "timestamp" }, "lifecycleEvents": { "shape": "S37" }, "instanceType": {} }, "deprecated": true, "deprecatedMessage": "InstanceSummary is deprecated, use DeploymentTarget instead." }, "S36": { "type": "string", "deprecated": true, "deprecatedMessage": "InstanceStatus is deprecated, use TargetStatus instead." }, "S37": { "type": "list", "member": { "type": "structure", "members": { "lifecycleEventName": {}, "diagnostics": { "type": "structure", "members": { "errorCode": {}, "scriptName": {}, "message": {}, "logTail": {} } }, "startTime": { "type": "timestamp" }, "endTime": { "type": "timestamp" }, "status": {} } } }, "S3i": { "type": "list", "member": {} }, "S3m": { "type": "structure", "members": { "deploymentTargetType": {}, "instanceTarget": { "type": "structure", "members": { "deploymentId": {}, "targetId": {}, "targetArn": {}, "status": {}, "lastUpdatedAt": { "type": "timestamp" }, "lifecycleEvents": { "shape": "S37" }, "instanceLabel": {} } }, "lambdaTarget": { "type": "structure", "members": { "deploymentId": {}, "targetId": {}, "targetArn": {}, "status": {}, "lastUpdatedAt": { "type": "timestamp" }, "lifecycleEvents": { "shape": "S37" } } }, "ecsTarget": { "type": "structure", "members": { "deploymentId": {}, "targetId": {}, "targetArn": {}, "lastUpdatedAt": { "type": "timestamp" }, "lifecycleEvents": { "shape": "S37" }, "status": {}, "taskSetsInfo": { "type": "list", "member": { "type": "structure", "members": { "identifer": {}, "desiredCount": { "type": "long" }, "pendingCount": { "type": "long" }, "runningCount": { "type": "long" }, "status": {}, "trafficWeight": { "type": "double" }, "targetGroup": { "shape": "S2i" }, "taskSetLabel": {} } } } } } } }, "S42": { "type": "list", "member": {} }, "S45": { "type": "structure", "members": { "applicationName": {}, "deploymentGroupName": {}, "deploymentConfigName": {}, "deploymentId": {}, "previousRevision": { "shape": "Sb" }, "revision": { "shape": "Sb" }, "status": {}, "errorInformation": { "type": "structure", "members": { "code": {}, "message": {} } }, "createTime": { "type": "timestamp" }, "startTime": { "type": "timestamp" }, "completeTime": { "type": "timestamp" }, "deploymentOverview": { "type": "structure", "members": { "Pending": { "type": "long" }, "InProgress": { "type": "long" }, "Succeeded": { "type": "long" }, "Failed": { "type": "long" }, "Skipped": { "type": "long" }, "Ready": { "type": "long" } } }, "description": {}, "creator": {}, "ignoreApplicationStopFailures": { "type": "boolean" }, "autoRollbackConfiguration": { "shape": "S1z" }, "updateOutdatedInstancesOnly": { "type": "boolean" }, "rollbackInfo": { "type": "structure", "members": { "rollbackDeploymentId": {}, "rollbackTriggeringDeploymentId": {}, "rollbackMessage": {} } }, "deploymentStyle": { "shape": "S22" }, "targetInstances": { "shape": "S4c" }, "instanceTerminationWaitTimeStarted": { "type": "boolean" }, "blueGreenDeploymentConfiguration": { "shape": "S25" }, "loadBalancerInfo": { "shape": "S2d" }, "additionalDeploymentStatusInfo": { "type": "string", "deprecated": true, "deprecatedMessage": "AdditionalDeploymentStatusInfo is deprecated, use DeploymentStatusMessageList instead." }, "fileExistsBehavior": {}, "deploymentStatusMessages": { "type": "list", "member": {} }, "computePlatform": {} } }, "S4c": { "type": "structure", "members": { "tagFilters": { "shape": "S1e" }, "autoScalingGroups": { "shape": "S4d" }, "ec2TagSet": { "shape": "S2s" } } }, "S4d": { "type": "list", "member": {} }, "S4k": { "type": "structure", "members": { "instanceName": {}, "iamSessionArn": {}, "iamUserArn": {}, "instanceArn": {}, "registerTime": { "type": "timestamp" }, "deregisterTime": { "type": "timestamp" }, "tags": { "shape": "S2" } } }, "S4v": { "type": "structure", "members": { "value": { "type": "integer" }, "type": {} } }, "S4y": { "type": "structure", "members": { "type": {}, "timeBasedCanary": { "type": "structure", "members": { "canaryPercentage": { "type": "integer" }, "canaryInterval": { "type": "integer" } } }, "timeBasedLinear": { "type": "structure", "members": { "linearPercentage": { "type": "integer" }, "linearInterval": { "type": "integer" } } } } } } }