UNPKG

lambdaws

Version:

AWS lambda functions made easy

1,336 lines 32 kB
{ "metadata": { "apiVersion": "2011-01-01", "endpointPrefix": "autoscaling", "serviceFullName": "Auto Scaling", "signatureVersion": "v4", "xmlNamespace": "http://autoscaling.amazonaws.com/doc/2011-01-01/", "protocol": "query" }, "operations": { "AttachInstances": { "input": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "InstanceIds": { "shape": "S2" }, "AutoScalingGroupName": {} } } }, "CompleteLifecycleAction": { "input": { "type": "structure", "required": [ "LifecycleHookName", "AutoScalingGroupName", "LifecycleActionToken", "LifecycleActionResult" ], "members": { "LifecycleHookName": {}, "AutoScalingGroupName": {}, "LifecycleActionToken": {}, "LifecycleActionResult": {} } }, "output": { "resultWrapper": "CompleteLifecycleActionResult", "type": "structure", "members": {} } }, "CreateAutoScalingGroup": { "input": { "type": "structure", "required": [ "AutoScalingGroupName", "MinSize", "MaxSize" ], "members": { "AutoScalingGroupName": {}, "LaunchConfigurationName": {}, "InstanceId": {}, "MinSize": { "type": "integer" }, "MaxSize": { "type": "integer" }, "DesiredCapacity": { "type": "integer" }, "DefaultCooldown": { "type": "integer" }, "AvailabilityZones": { "shape": "Sg" }, "LoadBalancerNames": { "shape": "Sh" }, "HealthCheckType": {}, "HealthCheckGracePeriod": { "type": "integer" }, "PlacementGroup": {}, "VPCZoneIdentifier": {}, "TerminationPolicies": { "shape": "Sk" }, "Tags": { "shape": "Sm" } } } }, "CreateLaunchConfiguration": { "input": { "type": "structure", "required": [ "LaunchConfigurationName" ], "members": { "LaunchConfigurationName": {}, "ImageId": {}, "KeyName": {}, "SecurityGroups": { "shape": "St" }, "UserData": {}, "InstanceId": {}, "InstanceType": {}, "KernelId": {}, "RamdiskId": {}, "BlockDeviceMappings": { "shape": "Sv" }, "InstanceMonitoring": { "shape": "S13" }, "SpotPrice": {}, "IamInstanceProfile": {}, "EbsOptimized": { "type": "boolean" }, "AssociatePublicIpAddress": { "type": "boolean" }, "PlacementTenancy": {} } } }, "CreateOrUpdateTags": { "input": { "type": "structure", "required": [ "Tags" ], "members": { "Tags": { "shape": "Sm" } } } }, "DeleteAutoScalingGroup": { "input": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "AutoScalingGroupName": {}, "ForceDelete": { "type": "boolean" } } } }, "DeleteLaunchConfiguration": { "input": { "type": "structure", "required": [ "LaunchConfigurationName" ], "members": { "LaunchConfigurationName": {} } } }, "DeleteLifecycleHook": { "input": { "type": "structure", "required": [ "LifecycleHookName", "AutoScalingGroupName" ], "members": { "LifecycleHookName": {}, "AutoScalingGroupName": {} } }, "output": { "resultWrapper": "DeleteLifecycleHookResult", "type": "structure", "members": {} } }, "DeleteNotificationConfiguration": { "input": { "type": "structure", "required": [ "AutoScalingGroupName", "TopicARN" ], "members": { "AutoScalingGroupName": {}, "TopicARN": {} } } }, "DeletePolicy": { "input": { "type": "structure", "required": [ "PolicyName" ], "members": { "AutoScalingGroupName": {}, "PolicyName": {} } } }, "DeleteScheduledAction": { "input": { "type": "structure", "required": [ "ScheduledActionName" ], "members": { "AutoScalingGroupName": {}, "ScheduledActionName": {} } } }, "DeleteTags": { "input": { "type": "structure", "required": [ "Tags" ], "members": { "Tags": { "shape": "Sm" } } } }, "DescribeAccountLimits": { "output": { "resultWrapper": "DescribeAccountLimitsResult", "type": "structure", "members": { "MaxNumberOfAutoScalingGroups": { "type": "integer" }, "MaxNumberOfLaunchConfigurations": { "type": "integer" } } } }, "DescribeAdjustmentTypes": { "output": { "resultWrapper": "DescribeAdjustmentTypesResult", "type": "structure", "members": { "AdjustmentTypes": { "type": "list", "member": { "type": "structure", "members": { "AdjustmentType": {} } } } } } }, "DescribeAutoScalingGroups": { "input": { "type": "structure", "members": { "AutoScalingGroupNames": { "shape": "S1q" }, "NextToken": {}, "MaxRecords": { "type": "integer" } } }, "output": { "resultWrapper": "DescribeAutoScalingGroupsResult", "type": "structure", "required": [ "AutoScalingGroups" ], "members": { "AutoScalingGroups": { "type": "list", "member": { "type": "structure", "required": [ "AutoScalingGroupName", "LaunchConfigurationName", "MinSize", "MaxSize", "DesiredCapacity", "DefaultCooldown", "AvailabilityZones", "HealthCheckType", "CreatedTime" ], "members": { "AutoScalingGroupName": {}, "AutoScalingGroupARN": {}, "LaunchConfigurationName": {}, "MinSize": { "type": "integer" }, "MaxSize": { "type": "integer" }, "DesiredCapacity": { "type": "integer" }, "DefaultCooldown": { "type": "integer" }, "AvailabilityZones": { "shape": "Sg" }, "LoadBalancerNames": { "shape": "Sh" }, "HealthCheckType": {}, "HealthCheckGracePeriod": { "type": "integer" }, "Instances": { "type": "list", "member": { "type": "structure", "required": [ "InstanceId", "AvailabilityZone", "LifecycleState", "HealthStatus", "LaunchConfigurationName" ], "members": { "InstanceId": {}, "AvailabilityZone": {}, "LifecycleState": {}, "HealthStatus": {}, "LaunchConfigurationName": {} } } }, "CreatedTime": { "type": "timestamp" }, "SuspendedProcesses": { "type": "list", "member": { "type": "structure", "members": { "ProcessName": {}, "SuspensionReason": {} } } }, "PlacementGroup": {}, "VPCZoneIdentifier": {}, "EnabledMetrics": { "type": "list", "member": { "type": "structure", "members": { "Metric": {}, "Granularity": {} } } }, "Status": {}, "Tags": { "shape": "S23" }, "TerminationPolicies": { "shape": "Sk" } } } }, "NextToken": {} } } }, "DescribeAutoScalingInstances": { "input": { "type": "structure", "members": { "InstanceIds": { "shape": "S2" }, "MaxRecords": { "type": "integer" }, "NextToken": {} } }, "output": { "resultWrapper": "DescribeAutoScalingInstancesResult", "type": "structure", "members": { "AutoScalingInstances": { "type": "list", "member": { "type": "structure", "required": [ "InstanceId", "AutoScalingGroupName", "AvailabilityZone", "LifecycleState", "HealthStatus", "LaunchConfigurationName" ], "members": { "InstanceId": {}, "AutoScalingGroupName": {}, "AvailabilityZone": {}, "LifecycleState": {}, "HealthStatus": {}, "LaunchConfigurationName": {} } } }, "NextToken": {} } } }, "DescribeAutoScalingNotificationTypes": { "output": { "resultWrapper": "DescribeAutoScalingNotificationTypesResult", "type": "structure", "members": { "AutoScalingNotificationTypes": { "shape": "S2a" } } } }, "DescribeLaunchConfigurations": { "input": { "type": "structure", "members": { "LaunchConfigurationNames": { "type": "list", "member": {} }, "NextToken": {}, "MaxRecords": { "type": "integer" } } }, "output": { "resultWrapper": "DescribeLaunchConfigurationsResult", "type": "structure", "required": [ "LaunchConfigurations" ], "members": { "LaunchConfigurations": { "type": "list", "member": { "type": "structure", "required": [ "LaunchConfigurationName", "ImageId", "InstanceType", "CreatedTime" ], "members": { "LaunchConfigurationName": {}, "LaunchConfigurationARN": {}, "ImageId": {}, "KeyName": {}, "SecurityGroups": { "shape": "St" }, "UserData": {}, "InstanceType": {}, "KernelId": {}, "RamdiskId": {}, "BlockDeviceMappings": { "shape": "Sv" }, "InstanceMonitoring": { "shape": "S13" }, "SpotPrice": {}, "IamInstanceProfile": {}, "CreatedTime": { "type": "timestamp" }, "EbsOptimized": { "type": "boolean" }, "AssociatePublicIpAddress": { "type": "boolean" }, "PlacementTenancy": {} } } }, "NextToken": {} } } }, "DescribeLifecycleHookTypes": { "output": { "resultWrapper": "DescribeLifecycleHookTypesResult", "type": "structure", "members": { "LifecycleHookTypes": { "shape": "S2a" } } } }, "DescribeLifecycleHooks": { "input": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "AutoScalingGroupName": {}, "LifecycleHookNames": { "type": "list", "member": {} } } }, "output": { "resultWrapper": "DescribeLifecycleHooksResult", "type": "structure", "members": { "LifecycleHooks": { "type": "list", "member": { "type": "structure", "members": { "LifecycleHookName": {}, "AutoScalingGroupName": {}, "LifecycleTransition": {}, "NotificationTargetARN": {}, "RoleARN": {}, "NotificationMetadata": {}, "HeartbeatTimeout": { "type": "integer" }, "GlobalTimeout": { "type": "integer" }, "DefaultResult": {} } } } } } }, "DescribeMetricCollectionTypes": { "output": { "resultWrapper": "DescribeMetricCollectionTypesResult", "type": "structure", "members": { "Metrics": { "type": "list", "member": { "type": "structure", "members": { "Metric": {} } } }, "Granularities": { "type": "list", "member": { "type": "structure", "members": { "Granularity": {} } } } } } }, "DescribeNotificationConfigurations": { "input": { "type": "structure", "members": { "AutoScalingGroupNames": { "shape": "S1q" }, "NextToken": {}, "MaxRecords": { "type": "integer" } } }, "output": { "resultWrapper": "DescribeNotificationConfigurationsResult", "type": "structure", "required": [ "NotificationConfigurations" ], "members": { "NotificationConfigurations": { "type": "list", "member": { "type": "structure", "members": { "AutoScalingGroupName": {}, "TopicARN": {}, "NotificationType": {} } } }, "NextToken": {} } } }, "DescribePolicies": { "input": { "type": "structure", "members": { "AutoScalingGroupName": {}, "PolicyNames": { "type": "list", "member": {} }, "NextToken": {}, "MaxRecords": { "type": "integer" } } }, "output": { "resultWrapper": "DescribePoliciesResult", "type": "structure", "members": { "ScalingPolicies": { "type": "list", "member": { "type": "structure", "members": { "AutoScalingGroupName": {}, "PolicyName": {}, "ScalingAdjustment": { "type": "integer" }, "AdjustmentType": {}, "Cooldown": { "type": "integer" }, "PolicyARN": {}, "Alarms": { "type": "list", "member": { "type": "structure", "members": { "AlarmName": {}, "AlarmARN": {} } } }, "MinAdjustmentStep": { "type": "integer" } } } }, "NextToken": {} } } }, "DescribeScalingActivities": { "input": { "type": "structure", "members": { "ActivityIds": { "type": "list", "member": {} }, "AutoScalingGroupName": {}, "MaxRecords": { "type": "integer" }, "NextToken": {} } }, "output": { "resultWrapper": "DescribeScalingActivitiesResult", "type": "structure", "required": [ "Activities" ], "members": { "Activities": { "shape": "S3b" }, "NextToken": {} } } }, "DescribeScalingProcessTypes": { "output": { "resultWrapper": "DescribeScalingProcessTypesResult", "type": "structure", "members": { "Processes": { "type": "list", "member": { "type": "structure", "required": [ "ProcessName" ], "members": { "ProcessName": {} } } } } } }, "DescribeScheduledActions": { "input": { "type": "structure", "members": { "AutoScalingGroupName": {}, "ScheduledActionNames": { "type": "list", "member": {} }, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" }, "NextToken": {}, "MaxRecords": { "type": "integer" } } }, "output": { "resultWrapper": "DescribeScheduledActionsResult", "type": "structure", "members": { "ScheduledUpdateGroupActions": { "type": "list", "member": { "type": "structure", "members": { "AutoScalingGroupName": {}, "ScheduledActionName": {}, "ScheduledActionARN": {}, "Time": { "type": "timestamp" }, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" }, "Recurrence": {}, "MinSize": { "type": "integer" }, "MaxSize": { "type": "integer" }, "DesiredCapacity": { "type": "integer" } } } }, "NextToken": {} } } }, "DescribeTags": { "input": { "type": "structure", "members": { "Filters": { "type": "list", "member": { "type": "structure", "members": { "Name": {}, "Values": { "type": "list", "member": {} } } } }, "NextToken": {}, "MaxRecords": { "type": "integer" } } }, "output": { "resultWrapper": "DescribeTagsResult", "type": "structure", "members": { "Tags": { "shape": "S23" }, "NextToken": {} } } }, "DescribeTerminationPolicyTypes": { "output": { "resultWrapper": "DescribeTerminationPolicyTypesResult", "type": "structure", "members": { "TerminationPolicyTypes": { "shape": "Sk" } } } }, "DetachInstances": { "input": { "type": "structure", "required": [ "AutoScalingGroupName", "ShouldDecrementDesiredCapacity" ], "members": { "InstanceIds": { "shape": "S2" }, "AutoScalingGroupName": {}, "ShouldDecrementDesiredCapacity": { "type": "boolean" } } }, "output": { "resultWrapper": "DetachInstancesResult", "type": "structure", "members": { "Activities": { "shape": "S3b" } } } }, "DisableMetricsCollection": { "input": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "AutoScalingGroupName": {}, "Metrics": { "shape": "S3x" } } } }, "EnableMetricsCollection": { "input": { "type": "structure", "required": [ "AutoScalingGroupName", "Granularity" ], "members": { "AutoScalingGroupName": {}, "Metrics": { "shape": "S3x" }, "Granularity": {} } } }, "EnterStandby": { "input": { "type": "structure", "required": [ "AutoScalingGroupName", "ShouldDecrementDesiredCapacity" ], "members": { "InstanceIds": { "shape": "S2" }, "AutoScalingGroupName": {}, "ShouldDecrementDesiredCapacity": { "type": "boolean" } } }, "output": { "resultWrapper": "EnterStandbyResult", "type": "structure", "members": { "Activities": { "shape": "S3b" } } } }, "ExecutePolicy": { "input": { "type": "structure", "required": [ "PolicyName" ], "members": { "AutoScalingGroupName": {}, "PolicyName": {}, "HonorCooldown": { "type": "boolean" } } } }, "ExitStandby": { "input": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "InstanceIds": { "shape": "S2" }, "AutoScalingGroupName": {} } }, "output": { "resultWrapper": "ExitStandbyResult", "type": "structure", "members": { "Activities": { "shape": "S3b" } } } }, "PutLifecycleHook": { "input": { "type": "structure", "required": [ "LifecycleHookName", "AutoScalingGroupName" ], "members": { "LifecycleHookName": {}, "AutoScalingGroupName": {}, "LifecycleTransition": {}, "RoleARN": {}, "NotificationTargetARN": {}, "NotificationMetadata": {}, "HeartbeatTimeout": { "type": "integer" }, "DefaultResult": {} } }, "output": { "resultWrapper": "PutLifecycleHookResult", "type": "structure", "members": {} } }, "PutNotificationConfiguration": { "input": { "type": "structure", "required": [ "AutoScalingGroupName", "TopicARN", "NotificationTypes" ], "members": { "AutoScalingGroupName": {}, "TopicARN": {}, "NotificationTypes": { "shape": "S2a" } } } }, "PutScalingPolicy": { "input": { "type": "structure", "required": [ "AutoScalingGroupName", "PolicyName", "ScalingAdjustment", "AdjustmentType" ], "members": { "AutoScalingGroupName": {}, "PolicyName": {}, "ScalingAdjustment": { "type": "integer" }, "AdjustmentType": {}, "Cooldown": { "type": "integer" }, "MinAdjustmentStep": { "type": "integer" } } }, "output": { "resultWrapper": "PutScalingPolicyResult", "type": "structure", "members": { "PolicyARN": {} } } }, "PutScheduledUpdateGroupAction": { "input": { "type": "structure", "required": [ "AutoScalingGroupName", "ScheduledActionName" ], "members": { "AutoScalingGroupName": {}, "ScheduledActionName": {}, "Time": { "type": "timestamp" }, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" }, "Recurrence": {}, "MinSize": { "type": "integer" }, "MaxSize": { "type": "integer" }, "DesiredCapacity": { "type": "integer" } } } }, "RecordLifecycleActionHeartbeat": { "input": { "type": "structure", "required": [ "LifecycleHookName", "AutoScalingGroupName", "LifecycleActionToken" ], "members": { "LifecycleHookName": {}, "AutoScalingGroupName": {}, "LifecycleActionToken": {} } }, "output": { "resultWrapper": "RecordLifecycleActionHeartbeatResult", "type": "structure", "members": {} } }, "ResumeProcesses": { "input": { "shape": "S4d" } }, "SetDesiredCapacity": { "input": { "type": "structure", "required": [ "AutoScalingGroupName", "DesiredCapacity" ], "members": { "AutoScalingGroupName": {}, "DesiredCapacity": { "type": "integer" }, "HonorCooldown": { "type": "boolean" } } } }, "SetInstanceHealth": { "input": { "type": "structure", "required": [ "InstanceId", "HealthStatus" ], "members": { "InstanceId": {}, "HealthStatus": {}, "ShouldRespectGracePeriod": { "type": "boolean" } } } }, "SuspendProcesses": { "input": { "shape": "S4d" } }, "TerminateInstanceInAutoScalingGroup": { "input": { "type": "structure", "required": [ "InstanceId", "ShouldDecrementDesiredCapacity" ], "members": { "InstanceId": {}, "ShouldDecrementDesiredCapacity": { "type": "boolean" } } }, "output": { "resultWrapper": "TerminateInstanceInAutoScalingGroupResult", "type": "structure", "members": { "Activity": { "shape": "S3c" } } } }, "UpdateAutoScalingGroup": { "input": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "AutoScalingGroupName": {}, "LaunchConfigurationName": {}, "MinSize": { "type": "integer" }, "MaxSize": { "type": "integer" }, "DesiredCapacity": { "type": "integer" }, "DefaultCooldown": { "type": "integer" }, "AvailabilityZones": { "shape": "Sg" }, "HealthCheckType": {}, "HealthCheckGracePeriod": { "type": "integer" }, "PlacementGroup": {}, "VPCZoneIdentifier": {}, "TerminationPolicies": { "shape": "Sk" } } } } }, "shapes": { "S2": { "type": "list", "member": {} }, "Sg": { "type": "list", "member": {} }, "Sh": { "type": "list", "member": {} }, "Sk": { "type": "list", "member": {} }, "Sm": { "type": "list", "member": { "type": "structure", "required": [ "Key" ], "members": { "ResourceId": {}, "ResourceType": {}, "Key": {}, "Value": {}, "PropagateAtLaunch": { "type": "boolean" } } } }, "St": { "type": "list", "member": {} }, "Sv": { "type": "list", "member": { "type": "structure", "required": [ "DeviceName" ], "members": { "VirtualName": {}, "DeviceName": {}, "Ebs": { "type": "structure", "members": { "SnapshotId": {}, "VolumeSize": { "type": "integer" }, "VolumeType": {}, "DeleteOnTermination": { "type": "boolean" }, "Iops": { "type": "integer" } } }, "NoDevice": { "type": "boolean" } } } }, "S13": { "type": "structure", "members": { "Enabled": { "type": "boolean" } } }, "S1q": { "type": "list", "member": {} }, "S23": { "type": "list", "member": { "type": "structure", "members": { "ResourceId": {}, "ResourceType": {}, "Key": {}, "Value": {}, "PropagateAtLaunch": { "type": "boolean" } } } }, "S2a": { "type": "list", "member": {} }, "S3b": { "type": "list", "member": { "shape": "S3c" } }, "S3c": { "type": "structure", "required": [ "ActivityId", "AutoScalingGroupName", "Cause", "StartTime", "StatusCode" ], "members": { "ActivityId": {}, "AutoScalingGroupName": {}, "Description": {}, "Cause": {}, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" }, "StatusCode": {}, "StatusMessage": {}, "Progress": { "type": "integer" }, "Details": {} } }, "S3x": { "type": "list", "member": {} }, "S4d": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "AutoScalingGroupName": {}, "ScalingProcesses": { "type": "list", "member": {} } } } } }