diff --git a/codegen/sdk-codegen/aws-models/chime-sdk-voice.json b/codegen/sdk-codegen/aws-models/chime-sdk-voice.json index 7fedd54edb0..5f0fc15608e 100644 --- a/codegen/sdk-codegen/aws-models/chime-sdk-voice.json +++ b/codegen/sdk-codegen/aws-models/chime-sdk-voice.json @@ -234,6 +234,9 @@ "ForceAssociate": { "target": "com.amazonaws.chimesdkvoice#NullableBoolean" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#AssociatePhoneNumbersWithVoiceConnectorGroupResponse": { @@ -242,6 +245,9 @@ "PhoneNumberErrors": { "target": "com.amazonaws.chimesdkvoice#PhoneNumberErrorList" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#AssociatePhoneNumbersWithVoiceConnectorRequest": { @@ -263,6 +269,9 @@ "ForceAssociate": { "target": "com.amazonaws.chimesdkvoice#NullableBoolean" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#AssociatePhoneNumbersWithVoiceConnectorResponse": { @@ -271,6 +280,9 @@ "PhoneNumberErrors": { "target": "com.amazonaws.chimesdkvoice#PhoneNumberErrorList" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#BadRequestException": { @@ -336,6 +348,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#BatchDeletePhoneNumberResponse": { @@ -344,6 +359,9 @@ "PhoneNumberErrors": { "target": "com.amazonaws.chimesdkvoice#PhoneNumberErrorList" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#BatchUpdatePhoneNumber": { @@ -394,6 +412,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#BatchUpdatePhoneNumberResponse": { @@ -402,6 +423,9 @@ "PhoneNumberErrors": { "target": "com.amazonaws.chimesdkvoice#PhoneNumberErrorList" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#Boolean": { @@ -784,13 +808,12 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "isSet", "argv": [ { - "ref": "Region" + "ref": "Endpoint" } - ], - "assign": "PartitionResult" + ] } ], "type": "tree", @@ -798,23 +821,20 @@ { "conditions": [ { - "fn": "isSet", + "fn": "booleanEquals", "argv": [ { - "ref": "Endpoint" - } + "ref": "UseFIPS" + }, + true ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], "type": "tree", "rules": [ { @@ -823,67 +843,42 @@ "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "ref": "UseDualStack" }, true ] } ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "error": "Invalid Configuration: Dualstack 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" + "endpoint": { + "url": { + "ref": "Endpoint" }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ { "conditions": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", + "fn": "isSet", "argv": [ { - "ref": "UseDualStack" - }, - true + "ref": "Region" + } ] } ], @@ -892,168 +887,238 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "aws.partition", "argv": [ - true, { - "fn": "getAttr", + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsFIPS" + true ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, + }, { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsDualStack" + 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://voice-chime-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" } ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://voice-chime-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, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsFIPS" + 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://voice-chime-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://voice-chime-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, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsDualStack" + 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://voice-chime.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } ] - } - ], - "type": "tree", - "rules": [ + }, { "conditions": [], - "endpoint": { - "url": "https://voice-chime.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://voice-chime.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } ] }, { "conditions": [], - "endpoint": { - "url": "https://voice-chime.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } @@ -1069,9 +1134,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "us-gov-east-1" + "Region": "us-gov-east-1", + "UseDualStack": true } }, { @@ -1082,9 +1147,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "us-gov-east-1" + "Region": "us-gov-east-1", + "UseDualStack": false } }, { @@ -1095,9 +1160,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "us-gov-east-1" + "Region": "us-gov-east-1", + "UseDualStack": true } }, { @@ -1108,9 +1173,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "us-gov-east-1" + "Region": "us-gov-east-1", + "UseDualStack": false } }, { @@ -1121,9 +1186,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "cn-north-1" + "Region": "cn-north-1", + "UseDualStack": true } }, { @@ -1134,9 +1199,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "cn-north-1" + "Region": "cn-north-1", + "UseDualStack": false } }, { @@ -1147,9 +1212,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "cn-north-1" + "Region": "cn-north-1", + "UseDualStack": true } }, { @@ -1160,9 +1225,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "cn-north-1" + "Region": "cn-north-1", + "UseDualStack": false } }, { @@ -1171,9 +1236,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "us-iso-east-1" + "Region": "us-iso-east-1", + "UseDualStack": true } }, { @@ -1184,9 +1249,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "us-iso-east-1" + "Region": "us-iso-east-1", + "UseDualStack": false } }, { @@ -1195,9 +1260,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "us-iso-east-1" + "Region": "us-iso-east-1", + "UseDualStack": true } }, { @@ -1208,9 +1273,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "us-iso-east-1" + "Region": "us-iso-east-1", + "UseDualStack": false } }, { @@ -1221,9 +1286,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": true } }, { @@ -1234,9 +1299,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": false } }, { @@ -1247,9 +1312,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": true } }, { @@ -1260,9 +1325,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": false } }, { @@ -1271,9 +1336,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "us-isob-east-1" + "Region": "us-isob-east-1", + "UseDualStack": true } }, { @@ -1284,9 +1349,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "us-isob-east-1" + "Region": "us-isob-east-1", + "UseDualStack": false } }, { @@ -1295,9 +1360,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "us-isob-east-1" + "Region": "us-isob-east-1", + "UseDualStack": true } }, { @@ -1308,9 +1373,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "us-isob-east-1" + "Region": "us-isob-east-1", + "UseDualStack": false } }, { @@ -1321,9 +1386,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1333,9 +1398,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, "UseFIPS": true, "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1345,9 +1410,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, "UseFIPS": false, "Region": "us-east-1", + "UseDualStack": true, "Endpoint": "https://example.com" } } @@ -1454,6 +1519,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#CreatePhoneNumberOrderResponse": { @@ -1462,6 +1530,9 @@ "PhoneNumberOrder": { "target": "com.amazonaws.chimesdkvoice#PhoneNumberOrder" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#CreateProxySession": { @@ -1540,6 +1611,9 @@ "GeoMatchParams": { "target": "com.amazonaws.chimesdkvoice#GeoMatchParams" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#CreateProxySessionResponse": { @@ -1548,6 +1622,9 @@ "ProxySession": { "target": "com.amazonaws.chimesdkvoice#ProxySession" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#CreateSipMediaApplication": { @@ -1665,6 +1742,9 @@ "ArgumentsMap": { "target": "com.amazonaws.chimesdkvoice#SMACreateCallArgumentsMap" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#CreateSipMediaApplicationCallResponse": { @@ -1673,6 +1753,9 @@ "SipMediaApplicationCall": { "target": "com.amazonaws.chimesdkvoice#SipMediaApplicationCall" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#CreateSipMediaApplicationRequest": { @@ -1696,6 +1779,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#CreateSipMediaApplicationResponse": { @@ -1704,6 +1790,9 @@ "SipMediaApplication": { "target": "com.amazonaws.chimesdkvoice#SipMediaApplication" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#CreateSipRule": { @@ -1778,6 +1867,9 @@ "TargetApplications": { "target": "com.amazonaws.chimesdkvoice#SipRuleTargetApplicationList" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#CreateSipRuleResponse": { @@ -1786,6 +1878,9 @@ "SipRule": { "target": "com.amazonaws.chimesdkvoice#SipRule" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#CreateVoiceConnector": { @@ -1884,6 +1979,9 @@ "VoiceConnectorItems": { "target": "com.amazonaws.chimesdkvoice#VoiceConnectorItemList" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#CreateVoiceConnectorGroupResponse": { @@ -1892,6 +1990,9 @@ "VoiceConnectorGroup": { "target": "com.amazonaws.chimesdkvoice#VoiceConnectorGroup" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#CreateVoiceConnectorRequest": { @@ -1912,6 +2013,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#CreateVoiceConnectorResponse": { @@ -1920,6 +2024,9 @@ "VoiceConnector": { "target": "com.amazonaws.chimesdkvoice#VoiceConnector" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#Credential": { @@ -2022,6 +2129,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#DeleteProxySession": { @@ -2080,6 +2190,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#DeleteSipMediaApplication": { @@ -2134,6 +2247,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#DeleteSipRule": { @@ -2188,6 +2304,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#DeleteVoiceConnector": { @@ -2281,6 +2400,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#DeleteVoiceConnectorGroup": { @@ -2335,6 +2457,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#DeleteVoiceConnectorOrigination": { @@ -2386,6 +2511,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#DeleteVoiceConnectorProxy": { @@ -2437,6 +2565,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#DeleteVoiceConnectorRequest": { @@ -2449,6 +2580,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#DeleteVoiceConnectorStreamingConfiguration": { @@ -2500,6 +2634,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#DeleteVoiceConnectorTermination": { @@ -2596,6 +2733,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#DeleteVoiceConnectorTerminationRequest": { @@ -2608,6 +2748,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#DisassociatePhoneNumbersFromVoiceConnector": { @@ -2704,6 +2847,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#DisassociatePhoneNumbersFromVoiceConnectorGroupResponse": { @@ -2712,6 +2858,9 @@ "PhoneNumberErrors": { "target": "com.amazonaws.chimesdkvoice#PhoneNumberErrorList" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#DisassociatePhoneNumbersFromVoiceConnectorRequest": { @@ -2730,6 +2879,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#DisassociatePhoneNumbersFromVoiceConnectorResponse": { @@ -2738,6 +2890,9 @@ "PhoneNumberErrors": { "target": "com.amazonaws.chimesdkvoice#PhoneNumberErrorList" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#E164PhoneNumber": { @@ -2964,6 +3119,9 @@ "VoiceConnector": { "target": "com.amazonaws.chimesdkvoice#VoiceConnectorSettings" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#GetPhoneNumber": { @@ -3054,6 +3212,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#GetPhoneNumberOrderResponse": { @@ -3062,6 +3223,9 @@ "PhoneNumberOrder": { "target": "com.amazonaws.chimesdkvoice#PhoneNumberOrder" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#GetPhoneNumberRequest": { @@ -3074,6 +3238,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#GetPhoneNumberResponse": { @@ -3082,6 +3249,9 @@ "PhoneNumber": { "target": "com.amazonaws.chimesdkvoice#PhoneNumber" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#GetPhoneNumberSettings": { @@ -3129,6 +3299,9 @@ "CallingNameUpdatedTimestamp": { "target": "com.amazonaws.chimesdkvoice#Iso8601Timestamp" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#GetProxySession": { @@ -3187,6 +3360,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#GetProxySessionResponse": { @@ -3195,6 +3371,9 @@ "ProxySession": { "target": "com.amazonaws.chimesdkvoice#ProxySession" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#GetSipMediaApplication": { @@ -3285,6 +3464,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#GetSipMediaApplicationAlexaSkillConfigurationResponse": { @@ -3293,6 +3475,9 @@ "SipMediaApplicationAlexaSkillConfiguration": { "target": "com.amazonaws.chimesdkvoice#SipMediaApplicationAlexaSkillConfiguration" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#GetSipMediaApplicationLoggingConfiguration": { @@ -3344,6 +3529,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#GetSipMediaApplicationLoggingConfigurationResponse": { @@ -3352,6 +3540,9 @@ "SipMediaApplicationLoggingConfiguration": { "target": "com.amazonaws.chimesdkvoice#SipMediaApplicationLoggingConfiguration" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#GetSipMediaApplicationRequest": { @@ -3364,6 +3555,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#GetSipMediaApplicationResponse": { @@ -3372,6 +3566,9 @@ "SipMediaApplication": { "target": "com.amazonaws.chimesdkvoice#SipMediaApplication" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#GetSipRule": { @@ -3423,6 +3620,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#GetSipRuleResponse": { @@ -3431,6 +3631,9 @@ "SipRule": { "target": "com.amazonaws.chimesdkvoice#SipRule" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#GetVoiceConnector": { @@ -3521,6 +3724,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#GetVoiceConnectorEmergencyCallingConfigurationResponse": { @@ -3529,6 +3735,9 @@ "EmergencyCallingConfiguration": { "target": "com.amazonaws.chimesdkvoice#EmergencyCallingConfiguration" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#GetVoiceConnectorGroup": { @@ -3580,6 +3789,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#GetVoiceConnectorGroupResponse": { @@ -3588,6 +3800,9 @@ "VoiceConnectorGroup": { "target": "com.amazonaws.chimesdkvoice#VoiceConnectorGroup" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#GetVoiceConnectorLoggingConfiguration": { @@ -3639,6 +3854,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#GetVoiceConnectorLoggingConfigurationResponse": { @@ -3647,6 +3865,9 @@ "LoggingConfiguration": { "target": "com.amazonaws.chimesdkvoice#LoggingConfiguration" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#GetVoiceConnectorOrigination": { @@ -3698,6 +3919,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#GetVoiceConnectorOriginationResponse": { @@ -3706,6 +3930,9 @@ "Origination": { "target": "com.amazonaws.chimesdkvoice#Origination" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#GetVoiceConnectorProxy": { @@ -3757,6 +3984,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#GetVoiceConnectorProxyResponse": { @@ -3765,6 +3995,9 @@ "Proxy": { "target": "com.amazonaws.chimesdkvoice#Proxy" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#GetVoiceConnectorRequest": { @@ -3777,6 +4010,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#GetVoiceConnectorResponse": { @@ -3785,6 +4021,9 @@ "VoiceConnector": { "target": "com.amazonaws.chimesdkvoice#VoiceConnector" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#GetVoiceConnectorStreamingConfiguration": { @@ -3836,6 +4075,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#GetVoiceConnectorStreamingConfigurationResponse": { @@ -3844,6 +4086,9 @@ "StreamingConfiguration": { "target": "com.amazonaws.chimesdkvoice#StreamingConfiguration" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#GetVoiceConnectorTermination": { @@ -3934,6 +4179,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#GetVoiceConnectorTerminationHealthResponse": { @@ -3942,6 +4190,9 @@ "TerminationHealth": { "target": "com.amazonaws.chimesdkvoice#TerminationHealth" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#GetVoiceConnectorTerminationRequest": { @@ -3954,6 +4205,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#GetVoiceConnectorTerminationResponse": { @@ -3962,6 +4216,9 @@ "Termination": { "target": "com.amazonaws.chimesdkvoice#Termination" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#GuidString": { @@ -4021,6 +4278,9 @@ "VoiceConnectorRegions": { "target": "com.amazonaws.chimesdkvoice#VoiceConnectorAwsRegionList" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#ListPhoneNumberOrders": { @@ -4079,6 +4339,9 @@ "smithy.api#httpQuery": "max-results" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#ListPhoneNumberOrdersResponse": { @@ -4090,6 +4353,9 @@ "NextToken": { "target": "com.amazonaws.chimesdkvoice#String" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#ListPhoneNumbers": { @@ -4175,6 +4441,9 @@ "smithy.api#httpQuery": "next-token" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#ListPhoneNumbersResponse": { @@ -4186,6 +4455,9 @@ "NextToken": { "target": "com.amazonaws.chimesdkvoice#String" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#ListProxySessions": { @@ -4260,6 +4532,9 @@ "smithy.api#httpQuery": "max-results" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#ListProxySessionsResponse": { @@ -4271,6 +4546,9 @@ "NextToken": { "target": "com.amazonaws.chimesdkvoice#NextTokenString" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#ListSipMediaApplications": { @@ -4330,6 +4608,9 @@ "smithy.api#httpQuery": "next-token" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#ListSipMediaApplicationsResponse": { @@ -4341,6 +4622,9 @@ "NextToken": { "target": "com.amazonaws.chimesdkvoice#NextTokenString" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#ListSipRules": { @@ -4406,6 +4690,9 @@ "smithy.api#httpQuery": "next-token" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#ListSipRulesResponse": { @@ -4417,6 +4704,9 @@ "NextToken": { "target": "com.amazonaws.chimesdkvoice#NextTokenString" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#ListSupportedPhoneNumberCountries": { @@ -4468,6 +4758,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#ListSupportedPhoneNumberCountriesResponse": { @@ -4476,6 +4769,9 @@ "PhoneNumberCountries": { "target": "com.amazonaws.chimesdkvoice#PhoneNumberCountriesList" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#ListVoiceConnectorGroups": { @@ -4534,6 +4830,9 @@ "smithy.api#httpQuery": "max-results" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#ListVoiceConnectorGroupsResponse": { @@ -4545,6 +4844,9 @@ "NextToken": { "target": "com.amazonaws.chimesdkvoice#String" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#ListVoiceConnectorTerminationCredentials": { @@ -4596,6 +4898,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#ListVoiceConnectorTerminationCredentialsResponse": { @@ -4604,6 +4909,9 @@ "Usernames": { "target": "com.amazonaws.chimesdkvoice#SensitiveStringList" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#ListVoiceConnectors": { @@ -4662,6 +4970,9 @@ "smithy.api#httpQuery": "max-results" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#ListVoiceConnectorsResponse": { @@ -4673,6 +4984,9 @@ "NextToken": { "target": "com.amazonaws.chimesdkvoice#String" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#LoggingConfiguration": { @@ -4680,6 +4994,9 @@ "members": { "EnableSIPLogs": { "target": "com.amazonaws.chimesdkvoice#Boolean" + }, + "EnableMediaMetricLogs": { + "target": "com.amazonaws.chimesdkvoice#Boolean" } } }, @@ -5480,6 +5797,9 @@ "SipMediaApplicationAlexaSkillConfiguration": { "target": "com.amazonaws.chimesdkvoice#SipMediaApplicationAlexaSkillConfiguration" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#PutSipMediaApplicationAlexaSkillConfigurationResponse": { @@ -5488,6 +5808,9 @@ "SipMediaApplicationAlexaSkillConfiguration": { "target": "com.amazonaws.chimesdkvoice#SipMediaApplicationAlexaSkillConfiguration" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#PutSipMediaApplicationLoggingConfiguration": { @@ -5542,6 +5865,9 @@ "SipMediaApplicationLoggingConfiguration": { "target": "com.amazonaws.chimesdkvoice#SipMediaApplicationLoggingConfiguration" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#PutSipMediaApplicationLoggingConfigurationResponse": { @@ -5550,6 +5876,9 @@ "SipMediaApplicationLoggingConfiguration": { "target": "com.amazonaws.chimesdkvoice#SipMediaApplicationLoggingConfiguration" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#PutVoiceConnectorEmergencyCallingConfiguration": { @@ -5607,6 +5936,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#PutVoiceConnectorEmergencyCallingConfigurationResponse": { @@ -5615,6 +5947,9 @@ "EmergencyCallingConfiguration": { "target": "com.amazonaws.chimesdkvoice#EmergencyCallingConfiguration" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#PutVoiceConnectorLoggingConfiguration": { @@ -5672,6 +6007,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#PutVoiceConnectorLoggingConfigurationResponse": { @@ -5680,6 +6018,9 @@ "LoggingConfiguration": { "target": "com.amazonaws.chimesdkvoice#LoggingConfiguration" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#PutVoiceConnectorOrigination": { @@ -5737,6 +6078,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#PutVoiceConnectorOriginationResponse": { @@ -5745,6 +6089,9 @@ "Origination": { "target": "com.amazonaws.chimesdkvoice#Origination" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#PutVoiceConnectorProxy": { @@ -5817,6 +6164,9 @@ "Disabled": { "target": "com.amazonaws.chimesdkvoice#Boolean" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#PutVoiceConnectorProxyResponse": { @@ -5825,6 +6175,9 @@ "Proxy": { "target": "com.amazonaws.chimesdkvoice#Proxy" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#PutVoiceConnectorStreamingConfiguration": { @@ -5882,6 +6235,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#PutVoiceConnectorStreamingConfigurationResponse": { @@ -5890,6 +6246,9 @@ "StreamingConfiguration": { "target": "com.amazonaws.chimesdkvoice#StreamingConfiguration" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#PutVoiceConnectorTermination": { @@ -5986,6 +6345,9 @@ "Credentials": { "target": "com.amazonaws.chimesdkvoice#CredentialList" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#PutVoiceConnectorTerminationRequest": { @@ -6004,6 +6366,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#PutVoiceConnectorTerminationResponse": { @@ -6012,6 +6377,9 @@ "Termination": { "target": "com.amazonaws.chimesdkvoice#Termination" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#ResourceLimitExceededException": { @@ -6081,6 +6449,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#RestorePhoneNumberResponse": { @@ -6089,6 +6460,9 @@ "PhoneNumber": { "target": "com.amazonaws.chimesdkvoice#PhoneNumber" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#ResultMax": { @@ -6225,6 +6599,9 @@ "smithy.api#httpQuery": "next-token" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#SearchAvailablePhoneNumbersResponse": { @@ -6236,6 +6613,9 @@ "NextToken": { "target": "com.amazonaws.chimesdkvoice#String" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#SensitiveNonEmptyString": { @@ -6659,6 +7039,9 @@ "VoiceConnector": { "target": "com.amazonaws.chimesdkvoice#VoiceConnectorSettings" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#UpdatePhoneNumber": { @@ -6719,6 +7102,9 @@ "CallingName": { "target": "com.amazonaws.chimesdkvoice#CallingName" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#UpdatePhoneNumberRequestItem": { @@ -6750,6 +7136,9 @@ "PhoneNumber": { "target": "com.amazonaws.chimesdkvoice#PhoneNumber" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#UpdatePhoneNumberSettings": { @@ -6797,6 +7186,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#UpdateProxySession": { @@ -6864,6 +7256,9 @@ "ExpiryMinutes": { "target": "com.amazonaws.chimesdkvoice#PositiveInteger" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#UpdateProxySessionResponse": { @@ -6872,6 +7267,9 @@ "ProxySession": { "target": "com.amazonaws.chimesdkvoice#ProxySession" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#UpdateSipMediaApplication": { @@ -6981,6 +7379,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#UpdateSipMediaApplicationCallResponse": { @@ -6989,6 +7390,9 @@ "SipMediaApplicationCall": { "target": "com.amazonaws.chimesdkvoice#SipMediaApplicationCall" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#UpdateSipMediaApplicationRequest": { @@ -7007,6 +7411,9 @@ "Endpoints": { "target": "com.amazonaws.chimesdkvoice#SipMediaApplicationEndpointList" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#UpdateSipMediaApplicationResponse": { @@ -7015,6 +7422,9 @@ "SipMediaApplication": { "target": "com.amazonaws.chimesdkvoice#SipMediaApplication" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#UpdateSipRule": { @@ -7084,6 +7494,9 @@ "TargetApplications": { "target": "com.amazonaws.chimesdkvoice#SipRuleTargetApplicationList" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#UpdateSipRuleResponse": { @@ -7092,6 +7505,9 @@ "SipRule": { "target": "com.amazonaws.chimesdkvoice#SipRule" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#UpdateVoiceConnector": { @@ -7197,6 +7613,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#UpdateVoiceConnectorGroupResponse": { @@ -7205,6 +7624,9 @@ "VoiceConnectorGroup": { "target": "com.amazonaws.chimesdkvoice#VoiceConnectorGroup" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#UpdateVoiceConnectorRequest": { @@ -7229,6 +7651,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#UpdateVoiceConnectorResponse": { @@ -7237,6 +7662,9 @@ "VoiceConnector": { "target": "com.amazonaws.chimesdkvoice#VoiceConnector" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#ValidateE911Address": { @@ -7323,6 +7751,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.chimesdkvoice#ValidateE911AddressResponse": { @@ -7343,6 +7774,9 @@ "CandidateAddressList": { "target": "com.amazonaws.chimesdkvoice#CandidateAddressList" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.chimesdkvoice#ValidationResult": { diff --git a/codegen/sdk-codegen/aws-models/cloudfront.json b/codegen/sdk-codegen/aws-models/cloudfront.json index 3f95444f9f2..8b6f03a3576 100644 --- a/codegen/sdk-codegen/aws-models/cloudfront.json +++ b/codegen/sdk-codegen/aws-models/cloudfront.json @@ -271,6 +271,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#AwsAccountNumberList": { @@ -490,7 +493,7 @@ } }, "traits": { - "smithy.api#documentation": "
A cache policy.
\nWhen it's attached to a cache behavior, the cache policy determines the\n\t\t\tfollowing:
\nThe values that CloudFront includes in the cache key. These values can include HTTP\n\t\t\t\t\theaders, cookies, and URL query strings. CloudFront uses the cache key to find an\n\t\t\t\t\tobject in its cache that it can return to the viewer.
\nThe default, minimum, and maximum time to live (TTL) values that you want\n\t\t\t\t\tobjects to stay in the CloudFront cache.
\nThe headers, cookies, and query strings that are included in the cache key are\n\t\t\tautomatically included in requests that CloudFront sends to the origin. CloudFront sends a request\n\t\t\twhen it can't find a valid object in its cache that matches the request's cache key. If\n\t\t\tyou want to send values to the origin but not include them in the\n\t\t\tcache key, use OriginRequestPolicy
.
A cache policy.
\nWhen it's attached to a cache behavior, the cache policy determines the\n\t\t\tfollowing:
\nThe values that CloudFront includes in the cache key. These values can include HTTP\n\t\t\t\t\theaders, cookies, and URL query strings. CloudFront uses the cache key to find an\n\t\t\t\t\tobject in its cache that it can return to the viewer.
\nThe default, minimum, and maximum time to live (TTL) values that you want\n\t\t\t\t\tobjects to stay in the CloudFront cache.
\nThe headers, cookies, and query strings that are included in the cache key are also included\n\t\t\tin requests that CloudFront sends to the origin. CloudFront sends a request when it can't find a\n\t\t\tvalid object in its cache that matches the request's cache key. If you want to send\n\t\t\tvalues to the origin but not include them in the cache key, use\n\t\t\tOriginRequestPolicy
.
The HTTP headers, cookies, and URL query strings to include in the cache key. The\n\t\t\tvalues included in the cache key are automatically included in requests that CloudFront sends\n\t\t\tto the origin.
" + "smithy.api#documentation": "The HTTP headers, cookies, and URL query strings to include in the cache key. The values\n\t\t\tincluded in the cache key are also included in requests that CloudFront sends to the\n\t\t\torigin.
" } } }, "traits": { - "smithy.api#documentation": "A cache policy configuration.
\nThis configuration determines the following:
\nThe values that CloudFront includes in the cache key. These values can include HTTP\n\t\t\t\t\theaders, cookies, and URL query strings. CloudFront uses the cache key to find an\n\t\t\t\t\tobject in its cache that it can return to the viewer.
\nThe default, minimum, and maximum time to live (TTL) values that you want\n\t\t\t\t\tobjects to stay in the CloudFront cache.
\nThe headers, cookies, and query strings that are included in the cache key are\n\t\t\tautomatically included in requests that CloudFront sends to the origin. CloudFront sends a request\n\t\t\twhen it can't find a valid object in its cache that matches the request's cache key. If\n\t\t\tyou want to send values to the origin but not include them in the\n\t\t\tcache key, use OriginRequestPolicy
.
A cache policy configuration.
\nThis configuration determines the following:
\nThe values that CloudFront includes in the cache key. These values can include HTTP\n\t\t\t\t\theaders, cookies, and URL query strings. CloudFront uses the cache key to find an\n\t\t\t\t\tobject in its cache that it can return to the viewer.
\nThe default, minimum, and maximum time to live (TTL) values that you want\n\t\t\t\t\tobjects to stay in the CloudFront cache.
\nThe headers, cookies, and query strings that are included in the cache key are also included\n\t\t\tin requests that CloudFront sends to the origin. CloudFront sends a request when it can't find a\n\t\t\tvalid object in its cache that matches the request's cache key. If you want to send\n\t\t\tvalues to the origin but not include them in the cache key, use\n\t\t\tOriginRequestPolicy
.
Determines whether any cookies in viewer requests are included in the cache key and\n\t\t\tautomatically included in requests that CloudFront sends to the origin. Valid values\n\t\t\tare:
\n\n none
– Cookies in viewer requests are not included in the cache\n\t\t\t\t\tkey and are not automatically included in requests that CloudFront sends to the\n\t\t\t\t\torigin. Even when this field is set to none
, any cookies that are\n\t\t\t\t\tlisted in an OriginRequestPolicy
\n are included in origin requests.
\n whitelist
– The cookies in viewer requests that are listed in the\n\t\t\t\t\t\tCookieNames
type are included in the cache key and\n\t\t\t\t\tautomatically included in requests that CloudFront sends to the origin.
\n allExcept
– All cookies in viewer requests that are\n\t\t\t\t\t\t\t\n not\n listed in the\n\t\t\t\t\t\tCookieNames
type are included in the cache key and\n\t\t\t\t\tautomatically included in requests that CloudFront sends to the origin.
\n all
– All cookies in viewer requests are included in the cache\n\t\t\t\t\tkey and are automatically included in requests that CloudFront sends to the\n\t\t\t\t\torigin.
Determines whether any cookies in viewer requests are included in the cache key and in\n\t\t\trequests that CloudFront sends to the origin. Valid values are:
\n\n none
– No cookies in viewer requests are included in the cache key or in\n\t\t\t\t\trequests that CloudFront sends to the origin. Even when this field is set to\n\t\t\t\t\tnone
, any cookies that are listed in an\n\t\t\t\t\tOriginRequestPolicy
\n are included in origin\n\t\t\t\t\trequests.
\n whitelist
– Only the cookies in viewer requests that are listed in the\n\t\t\t\t\tCookieNames
type are included in the cache key and in requests that\n\t\t\t\t\tCloudFront sends to the origin.
\n allExcept
– All cookies in viewer requests are included in the cache key and\n\t\t\t\t\tin requests that CloudFront sends to the origin, \n except\n for those that are listed in the\n\t\t\t\t\tCookieNames
type, which are not included.
\n all
– All cookies in viewer requests are included in the cache key and in\n\t\t\t\t\trequests that CloudFront sends to the origin.
An object that determines whether any cookies in viewer requests (and if so, which\n\t\t\tcookies) are included in the cache key and automatically included in requests that CloudFront\n\t\t\tsends to the origin.
" + "smithy.api#documentation": "An object that determines whether any cookies in viewer requests (and if so, which cookies)\n\t\t\tare included in the cache key and in requests that CloudFront sends to the origin.
" } }, "com.amazonaws.cloudfront#CachePolicyHeaderBehavior": { @@ -622,7 +625,7 @@ "HeaderBehavior": { "target": "com.amazonaws.cloudfront#CachePolicyHeaderBehavior", "traits": { - "smithy.api#documentation": "Determines whether any HTTP headers are included in the cache key and automatically\n\t\t\tincluded in requests that CloudFront sends to the origin. Valid values are:
\n\n none
– HTTP headers are not included in the cache key and are not\n\t\t\t\t\tautomatically included in requests that CloudFront sends to the origin. Even when this\n\t\t\t\t\tfield is set to none
, any headers that are listed in an\n\t\t\t\t\t\tOriginRequestPolicy
\n are included in origin requests.
\n whitelist
– The HTTP headers that are listed in the\n\t\t\t\t\t\tHeaders
type are included in the cache key and are\n\t\t\t\t\tautomatically included in requests that CloudFront sends to the origin.
Determines whether any HTTP headers are included in the cache key and in requests that CloudFront\n\t\t\tsends to the origin. Valid values are:
\n\n none
– No HTTP headers are included in the cache key or in requests that CloudFront\n\t\t\t\t\tsends to the origin. Even when this field is set to none
, any\n\t\t\t\t\theaders that are listed in an OriginRequestPolicy
\n are included in origin requests.
\n whitelist
– Only the HTTP headers that are listed in the Headers
\n\t\t\t\t\ttype are included in the cache key and in requests that CloudFront sends to the\n\t\t\t\t\torigin.
An object that determines whether any HTTP headers (and if so, which headers) are\n\t\t\tincluded in the cache key and automatically included in requests that CloudFront sends to the\n\t\t\torigin.
" + "smithy.api#documentation": "An object that determines whether any HTTP headers (and if so, which headers) are included\n\t\t\tin the cache key and in requests that CloudFront sends to the origin.
" } }, "com.amazonaws.cloudfront#CachePolicyInUse": { @@ -716,19 +719,19 @@ "QueryStringBehavior": { "target": "com.amazonaws.cloudfront#CachePolicyQueryStringBehavior", "traits": { - "smithy.api#documentation": "Determines whether any URL query strings in viewer requests are included in the cache\n\t\t\tkey and automatically included in requests that CloudFront sends to the origin. Valid values\n\t\t\tare:
\n\n none
– Query strings in viewer requests are not included in the\n\t\t\t\t\tcache key and are not automatically included in requests that CloudFront sends to the\n\t\t\t\t\torigin. Even when this field is set to none
, any query strings that\n\t\t\t\t\tare listed in an OriginRequestPolicy
\n are included in origin requests.
\n whitelist
– The query strings in viewer requests that are listed\n\t\t\t\t\tin the QueryStringNames
type are included in the cache key and\n\t\t\t\t\tautomatically included in requests that CloudFront sends to the origin.
\n allExcept
– All query strings in viewer requests that are\n\t\t\t\t\t\t\t\n not\n listed in the\n\t\t\t\t\t\tQueryStringNames
type are included in the cache key and\n\t\t\t\t\tautomatically included in requests that CloudFront sends to the origin.
\n all
– All query strings in viewer requests are included in the\n\t\t\t\t\tcache key and are automatically included in requests that CloudFront sends to the\n\t\t\t\t\torigin.
Determines whether any URL query strings in viewer requests are included in the cache key\n\t\t\tand in requests that CloudFront sends to the origin. Valid values are:
\n\n none
– No query strings in viewer requests are included in the cache key or\n\t\t\t\t\tin requests that CloudFront sends to the origin. Even when this field is set to\n\t\t\t\t\tnone
, any query strings that are listed in an\n\t\t\t\t\tOriginRequestPolicy
\n are included in origin\n\t\t\t\t\trequests.
\n whitelist
– Only the query strings in viewer requests that are listed in the\n\t\t\t\t\tQueryStringNames
type are included in the cache key and in requests\n\t\t\t\t\tthat CloudFront sends to the origin.
\n allExcept
– All query strings in viewer requests are included in the cache\n\t\t\t\t\tkey and in requests that CloudFront sends to the origin, \n except\n those that are listed in the\n\t\t\t\t\tQueryStringNames
type, which are not included.
\n all
– All query strings in viewer requests are included in the cache key and\n\t\t\t\t\tin requests that CloudFront sends to the origin.
Contains the specific query strings in viewer requests that either \n are\n or \n are\n\t\t\t\t\tnot\n included in the cache key and automatically included\n\t\t\tin requests that CloudFront sends to the origin. The behavior depends on whether the\n\t\t\t\tQueryStringBehavior
field in the\n\t\t\t\tCachePolicyQueryStringsConfig
type is set to whitelist
\n\t\t\t(the listed query strings \n are\n \n\t\t\tincluded) or allExcept
(the listed query strings \n are not\n included, but all other query strings\n\t\t\tare).
Contains the specific query strings in viewer requests that either \n are\n or \n are\n\t\t\tnot\n included in the cache key and in requests that CloudFront sends to\n\t\t\tthe origin. The behavior depends on whether the QueryStringBehavior
field\n\t\t\tin the CachePolicyQueryStringsConfig
type is set to whitelist
\n\t\t\t(the listed query strings \n are\n \n\t\t\tincluded) or allExcept
(the listed query strings \n are not\n included, but all other query strings\n\t\t\tare).
An object that determines whether any URL query strings in viewer requests (and if so,\n\t\t\twhich query strings) are included in the cache key and automatically included in\n\t\t\trequests that CloudFront sends to the origin.
" + "smithy.api#documentation": "An object that determines whether any URL query strings in viewer requests (and if so, which\n\t\t\tquery strings) are included in the cache key and in requests that CloudFront sends to the\n\t\t\torigin.
" } }, "com.amazonaws.cloudfront#CachePolicySummary": { @@ -1344,7 +1347,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": true, + "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -1373,13 +1376,12 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "isSet", "argv": [ { - "ref": "Region" + "ref": "Endpoint" } - ], - "assign": "PartitionResult" + ] } ], "type": "tree", @@ -1387,14 +1389,20 @@ { "conditions": [ { - "fn": "isSet", + "fn": "booleanEquals", "argv": [ { - "ref": "Endpoint" - } + "ref": "UseFIPS" + }, + true ] } ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], "type": "tree", "rules": [ { @@ -1403,64 +1411,42 @@ "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "ref": "UseDualStack" }, true ] } ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "error": "Invalid Configuration: Dualstack 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" + "endpoint": { + "url": { + "ref": "Endpoint" }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ { "conditions": [ { - "fn": "stringEquals", + "fn": "isSet", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - }, - "aws" + "ref": "Region" + } ] } ], @@ -1469,22 +1455,13 @@ { "conditions": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", + "fn": "aws.partition", "argv": [ { - "ref": "UseDualStack" - }, - true - ] + "ref": "Region" + } + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -1492,48 +1469,221 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" + ] + }, + "aws" + ] + } + ], + "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": [], + "endpoint": { + "url": "https://cloudfront-fips.{Region}.api.aws", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" } ] }, { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsDualStack" + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://cloudfront-fips.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "cloudfront", + "signingRegion": "us-east-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" } ] - } - ], - "type": "tree", - "rules": [ + }, + { + "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://cloudfront.{Region}.api.aws", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, { "conditions": [], "endpoint": { - "url": "https://cloudfront-fips.{Region}.api.aws", + "url": "https://cloudfront.amazonaws.com", "properties": { "authSchemes": [ { "name": "sigv4", - "signingRegion": "us-east-1", - "signingName": "cloudfront" + "signingName": "cloudfront", + "signingRegion": "us-east-1" } ] }, @@ -1543,117 +1693,216 @@ } ] }, - { - "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", + "fn": "stringEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] - } + }, + "aws-cn" ] } ], "type": "tree", "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://cloudfront-fips.{Region}.amazonaws.com", - "properties": { - "authSchemes": [ + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ { - "name": "sigv4", - "signingRegion": "us-east-1", - "signingName": "cloudfront" + "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://cloudfront-fips.{Region}.api.amazonwebservices.com.cn", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, { - "ref": "UseDualStack" + "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": [], + "endpoint": { + "url": "https://cloudfront-fips.{Region}.amazonaws.com.cn", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsDualStack" + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://cloudfront.{Region}.api.amazonwebservices.com.cn", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] - } - ], - "type": "tree", - "rules": [ + }, { "conditions": [], "endpoint": { - "url": "https://cloudfront.{Region}.api.aws", + "url": "https://cloudfront.cn-northwest-1.amazonaws.com.cn", "properties": { "authSchemes": [ { "name": "sigv4", - "signingRegion": "us-east-1", - "signingName": "cloudfront" + "signingName": "cloudfront", + "signingRegion": "cn-northwest-1" } ] }, @@ -1664,581 +1913,631 @@ ] }, { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ] - }, - { - "conditions": [], - "endpoint": { - "url": "https://cloudfront.amazonaws.com", - "properties": { - "authSchemes": [ + "conditions": [ { - "name": "sigv4", - "signingRegion": "us-east-1", - "signingName": "cloudfront" - } - ] - }, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] }, - "name" - ] - }, - "aws-cn" - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { - "ref": "UseDualStack" + "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://cloudfront-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] }, - true + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } ] - } - ], - "type": "tree", - "rules": [ + }, { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { - "fn": "getAttr", + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", "argv": [ + true, { - "ref": "PartitionResult" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "aws-global" + ] + } + ], + "endpoint": { + "url": "https://cloudfront-fips.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "cloudfront", + "signingRegion": "us-east-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" }, - "supportsFIPS" + { + "conditions": [], + "endpoint": { + "url": "https://cloudfront-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": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } + "ref": "UseDualStack" + }, + true ] } ], "type": "tree", "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://cloudfront-fips.{Region}.api.amazonwebservices.com.cn", - "properties": { - "authSchemes": [ + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, { - "name": "sigv4", - "signingRegion": "cn-northwest-1", - "signingName": "cloudfront" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] } ] - }, - "headers": {} - }, - "type": "endpoint" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://cloudfront.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] }, { "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": [ + "type": "tree", + "rules": [ { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "stringEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "Region" }, - "supportsFIPS" + "aws-global" ] } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], + ], "endpoint": { - "url": "https://cloudfront-fips.{Region}.amazonaws.com.cn", + "url": "https://cloudfront.amazonaws.com", "properties": { "authSchemes": [ { "name": "sigv4", - "signingRegion": "cn-northwest-1", - "signingName": "cloudfront" + "signingName": "cloudfront", + "signingRegion": "us-east-1" } ] }, "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, + "conditions": [ { - "fn": "getAttr", + "fn": "stringEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "Region" }, - "supportsDualStack" + "aws-cn-global" ] } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], + ], "endpoint": { - "url": "https://cloudfront.{Region}.api.amazonwebservices.com.cn", + "url": "https://cloudfront.cn-northwest-1.amazonaws.com.cn", "properties": { "authSchemes": [ { "name": "sigv4", - "signingRegion": "cn-northwest-1", - "signingName": "cloudfront" + "signingName": "cloudfront", + "signingRegion": "cn-northwest-1" } ] }, "headers": {} }, "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://cloudfront.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } ] - }, - { - "conditions": [], - "endpoint": { - "url": "https://cloudfront.cn-northwest-1.amazonaws.com.cn", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingRegion": "cn-northwest-1", - "signingName": "cloudfront" - } - ] - }, - "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://cloudfront-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://cloudfront-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://cloudfront.{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": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "aws-global" - ] - } - ], - "endpoint": { - "url": "https://cloudfront.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingRegion": "us-east-1", - "signingName": "cloudfront" - } - ] - }, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "aws-cn-global" - ] - } - ], - "endpoint": { - "url": "https://cloudfront.cn-northwest-1.amazonaws.com.cn", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingRegion": "cn-northwest-1", - "signingName": "cloudfront" - } - ] - }, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://cloudfront.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "error": "Invalid Configuration: Missing Region", + "type": "error" + } + ] + } + ] + }, + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region aws-global with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "cloudfront", + "signingRegion": "us-east-1" + } + ] + }, + "url": "https://cloudfront.amazonaws.com" + } + }, + "params": { + "Region": "aws-global", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region aws-global with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "cloudfront", + "signingRegion": "us-east-1" + } + ] + }, + "url": "https://cloudfront-fips.amazonaws.com" + } + }, + "params": { + "Region": "aws-global", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://cloudfront-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "cloudfront", + "signingRegion": "us-east-1" + } + ] + }, + "url": "https://cloudfront-fips.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://cloudfront.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "cloudfront", + "signingRegion": "us-east-1" + } + ] + }, + "url": "https://cloudfront.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region aws-cn-global with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "cloudfront", + "signingRegion": "cn-northwest-1" + } + ] + }, + "url": "https://cloudfront.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "aws-cn-global", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://cloudfront-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseDualStack": true, + "UseFIPS": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://cloudfront-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://cloudfront.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseDualStack": true, + "UseFIPS": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "cloudfront", + "signingRegion": "cn-northwest-1" + } + ] + }, + "url": "https://cloudfront.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://cloudfront-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseDualStack": true, + "UseFIPS": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://cloudfront-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://cloudfront.us-gov-east-1.api.aws" } - ] - } - ] - }, - "smithy.rules#endpointTests": { - "testCases": [ + }, + "params": { + "Region": "us-gov-east-1", + "UseDualStack": true, + "UseFIPS": false + } + }, { - "documentation": "For region aws-cn-global with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "cloudfront", - "signingRegion": "cn-northwest-1" - } - ] - }, - "url": "https://cloudfront.cn-northwest-1.amazonaws.com.cn" + "url": "https://cloudfront.us-gov-east-1.amazonaws.com" } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "aws-cn-global" + "UseFIPS": false } }, { - "documentation": "For region aws-global with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "cloudfront", - "signingRegion": "us-east-1" - } - ] - }, - "url": "https://cloudfront.amazonaws.com" + "url": "https://cloudfront-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://cloudfront.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://cloudfront-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://cloudfront.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" } }, "params": { + "Region": "us-east-1", "UseDualStack": false, "UseFIPS": false, - "Region": "aws-global" + "Endpoint": "https://example.com" } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" @@ -2247,7 +2546,6 @@ "params": { "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -2257,9 +2555,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -2269,9 +2567,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } } @@ -2920,6 +3218,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#CopyDistributionResult": { @@ -2982,7 +3283,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates a cache policy.
\nAfter you create a cache policy, you can attach it to one or more cache behaviors.\n\t\t\tWhen it's attached to a cache behavior, the cache policy determines the\n\t\t\tfollowing:
\nThe values that CloudFront includes in the cache key. These\n\t\t\t\t\tvalues can include HTTP headers, cookies, and URL query strings. CloudFront uses the\n\t\t\t\t\tcache key to find an object in its cache that it can return to the\n\t\t\t\t\tviewer.
\nThe default, minimum, and maximum time to live (TTL) values that you want\n\t\t\t\t\tobjects to stay in the CloudFront cache.
\nThe headers, cookies, and query strings that are included in the cache key are\n\t\t\tautomatically included in requests that CloudFront sends to the origin. CloudFront sends a request\n\t\t\twhen it can't find an object in its cache that matches the request's cache key. If you\n\t\t\twant to send values to the origin but not include them in the cache\n\t\t\tkey, use OriginRequestPolicy
.
For more information about cache policies, see Controlling the cache key in the\n\t\t\t\tAmazon CloudFront Developer Guide.
", + "smithy.api#documentation": "Creates a cache policy.
\nAfter you create a cache policy, you can attach it to one or more cache behaviors.\n\t\t\tWhen it's attached to a cache behavior, the cache policy determines the\n\t\t\tfollowing:
\nThe values that CloudFront includes in the cache key. These\n\t\t\t\t\tvalues can include HTTP headers, cookies, and URL query strings. CloudFront uses the\n\t\t\t\t\tcache key to find an object in its cache that it can return to the\n\t\t\t\t\tviewer.
\nThe default, minimum, and maximum time to live (TTL) values that you want\n\t\t\t\t\tobjects to stay in the CloudFront cache.
\nThe headers, cookies, and query strings that are included in the cache key are also included\n\t\t\tin requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an\n\t\t\tobject in its cache that matches the request's cache key. If you want to send values to\n\t\t\tthe origin but not include them in the cache key, use\n\t\t\tOriginRequestPolicy
.
For more information about cache policies, see Controlling the cache key in the\n\t\t\t\tAmazon CloudFront Developer Guide.
", "smithy.api#http": { "method": "POST", "uri": "/2020-05-31/cache-policy", @@ -3002,6 +3303,9 @@ "smithy.api#xmlName": "CachePolicyConfig" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#CreateCachePolicyResult": { @@ -3078,7 +3382,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to create a new origin access identity (OAI). An origin access identity is\n\t\t\ta special CloudFront user that you can associate with Amazon S3 origins, so that you can secure all\n\t\t\tor just some of your Amazon S3 content. For more information, see Restricting Access to Amazon S3 Content by Using an Origin Access Identity in\n\t\t\tthe Amazon CloudFront Developer Guide.
" + "smithy.api#documentation": "The request to create a new origin access identity (OAI). An origin access identity is\n\t\t\ta special CloudFront user that you can associate with Amazon S3 origins, so that you can secure all\n\t\t\tor just some of your Amazon S3 content. For more information, see Restricting Access to Amazon S3 Content by Using an Origin Access Identity in\n\t\t\tthe Amazon CloudFront Developer Guide.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#CreateCloudFrontOriginAccessIdentityResult": { @@ -3159,6 +3464,9 @@ "smithy.api#xmlName": "ContinuousDeploymentPolicyConfig" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#CreateContinuousDeploymentPolicyResult": { @@ -3415,7 +3723,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to create a new distribution.
" + "smithy.api#documentation": "The request to create a new distribution.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#CreateDistributionResult": { @@ -3672,7 +3981,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to create a new distribution with tags.
" + "smithy.api#documentation": "The request to create a new distribution with tags.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#CreateDistributionWithTagsResult": { @@ -3759,6 +4069,9 @@ "smithy.api#xmlName": "FieldLevelEncryptionConfig" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#CreateFieldLevelEncryptionConfigResult": { @@ -3842,6 +4155,9 @@ "smithy.api#xmlName": "FieldLevelEncryptionProfileConfig" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#CreateFieldLevelEncryptionProfileResult": { @@ -3928,6 +4244,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#CreateFunctionResult": { @@ -4018,7 +4337,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to create an invalidation.
" + "smithy.api#documentation": "The request to create an invalidation.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#CreateInvalidationResult": { @@ -4086,6 +4406,9 @@ "smithy.api#xmlName": "KeyGroupConfig" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#CreateKeyGroupResult": { @@ -4165,6 +4488,9 @@ "smithy.api#xmlName": "MonitoringSubscription" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#CreateMonitoringSubscriptionResult": { @@ -4219,6 +4545,9 @@ "smithy.api#xmlName": "OriginAccessControlConfig" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#CreateOriginAccessControlResult": { @@ -4302,6 +4631,9 @@ "smithy.api#xmlName": "OriginRequestPolicyConfig" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#CreateOriginRequestPolicyResult": { @@ -4370,6 +4702,9 @@ "smithy.api#xmlName": "PublicKeyConfig" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#CreatePublicKeyResult": { @@ -4460,6 +4795,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#CreateRealtimeLogConfigResult": { @@ -4528,6 +4866,9 @@ "smithy.api#xmlName": "ResponseHeadersPolicyConfig" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#CreateResponseHeadersPolicyResult": { @@ -4628,7 +4969,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to create a new streaming distribution.
" + "smithy.api#documentation": "The request to create a new streaming distribution.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#CreateStreamingDistributionResult": { @@ -4735,7 +5077,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to create a new streaming distribution with tags.
" + "smithy.api#documentation": "The request to create a new streaming distribution with tags.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#CreateStreamingDistributionWithTagsResult": { @@ -5072,6 +5415,9 @@ "smithy.api#httpHeader": "If-Match" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#DeleteCloudFrontOriginAccessIdentity": { @@ -5128,7 +5474,8 @@ } }, "traits": { - "smithy.api#documentation": "Deletes a origin access identity.
" + "smithy.api#documentation": "Deletes a origin access identity.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#DeleteContinuousDeploymentPolicy": { @@ -5186,6 +5533,9 @@ "smithy.api#httpHeader": "If-Match" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#DeleteDistribution": { @@ -5242,7 +5592,8 @@ } }, "traits": { - "smithy.api#documentation": "This action deletes a web distribution. To delete a web distribution using the CloudFront\n\t\t\tAPI, perform the following steps.
\n\n To delete a web distribution using the CloudFront API:\n
\nDisable the web distribution
\nSubmit a GET Distribution Config
request to get the current\n\t\t\t\t\tconfiguration and the Etag
header for the distribution.
Update the XML document that was returned in the response to your GET\n\t\t\t\t\t\tDistribution Config
request to change the value of\n\t\t\t\t\t\tEnabled
to false
.
Submit a PUT Distribution Config
request to update the\n\t\t\t\t\tconfiguration for your distribution. In the request body, include the XML\n\t\t\t\t\tdocument that you updated in Step 3. Set the value of the HTTP\n\t\t\t\t\t\tIf-Match
header to the value of the ETag
header\n\t\t\t\t\tthat CloudFront returned when you submitted the GET Distribution Config
\n\t\t\t\t\trequest in Step 2.
Review the response to the PUT Distribution Config
request to\n\t\t\t\t\tconfirm that the distribution was successfully disabled.
Submit a GET Distribution
request to confirm that your changes\n\t\t\t\t\thave propagated. When propagation is complete, the value of Status
\n\t\t\t\t\tis Deployed
.
Submit a DELETE Distribution
request. Set the value of the HTTP\n\t\t\t\t\t\tIf-Match
header to the value of the ETag
header\n\t\t\t\t\tthat CloudFront returned when you submitted the GET Distribution Config
\n\t\t\t\t\trequest in Step 6.
Review the response to your DELETE Distribution
request to\n\t\t\t\t\tconfirm that the distribution was successfully deleted.
For information about deleting a distribution using the CloudFront console, see Deleting a\n\t\t\t\tDistribution in the Amazon CloudFront Developer Guide.
" + "smithy.api#documentation": "This action deletes a web distribution. To delete a web distribution using the CloudFront\n\t\t\tAPI, perform the following steps.
\n\n To delete a web distribution using the CloudFront API:\n
\nDisable the web distribution
\nSubmit a GET Distribution Config
request to get the current\n\t\t\t\t\tconfiguration and the Etag
header for the distribution.
Update the XML document that was returned in the response to your GET\n\t\t\t\t\t\tDistribution Config
request to change the value of\n\t\t\t\t\t\tEnabled
to false
.
Submit a PUT Distribution Config
request to update the\n\t\t\t\t\tconfiguration for your distribution. In the request body, include the XML\n\t\t\t\t\tdocument that you updated in Step 3. Set the value of the HTTP\n\t\t\t\t\t\tIf-Match
header to the value of the ETag
header\n\t\t\t\t\tthat CloudFront returned when you submitted the GET Distribution Config
\n\t\t\t\t\trequest in Step 2.
Review the response to the PUT Distribution Config
request to\n\t\t\t\t\tconfirm that the distribution was successfully disabled.
Submit a GET Distribution
request to confirm that your changes\n\t\t\t\t\thave propagated. When propagation is complete, the value of Status
\n\t\t\t\t\tis Deployed
.
Submit a DELETE Distribution
request. Set the value of the HTTP\n\t\t\t\t\t\tIf-Match
header to the value of the ETag
header\n\t\t\t\t\tthat CloudFront returned when you submitted the GET Distribution Config
\n\t\t\t\t\trequest in Step 6.
Review the response to your DELETE Distribution
request to\n\t\t\t\t\tconfirm that the distribution was successfully deleted.
For information about deleting a distribution using the CloudFront console, see Deleting a\n\t\t\t\tDistribution in the Amazon CloudFront Developer Guide.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#DeleteFieldLevelEncryptionConfig": { @@ -5297,6 +5648,9 @@ "smithy.api#httpHeader": "If-Match" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#DeleteFieldLevelEncryptionProfile": { @@ -5351,6 +5705,9 @@ "smithy.api#httpHeader": "If-Match" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#DeleteFunction": { @@ -5406,6 +5763,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#DeleteKeyGroup": { @@ -5457,6 +5817,9 @@ "smithy.api#httpHeader": "If-Match" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#DeleteMonitoringSubscription": { @@ -5501,6 +5864,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#DeleteMonitoringSubscriptionResult": { @@ -5559,6 +5925,9 @@ "smithy.api#httpHeader": "If-Match" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#DeleteOriginRequestPolicy": { @@ -5616,6 +5985,9 @@ "smithy.api#httpHeader": "If-Match" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#DeletePublicKey": { @@ -5670,6 +6042,9 @@ "smithy.api#httpHeader": "If-Match" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#DeleteRealtimeLogConfig": { @@ -5718,6 +6093,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the real-time log configuration to delete.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#DeleteResponseHeadersPolicy": { @@ -5775,6 +6153,9 @@ "smithy.api#httpHeader": "If-Match" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#DeleteStreamingDistribution": { @@ -5831,7 +6212,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to delete a streaming distribution.
" + "smithy.api#documentation": "The request to delete a streaming distribution.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#DescribeFunction": { @@ -5877,6 +6259,9 @@ "smithy.api#httpQuery": "Stage" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#DescribeFunctionResult": { @@ -7404,6 +7789,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetCachePolicyConfigResult": { @@ -7436,6 +7824,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetCachePolicyResult": { @@ -7520,7 +7911,8 @@ } }, "traits": { - "smithy.api#documentation": "The origin access identity's configuration information. For more information, see\n\t\t\t\tCloudFrontOriginAccessIdentityConfig.
" + "smithy.api#documentation": "The origin access identity's configuration information. For more information, see\n\t\t\t\tCloudFrontOriginAccessIdentityConfig.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetCloudFrontOriginAccessIdentityConfigResult": { @@ -7558,7 +7950,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to get an origin access identity's information.
" + "smithy.api#documentation": "The request to get an origin access identity's information.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetCloudFrontOriginAccessIdentityResult": { @@ -7644,6 +8037,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetContinuousDeploymentPolicyConfigResult": { @@ -7675,6 +8071,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetContinuousDeploymentPolicyResult": { @@ -7777,7 +8176,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to get a distribution configuration.
" + "smithy.api#documentation": "The request to get a distribution configuration.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetDistributionConfigResult": { @@ -7815,7 +8215,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to get a distribution's information.
" + "smithy.api#documentation": "The request to get a distribution's information.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetDistributionResult": { @@ -7901,6 +8302,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetFieldLevelEncryptionConfigResult": { @@ -7983,6 +8387,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetFieldLevelEncryptionProfileConfigResult": { @@ -8015,6 +8422,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetFieldLevelEncryptionProfileResult": { @@ -8047,6 +8457,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetFieldLevelEncryptionResult": { @@ -8111,6 +8524,9 @@ "smithy.api#httpQuery": "Stage" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetFunctionResult": { @@ -8206,7 +8622,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to get an invalidation's information.
" + "smithy.api#documentation": "The request to get an invalidation's information.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetInvalidationResult": { @@ -8279,6 +8696,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetKeyGroupConfigResult": { @@ -8311,6 +8731,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetKeyGroupResult": { @@ -8374,6 +8797,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetMonitoringSubscriptionResult": { @@ -8449,6 +8875,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetOriginAccessControlConfigResult": { @@ -8481,6 +8910,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetOriginAccessControlResult": { @@ -8563,6 +8995,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetOriginRequestPolicyConfigResult": { @@ -8595,6 +9030,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetOriginRequestPolicyResult": { @@ -8677,6 +9115,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetPublicKeyConfigResult": { @@ -8709,6 +9150,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetPublicKeyResult": { @@ -8773,6 +9217,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the real-time log configuration to get.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetRealtimeLogConfigResult": { @@ -8847,6 +9294,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetResponseHeadersPolicyConfigResult": { @@ -8879,6 +9329,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetResponseHeadersPolicyResult": { @@ -8981,7 +9434,8 @@ } }, "traits": { - "smithy.api#documentation": "To request to get a streaming distribution configuration.
" + "smithy.api#documentation": "To request to get a streaming distribution configuration.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetStreamingDistributionConfigResult": { @@ -9019,7 +9473,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to get a streaming distribution's information.
" + "smithy.api#documentation": "The request to get a streaming distribution's information.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#GetStreamingDistributionResult": { @@ -10015,6 +10470,9 @@ "smithy.api#httpQuery": "MaxItems" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListCachePoliciesResult": { @@ -10076,7 +10534,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to list origin access identities.
" + "smithy.api#documentation": "The request to list origin access identities.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListCloudFrontOriginAccessIdentitiesResult": { @@ -10152,6 +10611,9 @@ "smithy.api#httpQuery": "MaxItems" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListConflictingAliasesResult": { @@ -10211,6 +10673,9 @@ "smithy.api#httpQuery": "MaxItems" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListContinuousDeploymentPoliciesResult": { @@ -10306,6 +10771,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListDistributionsByCachePolicyIdResult": { @@ -10370,6 +10838,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListDistributionsByKeyGroupResult": { @@ -10436,6 +10907,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListDistributionsByOriginRequestPolicyIdResult": { @@ -10499,6 +10973,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the real-time log configuration whose associated\n\t\t\tdistributions you want to list.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListDistributionsByRealtimeLogConfigResult": { @@ -10565,6 +11042,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListDistributionsByResponseHeadersPolicyIdResult": { @@ -10630,7 +11110,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to list distributions that are associated with a specified WAF web\n\t\t\tACL.
" + "smithy.api#documentation": "The request to list distributions that are associated with a specified WAF web\n\t\t\tACL.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListDistributionsByWebACLIdResult": { @@ -10667,7 +11148,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to list your distributions.
" + "smithy.api#documentation": "The request to list your distributions.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListDistributionsResult": { @@ -10724,6 +11206,9 @@ "smithy.api#httpQuery": "MaxItems" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListFieldLevelEncryptionConfigsResult": { @@ -10777,6 +11262,9 @@ "smithy.api#httpQuery": "MaxItems" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListFieldLevelEncryptionProfilesResult": { @@ -10840,6 +11328,9 @@ "smithy.api#httpQuery": "Stage" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListFunctionsResult": { @@ -10915,7 +11406,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to list invalidations.
" + "smithy.api#documentation": "The request to list invalidations.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListInvalidationsResult": { @@ -10972,6 +11464,9 @@ "smithy.api#httpQuery": "MaxItems" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListKeyGroupsResult": { @@ -11025,6 +11520,9 @@ "smithy.api#httpQuery": "MaxItems" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListOriginAccessControlsResult": { @@ -11091,6 +11589,9 @@ "smithy.api#httpQuery": "MaxItems" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListOriginRequestPoliciesResult": { @@ -11144,6 +11645,9 @@ "smithy.api#httpQuery": "MaxItems" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListPublicKeysResult": { @@ -11203,6 +11707,9 @@ "smithy.api#httpQuery": "Marker" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListRealtimeLogConfigsResult": { @@ -11269,6 +11776,9 @@ "smithy.api#httpQuery": "MaxItems" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListResponseHeadersPoliciesResult": { @@ -11330,7 +11840,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to list your streaming distributions.
" + "smithy.api#documentation": "The request to list your streaming distributions.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListStreamingDistributionsResult": { @@ -11392,7 +11903,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to list tags for a CloudFront resource.
" + "smithy.api#documentation": "The request to list tags for a CloudFront resource.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#ListTagsForResourceResult": { @@ -12439,6 +12951,12 @@ "traits": { "smithy.api#enumValue": "all" } + }, + "allExcept": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "allExcept" + } } } }, @@ -12448,7 +12966,7 @@ "CookieBehavior": { "target": "com.amazonaws.cloudfront#OriginRequestPolicyCookieBehavior", "traits": { - "smithy.api#documentation": "Determines whether cookies in viewer requests are included in requests that CloudFront sends\n\t\t\tto the origin. Valid values are:
\n\n none
– Cookies in viewer requests are not included in requests\n\t\t\t\t\tthat CloudFront sends to the origin. Even when this field is set to none
,\n\t\t\t\t\tany cookies that are listed in a CachePolicy
\n are included in origin requests.
\n whitelist
– The cookies in viewer requests that are listed in the\n\t\t\t\t\t\tCookieNames
type are included in requests that CloudFront sends to\n\t\t\t\t\tthe origin.
\n all
– All cookies in viewer requests are included in requests\n\t\t\t\t\tthat CloudFront sends to the origin.
Determines whether cookies in viewer requests are included in requests that CloudFront sends\n\t\t\tto the origin. Valid values are:
\n\n none
– No cookies in viewer requests are included in requests that CloudFront sends\n\t\t\t\t\tto the origin. Even when this field is set to none
, any cookies\n\t\t\t\t\tthat are listed in a CachePolicy
\n are included\n\t\t\t\t\tin origin requests.
\n whitelist
– Only the cookies in viewer requests that are listed in the\n\t\t\t\t\tCookieNames
type are included in requests that CloudFront sends to the\n\t\t\t\t\torigin.
\n all
– All cookies in viewer requests are included in requests\n\t\t\t\t\tthat CloudFront sends to the origin.
\n allExcept
– All cookies in viewer requests are included in\n\t\t\t\t\trequests that CloudFront sends to the origin, \n except\n for those listed in the CookieNames
\n\t\t\t\t\ttype, which are not included.
Determines whether any HTTP headers are included in requests that CloudFront sends to the\n\t\t\torigin. Valid values are:
\n\n none
– HTTP headers are not included in requests that CloudFront sends\n\t\t\t\t\tto the origin. Even when this field is set to none
, any headers\n\t\t\t\t\tthat are listed in a CachePolicy
\n are included in origin requests.
\n whitelist
– The HTTP headers that are listed in the\n\t\t\t\t\t\tHeaders
type are included in requests that CloudFront sends to the\n\t\t\t\t\torigin.
\n allViewer
– All HTTP headers in viewer requests are included in\n\t\t\t\t\trequests that CloudFront sends to the origin.
\n allViewerAndWhitelistCloudFront
– All HTTP headers in viewer\n\t\t\t\t\trequests and the additional CloudFront headers that are listed in the\n\t\t\t\t\t\tHeaders
type are included in requests that CloudFront sends to the\n\t\t\t\t\torigin. The additional headers are added by CloudFront.
Determines whether any HTTP headers are included in requests that CloudFront sends to the\n\t\t\torigin. Valid values are:
\n\n none
– No HTTP headers in viewer requests are included in requests that CloudFront\n\t\t\t\t\tsends to the origin. Even when this field is set to none
, any\n\t\t\t\t\theaders that are listed in a CachePolicy
\n are\n\t\t\t\t\tincluded in origin requests.
\n whitelist
– Only the HTTP headers that are listed in the Headers
\n\t\t\t\t\ttype are included in requests that CloudFront sends to the origin.
\n allViewer
– All HTTP headers in viewer requests are included in\n\t\t\t\t\trequests that CloudFront sends to the origin.
\n allViewerAndWhitelistCloudFront
– All HTTP headers in viewer\n\t\t\t\t\trequests and the additional CloudFront headers that are listed in the\n\t\t\t\t\t\tHeaders
type are included in requests that CloudFront sends to the\n\t\t\t\t\torigin. The additional headers are added by CloudFront.
\n allExcept
– All HTTP headers in viewer requests are included in\n\t\t\t\t\trequests that CloudFront sends to the origin, \n except\n for those listed in the Headers
type,\n\t\t\t\t\twhich are not included.
Determines whether any URL query strings in viewer requests are included in requests\n\t\t\tthat CloudFront sends to the origin. Valid values are:
\n\n none
– Query strings in viewer requests are not included in\n\t\t\t\t\trequests that CloudFront sends to the origin. Even when this field is set to\n\t\t\t\t\t\tnone
, any query strings that are listed in a\n\t\t\t\t\t\tCachePolicy
\n are included in origin requests.
\n whitelist
– The query strings in viewer requests that are listed\n\t\t\t\t\tin the QueryStringNames
type are included in requests that CloudFront\n\t\t\t\t\tsends to the origin.
\n all
– All query strings in viewer requests are included in\n\t\t\t\t\trequests that CloudFront sends to the origin.
Determines whether any URL query strings in viewer requests are included in requests\n\t\t\tthat CloudFront sends to the origin. Valid values are:
\n\n none
– No query strings in viewer requests are included in requests that CloudFront\n\t\t\t\t\tsends to the origin. Even when this field is set to none
, any query\n\t\t\t\t\tstrings that are listed in a CachePolicy
\n are\n\t\t\t\t\tincluded in origin requests.
\n whitelist
– Only the query strings in viewer requests that are listed in the\n\t\t\t\t\tQueryStringNames
type are included in requests that CloudFront sends to\n\t\t\t\t\tthe origin.
\n all
– All query strings in viewer requests are included in requests that CloudFront\n\t\t\t\t\tsends to the origin.
\n allExcept
– All query strings in viewer requests are included in\n\t\t\t\t\trequests that CloudFront sends to the origin, \n except\n for those listed in the\n\t\t\t\t\tQueryStringNames
type, which are not included.
Contains a list of the query strings in viewer requests that are included in requests\n\t\t\tthat CloudFront sends to the origin.
" + "smithy.api#documentation": "Contains the specific query strings in viewer requests that either \n are\n or \n are\n\t\t\tnot\n included in requests that CloudFront sends to the origin. The\n\t\t\tbehavior depends on whether the QueryStringBehavior
field in the\n\t\t\tOriginRequestPolicyQueryStringsConfig
type is set to whitelist
\n\t\t\t(the listed query strings \n are\n \n\t\t\tincluded) or allExcept
(the listed query strings \n are not\n included, but all other query strings\n\t\t\tare).
An object that determines whether any HTTP headers (and if so, which headers) are\n\t\t\tincluded in the cache key and automatically included in requests that CloudFront sends to the\n\t\t\torigin.
", + "smithy.api#documentation": "An object that determines whether any HTTP headers (and if so, which headers) are included\n\t\t\tin the cache key and in requests that CloudFront sends to the origin.
", "smithy.api#required": {} } }, "CookiesConfig": { "target": "com.amazonaws.cloudfront#CachePolicyCookiesConfig", "traits": { - "smithy.api#documentation": "An object that determines whether any cookies in viewer requests (and if so, which\n\t\t\tcookies) are included in the cache key and automatically included in requests that CloudFront\n\t\t\tsends to the origin.
", + "smithy.api#documentation": "An object that determines whether any cookies in viewer requests (and if so, which cookies)\n\t\t\tare included in the cache key and in requests that CloudFront sends to the origin.
", "smithy.api#required": {} } }, "QueryStringsConfig": { "target": "com.amazonaws.cloudfront#CachePolicyQueryStringsConfig", "traits": { - "smithy.api#documentation": "An object that determines whether any URL query strings in viewer requests (and if so,\n\t\t\twhich query strings) are included in the cache key and automatically included in\n\t\t\trequests that CloudFront sends to the origin.
", + "smithy.api#documentation": "An object that determines whether any URL query strings in viewer requests (and if so, which\n\t\t\tquery strings) are included in the cache key and in requests that CloudFront sends to the\n\t\t\torigin.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "This object determines the values that CloudFront includes in the cache key. These values\n\t\t\tcan include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to\n\t\t\tfind an object in its cache that it can return to the viewer.
\nThe headers, cookies, and query strings that are included in the cache key are\n\t\t\tautomatically included in requests that CloudFront sends to the origin. CloudFront sends a request\n\t\t\twhen it can't find an object in its cache that matches the request's cache key. If you\n\t\t\twant to send values to the origin but not include them in the cache\n\t\t\tkey, use OriginRequestPolicy
.
This object determines the values that CloudFront includes in the cache key. These values\n\t\t\tcan include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to\n\t\t\tfind an object in its cache that it can return to the viewer.
\nThe headers, cookies, and query strings that are included in the cache key are also included\n\t\t\tin requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an\n\t\t\tobject in its cache that matches the request's cache key. If you want to send values to\n\t\t\tthe origin but not include them in the cache key, use\n\t\t\tOriginRequestPolicy
.
The request to add tags to a CloudFront resource.
" + "smithy.api#documentation": "The request to add tags to a CloudFront resource.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#TagValue": { @@ -14972,6 +15506,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#TestFunctionResult": { @@ -15884,7 +16421,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to remove tags from a CloudFront resource.
" + "smithy.api#documentation": "The request to remove tags from a CloudFront resource.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#UpdateCachePolicy": { @@ -15966,6 +16504,9 @@ "smithy.api#httpHeader": "If-Match" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#UpdateCachePolicyResult": { @@ -16059,7 +16600,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to update an origin access identity.
" + "smithy.api#documentation": "The request to update an origin access identity.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#UpdateCloudFrontOriginAccessIdentityResult": { @@ -16151,6 +16693,9 @@ "smithy.api#httpHeader": "If-Match" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#UpdateContinuousDeploymentPolicyResult": { @@ -16415,7 +16960,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to update a distribution.
" + "smithy.api#documentation": "The request to update a distribution.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#UpdateDistributionResult": { @@ -16664,6 +17210,9 @@ "smithy.api#httpHeader": "If-Match" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#UpdateDistributionWithStagingConfigResult": { @@ -16763,6 +17312,9 @@ "smithy.api#httpHeader": "If-Match" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#UpdateFieldLevelEncryptionConfigResult": { @@ -16866,6 +17418,9 @@ "smithy.api#httpHeader": "If-Match" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#UpdateFieldLevelEncryptionProfileResult": { @@ -16957,6 +17512,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#UpdateFunctionResult": { @@ -17042,6 +17600,9 @@ "smithy.api#httpHeader": "If-Match" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#UpdateKeyGroupResult": { @@ -17130,6 +17691,9 @@ "smithy.api#httpHeader": "If-Match" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#UpdateOriginAccessControlResult": { @@ -17230,6 +17794,9 @@ "smithy.api#httpHeader": "If-Match" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#UpdateOriginRequestPolicyResult": { @@ -17318,6 +17885,9 @@ "smithy.api#httpHeader": "If-Match" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#UpdatePublicKeyResult": { @@ -17400,6 +17970,9 @@ "smithy.api#documentation": "The sampling rate for this real-time log configuration. The sampling rate determines\n\t\t\tthe percentage of viewer requests that are represented in the real-time log data. You\n\t\t\tmust provide an integer between 1 and 100, inclusive.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#UpdateRealtimeLogConfigResult": { @@ -17492,6 +18065,9 @@ "smithy.api#httpHeader": "If-Match" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#UpdateResponseHeadersPolicyResult": { @@ -17603,7 +18179,8 @@ } }, "traits": { - "smithy.api#documentation": "The request to update a streaming distribution.
" + "smithy.api#documentation": "The request to update a streaming distribution.
", + "smithy.api#input": {} } }, "com.amazonaws.cloudfront#UpdateStreamingDistributionResult": { diff --git a/codegen/sdk-codegen/aws-models/datasync.json b/codegen/sdk-codegen/aws-models/datasync.json index d409c35f954..c9114ba572f 100644 --- a/codegen/sdk-codegen/aws-models/datasync.json +++ b/codegen/sdk-codegen/aws-models/datasync.json @@ -3286,8 +3286,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3299,8 +3299,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3312,8 +3312,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3325,8 +3325,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3338,8 +3338,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3351,8 +3351,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3364,8 +3364,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3377,8 +3377,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3390,8 +3390,8 @@ }, "params": { "Region": "ap-southeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3403,8 +3403,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3416,8 +3416,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3429,8 +3429,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3442,8 +3442,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3455,8 +3455,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3468,8 +3468,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3481,8 +3481,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3494,8 +3494,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3507,8 +3507,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3520,8 +3520,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3533,8 +3533,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3546,8 +3546,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3559,8 +3559,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3572,8 +3572,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3585,8 +3585,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3598,8 +3598,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3611,8 +3611,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3624,8 +3624,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3637,8 +3637,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3650,8 +3650,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3663,8 +3663,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3676,8 +3676,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3689,8 +3689,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3702,8 +3702,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3715,8 +3715,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3728,8 +3728,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3741,8 +3741,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3754,8 +3754,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3767,8 +3767,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3780,8 +3780,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3793,8 +3793,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3806,8 +3806,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3819,8 +3819,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3832,8 +3832,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3845,8 +3845,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3858,8 +3858,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3870,8 +3870,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3882,8 +3882,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } } @@ -4896,7 +4896,7 @@ "type": "string", "traits": { "smithy.api#length": { - "min": 8, + "min": 1, "max": 200 }, "smithy.api#pattern": "^.+$" @@ -4925,7 +4925,7 @@ "type": "string", "traits": { "smithy.api#length": { - "min": 8, + "min": 1, "max": 200 }, "smithy.api#pattern": "^.+$", diff --git a/codegen/sdk-codegen/aws-models/opensearch.json b/codegen/sdk-codegen/aws-models/opensearch.json index 1c2a67fd004..3e88158f3b7 100644 --- a/codegen/sdk-codegen/aws-models/opensearch.json +++ b/codegen/sdk-codegen/aws-models/opensearch.json @@ -171,6 +171,93 @@ "smithy.api#documentation": "The configured access rules for the domain's search endpoint, and the current status of\n those rules.
" } }, + "com.amazonaws.opensearch#ActionSeverity": { + "type": "enum", + "members": { + "HIGH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HIGH" + } + }, + "MEDIUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MEDIUM" + } + }, + "LOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LOW" + } + } + } + }, + "com.amazonaws.opensearch#ActionStatus": { + "type": "enum", + "members": { + "PENDING_UPDATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING_UPDATE" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + }, + "NOT_ELIGIBLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NOT_ELIGIBLE" + } + }, + "ELIGIBLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ELIGIBLE" + } + } + } + }, + "com.amazonaws.opensearch#ActionType": { + "type": "enum", + "members": { + "SERVICE_SOFTWARE_UPDATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SERVICE_SOFTWARE_UPDATE" + } + }, + "JVM_HEAP_SIZE_TUNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JVM_HEAP_SIZE_TUNING" + } + }, + "JVM_YOUNG_GEN_TUNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JVM_YOUNG_GEN_TUNING" + } + } + } + }, "com.amazonaws.opensearch#AddTags": { "type": "operation", "input": { @@ -495,6 +582,9 @@ { "target": "com.amazonaws.opensearch#ListPackagesForDomain" }, + { + "target": "com.amazonaws.opensearch#ListScheduledActions" + }, { "target": "com.amazonaws.opensearch#ListTags" }, @@ -531,6 +621,9 @@ { "target": "com.amazonaws.opensearch#UpdatePackage" }, + { + "target": "com.amazonaws.opensearch#UpdateScheduledAction" + }, { "target": "com.amazonaws.opensearch#UpdateVpcEndpoint" }, @@ -560,7 +653,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": true, + "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -589,13 +682,12 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "isSet", "argv": [ { - "ref": "Region" + "ref": "Endpoint" } - ], - "assign": "PartitionResult" + ] } ], "type": "tree", @@ -603,14 +695,20 @@ { "conditions": [ { - "fn": "isSet", + "fn": "booleanEquals", "argv": [ { - "ref": "Endpoint" - } + "ref": "UseFIPS" + }, + true ] } ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], "type": "tree", "rules": [ { @@ -619,67 +717,42 @@ "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "ref": "UseDualStack" }, true ] } ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "error": "Invalid Configuration: Dualstack 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" + "endpoint": { + "url": { + "ref": "Endpoint" }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ { "conditions": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", + "fn": "isSet", "argv": [ { - "ref": "UseDualStack" - }, - true + "ref": "Region" + } ] } ], @@ -688,154 +761,215 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "aws.partition", "argv": [ - true, { - "fn": "getAttr", + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsFIPS" + true ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, + }, { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsDualStack" + true ] } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], + ], "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://es-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, { "conditions": [], - "endpoint": { - "url": "https://es-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" } ] - } - ] - }, - { - "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, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsFIPS" + true ] } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], + ], "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://es-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, { "conditions": [], - "endpoint": { - "url": "https://es-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" } ] - } - ] - }, - { - "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, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsDualStack" + 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://es.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } ] - } - ], - "type": "tree", - "rules": [ + }, { "conditions": [], "type": "tree", @@ -843,7 +977,7 @@ { "conditions": [], "endpoint": { - "url": "https://es.{Region}.{PartitionResult#dualStackDnsSuffix}", + "url": "https://es.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, @@ -852,28 +986,13 @@ ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } ] }, { "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://es.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } @@ -882,42 +1001,55 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.us-iso-east-1.c2s.ic.gov" + "url": "https://es.af-south-1.amazonaws.com" } }, "params": { + "Region": "af-south-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-iso-east-1" + "UseFIPS": false } }, { - "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.us-iso-west-1.c2s.ic.gov" + "url": "https://es.ap-east-1.amazonaws.com" } }, "params": { + "Region": "ap-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-iso-west-1" + "UseFIPS": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://es.ap-northeast-1.amazonaws.com" } }, "params": { + "Region": "ap-northeast-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "us-iso-east-1" + "UseFIPS": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-2", + "UseDualStack": false, + "UseFIPS": false } }, { @@ -928,87 +1060,87 @@ } }, "params": { + "Region": "ap-northeast-3", "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-northeast-3" + "UseFIPS": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.us-east-1.amazonaws.com" + "url": "https://es.ap-south-1.amazonaws.com" } }, "params": { + "Region": "ap-south-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-1" + "UseFIPS": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es-fips.us-east-1.amazonaws.com" + "url": "https://es.ap-southeast-1.amazonaws.com" } }, "params": { + "Region": "ap-southeast-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-1" + "UseFIPS": false } }, { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.eu-west-1.amazonaws.com" + "url": "https://es.ap-southeast-2.amazonaws.com" } }, "params": { + "Region": "ap-southeast-2", "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-1" + "UseFIPS": false } }, { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.eu-west-2.amazonaws.com" + "url": "https://es.ap-southeast-3.amazonaws.com" } }, "params": { + "Region": "ap-southeast-3", "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-2" + "UseFIPS": false } }, { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.eu-west-3.amazonaws.com" + "url": "https://es.ca-central-1.amazonaws.com" } }, "params": { + "Region": "ca-central-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-3" + "UseFIPS": false } }, { - "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.me-south-1.amazonaws.com" + "url": "https://es.eu-central-1.amazonaws.com" } }, "params": { + "Region": "eu-central-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "me-south-1" + "UseFIPS": false } }, { @@ -1019,139 +1151,139 @@ } }, "params": { + "Region": "eu-north-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-north-1" + "UseFIPS": false } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.us-east-2.amazonaws.com" + "url": "https://es.eu-south-1.amazonaws.com" } }, "params": { + "Region": "eu-south-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-2" + "UseFIPS": false } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es-fips.us-east-2.amazonaws.com" + "url": "https://es.eu-west-1.amazonaws.com" } }, "params": { + "Region": "eu-west-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-2" + "UseFIPS": false } }, { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.sa-east-1.amazonaws.com" + "url": "https://es.eu-west-2.amazonaws.com" } }, "params": { + "Region": "eu-west-2", "UseDualStack": false, - "UseFIPS": false, - "Region": "sa-east-1" + "UseFIPS": false } }, { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.ap-east-1.amazonaws.com" + "url": "https://es.eu-west-3.amazonaws.com" } }, "params": { + "Region": "eu-west-3", "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-east-1" + "UseFIPS": false } }, { - "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.eu-south-1.amazonaws.com" + "url": "https://es.me-south-1.amazonaws.com" } }, "params": { + "Region": "me-south-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-south-1" + "UseFIPS": false } }, { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.eu-central-1.amazonaws.com" + "url": "https://es.sa-east-1.amazonaws.com" } }, "params": { + "Region": "sa-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-central-1" + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.ap-southeast-1.amazonaws.com" + "url": "https://es.us-east-1.amazonaws.com" } }, "params": { + "Region": "us-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-1" + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.ap-southeast-2.amazonaws.com" + "url": "https://es-fips.us-east-1.amazonaws.com" } }, "params": { + "Region": "us-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-2" + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.ap-southeast-3.amazonaws.com" + "url": "https://es.us-east-2.amazonaws.com" } }, "params": { + "Region": "us-east-2", "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-3" + "UseFIPS": false } }, { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.ca-central-1.amazonaws.com" + "url": "https://es-fips.us-east-2.amazonaws.com" } }, "params": { + "Region": "us-east-2", "UseDualStack": false, - "UseFIPS": false, - "Region": "ca-central-1" + "UseFIPS": true } }, { @@ -1162,9 +1294,9 @@ } }, "params": { + "Region": "us-west-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-west-1" + "UseFIPS": false } }, { @@ -1175,9 +1307,9 @@ } }, "params": { + "Region": "us-west-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "us-west-1" + "UseFIPS": true } }, { @@ -1188,152 +1320,165 @@ } }, "params": { + "Region": "us-west-2", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "Region": "us-west-2", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-west-2" + "UseFIPS": true } }, { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://es-fips.us-west-2.amazonaws.com" + "url": "https://es-fips.us-east-1.api.aws" } }, "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-west-2" + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": true } }, { - "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://es.af-south-1.amazonaws.com" + "url": "https://es.us-east-1.api.aws" } }, "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "af-south-1" + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": false } }, { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.ap-south-1.amazonaws.com" + "url": "https://es.cn-north-1.amazonaws.com.cn" } }, "params": { + "Region": "cn-north-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-south-1" + "UseFIPS": false } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.ap-northeast-1.amazonaws.com" + "url": "https://es.cn-northwest-1.amazonaws.com.cn" } }, "params": { + "Region": "cn-northwest-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-northeast-1" + "UseFIPS": false } }, { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://es.ap-northeast-2.amazonaws.com" + "url": "https://es-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-northeast-2" + "Region": "cn-north-1", + "UseDualStack": true, + "UseFIPS": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es-fips.us-east-1.api.aws" + "url": "https://es-fips.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-east-1" + "Region": "cn-north-1", + "UseDualStack": false, + "UseFIPS": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://es.us-east-1.api.aws" + "url": "https://es.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { + "Region": "cn-north-1", "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-1" + "UseFIPS": false } }, { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.us-gov-west-1.amazonaws.com" + "url": "https://es.us-gov-east-1.amazonaws.com" } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-gov-west-1" + "UseFIPS": false } }, { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es-fips.us-gov-west-1.amazonaws.com" + "url": "https://es-fips.us-gov-east-1.amazonaws.com" } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "us-gov-west-1" + "UseFIPS": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.us-gov-east-1.amazonaws.com" + "url": "https://es.us-gov-west-1.amazonaws.com" } }, "params": { + "Region": "us-gov-west-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-gov-east-1" + "UseFIPS": false } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es-fips.us-gov-east-1.amazonaws.com" + "url": "https://es-fips.us-gov-west-1.amazonaws.com" } }, "params": { + "Region": "us-gov-west-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "us-gov-east-1" + "UseFIPS": true } }, { @@ -1344,9 +1489,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": true, - "UseFIPS": true, - "Region": "us-gov-east-1" + "UseFIPS": true } }, { @@ -1357,104 +1502,92 @@ } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": true, - "UseFIPS": false, - "Region": "us-gov-east-1" + "UseFIPS": false } }, { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.us-isob-east-1.sc2s.sgov.gov" + "url": "https://es.us-iso-east-1.c2s.ic.gov" } }, "params": { + "Region": "us-iso-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-isob-east-1" + "UseFIPS": false } }, { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es-fips.us-isob-east-1.sc2s.sgov.gov" + "url": "https://es.us-iso-west-1.c2s.ic.gov" } }, "params": { + "Region": "us-iso-west-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "us-isob-east-1" + "UseFIPS": false } }, { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.cn-northwest-1.amazonaws.com.cn" + "url": "https://es-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { + "Region": "us-iso-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "cn-northwest-1" + "UseFIPS": true } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es.cn-north-1.amazonaws.com.cn" + "url": "https://es.us-isob-east-1.sc2s.sgov.gov" } }, "params": { + "Region": "us-isob-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "cn-north-1" - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://es-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "cn-north-1" + "UseFIPS": false } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://es-fips.cn-north-1.amazonaws.com.cn" + "url": "https://es-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { + "Region": "us-isob-east-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "cn-north-1" + "UseFIPS": true } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { - "url": "https://es.cn-north-1.api.amazonwebservices.com.cn" + "url": "https://example.com" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", + "UseDualStack": false, "UseFIPS": false, - "Region": "cn-north-1" + "Endpoint": "https://example.com" } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" @@ -1463,7 +1596,6 @@ "params": { "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -1473,9 +1605,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -1485,9 +1617,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } } @@ -1763,7 +1895,7 @@ } }, "traits": { - "smithy.api#documentation": "The Auto-Tune maintenance schedule.\n For more information, see Auto-Tune for Amazon OpenSearch\n Service.
" + "smithy.api#documentation": "This object is deprecated. Use the domain's off-peak window to\n schedule Auto-Tune optimizations. For migration instructions, see Migrating from Auto-Tune\n maintenance windows.
\nThe Auto-Tune maintenance schedule.\n For more information, see Auto-Tune for Amazon OpenSearch\n Service.
" } }, "com.amazonaws.opensearch#AutoTuneMaintenanceScheduleList": { @@ -1796,7 +1928,13 @@ "MaintenanceSchedules": { "target": "com.amazonaws.opensearch#AutoTuneMaintenanceScheduleList", "traits": { - "smithy.api#documentation": "A list of maintenance schedules during which Auto-Tune can deploy changes.
" + "smithy.api#documentation": "DEPRECATED. Use off-peak window\n instead.
\nA list of maintenance schedules during which Auto-Tune can deploy changes.
" + } + }, + "UseOffPeakWindow": { + "target": "com.amazonaws.opensearch#Boolean", + "traits": { + "smithy.api#documentation": "Whether to use the domain's off-peak window to\n deploy configuration changes on the domain rather than a maintenance schedule.
" } } }, @@ -1816,12 +1954,18 @@ "MaintenanceSchedules": { "target": "com.amazonaws.opensearch#AutoTuneMaintenanceScheduleList", "traits": { - "smithy.api#documentation": "A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance\n schedules are overwrite, not append. If your request includes no schedules, the request deletes\n all existing schedules. To preserve existing schedules, make a call to\n DescribeDomainConfig
first and use the MaintenanceSchedules
portion of\n the response as the basis for this section.
A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are deprecated and have been replaced with off-peak windows.
" + } + }, + "UseOffPeakWindow": { + "target": "com.amazonaws.opensearch#Boolean", + "traits": { + "smithy.api#documentation": "Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window.
" } } }, "traits": { - "smithy.api#documentation": "Options for configuring Auto-Tune. For more information, see Auto-Tune for Amazon OpenSearch\n Service.
" + "smithy.api#documentation": "Options for configuring Auto-Tune. For more information, see Auto-Tune for Amazon OpenSearch\n Service\n
" } }, "com.amazonaws.opensearch#AutoTuneOptionsOutput": { @@ -1838,6 +1982,12 @@ "traits": { "smithy.api#documentation": "Any errors that occurred while enabling or disabling Auto-Tune.
" } + }, + "UseOffPeakWindow": { + "target": "com.amazonaws.opensearch#Boolean", + "traits": { + "smithy.api#documentation": "Whether the domain's off-peak window will be used to deploy Auto-Tune changes rather\n than a maintenance schedule.
" + } } }, "traits": { @@ -1923,7 +2073,7 @@ } }, "traits": { - "smithy.api#documentation": "The Auto-Tune state for the domain. For valid states see Auto-Tune for Amazon OpenSearch Service.\n
" + "smithy.api#documentation": "The Auto-Tune state for the domain. For valid states see Auto-Tune for Amazon OpenSearch Service.\n
" } }, "com.amazonaws.opensearch#AutoTuneStatus": { @@ -2438,7 +2588,7 @@ } }, "traits": { - "smithy.api#documentation": "An error occurred because the client attempts to remove a resource that's currently in use.
", + "smithy.api#documentation": "An error occurred because the client attempts to remove a resource that is currently in use.
", "smithy.api#error": "client", "smithy.api#httpError": 409 } @@ -2639,6 +2789,18 @@ "traits": { "smithy.api#documentation": "Options for Auto-Tune.
" } + }, + "OffPeakWindowOptions": { + "target": "com.amazonaws.opensearch#OffPeakWindowOptions", + "traits": { + "smithy.api#documentation": "Specifies a daily 10-hour time block during which OpenSearch Service can perform\n configuration changes on the domain, including service software updates and Auto-Tune\n enhancements that require a blue/green deployment. If no options are specified, the default start\n time of 10:00 P.M. local time (for the Region that the domain is created in) is used.
" + } + }, + "SoftwareUpdateOptions": { + "target": "com.amazonaws.opensearch#SoftwareUpdateOptions", + "traits": { + "smithy.api#documentation": "Software update options for the domain.
" + } } }, "traits": { @@ -4397,7 +4559,7 @@ } }, "traits": { - "smithy.api#documentation": "An error occured because the client wanted to access an unsupported operation.
", + "smithy.api#documentation": "An error occured because the client wanted to access a not supported operation.
", "smithy.api#error": "client", "smithy.api#httpError": 409 } @@ -4507,7 +4669,7 @@ "EBSOptions": { "target": "com.amazonaws.opensearch#EBSOptionsStatus", "traits": { - "smithy.api#documentation": "Container for EBS options configured for an OpenSearch Service domain.
" + "smithy.api#documentation": "Container for EBS options configured for the domain.
" } }, "AccessPolicies": { @@ -4581,6 +4743,18 @@ "traits": { "smithy.api#documentation": "Container for information about the progress of an existing configuration change.
" } + }, + "OffPeakWindowOptions": { + "target": "com.amazonaws.opensearch#OffPeakWindowOptionsStatus", + "traits": { + "smithy.api#documentation": "Container for off-peak window options for the domain.
" + } + }, + "SoftwareUpdateOptions": { + "target": "com.amazonaws.opensearch#SoftwareUpdateOptionsStatus", + "traits": { + "smithy.api#documentation": "Software update options for the domain.
" + } } }, "traits": { @@ -4989,6 +5163,18 @@ "traits": { "smithy.api#documentation": "Information about a configuration change happening on the domain.
" } + }, + "OffPeakWindowOptions": { + "target": "com.amazonaws.opensearch#OffPeakWindowOptions", + "traits": { + "smithy.api#documentation": "Options that specify a custom 10-hour window during which OpenSearch Service can perform\n configuration changes on the domain.
" + } + }, + "SoftwareUpdateOptions": { + "target": "com.amazonaws.opensearch#SoftwareUpdateOptions", + "traits": { + "smithy.api#documentation": "Service software update options for the domain.
" + } } }, "traits": { @@ -6367,6 +6553,96 @@ "smithy.api#output": {} } }, + "com.amazonaws.opensearch#ListScheduledActions": { + "type": "operation", + "input": { + "target": "com.amazonaws.opensearch#ListScheduledActionsRequest" + }, + "output": { + "target": "com.amazonaws.opensearch#ListScheduledActionsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.opensearch#BaseException" + }, + { + "target": "com.amazonaws.opensearch#InternalException" + }, + { + "target": "com.amazonaws.opensearch#InvalidPaginationTokenException" + }, + { + "target": "com.amazonaws.opensearch#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.opensearch#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Retrieves a list of configuration changes that are scheduled for a domain. These changes can\n be service software\n updates or blue/green\n Auto-Tune enhancements.
", + "smithy.api#http": { + "method": "GET", + "uri": "/2021-01-01/opensearch/domain/{DomainName}/scheduledActions", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.opensearch#ListScheduledActionsRequest": { + "type": "structure", + "members": { + "DomainName": { + "target": "com.amazonaws.opensearch#DomainName", + "traits": { + "smithy.api#documentation": "The name of the domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "MaxResults": { + "target": "com.amazonaws.opensearch#MaxResults", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "An optional parameter that specifies the maximum number of results to return. You can use\n nextToken
to get the next page of results.
If your initial ListScheduledActions
operation returns a nextToken
, you\n can include the returned nextToken
in subsequent ListScheduledActions
\n operations, which returns results in the next page.
A list of actions that are scheduled for the domain.
" + } + }, + "NextToken": { + "target": "com.amazonaws.opensearch#NextToken", + "traits": { + "smithy.api#documentation": "When nextToken
is returned, there are more results available. The value of\n nextToken
is a unique pagination token for each page. Make the call again using the\n returned token to retrieve the next page.
A custom start time for the off-peak window, in Coordinated Universal Time (UTC). The window\n length will always be 10 hours, so you can't specify an end time. For example, if you specify\n 11:00 P.M. UTC as a start time, the end time will automatically be set to 9:00 A.M.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A custom 10-hour, low-traffic window during which OpenSearch Service can perform mandatory\n configuration changes on the domain. These actions can include scheduled service software updates\n and blue/green Auto-Tune enhancements. OpenSearch Service will schedule these\n actions during the window that you specify.
\nIf you don't specify a window start time, it defaults to 10:00 P.M. local time.
\nFor more information, see Defining off-peak maintenance\n windows for Amazon OpenSearch Service.
" + } + }, + "com.amazonaws.opensearch#OffPeakWindowOptions": { + "type": "structure", + "members": { + "Enabled": { + "target": "com.amazonaws.opensearch#Boolean", + "traits": { + "smithy.api#documentation": "Whether to enable an off-peak window.
\nThis option is only available when modifying a domain created prior to February 13, 2023, not when creating a new domain.\n All domains created after this date have the off-peak window enabled by default. You can't disable the off-peak window after it's enabled for a domain.
" + } + }, + "OffPeakWindow": { + "target": "com.amazonaws.opensearch#OffPeakWindow", + "traits": { + "smithy.api#documentation": "Off-peak window settings for the domain.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Options for a domain's off-peak window,\n during which OpenSearch Service can perform mandatory configuration changes on the domain.
" + } + }, + "com.amazonaws.opensearch#OffPeakWindowOptionsStatus": { + "type": "structure", + "members": { + "Options": { + "target": "com.amazonaws.opensearch#OffPeakWindowOptions", + "traits": { + "smithy.api#documentation": "The domain's off-peak window configuration.
" + } + }, + "Status": { + "target": "com.amazonaws.opensearch#OptionStatus", + "traits": { + "smithy.api#documentation": "The current status of off-peak window options.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The status of off-peak window\n options for a domain.
" } }, "com.amazonaws.opensearch#OpenSearchPartitionInstanceType": { @@ -8484,7 +8814,7 @@ } }, "traits": { - "smithy.api#documentation": "An exception for accessing or deleting a resource that doesn't exist.
", + "smithy.api#documentation": "An exception for accessing or deleting a resource that does not exist..
", "smithy.api#error": "client", "smithy.api#httpError": 409 } @@ -8729,6 +9059,101 @@ "smithy.api#documentation": "Describes the SAML application configured for the domain.
" } }, + "com.amazonaws.opensearch#ScheduleAt": { + "type": "enum", + "members": { + "NOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NOW" + } + }, + "TIMESTAMP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMESTAMP" + } + }, + "OFF_PEAK_WINDOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OFF_PEAK_WINDOW" + } + } + } + }, + "com.amazonaws.opensearch#ScheduledAction": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.opensearch#String", + "traits": { + "smithy.api#documentation": "The unique identifier of the scheduled action.
", + "smithy.api#required": {} + } + }, + "Type": { + "target": "com.amazonaws.opensearch#ActionType", + "traits": { + "smithy.api#documentation": "The type of action that will be taken on the domain.
", + "smithy.api#required": {} + } + }, + "Severity": { + "target": "com.amazonaws.opensearch#ActionSeverity", + "traits": { + "smithy.api#documentation": "The severity of the action.
", + "smithy.api#required": {} + } + }, + "ScheduledTime": { + "target": "com.amazonaws.opensearch#Long", + "traits": { + "smithy.api#documentation": "The time when the change is scheduled to happen.
", + "smithy.api#required": {} + } + }, + "Description": { + "target": "com.amazonaws.opensearch#String", + "traits": { + "smithy.api#documentation": "A description of the action to be taken.
" + } + }, + "ScheduledBy": { + "target": "com.amazonaws.opensearch#ScheduledBy", + "traits": { + "smithy.api#documentation": "Whether the action was scheduled manually (CUSTOMER
, or by OpenSearch Service automatically (SYSTEM
).
The current status of the scheduled action.
" + } + }, + "Mandatory": { + "target": "com.amazonaws.opensearch#Boolean", + "traits": { + "smithy.api#documentation": "Whether the action is required or optional.
" + } + }, + "Cancellable": { + "target": "com.amazonaws.opensearch#Boolean", + "traits": { + "smithy.api#documentation": "Whether or not the scheduled action is cancellable.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Information about a scheduled configuration change for an OpenSearch Service domain. This\n actions can be a service software\n update or a blue/green\n Auto-Tune enhancement.
" + } + }, + "com.amazonaws.opensearch#ScheduledActionsList": { + "type": "list", + "member": { + "target": "com.amazonaws.opensearch#ScheduledAction" + } + }, "com.amazonaws.opensearch#ScheduledAutoTuneActionType": { "type": "enum", "members": { @@ -8813,6 +9238,23 @@ "smithy.api#documentation": "The Auto-Tune action severity.
" } }, + "com.amazonaws.opensearch#ScheduledBy": { + "type": "enum", + "members": { + "CUSTOMER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOMER" + } + }, + "SYSTEM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SYSTEM" + } + } + } + }, "com.amazonaws.opensearch#ServiceSoftwareOptions": { "type": "structure", "members": { @@ -8875,6 +9317,34 @@ "smithy.api#documentation": "The domain endpoint to which index and search requests are submitted. For example,\n search-imdb-movies-oopcnjfn6ugo.eu-west-1.es.amazonaws.com
or\n doc-imdb-movies-oopcnjfn6u.eu-west-1.es.amazonaws.com
.
Alternate time slots during which OpenSearch Service has available capacity to schedule a domain action.
" + } + }, + "message": { + "target": "com.amazonaws.opensearch#ErrorMessage", + "traits": { + "smithy.api#documentation": "A description of the error.
" + } + } + }, + "traits": { + "smithy.api#documentation": "An exception for attempting to schedule a domain action during an unavailable time slot.
", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, "com.amazonaws.opensearch#SnapshotOptions": { "type": "structure", "members": { @@ -8911,6 +9381,40 @@ "smithy.api#documentation": "Container for information about a daily automated snapshot for an OpenSearch Service\n domain.
" } }, + "com.amazonaws.opensearch#SoftwareUpdateOptions": { + "type": "structure", + "members": { + "AutoSoftwareUpdateEnabled": { + "target": "com.amazonaws.opensearch#Boolean", + "traits": { + "smithy.api#documentation": "Whether automatic service software updates are enabled for the domain.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Options for configuring service software updates for a domain.
" + } + }, + "com.amazonaws.opensearch#SoftwareUpdateOptionsStatus": { + "type": "structure", + "members": { + "Options": { + "target": "com.amazonaws.opensearch#SoftwareUpdateOptions", + "traits": { + "smithy.api#documentation": "The service software update options for a domain.
" + } + }, + "Status": { + "target": "com.amazonaws.opensearch#OptionStatus", + "traits": { + "smithy.api#documentation": "The status of service software update options, including creation date and last updated date.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The status of the service software options for a domain.
" + } + }, "com.amazonaws.opensearch#StartAt": { "type": "timestamp" }, @@ -8954,6 +9458,18 @@ "smithy.api#documentation": "The name of the domain that you want to update to the latest service software.
", "smithy.api#required": {} } + }, + "ScheduleAt": { + "target": "com.amazonaws.opensearch#ScheduleAt", + "traits": { + "smithy.api#documentation": "When to start the service software update.
\n\n NOW
- Immediately schedules the update to happen in the current hour if\n there's capacity available.
\n TIMESTAMP
- Lets you specify a custom date and time to apply the update. If\n you specify this value, you must also provide a value for DesiredStartTime
.
\n OFF_PEAK_WINDOW
- Marks the update to be picked up during an upcoming\n off-peak window. There's no guarantee that the update will happen during the next immediate\n window. Depending on capacity, it might happen in subsequent days.
Default: NOW
if you don't specify a value for DesiredStartTime
,\n and TIMESTAMP
if you do.
The Epoch timestamp when you want the service software update to start. You only need to\n specify this parameter if you set ScheduleAt
to TIMESTAMP
.
Options to publish OpenSearch lots to Amazon CloudWatch Logs.
" + "smithy.api#documentation": "Options to publish OpenSearch logs to Amazon CloudWatch Logs.
" } }, "EncryptionAtRestOptions": { @@ -9268,7 +9804,7 @@ "NodeToNodeEncryptionOptions": { "target": "com.amazonaws.opensearch#NodeToNodeEncryptionOptions", "traits": { - "smithy.api#documentation": "Node-To-Node Encryption options for the domain.
" + "smithy.api#documentation": "Node-to-node encryption options for the domain.
" } }, "AdvancedSecurityOptions": { @@ -9294,6 +9830,18 @@ "traits": { "smithy.api#documentation": "The type of dry run to perform.
\n\n Basic
only returns the type of deployment (blue/green or dynamic) that the update\n will cause.
\n Verbose
runs an additional check to validate the changes you're making. For\n more information, see Validating a domain update.
Off-peak window options for the domain.
" + } + }, + "SoftwareUpdateOptions": { + "target": "com.amazonaws.opensearch#SoftwareUpdateOptions", + "traits": { + "smithy.api#documentation": "Service software update options for the domain.
" + } } }, "traits": { @@ -9416,6 +9964,103 @@ "smithy.api#output": {} } }, + "com.amazonaws.opensearch#UpdateScheduledAction": { + "type": "operation", + "input": { + "target": "com.amazonaws.opensearch#UpdateScheduledActionRequest" + }, + "output": { + "target": "com.amazonaws.opensearch#UpdateScheduledActionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.opensearch#BaseException" + }, + { + "target": "com.amazonaws.opensearch#ConflictException" + }, + { + "target": "com.amazonaws.opensearch#InternalException" + }, + { + "target": "com.amazonaws.opensearch#LimitExceededException" + }, + { + "target": "com.amazonaws.opensearch#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.opensearch#SlotNotAvailableException" + }, + { + "target": "com.amazonaws.opensearch#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Reschedules a planned domain configuration change for a later time. This change can be a\n scheduled service software\n update or a blue/green\n Auto-Tune enhancement.
", + "smithy.api#http": { + "method": "PUT", + "uri": "/2021-01-01/opensearch/domain/{DomainName}/scheduledAction/update", + "code": 200 + } + } + }, + "com.amazonaws.opensearch#UpdateScheduledActionRequest": { + "type": "structure", + "members": { + "DomainName": { + "target": "com.amazonaws.opensearch#DomainName", + "traits": { + "smithy.api#documentation": "The name of the domain to reschedule an action for.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "ActionID": { + "target": "com.amazonaws.opensearch#String", + "traits": { + "smithy.api#documentation": "The unique identifier of the action to reschedule. To retrieve this ID, send a ListScheduledActions request.
", + "smithy.api#required": {} + } + }, + "ActionType": { + "target": "com.amazonaws.opensearch#ActionType", + "traits": { + "smithy.api#documentation": "The type of action to reschedule. Can be one of SERVICE_SOFTWARE_UPDATE
,\n JVM_HEAP_SIZE_TUNING
, or JVM_YOUNG_GEN_TUNING
. To retrieve this value, send a ListScheduledActions request.
When to schedule the action.
\n\n NOW
- Immediately schedules the update to happen in the current hour if\n there's capacity available.
\n TIMESTAMP
- Lets you specify a custom date and time to apply the update. If\n you specify this value, you must also provide a value for DesiredStartTime
.
\n OFF_PEAK_WINDOW
- Marks the action to be picked up during an upcoming\n off-peak window. There's no guarantee that the change will be implemented during the next\n immediate window. Depending on capacity, it might happen in subsequent days.
The time to implement the change, in Coordinated Universal Time (UTC). Only specify this\n parameter if you set ScheduleAt
to TIMESTAMP
.
Information about the rescheduled action.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.opensearch#UpdateTimestamp": { "type": "timestamp" }, @@ -9847,7 +10492,7 @@ } }, "traits": { - "smithy.api#documentation": "An exception for missing or invalid input fields.
", + "smithy.api#documentation": "An exception for accessing or deleting a resource that doesn't exist.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -10162,6 +10807,30 @@ "target": "com.amazonaws.opensearch#VpcEndpoint" } }, + "com.amazonaws.opensearch#WindowStartTime": { + "type": "structure", + "members": { + "Hours": { + "target": "com.amazonaws.opensearch#StartTimeHours", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "The start hour of the window in Coordinated Universal Time (UTC), using 24-hour time. For example, 17
refers to\n 5:00 P.M. UTC.
The start minute of the window, in UTC.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The desired start time for an off-peak maintenance\n window.
" + } + }, "com.amazonaws.opensearch#ZoneAwarenessConfig": { "type": "structure", "members": { diff --git a/codegen/sdk-codegen/aws-models/rum.json b/codegen/sdk-codegen/aws-models/rum.json index cedee74aa05..4d981a0d915 100644 --- a/codegen/sdk-codegen/aws-models/rum.json +++ b/codegen/sdk-codegen/aws-models/rum.json @@ -340,7 +340,7 @@ } ], "traits": { - "smithy.api#documentation": "Specifies the extended metrics that you want a CloudWatch RUM app monitor to send to a destination. Valid\n destinations include CloudWatch and Evidently.
\nBy default, RUM app monitors send some metrics to CloudWatch. These default metrics\n are listed in CloudWatch metrics that you can collect \n with CloudWatch RUM.
\nIf you also send extended metrics, you can send metrics to Evidently as well as CloudWatch, and you can also \n optionally\n send the metrics with additional dimensions. The valid dimension names for the additional dimensions are\n BrowserName
, CountryCode
, DeviceType
,\n FileType
, OSName
, and PageId
. For more information, see \n \n Extended metrics that you can send to CloudWatch and CloudWatch Evidently.
The maximum number of metric definitions that you can specify in one \n BatchCreateRumMetricDefinitions
operation is 200.
The maximum number of metric definitions that one destination can contain is 2000.
\nExtended metrics sent are charged as CloudWatch custom metrics. Each combination of additional dimension name and dimension\n value counts as a custom metric. For more information, see \n Amazon CloudWatch Pricing.
\nYou must have\n already created a destination for the metrics before you send them. For more information, see \n PutRumMetricsDestination.
\nIf some metric definitions specified in a BatchCreateRumMetricDefinitions
operations are not valid,\n those metric definitions fail and return errors, but all valid metric definitions in the same operation still succeed.
Specifies the extended metrics and custom metrics that you want a CloudWatch RUM app monitor to send to a destination. Valid\n destinations include CloudWatch and Evidently.
\nBy default, RUM app monitors send some metrics to CloudWatch. These default metrics\n are listed in CloudWatch metrics that you can collect \n with CloudWatch RUM.
\nIn addition to these default metrics, you can choose to send extended metrics or custom metrics or both.
\nExtended metrics enable you to send metrics with additional dimensions not included \n in the default metrics. You can also send extended metrics to Evidently as well as CloudWatch. \n The valid dimension names for the additional dimensions for extended metrics are\n BrowserName
, CountryCode
, DeviceType
,\n FileType
, OSName
, and PageId
. For more information, see \n \n Extended metrics that you can send to CloudWatch and CloudWatch Evidently.
Custom metrics are metrics that you define. You can send custom metrics to CloudWatch or\n to CloudWatch Evidently or to both. With custom metrics, \n you can use any metric name and namespace, and to derive the metrics you can use any custom events, built-in events, \n custom attributes, or default attributes.
\nYou can't send custom metrics to the AWS/RUM
namespace. You must send custom metrics to a \n custom namespace that you define. The namespace that you use can't start with AWS/
. \n CloudWatch RUM prepends RUM/CustomMetrics/
to the custom namespace that you define, \n so the final namespace for your metrics in CloudWatch is \n RUM/CustomMetrics/your-custom-namespace\n
.
The maximum number of metric definitions that you can specify in one \n BatchCreateRumMetricDefinitions
operation is 200.
The maximum number of metric definitions that one destination can contain is 2000.
\nExtended metrics sent to CloudWatch and RUM custom metrics are charged as CloudWatch custom metrics. Each combination of additional dimension name and dimension\n value counts as a custom metric. For more information, see \n Amazon CloudWatch Pricing.
\nYou must have\n already created a destination for the metrics before you send them. For more information, see \n PutRumMetricsDestination.
\nIf some metric definitions specified in a BatchCreateRumMetricDefinitions
operations are not valid,\n those metric definitions fail and return errors, but all valid metric definitions in the same operation still succeed.
The pattern that defines the metric. RUM checks events that happen in a user's session\n against the pattern, and events that match the pattern are sent to the metric destination.
\nIf the metrics destination\n is CloudWatch
and the event\n also matches a value in DimensionKeys
, then the metric is published with the specified dimensions.
If this metric definition is for a custom metric instead of an extended metric, this field displays\n the metric namespace that the custom metric is published to.
" + } } }, "traits": { @@ -1569,7 +1581,7 @@ "Name": { "target": "com.amazonaws.rum#MetricName", "traits": { - "smithy.api#documentation": "The name for the metric that is defined in this structure. Valid values are the following:
\n\n PerformanceNavigationDuration
\n
\n PerformanceResourceDuration\n
\n
\n NavigationSatisfiedTransaction
\n
\n NavigationToleratedTransaction
\n
\n NavigationFrustratedTransaction
\n
\n WebVitalsCumulativeLayoutShift
\n
\n WebVitalsFirstInputDelay
\n
\n WebVitalsLargestContentfulPaint
\n
\n JsErrorCount
\n
\n HttpErrorCount
\n
\n SessionCount
\n
The name for the metric that is defined in this structure. For custom metrics, you can specify \n any name that you like. For extended metrics, valid values are the following:
\n\n PerformanceNavigationDuration
\n
\n PerformanceResourceDuration\n
\n
\n NavigationSatisfiedTransaction
\n
\n NavigationToleratedTransaction
\n
\n NavigationFrustratedTransaction
\n
\n WebVitalsCumulativeLayoutShift
\n
\n WebVitalsFirstInputDelay
\n
\n WebVitalsLargestContentfulPaint
\n
\n JsErrorCount
\n
\n HttpErrorCount
\n
\n SessionCount
\n
Use this field only if you are sending the metric to CloudWatch.
\nThis field is a map of field paths to dimension names. It defines the dimensions to associate with this\n metric in CloudWatch. Valid values for the entries in this field are the following:
\n\n \"metadata.pageId\": \"PageId\"
\n
\n \"metadata.browserName\": \"BrowserName\"
\n
\n \"metadata.deviceType\": \"DeviceType\"
\n
\n \"metadata.osName\": \"OSName\"
\n
\n \"metadata.countryCode\": \"CountryCode\"
\n
\n \"event_details.fileType\": \"FileType\"
\n
All dimensions listed in this field\n must also be included in EventPattern
.
Use this field only if you are sending the metric to CloudWatch.
\nThis field is a map of field paths to dimension names. It defines the dimensions to associate with this\n metric in CloudWatch. For extended metrics, valid values for the entries in this field are the following:
\n\n \"metadata.pageId\": \"PageId\"
\n
\n \"metadata.browserName\": \"BrowserName\"
\n
\n \"metadata.deviceType\": \"DeviceType\"
\n
\n \"metadata.osName\": \"OSName\"
\n
\n \"metadata.countryCode\": \"CountryCode\"
\n
\n \"event_details.fileType\": \"FileType\"
\n
For both extended metrics and custom metrics, \n all dimensions listed in this field\n must also be included in EventPattern
.
The pattern that defines the metric, specified as a JSON object. RUM checks events that happen in a user's session\n against the pattern, and events that match the pattern are sent to the metric destination.
\nWhen you define extended metrics, the metric definition is not valid if EventPattern
\n is omitted.
Example event patterns:
\n\n '{\n \"event_type\": [\"com.amazon.rum.js_error_event\"],\n \"metadata\": {\n \"browserName\": [ \"Chrome\", \"Safari\" ], } }'
\n
\n '{\n \"event_type\": [\"com.amazon.rum.performance_navigation_event\"],\n \"metadata\": {\n \"browserName\": [ \"Chrome\", \"Firefox\" ]\n },\n \"event_details\": {\n \"duration\": [{\n \"numeric\": [ \"<\", 2000 ]\n }]\n }\n }'
\n
\n '{\n \"event_type\": [\"com.amazon.rum.performance_navigation_event\"],\n \"metadata\": {\n \"browserName\": [ \"Chrome\", \"Safari\" ],\n \"countryCode\": [ \"US\" ]\n },\n \"event_details\": {\n \"duration\": [{\n \"numeric\": [ \">=\", 2000, \"<\", 8000 ]\n }]\n }\n }'
\n
If the metrics destination'\n is CloudWatch
and the event\n also matches a value in DimensionKeys
, then the metric is published with the specified dimensions.
If this structure is for a custom metric instead of an extended metrics, use this parameter to define the \n metric namespace for that custom metric. Do not specify this parameter if this structure is for an extended metric.
\nYou cannot use any string that starts with AWS/
for your namespace.
Use this structure to define one extended metric that RUM will send\n to CloudWatch or CloudWatch Evidently. For more information, see \n \n Additional metrics that you can send to CloudWatch and CloudWatch Evidently.
\nOnly certain combinations of values for Name
, ValueKey
, and EventPattern
\n are valid. In addition to what is displayed in the list below, the EventPattern
can also include information\n used by the DimensionKeys
field.
If Name
is PerformanceNavigationDuration
, then\n ValueKey
must be event_details.duration
and the EventPattern
\n must include {\"event_type\":[\"com.amazon.rum.performance_navigation_event\"]}
\n
If Name
is PerformanceResourceDuration
, then\n ValueKey
must be event_details.duration
and the EventPattern
\n must include {\"event_type\":[\"com.amazon.rum.performance_resource_event\"]}
\n
If Name
is NavigationSatisfiedTransaction
, then\n ValueKey
must be null and the EventPattern
\n must include {\n \"event_type\": [\"com.amazon.rum.performance_navigation_event\"],\n \"event_details\": {\n \"duration\": [{\n \"numeric\": [\">\",2000]\n }]\n }\n }
\n
If Name
is NavigationToleratedTransaction
, then\n ValueKey
must be null and the EventPattern
\n must include {\n \"event_type\": [\"com.amazon.rum.performance_navigation_event\"],\n \"event_details\": {\n \"duration\": [{\n \"numeric\": [\">=\",2000,\"<\"8000]\n }]\n }\n }
\n
If Name
is NavigationFrustratedTransaction
, then\n ValueKey
must be null and the EventPattern
\n must include {\n \"event_type\": [\"com.amazon.rum.performance_navigation_event\"],\n \"event_details\": {\n \"duration\": [{\n \"numeric\": [\">=\",8000]\n }]\n }\n }
\n
If Name
is WebVitalsCumulativeLayoutShift
, then\n ValueKey
must be event_details.value
and the EventPattern
\n must include {\"event_type\":[\"com.amazon.rum.cumulative_layout_shift_event\"]}
\n
If Name
is WebVitalsFirstInputDelay
, then\n ValueKey
must be event_details.value
and the EventPattern
\n must include {\"event_type\":[\"com.amazon.rum.first_input_delay_event\"]}
\n
If Name
is WebVitalsLargestContentfulPaint
, then\n ValueKey
must be event_details.value
and the EventPattern
\n must include {\"event_type\":[\"com.amazon.rum.largest_contentful_paint_event\"]}
\n
If Name
is JsErrorCount
, then\n ValueKey
must be null and the EventPattern
\n must include {\"event_type\":[\"com.amazon.rum.js_error_event\"]}
\n
If Name
is HttpErrorCount
, then\n ValueKey
must be null and the EventPattern
\n must include {\"event_type\":[\"com.amazon.rum.http_event\"]}
\n
If Name
is SessionCount
, then\n ValueKey
must be null and the EventPattern
\n must include {\"event_type\":[\"com.amazon.rum.session_start_event\"]}
\n
Use this structure to define one extended metric or custom metric that RUM will send\n to CloudWatch or CloudWatch Evidently. For more information, see \n \n Additional metrics that you can send to CloudWatch and CloudWatch Evidently.
\nThis structure is validated differently for extended metrics and custom metrics. For extended metrics\n that are sent to the AWS/RUM
namespace, the following validations apply:
The Namespace
parameter must be omitted or set to AWS/RUM
.
Only certain combinations of values for Name
, ValueKey
, and EventPattern
\n are valid. In addition to what is displayed in the list below, the EventPattern
can also include information\n used by the DimensionKeys
field.
If Name
is PerformanceNavigationDuration
, then\n ValueKey
must be event_details.duration
and the EventPattern
\n must include {\"event_type\":[\"com.amazon.rum.performance_navigation_event\"]}
\n
If Name
is PerformanceResourceDuration
, then\n ValueKey
must be event_details.duration
and the EventPattern
\n must include {\"event_type\":[\"com.amazon.rum.performance_resource_event\"]}
\n
If Name
is NavigationSatisfiedTransaction
, then\n ValueKey
must be null and the EventPattern
\n must include {\n \"event_type\": [\"com.amazon.rum.performance_navigation_event\"],\n \"event_details\": {\n \"duration\": [{\n \"numeric\": [\">\",2000]\n }]\n }\n }
\n
If Name
is NavigationToleratedTransaction
, then\n ValueKey
must be null and the EventPattern
\n must include {\n \"event_type\": [\"com.amazon.rum.performance_navigation_event\"],\n \"event_details\": {\n \"duration\": [{\n \"numeric\": [\">=\",2000,\"<\"8000]\n }]\n }\n }
\n
If Name
is NavigationFrustratedTransaction
, then\n ValueKey
must be null and the EventPattern
\n must include {\n \"event_type\": [\"com.amazon.rum.performance_navigation_event\"],\n \"event_details\": {\n \"duration\": [{\n \"numeric\": [\">=\",8000]\n }]\n }\n }
\n
If Name
is WebVitalsCumulativeLayoutShift
, then\n ValueKey
must be event_details.value
and the EventPattern
\n must include {\"event_type\":[\"com.amazon.rum.cumulative_layout_shift_event\"]}
\n
If Name
is WebVitalsFirstInputDelay
, then\n ValueKey
must be event_details.value
and the EventPattern
\n must include {\"event_type\":[\"com.amazon.rum.first_input_delay_event\"]}
\n
If Name
is WebVitalsLargestContentfulPaint
, then\n ValueKey
must be event_details.value
and the EventPattern
\n must include {\"event_type\":[\"com.amazon.rum.largest_contentful_paint_event\"]}
\n
If Name
is JsErrorCount
, then\n ValueKey
must be null and the EventPattern
\n must include {\"event_type\":[\"com.amazon.rum.js_error_event\"]}
\n
If Name
is HttpErrorCount
, then\n ValueKey
must be null and the EventPattern
\n must include {\"event_type\":[\"com.amazon.rum.http_event\"]}
\n
If Name
is SessionCount
, then\n ValueKey
must be null and the EventPattern
\n must include {\"event_type\":[\"com.amazon.rum.session_start_event\"]}
\n
For custom metrics, the following validation rules apply:
\nThe namespace can't be omitted and can't be AWS/RUM
. You can use the AWS/RUM
\n namespace only for extended metrics.
All dimensions listed in the DimensionKeys
field must be present in the value\n of EventPattern
.
The values that you specify for ValueKey
, EventPattern
, and \n DimensionKeys
must be fields in RUM events, so all first-level keys in these fields must \n be one of the keys in the list later in this section.
If you set a value for EventPattern
, it must be a JSON object.
For every non-empty event_details
, there must be a non-empty event_type
.
If EventPattern
contains an event_details
field, \n it must also contain an event_type
. For every built-in event_type
that you use, you must use \n a value for event_details
that corresponds to that\n event_type
. For information about event details that correspond to event types, see \n \n RUM event details.
In EventPattern
, any JSON array must contain only one value.
Valid key values for first-level keys in the ValueKey
, EventPattern
, and \n DimensionKeys
fields:
\n account_id
\n
\n application_Id
\n
\n application_version
\n
\n application_name
\n
\n batch_id
\n
\n event_details
\n
\n event_id
\n
\n event_interaction
\n
\n event_timestamp
\n
\n event_type
\n
\n event_version
\n
\n log_stream
\n
\n metadata
\n
\n sessionId
\n
\n user_details
\n
\n userId
\n
The ID of the app monitor that is sending this data.
", "smithy.api#httpLabel": {}, + "smithy.api#length": { + "min": 36, + "max": 36 + }, + "smithy.api#pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", "smithy.api#required": {} } }, @@ -1734,6 +1767,11 @@ "target": "smithy.api#String", "traits": { "smithy.api#documentation": "A unique identifier for this batch of RUM event data.
", + "smithy.api#length": { + "min": 36, + "max": 36 + }, + "smithy.api#pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", "smithy.api#required": {} } }, @@ -1793,7 +1831,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates or updates a destination to receive extended metrics from CloudWatch RUM. You can send\n extended metrics to CloudWatch or to a CloudWatch Evidently experiment.
\nFor more information about extended metrics, see AddRumMetrics.
", + "smithy.api#documentation": "Creates or updates a destination to receive extended metrics from CloudWatch RUM. You can send\n extended metrics to CloudWatch or to a CloudWatch Evidently experiment.
\nFor more information about extended metrics, see BatchCreateRumMetricDefinitions.
", "smithy.api#externalDocumentation": { "API Reference": "https://docs.aws.amazon.com/rum/latest/developerguide/PutRumMetricsDestination.html" }, @@ -1977,13 +2015,12 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "isSet", "argv": [ { - "ref": "Region" + "ref": "Endpoint" } - ], - "assign": "PartitionResult" + ] } ], "type": "tree", @@ -1991,23 +2028,20 @@ { "conditions": [ { - "fn": "isSet", + "fn": "booleanEquals", "argv": [ { - "ref": "Endpoint" - } + "ref": "UseFIPS" + }, + true ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], "type": "tree", "rules": [ { @@ -2016,67 +2050,42 @@ "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "ref": "UseDualStack" }, true ] } ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "error": "Invalid Configuration: Dualstack 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" + "endpoint": { + "url": { + "ref": "Endpoint" }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ { "conditions": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", + "fn": "isSet", "argv": [ { - "ref": "UseDualStack" - }, - true + "ref": "Region" + } ] } ], @@ -2085,90 +2094,215 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "aws.partition", "argv": [ - true, { - "fn": "getAttr", + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] }, - "supportsFIPS" + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://rum-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" } ] }, { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsDualStack" + 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://rum-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://rum-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, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsFIPS" + 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://rum.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } ] - } - ], - "type": "tree", - "rules": [ + }, { "conditions": [], "type": "tree", @@ -2176,7 +2310,7 @@ { "conditions": [], "endpoint": { - "url": "https://rum-fips.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://rum.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, @@ -2185,74 +2319,13 @@ ] } ] - }, - { - "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://rum.{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://rum.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } @@ -2261,146 +2334,55 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://rum-fips.eu-central-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-central-1" - } - }, - { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://rum-fips.eu-central-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-central-1" - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://rum.eu-central-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-central-1" - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://rum.eu-central-1.amazonaws.com" + "url": "https://rum.ap-northeast-1.amazonaws.com" } }, "params": { + "Region": "ap-northeast-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-central-1" - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://rum-fips.us-west-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-west-2" + "UseFIPS": false } }, { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://rum-fips.us-west-2.amazonaws.com" + "url": "https://rum.ap-southeast-1.amazonaws.com" } }, "params": { + "Region": "ap-southeast-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "us-west-2" - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://rum.us-west-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-west-2" + "UseFIPS": false } }, { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://rum.us-west-2.amazonaws.com" + "url": "https://rum.ap-southeast-2.amazonaws.com" } }, "params": { + "Region": "ap-southeast-2", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-west-2" - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://rum-fips.eu-north-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-north-1" + "UseFIPS": false } }, { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://rum-fips.eu-north-1.amazonaws.com" + "url": "https://rum.eu-central-1.amazonaws.com" } }, "params": { + "Region": "eu-central-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-north-1" - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://rum.eu-north-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-north-1" + "UseFIPS": false } }, { @@ -2411,48 +2393,22 @@ } }, "params": { + "Region": "eu-north-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-north-1" + "UseFIPS": false } }, { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://rum-fips.eu-west-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-2" - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://rum-fips.eu-west-2.amazonaws.com" + "url": "https://rum.eu-west-1.amazonaws.com" } }, "params": { + "Region": "eu-west-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-west-2" - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://rum.eu-west-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-west-2" + "UseFIPS": false } }, { @@ -2463,325 +2419,261 @@ } }, "params": { + "Region": "eu-west-2", "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-2" + "UseFIPS": false } }, { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://rum-fips.eu-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://rum-fips.eu-west-1.amazonaws.com" + "url": "https://rum.us-east-1.amazonaws.com" } }, "params": { + "Region": "us-east-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-west-1" + "UseFIPS": false } }, { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://rum.eu-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://rum.eu-west-1.amazonaws.com" + "url": "https://rum.us-east-2.amazonaws.com" } }, "params": { + "Region": "us-east-2", "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-1" + "UseFIPS": false } }, { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://rum-fips.ap-northeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-northeast-1" - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://rum-fips.ap-northeast-1.amazonaws.com" + "url": "https://rum.us-west-2.amazonaws.com" } }, "params": { + "Region": "us-west-2", "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-northeast-1" + "UseFIPS": false } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://rum.ap-northeast-1.api.aws" + "url": "https://rum-fips.us-east-1.api.aws" } }, "params": { + "Region": "us-east-1", "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-northeast-1" + "UseFIPS": true } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://rum.ap-northeast-1.amazonaws.com" + "url": "https://rum-fips.us-east-1.amazonaws.com" } }, "params": { + "Region": "us-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-northeast-1" + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://rum-fips.ap-southeast-1.api.aws" + "url": "https://rum.us-east-1.api.aws" } }, "params": { + "Region": "us-east-1", "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-southeast-1" + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://rum-fips.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-southeast-1" - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://rum.ap-southeast-1.api.aws" + "url": "https://rum-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { + "Region": "cn-north-1", "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-southeast-1" + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://rum.ap-southeast-1.amazonaws.com" + "url": "https://rum-fips.cn-north-1.amazonaws.com.cn" } }, "params": { + "Region": "cn-north-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-1" + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://rum-fips.ap-southeast-2.api.aws" + "url": "https://rum.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { + "Region": "cn-north-1", "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-southeast-2" + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://rum-fips.ap-southeast-2.amazonaws.com" + "url": "https://rum.cn-north-1.amazonaws.com.cn" } }, "params": { + "Region": "cn-north-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-southeast-2" + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://rum.ap-southeast-2.api.aws" + "url": "https://rum-fips.us-gov-east-1.api.aws" } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-southeast-2" + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://rum.ap-southeast-2.amazonaws.com" + "url": "https://rum-fips.us-gov-east-1.amazonaws.com" } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-2" + "UseFIPS": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://rum-fips.us-east-1.api.aws" + "url": "https://rum.us-gov-east-1.api.aws" } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": true, - "UseFIPS": true, - "Region": "us-east-1" + "UseFIPS": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://rum-fips.us-east-1.amazonaws.com" + "url": "https://rum.us-gov-east-1.amazonaws.com" } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-1" - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://rum.us-east-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-1" + "UseFIPS": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://rum.us-east-1.amazonaws.com" + "url": "https://rum-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { + "Region": "us-iso-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-1" + "UseFIPS": true } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://rum-fips.us-east-2.api.aws" + "url": "https://rum.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-east-2" + "Region": "us-iso-east-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://rum-fips.us-east-2.amazonaws.com" + "url": "https://rum-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { + "Region": "us-isob-east-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-2" + "UseFIPS": true } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://rum.us-east-2.api.aws" + "url": "https://rum.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-2" + "Region": "us-isob-east-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { - "url": "https://rum.us-east-2.amazonaws.com" + "url": "https://example.com" } }, "params": { + "Region": "us-east-1", "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-2" + "Endpoint": "https://example.com" } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" @@ -2790,7 +2682,6 @@ "params": { "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -2800,9 +2691,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -2812,9 +2703,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } } @@ -2859,6 +2750,11 @@ "target": "smithy.api#String", "traits": { "smithy.api#documentation": "A unique ID for this event.
", + "smithy.api#length": { + "min": 36, + "max": 36 + }, + "smithy.api#pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", "smithy.api#required": {} } }, @@ -3375,13 +3271,23 @@ "userId": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The ID of the user for this user session. This ID is generated by RUM and does not include any \n personally identifiable information about the user.
" + "smithy.api#documentation": "The ID of the user for this user session. This ID is generated by RUM and does not include any \n personally identifiable information about the user.
", + "smithy.api#length": { + "min": 36, + "max": 36 + }, + "smithy.api#pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" } }, "sessionId": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The session ID that the performance events are from.
" + "smithy.api#documentation": "The session ID that the performance events are from.
", + "smithy.api#length": { + "min": 36, + "max": 36 + }, + "smithy.api#pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" } } }, diff --git a/codegen/sdk-codegen/aws-models/ssm.json b/codegen/sdk-codegen/aws-models/ssm.json index 5419f45c2f8..b61da0a4d75 100644 --- a/codegen/sdk-codegen/aws-models/ssm.json +++ b/codegen/sdk-codegen/aws-models/ssm.json @@ -251,6 +251,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#AddTagsToResourceResult": { @@ -294,7 +297,7 @@ "target": "com.amazonaws.ssm#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "If you specify true
for this value, your automation or command continue to run\n even if we can't gather information about the state of your CloudWatch alarm. The default\n value is false
.
When this value is true, your automation or command continues to run in\n cases where we can’t retrieve alarm status information from CloudWatch. In cases\n where we successfully retrieve an alarm status of OK or INSUFFICIENT_DATA, the automation or\n command continues to run, regardless of this value. Default is false.
" } }, "Alarms": { @@ -831,7 +834,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": true, + "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -860,13 +863,12 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "isSet", "argv": [ { - "ref": "Region" + "ref": "Endpoint" } - ], - "assign": "PartitionResult" + ] } ], "type": "tree", @@ -874,14 +876,20 @@ { "conditions": [ { - "fn": "isSet", + "fn": "booleanEquals", "argv": [ { - "ref": "Endpoint" - } + "ref": "UseFIPS" + }, + true ] } ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], "type": "tree", "rules": [ { @@ -890,67 +898,42 @@ "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "ref": "UseDualStack" }, true ] } ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "error": "Invalid Configuration: Dualstack 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" + "endpoint": { + "url": { + "ref": "Endpoint" }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ { "conditions": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", + "fn": "isSet", "argv": [ { - "ref": "UseDualStack" - }, - true + "ref": "Region" + } ] } ], @@ -959,123 +942,248 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "aws.partition", "argv": [ - true, { - "fn": "getAttr", + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] }, - "supportsFIPS" + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://ssm-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" } ] }, { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsDualStack" + 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://ssm.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://ssm-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" } ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://ssm-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, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsFIPS" + true ] } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "stringEquals", + "fn": "booleanEquals", "argv": [ - "aws-us-gov", + true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "name" + "supportsDualStack" ] } ] } ], - "endpoint": { - "url": "https://ssm.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://ssm.{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://ssm-fips.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://ssm.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, @@ -1084,74 +1192,13 @@ ] } ] - }, - { - "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://ssm.{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://ssm.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } @@ -1160,1722 +1207,562 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region ap-south-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.ap-south-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-south-2", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-south-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.ap-south-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-south-2", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-south-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm.ap-south-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-south-2", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-south-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.ap-south-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-south-2", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.ap-south-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.ap-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm.ap-south-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.ap-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.eu-south-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-south-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.eu-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-south-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm.eu-south-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-south-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.eu-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-south-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-south-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.eu-south-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-south-2", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-south-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.eu-south-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-south-2", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-south-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm.eu-south-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-south-2", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-south-2 with FIPS disabled and DualStack disabled", + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.eu-south-2.amazonaws.com" + "url": "https://ssm.af-south-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-south-2", - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-gov-east-1", - "UseDualStack": true + "Region": "af-south-1" } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-gov-east-1", - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.us-gov-east-1.api.aws" + "url": "https://ssm.ap-east-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-gov-east-1", - "UseDualStack": true + "Region": "ap-east-1" } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.us-gov-east-1.amazonaws.com" + "url": "https://ssm.ap-northeast-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-gov-east-1", - "UseDualStack": false - } - }, - { - "documentation": "For region me-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.me-central-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "me-central-1", - "UseDualStack": true - } - }, - { - "documentation": "For region me-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.me-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "me-central-1", - "UseDualStack": false + "Region": "ap-northeast-1" } }, { - "documentation": "For region me-central-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.me-central-1.api.aws" + "url": "https://ssm.ap-northeast-2.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "me-central-1", - "UseDualStack": true + "Region": "ap-northeast-2" } }, { - "documentation": "For region me-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.me-central-1.amazonaws.com" + "url": "https://ssm.ap-northeast-3.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "me-central-1", - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.ca-central-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": true - } - }, - { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.ca-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": false + "Region": "ap-northeast-3" } }, { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.ca-central-1.api.aws" + "url": "https://ssm.ap-south-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": true + "Region": "ap-south-1" } }, { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.ca-central-1.amazonaws.com" + "url": "https://ssm.ap-southeast-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.eu-central-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.eu-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": false + "Region": "ap-southeast-1" } }, { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.eu-central-1.api.aws" + "url": "https://ssm.ap-southeast-2.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.eu-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "UseFIPS": true, - "Region": "us-iso-west-1", - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.us-iso-west-1.c2s.ic.gov" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-iso-west-1", - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "UseFIPS": false, - "Region": "us-iso-west-1", - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.us-iso-west-1.c2s.ic.gov" - } - }, - "params": { - "UseFIPS": false, - "Region": "us-iso-west-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.eu-central-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-central-2", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-central-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.eu-central-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-central-2", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm.eu-central-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-central-2", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-central-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.eu-central-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-central-2", - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.us-west-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": true - } - }, - { - "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.us-west-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm.us-west-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": true - } - }, - { - "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.us-west-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.us-west-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": true - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.us-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm.us-west-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": true - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.us-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": false - } - }, - { - "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.af-south-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": true - } - }, - { - "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.af-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": false - } - }, - { - "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm.af-south-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": true - } - }, - { - "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.af-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.eu-north-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.eu-north-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm.eu-north-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.eu-north-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.eu-west-3.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.eu-west-3.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm.eu-west-3.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.eu-west-3.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.eu-west-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.eu-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm.eu-west-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.eu-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.eu-west-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.eu-west-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm.eu-west-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.eu-west-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.ap-northeast-3.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-northeast-3", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.ap-northeast-3.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-northeast-3", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm.ap-northeast-3.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-northeast-3", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.ap-northeast-3.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-northeast-3", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.ap-northeast-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm.ap-northeast-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.ap-northeast-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm.ap-northeast-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": false - } - }, - { - "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.me-south-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "me-south-1", - "UseDualStack": true - } - }, - { - "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.me-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "me-south-1", - "UseDualStack": false - } - }, - { - "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm.me-south-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "me-south-1", - "UseDualStack": true - } - }, - { - "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.me-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "me-south-1", - "UseDualStack": false - } - }, - { - "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.sa-east-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": true - } - }, - { - "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.sa-east-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": false - } - }, - { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm.sa-east-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": true - } - }, - { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.sa-east-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.ap-east-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.ap-east-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm.ap-east-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.ap-east-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-fips.us-gov-west-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-gov-west-1", - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm.us-gov-west-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-gov-west-1", - "UseDualStack": false + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-2" } }, { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.us-gov-west-1.api.aws" + "url": "https://ssm.ap-southeast-3.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-gov-west-1", - "UseDualStack": true + "Region": "ap-southeast-3" } }, { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.us-gov-west-1.amazonaws.com" + "url": "https://ssm.ca-central-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-gov-west-1", - "UseDualStack": false + "Region": "ca-central-1" } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-fips.ap-southeast-1.api.aws" + "url": "https://ssm-fips.ca-central-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "ca-central-1" } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-fips.ap-southeast-1.amazonaws.com" + "url": "https://ssm.eu-central-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": false + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-central-1" } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.ap-southeast-1.api.aws" + "url": "https://ssm.eu-north-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "eu-north-1" } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.ap-southeast-1.amazonaws.com" + "url": "https://ssm.eu-south-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "eu-south-1" } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-fips.ap-southeast-2.api.aws" + "url": "https://ssm.eu-west-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": true + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-1" } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-fips.ap-southeast-2.amazonaws.com" + "url": "https://ssm.eu-west-2.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": false + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-2" } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.ap-southeast-2.api.aws" + "url": "https://ssm.eu-west-3.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "eu-west-3" } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.ap-southeast-2.amazonaws.com" + "url": "https://ssm.me-south-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "me-south-1" } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://ssm.sa-east-1.amazonaws.com" + } }, "params": { - "UseFIPS": true, - "Region": "us-iso-east-1", - "UseDualStack": true + "UseDualStack": false, + "UseFIPS": false, + "Region": "sa-east-1" } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://ssm.us-east-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "us-iso-east-1", - "UseDualStack": false + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1" } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://ssm-fips.us-east-1.amazonaws.com" + } }, "params": { - "UseFIPS": false, - "Region": "us-iso-east-1", - "UseDualStack": true + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1" } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.us-iso-east-1.c2s.ic.gov" + "url": "https://ssm.us-east-2.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-iso-east-1", - "UseDualStack": false + "Region": "us-east-2" } }, { - "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-fips.ap-southeast-3.api.aws" + "url": "https://ssm-fips.us-east-2.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-3", - "UseDualStack": true + "Region": "us-east-2" } }, { - "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack disabled", + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-fips.ap-southeast-3.amazonaws.com" + "url": "https://ssm.us-west-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-southeast-3", - "UseDualStack": false + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-west-1" } }, { - "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack enabled", + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.ap-southeast-3.api.aws" + "url": "https://ssm-fips.us-west-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "ap-southeast-3", - "UseDualStack": true + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-west-1" } }, { - "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.ap-southeast-3.amazonaws.com" + "url": "https://ssm.us-west-2.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-3", - "UseDualStack": false + "Region": "us-west-2" } }, { - "documentation": "For region ap-southeast-4 with FIPS enabled and DualStack enabled", + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-fips.ap-southeast-4.api.aws" + "url": "https://ssm-fips.us-west-2.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-4", - "UseDualStack": true + "Region": "us-west-2" } }, { - "documentation": "For region ap-southeast-4 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ssm-fips.ap-southeast-4.amazonaws.com" + "url": "https://ssm-fips.us-east-1.api.aws" } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-4", - "UseDualStack": false + "Region": "us-east-1" } }, { - "documentation": "For region ap-southeast-4 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ssm.ap-southeast-4.api.aws" + "url": "https://ssm.us-east-1.api.aws" } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-4", - "UseDualStack": true + "Region": "us-east-1" } }, { - "documentation": "For region ap-southeast-4 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.ap-southeast-4.amazonaws.com" + "url": "https://ssm.cn-north-1.amazonaws.com.cn" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-4", - "UseDualStack": false + "Region": "cn-north-1" } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-fips.us-east-1.api.aws" + "url": "https://ssm.cn-northwest-1.amazonaws.com.cn" } }, "params": { - "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": true + "UseDualStack": false, + "UseFIPS": false, + "Region": "cn-northwest-1" } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ssm-fips.us-east-1.amazonaws.com" + "url": "https://ssm-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": false + "Region": "cn-north-1" } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.us-east-1.api.aws" + "url": "https://ssm-fips.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": true + "UseDualStack": false, + "UseFIPS": true, + "Region": "cn-north-1" } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ssm.us-east-1.amazonaws.com" + "url": "https://ssm.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": false + "Region": "cn-north-1" } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-fips.us-east-2.api.aws" + "url": "https://ssm.us-gov-east-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": true + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-gov-east-1" } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-fips.us-east-2.amazonaws.com" + "url": "https://ssm.us-gov-east-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-gov-east-1" } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.us-east-2.api.aws" + "url": "https://ssm.us-gov-west-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-gov-west-1" } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.us-east-2.amazonaws.com" + "url": "https://ssm.us-gov-west-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": false + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-gov-west-1" } }, { - "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ssm-fips.cn-northwest-1.api.amazonwebservices.com.cn" + "url": "https://ssm-fips.us-gov-east-1.api.aws" } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": true + "Region": "us-gov-east-1" } }, { - "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ssm-fips.cn-northwest-1.amazonaws.com.cn" + "url": "https://ssm.us-gov-east-1.api.aws" } }, "params": { - "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": false + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-gov-east-1" } }, { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.cn-northwest-1.api.amazonwebservices.com.cn" + "url": "https://ssm.us-iso-east-1.c2s.ic.gov" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": true + "Region": "us-iso-east-1" } }, { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm.cn-northwest-1.amazonaws.com.cn" + "url": "https://ssm-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": false + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-iso-east-1" } }, { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://ssm.us-isob-east-1.sc2s.sgov.gov" + } }, "params": { - "UseFIPS": true, - "Region": "us-isob-east-1", - "UseDualStack": true + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-isob-east-1" } }, { @@ -2886,46 +1773,35 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-isob-east-1", - "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": { - "UseFIPS": false, - "Region": "us-isob-east-1", - "UseDualStack": true + "Region": "us-isob-east-1" } }, { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { - "url": "https://ssm.us-isob-east-1.sc2s.sgov.gov" + "url": "https://example.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-isob-east-1", - "UseDualStack": false + "Region": "us-east-1", + "Endpoint": "https://example.com" } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { - "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": false, + "UseFIPS": false, "Endpoint": "https://example.com" } }, @@ -2935,9 +1811,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "UseDualStack": false, "UseFIPS": true, "Region": "us-east-1", - "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2947,9 +1823,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "UseDualStack": true, "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": true, "Endpoint": "https://example.com" } } @@ -3034,6 +1910,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#AssociateOpsItemRelatedItemResponse": { @@ -3045,6 +1924,9 @@ "smithy.api#documentation": "The association ID.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssm#AssociatedInstances": { @@ -5355,7 +4237,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.ssm#CancelCommandResult": { @@ -5395,6 +4278,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#CancelMaintenanceWindowExecutionResult": { @@ -6743,6 +5629,9 @@ "smithy.api#documentation": "Reserved for internal use.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#CreateActivationResult": { @@ -6875,6 +5764,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#CreateAssociationBatchRequestEntries": { @@ -7036,7 +5928,7 @@ "Name": { "target": "com.amazonaws.ssm#DocumentARN", "traits": { - "smithy.api#documentation": "The name of the SSM Command document or Automation runbook that contains the configuration\n information for the managed node.
\nYou can specify Amazon Web Services-predefined documents, documents you created, or a document that is\n shared with you from another account.
\nFor Systems Manager documents (SSM documents) that are shared with you from other Amazon Web Services accounts, you\n must specify the complete SSM document ARN, in the following format:
\n\n arn:partition:ssm:region:account-id:document/document-name\n
\n
For example:
\n\n arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document
\n
For Amazon Web Services-predefined documents and SSM documents you created in your account, you only need\n to specify the document name. For example, AWS-ApplyPatchBaseline
or\n My-Document
.
The name of the SSM Command document or Automation runbook that contains the configuration\n information for the managed node.
\nYou can specify Amazon Web Services-predefined documents, documents you created, or a document that is\n shared with you from another Amazon Web Services account.
\nFor Systems Manager documents (SSM documents) that are shared with you from other Amazon Web Services accounts, you\n must specify the complete SSM document ARN, in the following format:
\n\n arn:partition:ssm:region:account-id:document/document-name\n
\n
For example:
\n\n arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document
\n
For Amazon Web Services-predefined documents and SSM documents you created in your account, you only need\n to specify the document name. For example, AWS-ApplyPatchBaseline
or\n My-Document
.
The content for the new SSM document in JSON or YAML format. We recommend storing the\n contents for your new document in an external JSON or YAML file and referencing the file in a\n command.
\nFor examples, see the following topics in the Amazon Web Services Systems Manager User Guide.
\nThe content for the new SSM document in JSON or YAML format. The content of the document\n must not exceed 64KB. This quota also includes the content specified for input parameters at\n runtime. We recommend storing the contents for your new document in an external JSON or YAML file\n and referencing the file in a command.
\nFor examples, see the following topics in the Amazon Web Services Systems Manager User Guide.
\nOptional metadata that you assign to a resource. Tags enable you to categorize a resource in\n different ways, such as by purpose, owner, or environment. For example, you might want to tag an\n SSM document to identify the types of targets or the environment where it will run. In this case,\n you could specify the following key-value pairs:
\n\n Key=OS,Value=Windows
\n
\n Key=Environment,Value=Production
\n
To add tags to an existing SSM document, use the AddTagsToResource\n operation.
\nOptional metadata that you assign to a resource. Tags enable you to categorize a resource in\n different ways, such as by purpose, owner, or environment. For example, you might want to tag a\n maintenance window to identify the type of tasks it will run, the types of targets, and the\n environment it will run in. In this case, you could specify the following key-value pairs:
\n\n Key=TaskType,Value=AgentUpdate
\n
\n Key=OS,Value=Windows
\n
\n Key=Environment,Value=Production
\n
To add tags to an existing maintenance window, use the AddTagsToResource\n operation.
\nThe target Amazon Web Services account where you want to create an OpsItem. To make this call, your account\n must be configured to work with OpsItems across accounts. For more information, see Setting\n up OpsCenter to work with OpsItems across accounts in the\n Amazon Web Services Systems Manager User Guide.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#CreateOpsItemResponse": { @@ -7545,6 +6449,9 @@ "smithy.api#documentation": "The OpsItem Amazon Resource Name (ARN).
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssm#CreateOpsMetadata": { @@ -7598,6 +6505,9 @@ "smithy.api#documentation": "Optional metadata that you assign to a resource. You can specify a maximum of five tags for\n an OpsMetadata object. Tags enable you to categorize a resource in different ways, such as by\n purpose, owner, or environment. For example, you might want to tag an OpsMetadata object to\n identify an environment or target Amazon Web Services Region. In this case, you could specify the following\n key-value pairs:
\n\n Key=Environment,Value=Production
\n
\n Key=Region,Value=us-east-2
\n
Optional metadata that you assign to a resource. Tags enable you to categorize a resource in\n different ways, such as by purpose, owner, or environment. For example, you might want to tag a\n patch baseline to identify the severity level of patches it specifies and the operating system\n family it applies to. In this case, you could specify the following key-value pairs:
\n\n Key=PatchSeverity,Value=Critical
\n
\n Key=OS,Value=Windows
\n
To add tags to an existing patch baseline, use the AddTagsToResource\n operation.
\nSpecify information about the data sources to synchronize. This parameter is required if the\n SyncType
value is SyncFromSource.
The association ID that you want to delete.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DeleteAssociationResult": { @@ -7982,6 +6904,9 @@ "smithy.api#documentation": "Some SSM document types require that you specify a Force
flag before you can\n delete the document. For example, you must specify a Force
flag to delete a document\n of type ApplicationConfigurationSchema
. You can restrict access to the\n Force
flag in an Identity and Access Management (IAM) policy.
Specify the type of resource data sync to delete.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DeleteResourceDataSyncResult": { @@ -8368,11 +7314,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DeleteResourcePolicyResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.ssm#DeliveryTimedOutCount": { "type": "integer", @@ -8410,6 +7362,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DeregisterManagedInstanceResult": { @@ -8453,6 +7408,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DeregisterPatchBaselineForPatchGroupResult": { @@ -8519,6 +7477,9 @@ "smithy.api#documentation": "The system checks if the target is being referenced by a task. If the target is being\n referenced, the system returns an error and doesn't deregister the target from the maintenance\n window.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DeregisterTargetFromMaintenanceWindowResult": { @@ -8575,6 +7536,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DeregisterTaskFromMaintenanceWindowResult": { @@ -8694,6 +7658,9 @@ "smithy.api#documentation": "A token to start the list. Use this token to get the next set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeActivationsResult": { @@ -8810,6 +7777,9 @@ "smithy.api#documentation": "A token to start the list. Use this token to get the next set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeAssociationExecutionTargetsResult": { @@ -8887,6 +7857,9 @@ "smithy.api#documentation": "A token to start the list. Use this token to get the next set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeAssociationExecutionsResult": { @@ -8933,6 +7906,9 @@ "smithy.api#documentation": "Specify the association version to retrieve. To view the latest version, either specify\n $LATEST
for this parameter, or omit this parameter. To view a list of all\n associations for a managed node, use ListAssociations. To get a list of\n versions for a specific association, use ListAssociationVersions.
The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeAutomationExecutionsResult": { @@ -9090,6 +8069,9 @@ "smithy.api#documentation": "Indicates whether to list step executions in reverse order by start time. The default value\n is 'false'.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeAutomationStepExecutionsResult": { @@ -9154,6 +8136,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeAvailablePatchesResult": { @@ -9255,6 +8240,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeDocumentPermissionResponse": { @@ -9278,6 +8266,9 @@ "smithy.api#documentation": "The token for the next set of items to return. Use this token to get the next set of\n results.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssm#DescribeDocumentRequest": { @@ -9302,6 +8293,9 @@ "smithy.api#documentation": "An optional field specifying the version of the artifact associated with the document. For\n example, \"Release 12, Update 6\". This value is unique across all versions of a document, and\n can't be changed.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeDocumentResult": { @@ -9367,6 +8361,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeEffectiveInstanceAssociationsResult": { @@ -9441,6 +8438,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeEffectivePatchesForPatchBaselineResult": { @@ -9512,6 +8512,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeInstanceAssociationsStatusResult": { @@ -9594,6 +8597,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeInstanceInformationResult": { @@ -9697,6 +8703,9 @@ "smithy.api#documentation": "The maximum number of patches to return (per page).
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeInstancePatchStatesForPatchGroupResult": { @@ -9739,6 +8748,9 @@ "smithy.api#documentation": "The maximum number of managed nodes to return (per page).
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeInstancePatchStatesResult": { @@ -9819,6 +8831,9 @@ "smithy.api#documentation": "The maximum number of patches to return (per page).
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeInstancePatchesResult": { @@ -9889,6 +8904,9 @@ "smithy.api#documentation": "The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeInventoryDeletionsResult": { @@ -9970,6 +8988,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeMaintenanceWindowExecutionTaskInvocationsResult": { @@ -10044,6 +9065,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeMaintenanceWindowExecutionTasksResult": { @@ -10115,6 +9139,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeMaintenanceWindowExecutionsResult": { @@ -10200,6 +9227,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeMaintenanceWindowScheduleResult": { @@ -10274,6 +9304,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeMaintenanceWindowTargetsResult": { @@ -10348,6 +9381,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeMaintenanceWindowTasksResult": { @@ -10443,6 +9479,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeMaintenanceWindowsForTargetResult": { @@ -10484,6 +9523,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeMaintenanceWindowsResult": { @@ -10547,6 +9589,9 @@ "smithy.api#documentation": "A token to start the list. Use this token to get the next set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeOpsItemsResponse": { @@ -10564,6 +9609,9 @@ "smithy.api#documentation": "A list of OpsItems.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssm#DescribeParameters": { @@ -10628,6 +9676,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeParametersResult": { @@ -10692,6 +9743,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribePatchBaselinesResult": { @@ -10741,6 +9795,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribePatchGroupStateResult": { @@ -10877,6 +9934,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribePatchGroupsResult": { @@ -10955,6 +10015,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribePatchPropertiesResult": { @@ -11032,6 +10095,9 @@ "smithy.api#documentation": "One or more filters to limit the type of sessions returned by the request.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DescribeSessionsResponse": { @@ -11049,6 +10115,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssm#DescriptionInDocument": { @@ -11097,11 +10166,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#DisassociateOpsItemRelatedItemResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.ssm#DocumentARN": { "type": "string", @@ -11204,7 +10279,7 @@ "Owner": { "target": "com.amazonaws.ssm#DocumentOwner", "traits": { - "smithy.api#documentation": "The Amazon Web Services user account that created the document.
" + "smithy.api#documentation": "The Amazon Web Services user that created the document.
" } }, "CreatedDate": { @@ -11506,7 +10581,7 @@ "Owner": { "target": "com.amazonaws.ssm#DocumentOwner", "traits": { - "smithy.api#documentation": "The Amazon Web Services user account that created the document.
" + "smithy.api#documentation": "The Amazon Web Services user that created the document.
" } }, "VersionName": { @@ -11724,7 +10799,7 @@ } }, "traits": { - "smithy.api#documentation": "Parameters specified in a System Manager document that run on the server when the command is\n run.
" + "smithy.api#documentation": "Parameters specified in a Systems Manager document that run on the server when the command is run.\n
" } }, "com.amazonaws.ssm#DocumentParameterDefaultValue": { @@ -11774,7 +10849,7 @@ "code": "DocumentPermissionLimit", "httpResponseCode": 400 }, - "smithy.api#documentation": "The document can't be shared with more Amazon Web Services user accounts. You can specify a maximum of\n 20 accounts per API operation to share a private document.
\nBy default, you can share a private document with a maximum of 1,000 accounts and publicly\n share up to five documents.
\nIf you need to increase the quota for privately or publicly shared Systems Manager documents, contact\n Amazon Web Services Support.
", + "smithy.api#documentation": "The document can't be shared with more Amazon Web Services accounts. You can specify a maximum of 20\n accounts per API operation to share a private document.
\nBy default, you can share a private document with a maximum of 1,000 accounts and publicly\n share up to five documents.
\nIf you need to increase the quota for privately or publicly shared Systems Manager documents, contact\n Amazon Web Services Support.
", "smithy.api#error": "client" } }, @@ -11824,7 +10899,7 @@ "VersionName": { "target": "com.amazonaws.ssm#DocumentVersionName", "traits": { - "smithy.api#documentation": "An optional field specifying the version of the artifact associated with the document. For example, \"Release 12, Update 6\". This value is unique across all versions of a document, and can't be changed.
" + "smithy.api#documentation": "An optional field specifying the version of the artifact associated with the document. For\n example, \"Release 12, Update 6\". This value is unique across all versions of a document, and\n can't be changed.
" } } }, @@ -12534,6 +11609,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#GetAutomationExecutionResult": { @@ -12589,6 +11667,9 @@ "smithy.api#documentation": "(Optional) The specific time for which you want to get calendar state information, in ISO 8601 format. If you don't specify a\n value or AtTime
, the current time is used.
The time, as an ISO 8601 string,\n that the calendar state will change. If the current calendar state is OPEN
,\n NextTransitionTime
indicates when the calendar state changes to\n CLOSED
, and vice-versa.
The name of the step for which you want detailed results. If the document contains only one\n step, you can omit the name and details for that step. If the document contains more than one\n step, you must specify the name of the step for which you want to view details. Be sure to\n specify the name of the step, not the name of a plugin like\n aws:RunShellScript
.
To find the PluginName
, check the document content and find the name of the\n step you want details for. Alternatively, use ListCommandInvocations with the\n CommandId
and Details
parameters. The PluginName
is the\n Name
attribute of the CommandPlugin
object in the\n CommandPlugins
list.
The status of the connection to the managed node. For example, 'Connected' or 'Not\n Connected'.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssm#GetDefaultPatchBaseline": { @@ -12941,6 +12034,9 @@ "smithy.api#documentation": "Returns the default patch baseline for the specified operating system.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#GetDefaultPatchBaselineResult": { @@ -13006,6 +12102,9 @@ "smithy.api#documentation": "Defines the basic information about a patch baseline override.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#GetDeployablePatchSnapshotForInstanceResult": { @@ -13088,6 +12187,9 @@ "smithy.api#documentation": "Returns the document in the specified format. The document format can be either JSON or\n YAML. JSON is the default format.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#GetDocumentResult": { @@ -13248,6 +12350,9 @@ "smithy.api#documentation": "The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#GetInventoryResult": { @@ -13342,6 +12447,9 @@ "smithy.api#documentation": "Returns the sub-type schema for a specified inventory type.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#GetInventorySchemaResult": { @@ -13411,6 +12519,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#GetMaintenanceWindowExecutionResult": { @@ -13518,6 +12629,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#GetMaintenanceWindowExecutionTaskInvocationResult": { @@ -13614,6 +12728,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#GetMaintenanceWindowExecutionTaskResult": { @@ -13722,6 +12839,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#GetMaintenanceWindowResult": { @@ -13861,6 +12981,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#GetMaintenanceWindowTaskResult": { @@ -14004,6 +13127,9 @@ "smithy.api#documentation": "The OpsItem Amazon Resource Name (ARN).
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#GetOpsItemResponse": { @@ -14015,6 +13141,9 @@ "smithy.api#documentation": "The OpsItem.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssm#GetOpsMetadata": { @@ -14073,6 +13202,9 @@ "smithy.api#documentation": "A token to start the list. Use this token to get the next set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#GetOpsMetadataResult": { @@ -14176,6 +13308,9 @@ "smithy.api#documentation": "The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#GetOpsSummaryResult": { @@ -14282,6 +13417,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#GetParameterHistoryResult": { @@ -14318,6 +13456,9 @@ "smithy.api#documentation": "Return decrypted values for secure string parameters. This flag is ignored for\n String
and StringList
parameter types.
A token to start the list. Use this token to get the next set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#GetParametersByPathResult": { @@ -14477,6 +13621,9 @@ "smithy.api#documentation": "Return decrypted secure string value. Return decrypted values for secure string parameters.\n This flag is ignored for String
and StringList
parameter types.
Returns the operating system rule specified for patch groups using the patch\n baseline.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#GetPatchBaselineForPatchGroupResult": { @@ -14587,6 +13737,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#GetPatchBaselineResult": { @@ -14733,6 +13886,9 @@ "smithy.api#documentation": "The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#GetResourcePoliciesResponse": { @@ -14750,6 +13906,9 @@ "smithy.api#documentation": "An array of the Policy
object.
The ID of the service setting to get. The setting ID can be one of the following.
\n\n /ssm/automation/customer-script-log-destination
\n
\n /ssm/automation/customer-script-log-group-name
\n
\n /ssm/documents/console/public-sharing-permission
\n
\n /ssm/managed-instance/activation-tier
\n
\n /ssm/opsinsights/opscenter
\n
\n /ssm/parameter-store/default-parameter-tier
\n
\n /ssm/parameter-store/high-throughput-enabled
\n
The ID of the service setting to get. The setting ID can be one of the following.
\n\n /ssm/managed-instance/default-ec2-instance-management-role
\n
\n /ssm/automation/customer-script-log-destination
\n
\n /ssm/automation/customer-script-log-group-name
\n
\n /ssm/documents/console/public-sharing-permission
\n
\n /ssm/managed-instance/activation-tier
\n
\n /ssm/opsinsights/opscenter
\n
\n /ssm/parameter-store/default-parameter-tier
\n
\n /ssm/parameter-store/high-throughput-enabled
\n
The request body of the GetServiceSetting API operation.
" + "smithy.api#documentation": "The request body of the GetServiceSetting API operation.
", + "smithy.api#input": {} } }, "com.amazonaws.ssm#GetServiceSettingResult": { @@ -17356,6 +16516,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#LabelParameterVersionResult": { @@ -17460,6 +16623,9 @@ "smithy.api#documentation": "A token to start the list. Use this token to get the next set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#ListAssociationVersionsResult": { @@ -17527,6 +16693,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#ListAssociationsResult": { @@ -17622,6 +16791,9 @@ "smithy.api#documentation": "(Optional) If set this returns the response of the command executions and any command\n output. The default value is false
.
(Optional) One or more filters. Use a filter to return a more specific list of results.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#ListCommandsResult": { @@ -17798,6 +16973,9 @@ "smithy.api#documentation": "The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#ListComplianceItemsResult": { @@ -17868,6 +17046,9 @@ "smithy.api#documentation": "The maximum number of items to return for this call. Currently, you can specify null or 50.\n The call also returns a token that you can specify in a subsequent call to get the next set of\n results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#ListComplianceSummariesResult": { @@ -17949,6 +17130,9 @@ "smithy.api#documentation": "The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#ListDocumentMetadataHistoryResponse": { @@ -17984,6 +17168,9 @@ "smithy.api#documentation": "The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssm#ListDocumentVersions": { @@ -18038,6 +17225,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#ListDocumentVersionsResult": { @@ -18114,6 +17304,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#ListDocumentsResult": { @@ -18198,6 +17391,9 @@ "smithy.api#documentation": "The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#ListInventoryEntriesResult": { @@ -18294,6 +17490,9 @@ "smithy.api#documentation": "A token to start the list. Use this token to get the next set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#ListOpsItemEventsResponse": { @@ -18311,6 +17510,9 @@ "smithy.api#documentation": "A list of event information for the specified OpsItems.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssm#ListOpsItemRelatedItems": { @@ -18366,6 +17568,9 @@ "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a previous\n call.)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#ListOpsItemRelatedItemsResponse": { @@ -18383,6 +17588,9 @@ "smithy.api#documentation": "A list of related-item resources for the specified OpsItem.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssm#ListOpsMetadata": { @@ -18443,6 +17651,9 @@ "smithy.api#documentation": "A token to start the list. Use this token to get the next set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#ListOpsMetadataResult": { @@ -18513,6 +17724,9 @@ "smithy.api#documentation": "The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#ListResourceComplianceSummariesResult": { @@ -18583,6 +17797,9 @@ "smithy.api#documentation": "The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#ListResourceDataSyncResult": { @@ -18642,6 +17859,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#ListTagsForResourceResult": { @@ -19998,7 +19218,7 @@ } ], "traits": { - "smithy.api#documentation": "Shares a Amazon Web Services Systems Manager document (SSM document)publicly or privately. If you share a document\n privately, you must specify the Amazon Web Services user account IDs for those people who can use the\n document. If you share a document publicly, you must specify All as the\n account ID.
" + "smithy.api#documentation": "Shares a Amazon Web Services Systems Manager document (SSM document)publicly or privately. If you share a document\n privately, you must specify the Amazon Web Services user IDs for those people who can use the document. If\n you share a document publicly, you must specify All as the account\n ID.
" } }, "com.amazonaws.ssm#ModifyDocumentPermissionRequest": { @@ -20021,13 +19241,13 @@ "AccountIdsToAdd": { "target": "com.amazonaws.ssm#AccountIdList", "traits": { - "smithy.api#documentation": "The Amazon Web Services user accounts that should have access to the document. The account IDs can\n either be a group of account IDs or All.
" + "smithy.api#documentation": "The Amazon Web Services users that should have access to the document. The account IDs can either be a\n group of account IDs or All.
" } }, "AccountIdsToRemove": { "target": "com.amazonaws.ssm#AccountIdList", "traits": { - "smithy.api#documentation": "The Amazon Web Services user accounts that should no longer have access to the document. The Amazon Web Services\n user account can either be a group of account IDs or All. This action has a\n higher priority than AccountIdsToAdd. If you specify an account ID to add\n and the same ID to remove, the system removes access to the document.
" + "smithy.api#documentation": "The Amazon Web Services users that should no longer have access to the document. The Amazon Web Services user\n can either be a group of account IDs or All. This action has a higher\n priority than AccountIdsToAdd. If you specify an ID to add and the same ID\n to remove, the system removes access to the document.
" } }, "SharedDocumentVersion": { @@ -20036,11 +19256,17 @@ "smithy.api#documentation": "(Optional) The version of the document to share. If it isn't specified, the system choose\n the Default
version to share.
The mode for uploading compliance items. You can specify COMPLETE
or\n PARTIAL
. In COMPLETE
mode, the system overwrites all existing\n compliance information for the resource. You must provide a full list of compliance items each\n time you send the request.
In PARTIAL
mode, the system overwrites compliance information for a specific\n association. The association must be configured with SyncCompliance
set to\n MANUAL
. By default, all requests use COMPLETE
mode.
This attribute is only valid for association compliance.
\nThe Key Management Service (KMS) ID that you want to use to encrypt a\n parameter. Either the default KMS key automatically assigned to your Amazon Web Services account\n or a custom key. Required for parameters that use the SecureString
\n data type.
If you don't specify a key ID, the system uses the default key associated with your\n Amazon Web Services account.
\nTo use your default KMS key, choose the SecureString
data type, and do not specify the Key ID
when you create the parameter. The system automatically populates\n Key ID
with your default KMS key.
To use a custom KMS key, choose the SecureString
\n data type with the Key ID
parameter.
The Key Management Service (KMS) ID that you want to use to encrypt a\n parameter. Use a custom key for better security. Required for parameters that use the SecureString
data type.
If you don't specify a key ID, the system uses the default key associated with your\n Amazon Web Services account which is not as secure as using a custom key.
\nTo use a custom KMS key, choose the SecureString
\n data type with the Key ID
parameter.
The data type for a String
parameter. Supported data types include plain text\n and Amazon Machine Image (AMI) IDs.
\n The following data type values are supported.\n
\n\n text
\n
\n aws:ec2:image
\n
\n aws:ssm:integration
\n
When you create a String
parameter and specify aws:ec2:image
,\n Amazon Web Services Systems Manager validates the parameter value is in the required format, such as\n ami-12345abcdeEXAMPLE
, and that the specified AMI is available in your\n Amazon Web Services account. For more information, see Native parameter support\n for Amazon Machine Image (AMI) IDs in the Amazon Web Services Systems Manager User Guide.
The data type for a String
parameter. Supported data types include plain text\n and Amazon Machine Image (AMI) IDs.
\n The following data type values are supported.\n
\n\n text
\n
\n aws:ec2:image
\n
\n aws:ssm:integration
\n
When you create a String
parameter and specify aws:ec2:image
,\n Amazon Web Services Systems Manager validates the parameter value is in the required format, such as\n ami-12345abcdeEXAMPLE
, and that the specified AMI is available in your\n Amazon Web Services account.
If the action is successful, the service sends back an HTTP 200 response which indicates a\n successful PutParameter
call for all cases except for data type\n aws:ec2:image
. If you call PutParameter
with\n aws:ec2:image
data type, a successful HTTP 200 response does not guarantee that\n your parameter was successfully created or updated. The aws:ec2:image
value is\n validated asynchronously, and the PutParameter
call returns before the validation\n is complete. If you submit an invalid AMI value, the PutParameter operation will return success,\n but the asynchronous validation will fail and the parameter will not be created or updated. To\n monitor whether your aws:ec2:image
parameters are created successfully, see Setting\n up notifications or trigger actions based on Parameter Store events. For more\n information about AMI format validation , see Native parameter\n support for Amazon Machine Image (AMI) IDs.
ID of the current policy version. The hash helps to prevent a situation where multiple users\n attempt to overwrite a policy. You must provide this hash when updating or deleting a\n policy.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#PutResourcePolicyResponse": { @@ -24522,6 +23760,9 @@ "smithy.api#documentation": "ID of the current policy version.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssm#RebootOption": { @@ -24589,6 +23830,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#RegisterDefaultPatchBaselineResult": { @@ -24648,6 +23892,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#RegisterPatchBaselineForPatchGroupResult": { @@ -24742,6 +23989,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#RegisterTargetWithMaintenanceWindowResult": { @@ -24888,6 +24138,9 @@ "smithy.api#documentation": "The CloudWatch alarm you want to apply to your maintenance window task.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#RegisterTaskWithMaintenanceWindowResult": { @@ -25046,6 +24299,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#RemoveTagsFromResourceResult": { @@ -25097,7 +24353,8 @@ } }, "traits": { - "smithy.api#documentation": "The request body of the ResetServiceSetting API operation.
" + "smithy.api#documentation": "The request body of the ResetServiceSetting API operation.
", + "smithy.api#input": {} } }, "com.amazonaws.ssm#ResetServiceSettingResult": { @@ -25977,6 +25234,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#ResumeSessionResponse": { @@ -26000,6 +25260,9 @@ "smithy.api#documentation": "A URL back to SSM Agent on the managed node that the Session Manager client uses to send commands and\n receive output from the managed node. Format: wss://ssmmessages.region.amazonaws.com/v1/data-channel/session-id?stream=(input|output)
.
\n region represents the Region identifier for an\n\t\t\t\t\t\tAmazon Web Services Region supported by Amazon Web Services Systems Manager, such as us-east-2
for the US East (Ohio) Region.\n\t\t\t\t\t\tFor a list of supported region values, see the Region column in Systems Manager service endpoints in the\n Amazon Web Services General Reference.
\n session-id represents the ID of a Session Manager session, such as\n 1a2b3c4dEXAMPLE
.
The data sent with the signal. The data schema depends on the type of signal used in the\n request.
\nFor Approve
and Reject
signal types, the payload is an optional\n comment that you can send with the signal type. For example:
\n Comment=\"Looks good\"
\n
For StartStep
and Resume
signal types, you must send the name of\n the Automation step to start or resume as the payload. For example:
\n StepName=\"step1\"
\n
For the StopStep
signal type, you must send the step execution ID as the\n payload. For example:
\n StepExecutionId=\"97fff367-fc5a-4299-aed8-0123456789ab\"
\n
The CloudWatch alarm you want to apply to your command.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#SendCommandResult": { @@ -26625,7 +25894,7 @@ "Owner": { "target": "com.amazonaws.ssm#SessionOwner", "traits": { - "smithy.api#documentation": "The ID of the Amazon Web Services user account that started the session.
" + "smithy.api#documentation": "The ID of the Amazon Web Services user that started the session.
" } }, "Reason": { @@ -26679,7 +25948,7 @@ "value": { "target": "com.amazonaws.ssm#SessionFilterValue", "traits": { - "smithy.api#documentation": "The filter value. Valid values for each filter key are as follows:
\nInvokedAfter: Specify a timestamp to limit your results. For example, specify\n 2018-08-29T00:00:00Z to see sessions that started August 29, 2018, and later.
\nInvokedBefore: Specify a timestamp to limit your results. For example, specify\n 2018-08-29T00:00:00Z to see sessions that started before August 29, 2018.
\nTarget: Specify a managed node to which session connections have been made.
\nOwner: Specify an Amazon Web Services user account to see a list of sessions started by that\n user.
\nStatus: Specify a valid session status to see a list of all sessions with that status.\n Status values you can specify include:
\nConnected
\nConnecting
\nDisconnected
\nTerminated
\nTerminating
\nFailed
\nSessionId: Specify a session ID to return details about the session.
\nThe filter value. Valid values for each filter key are as follows:
\nInvokedAfter: Specify a timestamp to limit your results. For example, specify\n 2018-08-29T00:00:00Z to see sessions that started August 29, 2018, and later.
\nInvokedBefore: Specify a timestamp to limit your results. For example, specify\n 2018-08-29T00:00:00Z to see sessions that started before August 29, 2018.
\nTarget: Specify a managed node to which session connections have been made.
\nOwner: Specify an Amazon Web Services user to see a list of sessions started by that user.
\nStatus: Specify a valid session status to see a list of all sessions with that status.\n Status values you can specify include:
\nConnected
\nConnecting
\nDisconnected
\nTerminated
\nTerminating
\nFailed
\nSessionId: Specify a session ID to return details about the session.
\nThe document version shared with other accounts. You can share Latest
,\n Default
or All versions
.
The document version shared with other Amazon Web Services accounts. You can share Latest
,\n Default
or All versions
.
The CloudWatch alarm you want to apply to your automation.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#StartAutomationExecutionResult": { @@ -27365,6 +26640,9 @@ "smithy.api#documentation": "User-provided details about the change. If no details are provided, content specified in the\n Template information section of the associated change template\n is added.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#StartChangeRequestExecutionResult": { @@ -27429,6 +26707,9 @@ "smithy.api#documentation": "The values you want to specify for the parameters defined in the Session\n document.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#StartSessionResponse": { @@ -27452,6 +26733,9 @@ "smithy.api#documentation": "A URL back to SSM Agent on the managed node that the Session Manager client uses to send commands and\n receive output from the node. Format: wss://ssmmessages.region.amazonaws.com/v1/data-channel/session-id?stream=(input|output)
\n
\n region represents the Region identifier for an\n\t\t\t\t\t\tAmazon Web Services Region supported by Amazon Web Services Systems Manager, such as us-east-2
for the US East (Ohio) Region.\n\t\t\t\t\t\tFor a list of supported region values, see the Region column in Systems Manager service endpoints in the\n Amazon Web Services General Reference.
\n session-id represents the ID of a Session Manager session, such as\n 1a2b3c4dEXAMPLE
.
The stop request type. Valid types include the following: Cancel and Complete. The default\n type is Cancel.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#StopAutomationExecutionResult": { @@ -28146,6 +27433,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#TerminateSessionResponse": { @@ -28157,6 +27447,9 @@ "smithy.api#documentation": "The ID of the session that has been terminated.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssm#TimeoutSeconds": { @@ -28285,6 +27578,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#UnlabelParameterVersionResult": { @@ -28469,7 +27765,7 @@ } ], "traits": { - "smithy.api#documentation": "Updates an association. You can update the association name and version, the document\n version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output. When you\n call UpdateAssociation
, the system removes all optional parameters from the request\n and overwrites the association with null values for those parameters. This is by design. You must\n specify all optional parameters in the call, even if you are not changing the parameters. This\n includes the Name
parameter. Before calling this API action, we recommend that you\n call the DescribeAssociation API operation and make a note of all optional\n parameters required for your UpdateAssociation
call.
In order to call this API operation, your Identity and Access Management (IAM) user\n account, group, or role must be configured with permission to call the DescribeAssociation API operation. If you don't have permission to call\n DescribeAssociation
, then you receive the following error: An error occurred\n (AccessDeniedException) when calling the UpdateAssociation operation: User:
\n
When you update an association, the association immediately runs against the specified\n targets. You can add the ApplyOnlyAtCronInterval
parameter to run the association\n during the next schedule run.
Updates an association. You can update the association name and version, the document\n version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output. When you\n call UpdateAssociation
, the system removes all optional parameters from the request\n and overwrites the association with null values for those parameters. This is by design. You must\n specify all optional parameters in the call, even if you are not changing the parameters. This\n includes the Name
parameter. Before calling this API action, we recommend that you\n call the DescribeAssociation API operation and make a note of all optional\n parameters required for your UpdateAssociation
call.
In order to call this API operation, a user, group, or role must be granted permission to\n call the DescribeAssociation API operation. If you don't have permission to\n call DescribeAssociation
, then you receive the following error: An error\n occurred (AccessDeniedException) when calling the UpdateAssociation operation: User:\n
\n
When you update an association, the association immediately runs against the specified\n targets. You can add the ApplyOnlyAtCronInterval
parameter to run the association\n during the next schedule run.
Specify a new target type for the document.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#UpdateDocumentResult": { @@ -29006,6 +28320,9 @@ "smithy.api#documentation": "If True
, then all fields that are required by the CreateMaintenanceWindow operation are also required for this API request. Optional\n fields that aren't specified are set to null.
If True
, then all fields that are required by the RegisterTargetWithMaintenanceWindow operation are also required for this API\n request. Optional fields that aren't specified are set to null.
The CloudWatch alarm you want to apply to your maintenance window task.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#UpdateMaintenanceWindowTaskResult": { @@ -29459,6 +28782,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#UpdateManagedInstanceRoleResult": { @@ -29597,11 +28923,17 @@ "smithy.api#documentation": "The OpsItem Amazon Resource Name (ARN).
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#UpdateOpsItemResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.ssm#UpdateOpsMetadata": { "type": "operation", @@ -29654,6 +28986,9 @@ "smithy.api#documentation": "The metadata keys to delete from the OpsMetadata object.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#UpdateOpsMetadataResult": { @@ -29765,6 +29100,9 @@ "smithy.api#documentation": "If True, then all fields that are required by the CreatePatchBaseline\n operation are also required for this API request. Optional fields that aren't specified are set\n to null.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#UpdatePatchBaselineResult": { @@ -29907,6 +29245,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssm#UpdateResourceDataSyncResult": { @@ -29942,7 +29283,7 @@ "SettingId": { "target": "com.amazonaws.ssm#ServiceSettingId", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the service setting to reset. For example,\n arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled
.\n The setting ID can be one of the following.
\n /ssm/automation/customer-script-log-destination
\n
\n /ssm/automation/customer-script-log-group-name
\n
\n /ssm/documents/console/public-sharing-permission
\n
\n /ssm/managed-instance/activation-tier
\n
\n /ssm/opsinsights/opscenter
\n
\n /ssm/parameter-store/default-parameter-tier
\n
\n /ssm/parameter-store/high-throughput-enabled
\n
The Amazon Resource Name (ARN) of the service setting to reset. For example,\n arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled
.\n The setting ID can be one of the following.
\n /ssm/managed-instance/default-ec2-instance-management-role
\n
\n /ssm/automation/customer-script-log-destination
\n
\n /ssm/automation/customer-script-log-group-name
\n
\n /ssm/documents/console/public-sharing-permission
\n
\n /ssm/managed-instance/activation-tier
\n
\n /ssm/opsinsights/opscenter
\n
\n /ssm/parameter-store/default-parameter-tier
\n
\n /ssm/parameter-store/high-throughput-enabled
\n
The request body of the UpdateServiceSetting API operation.
" + "smithy.api#documentation": "The request body of the UpdateServiceSetting API operation.
", + "smithy.api#input": {} } }, "com.amazonaws.ssm#UpdateServiceSettingResult": {