UNPKG

lambdaws

Version:

AWS lambda functions made easy

747 lines 16.2 kB
{ "metadata": { "apiVersion": "2014-10-06", "endpointPrefix": "codedeploy", "jsonVersion": "1.1", "serviceAbbreviation": "CodeDeploy", "serviceFullName": "AWS CodeDeploy", "signatureVersion": "v4", "targetPrefix": "CodeDeploy_20141006", "timestampFormat": "unixTimestamp", "protocol": "json" }, "operations": { "BatchGetApplications": { "input": { "type": "structure", "members": { "applicationNames": { "shape": "S2" } } }, "output": { "type": "structure", "members": { "applicationsInfo": { "type": "list", "member": { "shape": "S6" } } } } }, "BatchGetDeployments": { "input": { "type": "structure", "members": { "deploymentIds": { "shape": "Sb" } } }, "output": { "type": "structure", "members": { "deploymentsInfo": { "type": "list", "member": { "shape": "Sf" } } } } }, "CreateApplication": { "input": { "type": "structure", "required": [ "applicationName" ], "members": { "applicationName": {} } }, "output": { "type": "structure", "members": { "applicationId": {} } } }, "CreateDeployment": { "input": { "type": "structure", "required": [ "applicationName" ], "members": { "applicationName": {}, "deploymentGroupName": {}, "revision": { "shape": "Si" }, "deploymentConfigName": {}, "description": {}, "ignoreApplicationStopFailures": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "deploymentId": {} } } }, "CreateDeploymentConfig": { "input": { "type": "structure", "required": [ "deploymentConfigName" ], "members": { "deploymentConfigName": {}, "minimumHealthyHosts": { "shape": "S16" } } }, "output": { "type": "structure", "members": { "deploymentConfigId": {} } } }, "CreateDeploymentGroup": { "input": { "type": "structure", "required": [ "applicationName", "deploymentGroupName" ], "members": { "applicationName": {}, "deploymentGroupName": {}, "deploymentConfigName": {}, "ec2TagFilters": { "shape": "S1c" }, "autoScalingGroups": { "shape": "S1h" }, "serviceRoleArn": {} } }, "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": "S1q" } } } }, "GetApplication": { "input": { "type": "structure", "required": [ "applicationName" ], "members": { "applicationName": {} } }, "output": { "type": "structure", "members": { "application": { "shape": "S6" } } } }, "GetApplicationRevision": { "input": { "type": "structure", "required": [ "applicationName", "revision" ], "members": { "applicationName": {}, "revision": { "shape": "Si" } } }, "output": { "type": "structure", "members": { "applicationName": {}, "revision": { "shape": "Si" }, "revisionInfo": { "type": "structure", "members": { "description": {}, "deploymentGroups": { "shape": "S1y" }, "firstUsedTime": { "type": "timestamp" }, "lastUsedTime": { "type": "timestamp" }, "registerTime": { "type": "timestamp" } } } } } }, "GetDeployment": { "input": { "type": "structure", "required": [ "deploymentId" ], "members": { "deploymentId": {} } }, "output": { "type": "structure", "members": { "deploymentInfo": { "shape": "Sf" } } } }, "GetDeploymentConfig": { "input": { "type": "structure", "required": [ "deploymentConfigName" ], "members": { "deploymentConfigName": {} } }, "output": { "type": "structure", "members": { "deploymentConfigInfo": { "type": "structure", "members": { "deploymentConfigId": {}, "deploymentConfigName": {}, "minimumHealthyHosts": { "shape": "S16" }, "createTime": { "type": "timestamp" } } } } } }, "GetDeploymentGroup": { "input": { "type": "structure", "required": [ "applicationName", "deploymentGroupName" ], "members": { "applicationName": {}, "deploymentGroupName": {} } }, "output": { "type": "structure", "members": { "deploymentGroupInfo": { "type": "structure", "members": { "applicationName": {}, "deploymentGroupId": {}, "deploymentGroupName": {}, "deploymentConfigName": {}, "ec2TagFilters": { "shape": "S1c" }, "autoScalingGroups": { "shape": "S1q" }, "serviceRoleArn": {}, "targetRevision": { "shape": "Si" } } } } } }, "GetDeploymentInstance": { "input": { "type": "structure", "required": [ "deploymentId", "instanceId" ], "members": { "deploymentId": {}, "instanceId": {} } }, "output": { "type": "structure", "members": { "instanceSummary": { "type": "structure", "members": { "deploymentId": {}, "instanceId": {}, "status": {}, "lastUpdatedAt": { "type": "timestamp" }, "lifecycleEvents": { "type": "list", "member": { "type": "structure", "members": { "lifecycleEventName": {}, "diagnostics": { "type": "structure", "members": { "errorCode": {}, "scriptName": {}, "message": {}, "logTail": {} } }, "startTime": { "type": "timestamp" }, "endTime": { "type": "timestamp" }, "status": {} } } } } } } } }, "ListApplicationRevisions": { "input": { "type": "structure", "required": [ "applicationName" ], "members": { "applicationName": {}, "sortBy": {}, "sortOrder": {}, "s3Bucket": {}, "s3KeyPrefix": {}, "deployed": {}, "nextToken": {} } }, "output": { "type": "structure", "members": { "revisions": { "type": "list", "member": { "shape": "Si" } }, "nextToken": {} } } }, "ListApplications": { "input": { "type": "structure", "members": { "nextToken": {} } }, "output": { "type": "structure", "members": { "applications": { "shape": "S2" }, "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": "S1y" }, "nextToken": {} } } }, "ListDeploymentInstances": { "input": { "type": "structure", "required": [ "deploymentId" ], "members": { "deploymentId": {}, "nextToken": {}, "instanceStatusFilter": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "instancesList": { "type": "list", "member": {} }, "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": "Sb" }, "nextToken": {} } } }, "RegisterApplicationRevision": { "input": { "type": "structure", "required": [ "applicationName", "revision" ], "members": { "applicationName": {}, "description": {}, "revision": { "shape": "Si" } } } }, "StopDeployment": { "input": { "type": "structure", "required": [ "deploymentId" ], "members": { "deploymentId": {} } }, "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": "S1c" }, "autoScalingGroups": { "shape": "S1h" }, "serviceRoleArn": {} } }, "output": { "type": "structure", "members": { "hooksNotCleanedUp": { "shape": "S1q" } } } } }, "shapes": { "S2": { "type": "list", "member": {} }, "S6": { "type": "structure", "members": { "applicationId": {}, "applicationName": {}, "createTime": { "type": "timestamp" }, "linkedToGitHub": { "type": "boolean" } } }, "Sb": { "type": "list", "member": {} }, "Sf": { "type": "structure", "members": { "applicationName": {}, "deploymentGroupName": {}, "deploymentConfigName": {}, "deploymentId": {}, "revision": { "shape": "Si" }, "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" } } }, "description": {}, "creator": {}, "ignoreApplicationStopFailures": { "type": "boolean" } } }, "Si": { "type": "structure", "members": { "revisionType": {}, "s3Location": { "type": "structure", "members": { "bucket": {}, "key": {}, "bundleType": {}, "version": {}, "eTag": {} } }, "gitHubLocation": { "type": "structure", "members": { "repository": {}, "commitId": {} } } } }, "S16": { "type": "structure", "members": { "value": { "type": "integer" }, "type": {} } }, "S1c": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Value": {}, "Type": {} } } }, "S1h": { "type": "list", "member": {} }, "S1q": { "type": "list", "member": { "type": "structure", "members": { "name": {}, "hook": {} } } }, "S1y": { "type": "list", "member": {} } } }