<?php
// This file was auto-generated from sdk-root/src/data/application-autoscaling/2016-02-06/endpoint-rule-set-1.json
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], 'UseFIPS' => [ 'builtIn' => 'AWS::UseFIPS', 'required' => true, 'default' => false, 'documentation' => 'When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.', 'type' => 'Boolean', ], 'Endpoint' => [ 'builtIn' => 'SDK::Endpoint', 'required' => false, 'documentation' => 'Override the endpoint used to send this request', 'type' => 'String', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://application-autoscaling-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ 'aws-us-gov', [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], ], ], ], 'endpoint' => [ 'url' => 'https://application-autoscaling.{Region}.amazonaws.com', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://application-autoscaling-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://application-autoscaling.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], ], [ 'conditions' => [], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://application-autoscaling.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], ], ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ], ], ],];


<?php
// This file was auto-generated from sdk-root/src/data/application-autoscaling/2016-02-06/endpoint-tests-1.json
return [ 'testCases' => [ [ 'documentation' => 'For region af-south-1 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.af-south-1.amazonaws.com', ], ], 'params' => [ 'Region' => 'af-south-1', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region ap-east-1 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.ap-east-1.amazonaws.com', ], ], 'params' => [ 'Region' => 'ap-east-1', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region ap-northeast-1 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.ap-northeast-1.amazonaws.com', ], ], 'params' => [ 'Region' => 'ap-northeast-1', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region ap-northeast-2 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.ap-northeast-2.amazonaws.com', ], ], 'params' => [ 'Region' => 'ap-northeast-2', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region ap-northeast-3 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.ap-northeast-3.amazonaws.com', ], ], 'params' => [ 'Region' => 'ap-northeast-3', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region ap-south-1 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.ap-south-1.amazonaws.com', ], ], 'params' => [ 'Region' => 'ap-south-1', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region ap-southeast-1 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.ap-southeast-1.amazonaws.com', ], ], 'params' => [ 'Region' => 'ap-southeast-1', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region ap-southeast-2 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.ap-southeast-2.amazonaws.com', ], ], 'params' => [ 'Region' => 'ap-southeast-2', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region ap-southeast-3 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.ap-southeast-3.amazonaws.com', ], ], 'params' => [ 'Region' => 'ap-southeast-3', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region ca-central-1 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.ca-central-1.amazonaws.com', ], ], 'params' => [ 'Region' => 'ca-central-1', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region eu-central-1 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.eu-central-1.amazonaws.com', ], ], 'params' => [ 'Region' => 'eu-central-1', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region eu-north-1 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.eu-north-1.amazonaws.com', ], ], 'params' => [ 'Region' => 'eu-north-1', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region eu-south-1 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.eu-south-1.amazonaws.com', ], ], 'params' => [ 'Region' => 'eu-south-1', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region eu-west-1 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.eu-west-1.amazonaws.com', ], ], 'params' => [ 'Region' => 'eu-west-1', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region eu-west-2 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.eu-west-2.amazonaws.com', ], ], 'params' => [ 'Region' => 'eu-west-2', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region eu-west-3 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.eu-west-3.amazonaws.com', ], ], 'params' => [ 'Region' => 'eu-west-3', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region me-south-1 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.me-south-1.amazonaws.com', ], ], 'params' => [ 'Region' => 'me-south-1', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region sa-east-1 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.sa-east-1.amazonaws.com', ], ], 'params' => [ 'Region' => 'sa-east-1', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region us-east-1 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.us-east-1.amazonaws.com', ], ], 'params' => [ 'Region' => 'us-east-1', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region us-east-2 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.us-east-2.amazonaws.com', ], ], 'params' => [ 'Region' => 'us-east-2', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region us-west-1 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.us-west-1.amazonaws.com', ], ], 'params' => [ 'Region' => 'us-west-1', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region us-west-2 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.us-west-2.amazonaws.com', ], ], 'params' => [ 'Region' => 'us-west-2', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region us-east-1 with FIPS enabled and DualStack enabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling-fips.us-east-1.api.aws', ], ], 'params' => [ 'Region' => 'us-east-1', 'UseFIPS' => true, 'UseDualStack' => true, ], ], [ 'documentation' => 'For region us-east-1 with FIPS enabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling-fips.us-east-1.amazonaws.com', ], ], 'params' => [ 'Region' => 'us-east-1', 'UseFIPS' => true, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region us-east-1 with FIPS disabled and DualStack enabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.us-east-1.api.aws', ], ], 'params' => [ 'Region' => 'us-east-1', 'UseFIPS' => false, 'UseDualStack' => true, ], ], [ 'documentation' => 'For region cn-north-1 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.cn-north-1.amazonaws.com.cn', ], ], 'params' => [ 'Region' => 'cn-north-1', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region cn-northwest-1 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.cn-northwest-1.amazonaws.com.cn', ], ], 'params' => [ 'Region' => 'cn-northwest-1', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region cn-north-1 with FIPS enabled and DualStack enabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling-fips.cn-north-1.api.amazonwebservices.com.cn', ], ], 'params' => [ 'Region' => 'cn-north-1', 'UseFIPS' => true, 'UseDualStack' => true, ], ], [ 'documentation' => 'For region cn-north-1 with FIPS enabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling-fips.cn-north-1.amazonaws.com.cn', ], ], 'params' => [ 'Region' => 'cn-north-1', 'UseFIPS' => true, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region cn-north-1 with FIPS disabled and DualStack enabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.cn-north-1.api.amazonwebservices.com.cn', ], ], 'params' => [ 'Region' => 'cn-north-1', 'UseFIPS' => false, 'UseDualStack' => true, ], ], [ 'documentation' => 'For region us-gov-east-1 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.us-gov-east-1.amazonaws.com', ], ], 'params' => [ 'Region' => 'us-gov-east-1', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region us-gov-east-1 with FIPS enabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.us-gov-east-1.amazonaws.com', ], ], 'params' => [ 'Region' => 'us-gov-east-1', 'UseFIPS' => true, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region us-gov-west-1 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.us-gov-west-1.amazonaws.com', ], ], 'params' => [ 'Region' => 'us-gov-west-1', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region us-gov-west-1 with FIPS enabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.us-gov-west-1.amazonaws.com', ], ], 'params' => [ 'Region' => 'us-gov-west-1', 'UseFIPS' => true, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region us-gov-east-1 with FIPS enabled and DualStack enabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling-fips.us-gov-east-1.api.aws', ], ], 'params' => [ 'Region' => 'us-gov-east-1', 'UseFIPS' => true, 'UseDualStack' => true, ], ], [ 'documentation' => 'For region us-gov-east-1 with FIPS disabled and DualStack enabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.us-gov-east-1.api.aws', ], ], 'params' => [ 'Region' => 'us-gov-east-1', 'UseFIPS' => false, 'UseDualStack' => true, ], ], [ 'documentation' => 'For region us-iso-east-1 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.us-iso-east-1.c2s.ic.gov', ], ], 'params' => [ 'Region' => 'us-iso-east-1', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region us-iso-west-1 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.us-iso-west-1.c2s.ic.gov', ], ], 'params' => [ 'Region' => 'us-iso-west-1', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region us-iso-east-1 with FIPS enabled and DualStack enabled', 'expect' => [ 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', ], 'params' => [ 'Region' => 'us-iso-east-1', 'UseFIPS' => true, 'UseDualStack' => true, ], ], [ 'documentation' => 'For region us-iso-east-1 with FIPS enabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling-fips.us-iso-east-1.c2s.ic.gov', ], ], 'params' => [ 'Region' => 'us-iso-east-1', 'UseFIPS' => true, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region us-iso-east-1 with FIPS disabled and DualStack enabled', 'expect' => [ 'error' => 'DualStack is enabled but this partition does not support DualStack', ], 'params' => [ 'Region' => 'us-iso-east-1', 'UseFIPS' => false, 'UseDualStack' => true, ], ], [ 'documentation' => 'For region us-isob-east-1 with FIPS disabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling.us-isob-east-1.sc2s.sgov.gov', ], ], 'params' => [ 'Region' => 'us-isob-east-1', 'UseFIPS' => false, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region us-isob-east-1 with FIPS enabled and DualStack enabled', 'expect' => [ 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', ], 'params' => [ 'Region' => 'us-isob-east-1', 'UseFIPS' => true, 'UseDualStack' => true, ], ], [ 'documentation' => 'For region us-isob-east-1 with FIPS enabled and DualStack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://application-autoscaling-fips.us-isob-east-1.sc2s.sgov.gov', ], ], 'params' => [ 'Region' => 'us-isob-east-1', 'UseFIPS' => true, 'UseDualStack' => false, ], ], [ 'documentation' => 'For region us-isob-east-1 with FIPS disabled and DualStack enabled', 'expect' => [ 'error' => 'DualStack is enabled but this partition does not support DualStack', ], 'params' => [ 'Region' => 'us-isob-east-1', 'UseFIPS' => false, 'UseDualStack' => true, ], ], [ 'documentation' => 'For custom endpoint with region set and fips disabled and dualstack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://example.com', ], ], 'params' => [ 'Region' => 'us-east-1', 'UseFIPS' => false, 'UseDualStack' => false, 'Endpoint' => 'https://example.com', ], ], [ 'documentation' => 'For custom endpoint with region not set and fips disabled and dualstack disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://example.com', ], ], 'params' => [ 'UseFIPS' => false, 'UseDualStack' => false, 'Endpoint' => 'https://example.com', ], ], [ 'documentation' => 'For custom endpoint with fips enabled and dualstack disabled', 'expect' => [ 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', ], 'params' => [ 'Region' => 'us-east-1', 'UseFIPS' => true, 'UseDualStack' => false, 'Endpoint' => 'https://example.com', ], ], [ 'documentation' => 'For custom endpoint with fips disabled and dualstack enabled', 'expect' => [ 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', ], 'params' => [ 'Region' => 'us-east-1', 'UseFIPS' => false, 'UseDualStack' => true, 'Endpoint' => 'https://example.com', ], ], [ 'documentation' => 'Missing region', 'expect' => [ 'error' => 'Invalid Configuration: Missing Region', ], ], ], 'version' => '1.0',];


<?php
// This file was auto-generated from sdk-root/src/data/application-autoscaling/2016-02-06/examples-1.json
return [ 'version' => '1.0', 'examples' => [ 'DeleteScalingPolicy' => [ [ 'input' => [ 'PolicyName' => 'web-app-cpu-lt-25', 'ResourceId' => 'service/default/web-app', 'ScalableDimension' => 'ecs:service:DesiredCount', 'ServiceNamespace' => 'ecs', ], 'output' => [], 'comments' => [ 'input' => [], 'output' => [], ], 'description' => 'This example deletes a scaling policy for the Amazon ECS service called web-app, which is running in the default cluster.', 'id' => 'to-delete-a-scaling-policy-1470863892689', 'title' => 'To delete a scaling policy', ], ], 'DeleteScheduledAction' => [ [ 'input' => [ 'ResourceId' => 'fleet/sample-fleet', 'ScalableDimension' => 'appstream:fleet:DesiredCapacity', 'ScheduledActionName' => 'my-recurring-action', 'ServiceNamespace' => 'appstream', ], 'output' => [], 'comments' => [ 'input' => [], 'output' => [], ], 'description' => 'This example deletes a scheduled action for the AppStream 2.0 fleet called sample-fleet.', 'id' => 'to-delete-a-scheduled-action-1677963329606', 'title' => 'To delete a scheduled action', ], ], 'DeregisterScalableTarget' => [ [ 'input' => [ 'ResourceId' => 'service/default/web-app', 'ScalableDimension' => 'ecs:service:DesiredCount', 'ServiceNamespace' => 'ecs', ], 'output' => [], 'comments' => [ 'input' => [], 'output' => [], ], 'description' => 'This example deregisters a scalable target for an Amazon ECS service called web-app that is running in the default cluster.', 'id' => 'to-deregister-a-scalable-target-1470864164895', 'title' => 'To deregister a scalable target', ], ], 'DescribeScalableTargets' => [ [ 'input' => [ 'ServiceNamespace' => 'ecs', ], 'output' => [ 'ScalableTargets' => [ [ 'CreationTime' => '2019-05-06T11:21:46.199Z', 'MaxCapacity' => 10, 'MinCapacity' => 1, 'ResourceId' => 'service/default/web-app', 'RoleARN' => 'arn:aws:iam::012345678910:role/aws-service-role/ecs.application-autoscaling.amazonaws.com/AWSServiceRoleForApplicationAutoScaling_ECSService', 'ScalableDimension' => 'ecs:service:DesiredCount', 'ServiceNamespace' => 'ecs', 'SuspendedState' => [ 'DynamicScalingInSuspended' => false, 'DynamicScalingOutSuspended' => false, 'ScheduledScalingSuspended' => false, ], ], ], ], 'comments' => [ 'input' => [], 'output' => [], ], 'description' => 'This example describes the scalable targets for the ECS service namespace.', 'id' => 'to-describe-scalable-targets-1470864286961', 'title' => 'To describe scalable targets', ], ], 'DescribeScalingActivities' => [ [ 'input' => [ 'ResourceId' => 'service/default/web-app', 'ScalableDimension' => 'ecs:service:DesiredCount', 'ServiceNamespace' => 'ecs', ], 'output' => [ 'ScalingActivities' => [ [ 'ActivityId' => 'e6c5f7d1-dbbb-4a3f-89b2-51f33e766399', 'Cause' => 'monitor alarm web-app-cpu-lt-25 in state ALARM triggered policy web-app-cpu-lt-25', 'Description' => 'Setting desired count to 1.', 'EndTime' => '2019-05-06T16:04:32.111Z', 'ResourceId' => 'service/default/web-app', 'ScalableDimension' => 'ecs:service:DesiredCount', 'ServiceNamespace' => 'ecs', 'StartTime' => '2019-05-06T16:03:58.171Z', 'StatusCode' => 'Successful', 'StatusMessage' => 'Successfully set desired count to 1. Change successfully fulfilled by ecs.', ], ], ], 'comments' => [ 'input' => [], 'output' => [], ], 'description' => 'This example describes the scaling activities for an Amazon ECS service called web-app that is running in the default cluster.', 'id' => 'to-describe-scaling-activities-for-a-scalable-target-1470864398629', 'title' => 'To describe scaling activities for a scalable target', ], ], 'DescribeScalingPolicies' => [ [ 'input' => [ 'ServiceNamespace' => 'ecs', ], 'output' => [ 'NextToken' => '', 'ScalingPolicies' => [ [ 'Alarms' => [ [ 'AlarmARN' => 'arn:aws:cloudwatch:us-west-2:012345678910:alarm:web-app-cpu-gt-75', 'AlarmName' => 'web-app-cpu-gt-75', ], ], 'CreationTime' => '2019-05-06T12:11:39.230Z', 'PolicyARN' => 'arn:aws:autoscaling:us-west-2:012345678910:scalingPolicy:6d8972f3-efc8-437c-92d1-6270f29a66e7:resource/ecs/service/default/web-app:policyName/web-app-cpu-gt-75', 'PolicyName' => 'web-app-cpu-gt-75', 'PolicyType' => 'StepScaling', 'ResourceId' => 'service/default/web-app', 'ScalableDimension' => 'ecs:service:DesiredCount', 'ServiceNamespace' => 'ecs', 'StepScalingPolicyConfiguration' => [ 'AdjustmentType' => 'PercentChangeInCapacity', 'Cooldown' => 60, 'StepAdjustments' => [ [ 'MetricIntervalLowerBound' => 0, 'ScalingAdjustment' => 200, ], ], ], ], ], ], 'comments' => [ 'input' => [], 'output' => [], ], 'description' => 'This example describes the scaling policies for the ECS service namespace.', 'id' => 'to-describe-scaling-policies-1470864609734', 'title' => 'To describe scaling policies', ], ], 'DescribeScheduledActions' => [ [ 'input' => [ 'ServiceNamespace' => 'dynamodb', ], 'output' => [ 'ScheduledActions' => [ [ 'CreationTime' => 1561571888.3610001, 'ResourceId' => 'table/my-table', 'ScalableDimension' => 'dynamodb:table:WriteCapacityUnits', 'ScalableTargetAction' => [ 'MaxCapacity' => 20, 'MinCapacity' => 15, ], 'Schedule' => 'at(2019-05-20T18:35:00)', 'ScheduledActionARN' => 'arn:aws:autoscaling:us-west-2:123456789012:scheduledAction:2d36aa3b-cdf9-4565-b290-81db519b227d:resource/dynamodb/table/my-table:scheduledActionName/my-first-scheduled-action', 'ScheduledActionName' => 'my-first-scheduled-action', 'ServiceNamespace' => 'dynamodb', ], [ 'CreationTime' => 1561571946.0209999, 'ResourceId' => 'table/my-table', 'ScalableDimension' => 'dynamodb:table:WriteCapacityUnits', 'ScalableTargetAction' => [ 'MaxCapacity' => 10, 'MinCapacity' => 5, ], 'Schedule' => 'at(2019-05-20T18:40:00)', 'ScheduledActionARN' => 'arn:aws:autoscaling:us-west-2:123456789012:scheduledAction:2d36aa3b-cdf9-4565-b290-81db519b227d:resource/dynamodb/table/my-table:scheduledActionName/my-second-scheduled-action', 'ScheduledActionName' => 'my-second-scheduled-action', 'ServiceNamespace' => 'dynamodb', ], ], ], 'comments' => [ 'input' => [], 'output' => [], ], 'description' => 'This example describes the scheduled actions for the dynamodb service namespace.', 'id' => 'to-describe-scheduled-actions-1677965249349', 'title' => 'To describe scheduled actions', ], ], 'ListTagsForResource' => [ [ 'input' => [ 'ResourceARN' => 'arn:aws:application-autoscaling:us-west-2:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123', ], 'output' => [ 'Tags' => [ 'environment' => 'production', ], ], 'comments' => [ 'input' => [], 'output' => [], ], 'description' => 'This example lists the tag key names and values that are attached to the scalable target specified by its ARN.', 'id' => 'to-list-tags-for-a-scalable-target-1677971474903', 'title' => 'To list tags for a scalable target', ], ], 'PutScalingPolicy' => [ [ 'input' => [ 'PolicyName' => 'cpu75-target-tracking-scaling-policy', 'PolicyType' => 'TargetTrackingScaling', 'ResourceId' => 'service/default/web-app', 'ScalableDimension' => 'ecs:service:DesiredCount', 'ServiceNamespace' => 'ecs', 'TargetTrackingScalingPolicyConfiguration' => [ 'PredefinedMetricSpecification' => [ 'PredefinedMetricType' => 'ECSServiceAverageCPUUtilization', ], 'ScaleInCooldown' => 60, 'ScaleOutCooldown' => 60, 'TargetValue' => 75, ], ], 'output' => [ 'Alarms' => [ [ 'AlarmARN' => 'arn:aws:cloudwatch:us-west-2:012345678910:alarm:TargetTracking-service/default/web-app-AlarmHigh-d4f0770c-b46e-434a-a60f-3b36d653feca', 'AlarmName' => 'TargetTracking-service/default/web-app-AlarmHigh-d4f0770c-b46e-434a-a60f-3b36d653feca', ], [ 'AlarmARN' => 'arn:aws:cloudwatch:us-west-2:012345678910:alarm:TargetTracking-service/default/web-app-AlarmLow-1b437334-d19b-4a63-a812-6c67aaf2910d', 'AlarmName' => 'TargetTracking-service/default/web-app-AlarmLow-1b437334-d19b-4a63-a812-6c67aaf2910d', ], ], 'PolicyARN' => 'arn:aws:autoscaling:us-west-2:012345678910:scalingPolicy:6d8972f3-efc8-437c-92d1-6270f29a66e7:resource/ecs/service/default/web-app:policyName/cpu75-target-tracking-scaling-policy', ], 'comments' => [ 'input' => [], 'output' => [], ], 'description' => 'The following example applies a target tracking scaling policy with a predefined metric specification to an Amazon ECS service called web-app in the default cluster. The policy keeps the average CPU utilization of the service at 75 percent, with scale-out and scale-in cooldown periods of 60 seconds.', 'id' => 'to-apply-a-target-tracking-scaling-policy-with-a-predefined-metric-specification-1569364247984', 'title' => 'To apply a target tracking scaling policy with a predefined metric specification', ], ], 'PutScheduledAction' => [ [ 'input' => [ 'ResourceId' => 'table/TestTable', 'ScalableDimension' => 'dynamodb:table:WriteCapacityUnits', 'ScalableTargetAction' => [ 'MinCapacity' => 6, ], 'Schedule' => 'cron(15 12 * * ? *)', 'ScheduledActionName' => 'my-recurring-action', 'ServiceNamespace' => 'dynamodb', ], 'output' => [], 'comments' => [ 'input' => [], 'output' => [], ], 'description' => 'This example adds a scheduled action to a DynamoDB table called TestTable to scale out on a recurring schedule. On the specified schedule (every day at 12:15pm UTC), if the current capacity is below the value specified for MinCapacity, Application Auto Scaling scales out to the value specified by MinCapacity.', 'id' => 'to-create-a-recurring-scheduled-action-1677970068621', 'title' => 'To create a recurring scheduled action', ], ], 'RegisterScalableTarget' => [ [ 'input' => [ 'MaxCapacity' => 10, 'MinCapacity' => 1, 'ResourceId' => 'service/default/web-app', 'ScalableDimension' => 'ecs:service:DesiredCount', 'ServiceNamespace' => 'ecs', ], 'output' => [ 'ScalableTargetARN' => 'arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123', ], 'comments' => [ 'input' => [], 'output' => [], ], 'description' => 'This example registers a scalable target from an Amazon ECS service called web-app that is running on the default cluster, with a minimum desired count of 1 task and a maximum desired count of 10 tasks.', 'id' => 'to-register-a-new-scalable-target-1470864910380', 'title' => 'To register an ECS service as a scalable target', ], ], 'TagResource' => [ [ 'input' => [ 'ResourceARN' => 'arn:aws:application-autoscaling:us-west-2:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123', 'Tags' => [ 'environment' => 'production', ], ], 'output' => [], 'comments' => [ 'input' => [], 'output' => [], ], 'description' => 'This example adds a tag with the key name "environment" and the value "production" to the scalable target specified by its ARN.', 'id' => 'to-add-a-tag-to-a-scalable-target-1677970764620', 'title' => 'To add a tag to a scalable target', ], ], 'UntagResource' => [ [ 'input' => [ 'ResourceARN' => 'arn:aws:application-autoscaling:us-west-2:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123', 'TagKeys' => [ 'environment', ], ], 'output' => [], 'comments' => [ 'input' => [], 'output' => [], ], 'description' => 'This example removes the tag pair with the key name "environment" from the scalable target specified by its ARN.', 'id' => 'to-remove-a-tag-from-a-scalable-target-1677971117168', 'title' => 'To remove a tag from a scalable target', ], ], ],];


<?php
// This file was auto-generated from sdk-root/src/data/application-autoscaling/2016-02-06/paginators-1.json
return [ 'pagination' => [ 'DescribeScalableTargets' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'ScalableTargets', ], 'DescribeScalingActivities' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'ScalingActivities', ], 'DescribeScalingPolicies' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'ScalingPolicies', ], 'DescribeScheduledActions' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'ScheduledActions', ], ],];


<?php
// This file was auto-generated from sdk-root/src/data/application-autoscaling/2016-02-06/smoke.json
return [ 'version' => 1, 'defaultRegion' => 'us-west-2', 'testCases' => [ [ 'operationName' => 'DescribeScalableTargets', 'input' => [ 'ServiceNamespace' => 'ec2', ], 'errorExpectedFromService' => false, ], ],];


<?php
// This file was auto-generated from sdk-root/src/data/application-insights/2018-11-25/api-2.json
return [ 'version' => '2.0', 'metadata' => [ 'apiVersion' => '2018-11-25', 'endpointPrefix' => 'applicationinsights', 'jsonVersion' => '1.1', 'protocol' => 'json', 'serviceAbbreviation' => 'Application Insights', 'serviceFullName' => 'Amazon CloudWatch Application Insights', 'serviceId' => 'Application Insights', 'signatureVersion' => 'v4', 'signingName' => 'applicationinsights', 'targetPrefix' => 'EC2WindowsBarleyService', 'uid' => 'application-insights-2018-11-25', ], 'operations' => [ 'CreateApplication' => [ 'name' => 'CreateApplication', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'CreateApplicationRequest', ], 'output' => [ 'shape' => 'CreateApplicationResponse', ], 'errors' => [ [ 'shape' => 'ResourceInUseException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'TagsAlreadyExistException', ], [ 'shape' => 'AccessDeniedException', ], ], ], 'CreateComponent' => [ 'name' => 'CreateComponent', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'CreateComponentRequest', ], 'output' => [ 'shape' => 'CreateComponentResponse', ], 'errors' => [ [ 'shape' => 'ResourceInUseException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], ], ], 'CreateLogPattern' => [ 'name' => 'CreateLogPattern', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'CreateLogPatternRequest', ], 'output' => [ 'shape' => 'CreateLogPatternResponse', ], 'errors' => [ [ 'shape' => 'ResourceInUseException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], ], ], 'DeleteApplication' => [ 'name' => 'DeleteApplication', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'DeleteApplicationRequest', ], 'output' => [ 'shape' => 'DeleteApplicationResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'BadRequestException', ], [ 'shape' => 'InternalServerException', ], ], ], 'DeleteComponent' => [ 'name' => 'DeleteComponent', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'DeleteComponentRequest', ], 'output' => [ 'shape' => 'DeleteComponentResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], ], ], 'DeleteLogPattern' => [ 'name' => 'DeleteLogPattern', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'DeleteLogPatternRequest', ], 'output' => [ 'shape' => 'DeleteLogPatternResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'BadRequestException', ], [ 'shape' => 'InternalServerException', ], ], ], 'DescribeApplication' => [ 'name' => 'DescribeApplication', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'DescribeApplicationRequest', ], 'output' => [ 'shape' => 'DescribeApplicationResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], ], ], 'DescribeComponent' => [ 'name' => 'DescribeComponent', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'DescribeComponentRequest', ], 'output' => [ 'shape' => 'DescribeComponentResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], ], ], 'DescribeComponentConfiguration' => [ 'name' => 'DescribeComponentConfiguration', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'DescribeComponentConfigurationRequest', ], 'output' => [ 'shape' => 'DescribeComponentConfigurationResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], ], ], 'DescribeComponentConfigurationRecommendation' => [ 'name' => 'DescribeComponentConfigurationRecommendation', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'DescribeComponentConfigurationRecommendationRequest', ], 'output' => [ 'shape' => 'DescribeComponentConfigurationRecommendationResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], ], ], 'DescribeLogPattern' => [ 'name' => 'DescribeLogPattern', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'DescribeLogPatternRequest', ], 'output' => [ 'shape' => 'DescribeLogPatternResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], ], ], 'DescribeObservation' => [ 'name' => 'DescribeObservation', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'DescribeObservationRequest', ], 'output' => [ 'shape' => 'DescribeObservationResponse', ], 'errors' => [ [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'DescribeProblem' => [ 'name' => 'DescribeProblem', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'DescribeProblemRequest', ], 'output' => [ 'shape' => 'DescribeProblemResponse', ], 'errors' => [ [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'DescribeProblemObservations' => [ 'name' => 'DescribeProblemObservations', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'DescribeProblemObservationsRequest', ], 'output' => [ 'shape' => 'DescribeProblemObservationsResponse', ], 'errors' => [ [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'ListApplications' => [ 'name' => 'ListApplications', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'ListApplicationsRequest', ], 'output' => [ 'shape' => 'ListApplicationsResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], ], ], 'ListComponents' => [ 'name' => 'ListComponents', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'ListComponentsRequest', ], 'output' => [ 'shape' => 'ListComponentsResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], ], ], 'ListConfigurationHistory' => [ 'name' => 'ListConfigurationHistory', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'ListConfigurationHistoryRequest', ], 'output' => [ 'shape' => 'ListConfigurationHistoryResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'InternalServerException', ], ], ], 'ListLogPatternSets' => [ 'name' => 'ListLogPatternSets', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'ListLogPatternSetsRequest', ], 'output' => [ 'shape' => 'ListLogPatternSetsResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], ], ], 'ListLogPatterns' => [ 'name' => 'ListLogPatterns', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'ListLogPatternsRequest', ], 'output' => [ 'shape' => 'ListLogPatternsResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], ], ], 'ListProblems' => [ 'name' => 'ListProblems', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'ListProblemsRequest', ], 'output' => [ 'shape' => 'ListProblemsResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'InternalServerException', ], ], ], 'ListTagsForResource' => [ 'name' => 'ListTagsForResource', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'ListTagsForResourceRequest', ], 'output' => [ 'shape' => 'ListTagsForResourceResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ValidationException', ], ], ], 'TagResource' => [ 'name' => 'TagResource', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'TagResourceRequest', ], 'output' => [ 'shape' => 'TagResourceResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'TooManyTagsException', ], [ 'shape' => 'ValidationException', ], ], ], 'UntagResource' => [ 'name' => 'UntagResource', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'UntagResourceRequest', ], 'output' => [ 'shape' => 'UntagResourceResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ValidationException', ], ], ], 'UpdateApplication' => [ 'name' => 'UpdateApplication', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'UpdateApplicationRequest', ], 'output' => [ 'shape' => 'UpdateApplicationResponse', ], 'errors' => [ [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ValidationException', ], ], ], 'UpdateComponent' => [ 'name' => 'UpdateComponent', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'UpdateComponentRequest', ], 'output' => [ 'shape' => 'UpdateComponentResponse', ], 'errors' => [ [ 'shape' => 'ResourceInUseException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], ], ], 'UpdateComponentConfiguration' => [ 'name' => 'UpdateComponentConfiguration', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'UpdateComponentConfigurationRequest', ], 'output' => [ 'shape' => 'UpdateComponentConfigurationResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], ], ], 'UpdateLogPattern' => [ 'name' => 'UpdateLogPattern', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'UpdateLogPatternRequest', ], 'output' => [ 'shape' => 'UpdateLogPatternResponse', ], 'errors' => [ [ 'shape' => 'ResourceInUseException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], ], ], ], 'shapes' => [ 'AccessDeniedException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'ErrorMsg', ], ], 'exception' => true, ], 'AffectedResource' => [ 'type' => 'string', ], 'AmazonResourceName' => [ 'type' => 'string', 'max' => 1011, 'min' => 1, 'pattern' => '^arn:aws(-\\w+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$', ], 'ApplicationComponent' => [ 'type' => 'structure', 'members' => [ 'ComponentName' => [ 'shape' => 'ComponentName', ], 'ComponentRemarks' => [ 'shape' => 'Remarks', ], 'ResourceType' => [ 'shape' => 'ResourceType', ], 'OsType' => [ 'shape' => 'OsType', ], 'Tier' => [ 'shape' => 'Tier', ], 'Monitor' => [ 'shape' => 'Monitor', ], 'DetectedWorkload' => [ 'shape' => 'DetectedWorkload', ], ], ], 'ApplicationComponentList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ApplicationComponent', ], ], 'ApplicationInfo' => [ 'type' => 'structure', 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'LifeCycle' => [ 'shape' => 'LifeCycle', ], 'OpsItemSNSTopicArn' => [ 'shape' => 'OpsItemSNSTopicArn', ], 'OpsCenterEnabled' => [ 'shape' => 'OpsCenterEnabled', ], 'CWEMonitorEnabled' => [ 'shape' => 'CWEMonitorEnabled', ], 'Remarks' => [ 'shape' => 'Remarks', ], 'AutoConfigEnabled' => [ 'shape' => 'AutoConfigEnabled', ], 'DiscoveryType' => [ 'shape' => 'DiscoveryType', ], ], ], 'ApplicationInfoList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ApplicationInfo', ], ], 'AutoConfigEnabled' => [ 'type' => 'boolean', ], 'AutoCreate' => [ 'type' => 'boolean', ], 'BadRequestException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'ErrorMsg', ], ], 'exception' => true, ], 'CWEMonitorEnabled' => [ 'type' => 'boolean', ], 'CloudWatchEventDetailType' => [ 'type' => 'string', ], 'CloudWatchEventId' => [ 'type' => 'string', ], 'CloudWatchEventSource' => [ 'type' => 'string', 'enum' => [ 'EC2', 'CODE_DEPLOY', 'HEALTH', 'RDS', ], ], 'CodeDeployApplication' => [ 'type' => 'string', ], 'CodeDeployDeploymentGroup' => [ 'type' => 'string', ], 'CodeDeployDeploymentId' => [ 'type' => 'string', ], 'CodeDeployInstanceGroupId' => [ 'type' => 'string', ], 'CodeDeployState' => [ 'type' => 'string', ], 'ComponentConfiguration' => [ 'type' => 'string', 'max' => 10000, 'min' => 1, 'pattern' => '[\\S\\s]+', ], 'ComponentName' => [ 'type' => 'string', 'max' => 1011, 'min' => 1, 'pattern' => '(?:^[\\d\\w\\-_\\.+]*$)|(?:^arn:aws(-\\w+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$)', ], 'ConfigurationEvent' => [ 'type' => 'structure', 'members' => [ 'MonitoredResourceARN' => [ 'shape' => 'ConfigurationEventMonitoredResourceARN', ], 'EventStatus' => [ 'shape' => 'ConfigurationEventStatus', ], 'EventResourceType' => [ 'shape' => 'ConfigurationEventResourceType', ], 'EventTime' => [ 'shape' => 'ConfigurationEventTime', ], 'EventDetail' => [ 'shape' => 'ConfigurationEventDetail', ], 'EventResourceName' => [ 'shape' => 'ConfigurationEventResourceName', ], ], ], 'ConfigurationEventDetail' => [ 'type' => 'string', ], 'ConfigurationEventList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ConfigurationEvent', ], ], 'ConfigurationEventMonitoredResourceARN' => [ 'type' => 'string', ], 'ConfigurationEventResourceName' => [ 'type' => 'string', ], 'ConfigurationEventResourceType' => [ 'type' => 'string', 'enum' => [ 'CLOUDWATCH_ALARM', 'CLOUDWATCH_LOG', 'CLOUDFORMATION', 'SSM_ASSOCIATION', ], ], 'ConfigurationEventStatus' => [ 'type' => 'string', 'enum' => [ 'INFO', 'WARN', 'ERROR', ], ], 'ConfigurationEventTime' => [ 'type' => 'timestamp', ], 'CreateApplicationRequest' => [ 'type' => 'structure', 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'OpsCenterEnabled' => [ 'shape' => 'OpsCenterEnabled', ], 'CWEMonitorEnabled' => [ 'shape' => 'CWEMonitorEnabled', ], 'OpsItemSNSTopicArn' => [ 'shape' => 'OpsItemSNSTopicArn', ], 'Tags' => [ 'shape' => 'TagList', ], 'AutoConfigEnabled' => [ 'shape' => 'AutoConfigEnabled', ], 'AutoCreate' => [ 'shape' => 'AutoCreate', ], 'GroupingType' => [ 'shape' => 'GroupingType', ], ], ], 'CreateApplicationResponse' => [ 'type' => 'structure', 'members' => [ 'ApplicationInfo' => [ 'shape' => 'ApplicationInfo', ], ], ], 'CreateComponentRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceGroupName', 'ComponentName', 'ResourceList', ], 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'ComponentName' => [ 'shape' => 'CustomComponentName', ], 'ResourceList' => [ 'shape' => 'ResourceList', ], ], ], 'CreateComponentResponse' => [ 'type' => 'structure', 'members' => [], ], 'CreateLogPatternRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceGroupName', 'PatternSetName', 'PatternName', 'Pattern', 'Rank', ], 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'PatternSetName' => [ 'shape' => 'LogPatternSetName', ], 'PatternName' => [ 'shape' => 'LogPatternName', ], 'Pattern' => [ 'shape' => 'LogPatternRegex', ], 'Rank' => [ 'shape' => 'LogPatternRank', ], ], ], 'CreateLogPatternResponse' => [ 'type' => 'structure', 'members' => [ 'LogPattern' => [ 'shape' => 'LogPattern', ], 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], ], ], 'CustomComponentName' => [ 'type' => 'string', 'max' => 128, 'min' => 1, 'pattern' => '^[\\d\\w\\-_\\.+]*$', ], 'DeleteApplicationRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceGroupName', ], 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], ], ], 'DeleteApplicationResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteComponentRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceGroupName', 'ComponentName', ], 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'ComponentName' => [ 'shape' => 'CustomComponentName', ], ], ], 'DeleteComponentResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteLogPatternRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceGroupName', 'PatternSetName', 'PatternName', ], 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'PatternSetName' => [ 'shape' => 'LogPatternSetName', ], 'PatternName' => [ 'shape' => 'LogPatternName', ], ], ], 'DeleteLogPatternResponse' => [ 'type' => 'structure', 'members' => [], ], 'DescribeApplicationRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceGroupName', ], 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], ], ], 'DescribeApplicationResponse' => [ 'type' => 'structure', 'members' => [ 'ApplicationInfo' => [ 'shape' => 'ApplicationInfo', ], ], ], 'DescribeComponentConfigurationRecommendationRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceGroupName', 'ComponentName', 'Tier', ], 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'ComponentName' => [ 'shape' => 'ComponentName', ], 'Tier' => [ 'shape' => 'Tier', ], ], ], 'DescribeComponentConfigurationRecommendationResponse' => [ 'type' => 'structure', 'members' => [ 'ComponentConfiguration' => [ 'shape' => 'ComponentConfiguration', ], ], ], 'DescribeComponentConfigurationRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceGroupName', 'ComponentName', ], 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'ComponentName' => [ 'shape' => 'ComponentName', ], ], ], 'DescribeComponentConfigurationResponse' => [ 'type' => 'structure', 'members' => [ 'Monitor' => [ 'shape' => 'Monitor', ], 'Tier' => [ 'shape' => 'Tier', ], 'ComponentConfiguration' => [ 'shape' => 'ComponentConfiguration', ], ], ], 'DescribeComponentRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceGroupName', 'ComponentName', ], 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'ComponentName' => [ 'shape' => 'ComponentName', ], ], ], 'DescribeComponentResponse' => [ 'type' => 'structure', 'members' => [ 'ApplicationComponent' => [ 'shape' => 'ApplicationComponent', ], 'ResourceList' => [ 'shape' => 'ResourceList', ], ], ], 'DescribeLogPatternRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceGroupName', 'PatternSetName', 'PatternName', ], 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'PatternSetName' => [ 'shape' => 'LogPatternSetName', ], 'PatternName' => [ 'shape' => 'LogPatternName', ], ], ], 'DescribeLogPatternResponse' => [ 'type' => 'structure', 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'LogPattern' => [ 'shape' => 'LogPattern', ], ], ], 'DescribeObservationRequest' => [ 'type' => 'structure', 'required' => [ 'ObservationId', ], 'members' => [ 'ObservationId' => [ 'shape' => 'ObservationId', ], ], ], 'DescribeObservationResponse' => [ 'type' => 'structure', 'members' => [ 'Observation' => [ 'shape' => 'Observation', ], ], ], 'DescribeProblemObservationsRequest' => [ 'type' => 'structure', 'required' => [ 'ProblemId', ], 'members' => [ 'ProblemId' => [ 'shape' => 'ProblemId', ], ], ], 'DescribeProblemObservationsResponse' => [ 'type' => 'structure', 'members' => [ 'RelatedObservations' => [ 'shape' => 'RelatedObservations', ], ], ], 'DescribeProblemRequest' => [ 'type' => 'structure', 'required' => [ 'ProblemId', ], 'members' => [ 'ProblemId' => [ 'shape' => 'ProblemId', ], ], ], 'DescribeProblemResponse' => [ 'type' => 'structure', 'members' => [ 'Problem' => [ 'shape' => 'Problem', ], ], ], 'DetectedWorkload' => [ 'type' => 'map', 'key' => [ 'shape' => 'Tier', ], 'value' => [ 'shape' => 'WorkloadMetaData', ], ], 'DiscoveryType' => [ 'type' => 'string', 'enum' => [ 'RESOURCE_GROUP_BASED', 'ACCOUNT_BASED', ], ], 'EbsCause' => [ 'type' => 'string', ], 'EbsEvent' => [ 'type' => 'string', ], 'EbsRequestId' => [ 'type' => 'string', ], 'EbsResult' => [ 'type' => 'string', ], 'Ec2State' => [ 'type' => 'string', ], 'EndTime' => [ 'type' => 'timestamp', ], 'ErrorMsg' => [ 'type' => 'string', ], 'ExceptionMessage' => [ 'type' => 'string', ], 'Feedback' => [ 'type' => 'map', 'key' => [ 'shape' => 'FeedbackKey', ], 'value' => [ 'shape' => 'FeedbackValue', ], 'max' => 10, ], 'FeedbackKey' => [ 'type' => 'string', 'enum' => [ 'INSIGHTS_FEEDBACK', ], ], 'FeedbackValue' => [ 'type' => 'string', 'enum' => [ 'NOT_SPECIFIED', 'USEFUL', 'NOT_USEFUL', ], ], 'GroupingType' => [ 'type' => 'string', 'enum' => [ 'ACCOUNT_BASED', ], ], 'HealthEventArn' => [ 'type' => 'string', ], 'HealthEventDescription' => [ 'type' => 'string', ], 'HealthEventTypeCategory' => [ 'type' => 'string', ], 'HealthEventTypeCode' => [ 'type' => 'string', ], 'HealthService' => [ 'type' => 'string', ], 'Insights' => [ 'type' => 'string', ], 'InternalServerException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'ErrorMsg', ], ], 'exception' => true, ], 'LastRecurrenceTime' => [ 'type' => 'timestamp', ], 'LifeCycle' => [ 'type' => 'string', ], 'LineTime' => [ 'type' => 'timestamp', ], 'ListApplicationsRequest' => [ 'type' => 'structure', 'members' => [ 'MaxResults' => [ 'shape' => 'MaxEntities', ], 'NextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListApplicationsResponse' => [ 'type' => 'structure', 'members' => [ 'ApplicationInfoList' => [ 'shape' => 'ApplicationInfoList', ], 'NextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListComponentsRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceGroupName', ], 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'MaxResults' => [ 'shape' => 'MaxEntities', ], 'NextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListComponentsResponse' => [ 'type' => 'structure', 'members' => [ 'ApplicationComponentList' => [ 'shape' => 'ApplicationComponentList', ], 'NextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListConfigurationHistoryRequest' => [ 'type' => 'structure', 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'StartTime' => [ 'shape' => 'StartTime', ], 'EndTime' => [ 'shape' => 'EndTime', ], 'EventStatus' => [ 'shape' => 'ConfigurationEventStatus', ], 'MaxResults' => [ 'shape' => 'MaxEntities', ], 'NextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListConfigurationHistoryResponse' => [ 'type' => 'structure', 'members' => [ 'EventList' => [ 'shape' => 'ConfigurationEventList', ], 'NextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListLogPatternSetsRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceGroupName', ], 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'MaxResults' => [ 'shape' => 'MaxEntities', ], 'NextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListLogPatternSetsResponse' => [ 'type' => 'structure', 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'LogPatternSets' => [ 'shape' => 'LogPatternSetList', ], 'NextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListLogPatternsRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceGroupName', ], 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'PatternSetName' => [ 'shape' => 'LogPatternSetName', ], 'MaxResults' => [ 'shape' => 'MaxEntities', ], 'NextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListLogPatternsResponse' => [ 'type' => 'structure', 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'LogPatterns' => [ 'shape' => 'LogPatternList', ], 'NextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListProblemsRequest' => [ 'type' => 'structure', 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'StartTime' => [ 'shape' => 'StartTime', ], 'EndTime' => [ 'shape' => 'EndTime', ], 'MaxResults' => [ 'shape' => 'MaxEntities', ], 'NextToken' => [ 'shape' => 'PaginationToken', ], 'ComponentName' => [ 'shape' => 'ComponentName', ], ], ], 'ListProblemsResponse' => [ 'type' => 'structure', 'members' => [ 'ProblemList' => [ 'shape' => 'ProblemList', ], 'NextToken' => [ 'shape' => 'PaginationToken', ], 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], ], ], 'ListTagsForResourceRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceARN', ], 'members' => [ 'ResourceARN' => [ 'shape' => 'AmazonResourceName', ], ], ], 'ListTagsForResourceResponse' => [ 'type' => 'structure', 'members' => [ 'Tags' => [ 'shape' => 'TagList', ], ], ], 'LogFilter' => [ 'type' => 'string', 'enum' => [ 'ERROR', 'WARN', 'INFO', ], ], 'LogGroup' => [ 'type' => 'string', ], 'LogPattern' => [ 'type' => 'structure', 'members' => [ 'PatternSetName' => [ 'shape' => 'LogPatternSetName', ], 'PatternName' => [ 'shape' => 'LogPatternName', ], 'Pattern' => [ 'shape' => 'LogPatternRegex', ], 'Rank' => [ 'shape' => 'LogPatternRank', ], ], ], 'LogPatternList' => [ 'type' => 'list', 'member' => [ 'shape' => 'LogPattern', ], ], 'LogPatternName' => [ 'type' => 'string', 'max' => 50, 'min' => 1, 'pattern' => '[a-zA-Z0-9\\.\\-_]*', ], 'LogPatternRank' => [ 'type' => 'integer', ], 'LogPatternRegex' => [ 'type' => 'string', 'max' => 50, 'min' => 1, 'pattern' => '[\\S\\s]+', ], 'LogPatternSetList' => [ 'type' => 'list', 'member' => [ 'shape' => 'LogPatternSetName', ], ], 'LogPatternSetName' => [ 'type' => 'string', 'max' => 30, 'min' => 1, 'pattern' => '[a-zA-Z0-9\\.\\-_]*', ], 'LogText' => [ 'type' => 'string', ], 'MaxEntities' => [ 'type' => 'integer', 'max' => 40, 'min' => 1, ], 'MetaDataKey' => [ 'type' => 'string', ], 'MetaDataValue' => [ 'type' => 'string', ], 'MetricName' => [ 'type' => 'string', ], 'MetricNamespace' => [ 'type' => 'string', ], 'Monitor' => [ 'type' => 'boolean', ], 'Observation' => [ 'type' => 'structure', 'members' => [ 'Id' => [ 'shape' => 'ObservationId', ], 'StartTime' => [ 'shape' => 'StartTime', ], 'EndTime' => [ 'shape' => 'EndTime', ], 'SourceType' => [ 'shape' => 'SourceType', ], 'SourceARN' => [ 'shape' => 'SourceARN', ], 'LogGroup' => [ 'shape' => 'LogGroup', ], 'LineTime' => [ 'shape' => 'LineTime', ], 'LogText' => [ 'shape' => 'LogText', ], 'LogFilter' => [ 'shape' => 'LogFilter', ], 'MetricNamespace' => [ 'shape' => 'MetricNamespace', ], 'MetricName' => [ 'shape' => 'MetricName', ], 'Unit' => [ 'shape' => 'Unit', ], 'Value' => [ 'shape' => 'Value', ], 'CloudWatchEventId' => [ 'shape' => 'CloudWatchEventId', ], 'CloudWatchEventSource' => [ 'shape' => 'CloudWatchEventSource', ], 'CloudWatchEventDetailType' => [ 'shape' => 'CloudWatchEventDetailType', ], 'HealthEventArn' => [ 'shape' => 'HealthEventArn', ], 'HealthService' => [ 'shape' => 'HealthService', ], 'HealthEventTypeCode' => [ 'shape' => 'HealthEventTypeCode', ], 'HealthEventTypeCategory' => [ 'shape' => 'HealthEventTypeCategory', ], 'HealthEventDescription' => [ 'shape' => 'HealthEventDescription', ], 'CodeDeployDeploymentId' => [ 'shape' => 'CodeDeployDeploymentId', ], 'CodeDeployDeploymentGroup' => [ 'shape' => 'CodeDeployDeploymentGroup', ], 'CodeDeployState' => [ 'shape' => 'CodeDeployState', ], 'CodeDeployApplication' => [ 'shape' => 'CodeDeployApplication', ], 'CodeDeployInstanceGroupId' => [ 'shape' => 'CodeDeployInstanceGroupId', ], 'Ec2State' => [ 'shape' => 'Ec2State', ], 'RdsEventCategories' => [ 'shape' => 'RdsEventCategories', ], 'RdsEventMessage' => [ 'shape' => 'RdsEventMessage', ], 'S3EventName' => [ 'shape' => 'S3EventName', ], 'StatesExecutionArn' => [ 'shape' => 'StatesExecutionArn', ], 'StatesArn' => [ 'shape' => 'StatesArn', ], 'StatesStatus' => [ 'shape' => 'StatesStatus', ], 'StatesInput' => [ 'shape' => 'StatesInput', ], 'EbsEvent' => [ 'shape' => 'EbsEvent', ], 'EbsResult' => [ 'shape' => 'EbsResult', ], 'EbsCause' => [ 'shape' => 'EbsCause', ], 'EbsRequestId' => [ 'shape' => 'EbsRequestId', ], 'XRayFaultPercent' => [ 'shape' => 'XRayFaultPercent', ], 'XRayThrottlePercent' => [ 'shape' => 'XRayThrottlePercent', ], 'XRayErrorPercent' => [ 'shape' => 'XRayErrorPercent', ], 'XRayRequestCount' => [ 'shape' => 'XRayRequestCount', ], 'XRayRequestAverageLatency' => [ 'shape' => 'XRayRequestAverageLatency', ], 'XRayNodeName' => [ 'shape' => 'XRayNodeName', ], 'XRayNodeType' => [ 'shape' => 'XRayNodeType', ], ], ], 'ObservationId' => [ 'type' => 'string', 'max' => 38, 'min' => 38, 'pattern' => 'o-[0-9a-fA-F]{8}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{12}', ], 'ObservationList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Observation', ], ], 'OpsCenterEnabled' => [ 'type' => 'boolean', ], 'OpsItemSNSTopicArn' => [ 'type' => 'string', 'max' => 300, 'min' => 20, 'pattern' => '^arn:aws(-\\w+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$', ], 'OsType' => [ 'type' => 'string', 'enum' => [ 'WINDOWS', 'LINUX', ], ], 'PaginationToken' => [ 'type' => 'string', 'max' => 1024, 'min' => 1, 'pattern' => '.+', ], 'Problem' => [ 'type' => 'structure', 'members' => [ 'Id' => [ 'shape' => 'ProblemId', ], 'Title' => [ 'shape' => 'Title', ], 'Insights' => [ 'shape' => 'Insights', ], 'Status' => [ 'shape' => 'Status', ], 'AffectedResource' => [ 'shape' => 'AffectedResource', ], 'StartTime' => [ 'shape' => 'StartTime', ], 'EndTime' => [ 'shape' => 'EndTime', ], 'SeverityLevel' => [ 'shape' => 'SeverityLevel', ], 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'Feedback' => [ 'shape' => 'Feedback', ], 'RecurringCount' => [ 'shape' => 'RecurringCount', ], 'LastRecurrenceTime' => [ 'shape' => 'LastRecurrenceTime', ], ], ], 'ProblemId' => [ 'type' => 'string', 'max' => 38, 'min' => 38, 'pattern' => 'p-[0-9a-fA-F]{8}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{12}', ], 'ProblemList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Problem', ], ], 'RdsEventCategories' => [ 'type' => 'string', ], 'RdsEventMessage' => [ 'type' => 'string', ], 'RecurringCount' => [ 'type' => 'long', ], 'RelatedObservations' => [ 'type' => 'structure', 'members' => [ 'ObservationList' => [ 'shape' => 'ObservationList', ], ], ], 'Remarks' => [ 'type' => 'string', ], 'RemoveSNSTopic' => [ 'type' => 'boolean', ], 'ResourceARN' => [ 'type' => 'string', 'max' => 1011, 'min' => 1, 'pattern' => '^arn:aws(-\\w+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$', ], 'ResourceGroupName' => [ 'type' => 'string', 'max' => 256, 'min' => 1, 'pattern' => '[a-zA-Z0-9\\.\\-_]*', ], 'ResourceInUseException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'ErrorMsg', ], ], 'exception' => true, ], 'ResourceList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ResourceARN', ], ], 'ResourceNotFoundException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'ErrorMsg', ], ], 'exception' => true, ], 'ResourceType' => [ 'type' => 'string', 'max' => 50, 'min' => 1, 'pattern' => '[0-9a-zA-Z:_]*', ], 'S3EventName' => [ 'type' => 'string', ], 'SeverityLevel' => [ 'type' => 'string', 'enum' => [ 'Informative', 'Low', 'Medium', 'High', ], ], 'SourceARN' => [ 'type' => 'string', ], 'SourceType' => [ 'type' => 'string', ], 'StartTime' => [ 'type' => 'timestamp', ], 'StatesArn' => [ 'type' => 'string', ], 'StatesExecutionArn' => [ 'type' => 'string', ], 'StatesInput' => [ 'type' => 'string', ], 'StatesStatus' => [ 'type' => 'string', ], 'Status' => [ 'type' => 'string', 'enum' => [ 'IGNORE', 'RESOLVED', 'PENDING', 'RECURRING', ], ], 'Tag' => [ 'type' => 'structure', 'required' => [ 'Key', 'Value', ], 'members' => [ 'Key' => [ 'shape' => 'TagKey', ], 'Value' => [ 'shape' => 'TagValue', ], ], ], 'TagKey' => [ 'type' => 'string', 'max' => 128, 'min' => 1, 'pattern' => '^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$', ], 'TagKeyList' => [ 'type' => 'list', 'member' => [ 'shape' => 'TagKey', ], 'max' => 200, 'min' => 0, ], 'TagList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Tag', ], 'max' => 200, 'min' => 0, ], 'TagResourceRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceARN', 'Tags', ], 'members' => [ 'ResourceARN' => [ 'shape' => 'AmazonResourceName', ], 'Tags' => [ 'shape' => 'TagList', ], ], ], 'TagResourceResponse' => [ 'type' => 'structure', 'members' => [], ], 'TagValue' => [ 'type' => 'string', 'max' => 256, 'min' => 0, 'pattern' => '^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$', ], 'TagsAlreadyExistException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'ExceptionMessage', ], ], 'exception' => true, ], 'Tier' => [ 'type' => 'string', 'enum' => [ 'CUSTOM', 'DEFAULT', 'DOT_NET_CORE', 'DOT_NET_WORKER', 'DOT_NET_WEB_TIER', 'DOT_NET_WEB', 'SQL_SERVER', 'SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP', 'MYSQL', 'POSTGRESQL', 'JAVA_JMX', 'ORACLE', 'SAP_HANA_MULTI_NODE', 'SAP_HANA_SINGLE_NODE', 'SAP_HANA_HIGH_AVAILABILITY', 'SQL_SERVER_FAILOVER_CLUSTER_INSTANCE', 'SHAREPOINT', 'ACTIVE_DIRECTORY', ], 'max' => 50, 'min' => 1, ], 'Title' => [ 'type' => 'string', ], 'TooManyTagsException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'ExceptionMessage', ], 'ResourceName' => [ 'shape' => 'AmazonResourceName', ], ], 'exception' => true, ], 'Unit' => [ 'type' => 'string', ], 'UntagResourceRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceARN', 'TagKeys', ], 'members' => [ 'ResourceARN' => [ 'shape' => 'AmazonResourceName', ], 'TagKeys' => [ 'shape' => 'TagKeyList', ], ], ], 'UntagResourceResponse' => [ 'type' => 'structure', 'members' => [], ], 'UpdateApplicationRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceGroupName', ], 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'OpsCenterEnabled' => [ 'shape' => 'OpsCenterEnabled', ], 'CWEMonitorEnabled' => [ 'shape' => 'CWEMonitorEnabled', ], 'OpsItemSNSTopicArn' => [ 'shape' => 'OpsItemSNSTopicArn', ], 'RemoveSNSTopic' => [ 'shape' => 'RemoveSNSTopic', ], 'AutoConfigEnabled' => [ 'shape' => 'AutoConfigEnabled', ], ], ], 'UpdateApplicationResponse' => [ 'type' => 'structure', 'members' => [ 'ApplicationInfo' => [ 'shape' => 'ApplicationInfo', ], ], ], 'UpdateComponentConfigurationRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceGroupName', 'ComponentName', ], 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'ComponentName' => [ 'shape' => 'ComponentName', ], 'Monitor' => [ 'shape' => 'Monitor', ], 'Tier' => [ 'shape' => 'Tier', ], 'ComponentConfiguration' => [ 'shape' => 'ComponentConfiguration', ], 'AutoConfigEnabled' => [ 'shape' => 'AutoConfigEnabled', ], ], ], 'UpdateComponentConfigurationResponse' => [ 'type' => 'structure', 'members' => [], ], 'UpdateComponentRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceGroupName', 'ComponentName', ], 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'ComponentName' => [ 'shape' => 'CustomComponentName', ], 'NewComponentName' => [ 'shape' => 'CustomComponentName', ], 'ResourceList' => [ 'shape' => 'ResourceList', ], ], ], 'UpdateComponentResponse' => [ 'type' => 'structure', 'members' => [], ], 'UpdateLogPatternRequest' => [ 'type' => 'structure', 'required' => [ 'ResourceGroupName', 'PatternSetName', 'PatternName', ], 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'PatternSetName' => [ 'shape' => 'LogPatternSetName', ], 'PatternName' => [ 'shape' => 'LogPatternName', ], 'Pattern' => [ 'shape' => 'LogPatternRegex', ], 'Rank' => [ 'shape' => 'LogPatternRank', ], ], ], 'UpdateLogPatternResponse' => [ 'type' => 'structure', 'members' => [ 'ResourceGroupName' => [ 'shape' => 'ResourceGroupName', ], 'LogPattern' => [ 'shape' => 'LogPattern', ], ], ], 'ValidationException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'ErrorMsg', ], ], 'exception' => true, ], 'Value' => [ 'type' => 'double', ], 'WorkloadMetaData' => [ 'type' => 'map', 'key' => [ 'shape' => 'MetaDataKey', ], 'value' => [ 'shape' => 'MetaDataValue', ], ], 'XRayErrorPercent' => [ 'type' => 'integer', ], 'XRayFaultPercent' => [ 'type' => 'integer', ], 'XRayNodeName' => [ 'type' => 'string', ], 'XRayNodeType' => [ 'type' => 'string', ], 'XRayRequestAverageLatency' => [ 'type' => 'long', ], 'XRayRequestCount' => [ 'type' => 'integer', ], 'XRayThrottlePercent' => [ 'type' => 'integer', ], ],];


<?php
// This file was auto-generated from sdk-root/src/data/application-insights/2018-11-25/endpoint-rule-set-1.json
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], 'UseFIPS' => [ 'builtIn' => 'AWS::UseFIPS', 'required' => true, 'default' => false, 'documentation' => 'When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.', 'type' => 'Boolean', ], 'Endpoint' => [ 'builtIn' => 'SDK::Endpoint', 'required' => false, 'documentation' => 'Override the endpoint used to send this request', 'type' => 'String', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], [ 'fn' => 'parseURL', 'argv' => [ [ 'ref' => 'Endpoint', ], ], 'assign' => 'url', ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://applicationinsights-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://applicationinsights-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://applicationinsights.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://applicationinsights.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ],];