diff --git a/clients/client-chime-sdk-meetings/src/commands/BatchUpdateAttendeeCapabilitiesExceptCommand.ts b/clients/client-chime-sdk-meetings/src/commands/BatchUpdateAttendeeCapabilitiesExceptCommand.ts index de2c00c4c2f05..13653cd788db4 100644 --- a/clients/client-chime-sdk-meetings/src/commands/BatchUpdateAttendeeCapabilitiesExceptCommand.ts +++ b/clients/client-chime-sdk-meetings/src/commands/BatchUpdateAttendeeCapabilitiesExceptCommand.ts @@ -104,9 +104,15 @@ export interface BatchUpdateAttendeeCapabilitiesExceptCommandOutput extends __Me * @throws {@link NotFoundException} (client fault) *
One or more of the resources in the request does not exist in the system.
* + * @throws {@link ServiceFailureException} (server fault) + *The service encountered an unexpected error.
+ * * @throws {@link ServiceUnavailableException} (server fault) *The service is currently unavailable.
* + * @throws {@link ThrottlingException} (client fault) + *The number of customer requests exceeds the request rate limit.
+ * * @throws {@link UnauthorizedException} (client fault) *The user isn't authorized to request a resource.
* diff --git a/clients/client-chime-sdk-meetings/src/commands/CreateMeetingCommand.ts b/clients/client-chime-sdk-meetings/src/commands/CreateMeetingCommand.ts index 7cfa1012fbcfd..9c8894698e942 100644 --- a/clients/client-chime-sdk-meetings/src/commands/CreateMeetingCommand.ts +++ b/clients/client-chime-sdk-meetings/src/commands/CreateMeetingCommand.ts @@ -122,6 +122,9 @@ export interface CreateMeetingCommandOutput extends CreateMeetingResponse, __Met * @throws {@link BadRequestException} (client fault) *The input parameters don't match the service's restrictions.
* + * @throws {@link ConflictException} (client fault) + *Multiple instances of the same request have been made simultaneously.
+ * * @throws {@link ForbiddenException} (client fault) *The client is permanently forbidden from making the request.
* diff --git a/clients/client-chime-sdk-meetings/src/commands/CreateMeetingWithAttendeesCommand.ts b/clients/client-chime-sdk-meetings/src/commands/CreateMeetingWithAttendeesCommand.ts index 7c8f5f79e15ac..4eeb9ad361b2e 100644 --- a/clients/client-chime-sdk-meetings/src/commands/CreateMeetingWithAttendeesCommand.ts +++ b/clients/client-chime-sdk-meetings/src/commands/CreateMeetingWithAttendeesCommand.ts @@ -151,6 +151,9 @@ export interface CreateMeetingWithAttendeesCommandOutput extends CreateMeetingWi * @throws {@link BadRequestException} (client fault) *The input parameters don't match the service's restrictions.
* + * @throws {@link ConflictException} (client fault) + *Multiple instances of the same request have been made simultaneously.
+ * * @throws {@link ForbiddenException} (client fault) *The client is permanently forbidden from making the request.
* diff --git a/clients/client-chime-sdk-meetings/src/commands/ListTagsForResourceCommand.ts b/clients/client-chime-sdk-meetings/src/commands/ListTagsForResourceCommand.ts index 1d1e76ebe1735..9da8030a08b8c 100644 --- a/clients/client-chime-sdk-meetings/src/commands/ListTagsForResourceCommand.ts +++ b/clients/client-chime-sdk-meetings/src/commands/ListTagsForResourceCommand.ts @@ -65,9 +65,30 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape. * @see {@link ChimeSDKMeetingsClientResolvedConfig | config} for ChimeSDKMeetingsClient's `config` shape. * + * @throws {@link BadRequestException} (client fault) + *The input parameters don't match the service's restrictions.
+ * + * @throws {@link ForbiddenException} (client fault) + *The client is permanently forbidden from making the request.
+ * + * @throws {@link LimitExceededException} (client fault) + *The request exceeds the resource limit.
+ * * @throws {@link ResourceNotFoundException} (client fault) *The resource that you want to tag couldn't be found.
* + * @throws {@link ServiceFailureException} (server fault) + *The service encountered an unexpected error.
+ * + * @throws {@link ServiceUnavailableException} (server fault) + *The service is currently unavailable.
+ * + * @throws {@link ThrottlingException} (client fault) + *The number of customer requests exceeds the request rate limit.
+ * + * @throws {@link UnauthorizedException} (client fault) + *The user isn't authorized to request a resource.
+ * * @throws {@link ChimeSDKMeetingsServiceException} *Base exception class for all service exceptions from ChimeSDKMeetings service.
* diff --git a/clients/client-chime-sdk-meetings/src/commands/TagResourceCommand.ts b/clients/client-chime-sdk-meetings/src/commands/TagResourceCommand.ts index 5b11931071087..613856b1a0cef 100644 --- a/clients/client-chime-sdk-meetings/src/commands/TagResourceCommand.ts +++ b/clients/client-chime-sdk-meetings/src/commands/TagResourceCommand.ts @@ -67,12 +67,30 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat * @throws {@link BadRequestException} (client fault) *The input parameters don't match the service's restrictions.
* + * @throws {@link ForbiddenException} (client fault) + *The client is permanently forbidden from making the request.
+ * + * @throws {@link LimitExceededException} (client fault) + *The request exceeds the resource limit.
+ * * @throws {@link ResourceNotFoundException} (client fault) *The resource that you want to tag couldn't be found.
* + * @throws {@link ServiceFailureException} (server fault) + *The service encountered an unexpected error.
+ * + * @throws {@link ServiceUnavailableException} (server fault) + *The service is currently unavailable.
+ * + * @throws {@link ThrottlingException} (client fault) + *The number of customer requests exceeds the request rate limit.
+ * * @throws {@link TooManyTagsException} (client fault) *Too many tags were added to the specified resource.
* + * @throws {@link UnauthorizedException} (client fault) + *The user isn't authorized to request a resource.
+ * * @throws {@link ChimeSDKMeetingsServiceException} *Base exception class for all service exceptions from ChimeSDKMeetings service.
* diff --git a/clients/client-chime-sdk-meetings/src/commands/UntagResourceCommand.ts b/clients/client-chime-sdk-meetings/src/commands/UntagResourceCommand.ts index ac8d15c7238a3..effab6ee23002 100644 --- a/clients/client-chime-sdk-meetings/src/commands/UntagResourceCommand.ts +++ b/clients/client-chime-sdk-meetings/src/commands/UntagResourceCommand.ts @@ -85,9 +85,27 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met * @throws {@link BadRequestException} (client fault) *The input parameters don't match the service's restrictions.
* + * @throws {@link ForbiddenException} (client fault) + *The client is permanently forbidden from making the request.
+ * + * @throws {@link LimitExceededException} (client fault) + *The request exceeds the resource limit.
+ * * @throws {@link ResourceNotFoundException} (client fault) *The resource that you want to tag couldn't be found.
* + * @throws {@link ServiceFailureException} (server fault) + *The service encountered an unexpected error.
+ * + * @throws {@link ServiceUnavailableException} (server fault) + *The service is currently unavailable.
+ * + * @throws {@link ThrottlingException} (client fault) + *The number of customer requests exceeds the request rate limit.
+ * + * @throws {@link UnauthorizedException} (client fault) + *The user isn't authorized to request a resource.
+ * * @throws {@link ChimeSDKMeetingsServiceException} *Base exception class for all service exceptions from ChimeSDKMeetings service.
* diff --git a/clients/client-chime-sdk-meetings/src/commands/UpdateAttendeeCapabilitiesCommand.ts b/clients/client-chime-sdk-meetings/src/commands/UpdateAttendeeCapabilitiesCommand.ts index de8a291146983..7cfd39196420d 100644 --- a/clients/client-chime-sdk-meetings/src/commands/UpdateAttendeeCapabilitiesCommand.ts +++ b/clients/client-chime-sdk-meetings/src/commands/UpdateAttendeeCapabilitiesCommand.ts @@ -111,9 +111,15 @@ export interface UpdateAttendeeCapabilitiesCommandOutput extends UpdateAttendeeC * @throws {@link NotFoundException} (client fault) *One or more of the resources in the request does not exist in the system.
* + * @throws {@link ServiceFailureException} (server fault) + *The service encountered an unexpected error.
+ * * @throws {@link ServiceUnavailableException} (server fault) *The service is currently unavailable.
* + * @throws {@link ThrottlingException} (client fault) + *The number of customer requests exceeds the request rate limit.
+ * * @throws {@link UnauthorizedException} (client fault) *The user isn't authorized to request a resource.
* diff --git a/clients/client-chime-sdk-meetings/src/endpoint/ruleset.ts b/clients/client-chime-sdk-meetings/src/endpoint/ruleset.ts index d9f41b9650df2..65f8dc9dbe6eb 100644 --- a/clients/client-chime-sdk-meetings/src/endpoint/ruleset.ts +++ b/clients/client-chime-sdk-meetings/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://meetings-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://meetings-chime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://meetings-chime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://meetings-chime.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://meetings-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://meetings-chime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://meetings-chime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://meetings-chime.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-chime-sdk-meetings/src/protocols/Aws_restJson1.ts b/clients/client-chime-sdk-meetings/src/protocols/Aws_restJson1.ts index 627c4764c6065..121a69e334dd4 100644 --- a/clients/client-chime-sdk-meetings/src/protocols/Aws_restJson1.ts +++ b/clients/client-chime-sdk-meetings/src/protocols/Aws_restJson1.ts @@ -697,9 +697,15 @@ const de_BatchUpdateAttendeeCapabilitiesExceptCommandError = async ( case "NotFoundException": case "com.amazonaws.chimesdkmeetings#NotFoundException": throw await de_NotFoundExceptionRes(parsedOutput, context); + case "ServiceFailureException": + case "com.amazonaws.chimesdkmeetings#ServiceFailureException": + throw await de_ServiceFailureExceptionRes(parsedOutput, context); case "ServiceUnavailableException": case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException": throw await de_ServiceUnavailableExceptionRes(parsedOutput, context); + case "ThrottlingException": + case "com.amazonaws.chimesdkmeetings#ThrottlingException": + throw await de_ThrottlingExceptionRes(parsedOutput, context); case "UnauthorizedException": case "com.amazonaws.chimesdkmeetings#UnauthorizedException": throw await de_UnauthorizedExceptionRes(parsedOutput, context); @@ -821,6 +827,9 @@ const de_CreateMeetingCommandError = async ( case "BadRequestException": case "com.amazonaws.chimesdkmeetings#BadRequestException": throw await de_BadRequestExceptionRes(parsedOutput, context); + case "ConflictException": + case "com.amazonaws.chimesdkmeetings#ConflictException": + throw await de_ConflictExceptionRes(parsedOutput, context); case "ForbiddenException": case "com.amazonaws.chimesdkmeetings#ForbiddenException": throw await de_ForbiddenExceptionRes(parsedOutput, context); @@ -888,6 +897,9 @@ const de_CreateMeetingWithAttendeesCommandError = async ( case "BadRequestException": case "com.amazonaws.chimesdkmeetings#BadRequestException": throw await de_BadRequestExceptionRes(parsedOutput, context); + case "ConflictException": + case "com.amazonaws.chimesdkmeetings#ConflictException": + throw await de_ConflictExceptionRes(parsedOutput, context); case "ForbiddenException": case "com.amazonaws.chimesdkmeetings#ForbiddenException": throw await de_ForbiddenExceptionRes(parsedOutput, context); @@ -1268,9 +1280,30 @@ const de_ListTagsForResourceCommandError = async ( }; const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); switch (errorCode) { + case "BadRequestException": + case "com.amazonaws.chimesdkmeetings#BadRequestException": + throw await de_BadRequestExceptionRes(parsedOutput, context); + case "ForbiddenException": + case "com.amazonaws.chimesdkmeetings#ForbiddenException": + throw await de_ForbiddenExceptionRes(parsedOutput, context); + case "LimitExceededException": + case "com.amazonaws.chimesdkmeetings#LimitExceededException": + throw await de_LimitExceededExceptionRes(parsedOutput, context); case "ResourceNotFoundException": case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException": throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); + case "ServiceFailureException": + case "com.amazonaws.chimesdkmeetings#ServiceFailureException": + throw await de_ServiceFailureExceptionRes(parsedOutput, context); + case "ServiceUnavailableException": + case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException": + throw await de_ServiceUnavailableExceptionRes(parsedOutput, context); + case "ThrottlingException": + case "com.amazonaws.chimesdkmeetings#ThrottlingException": + throw await de_ThrottlingExceptionRes(parsedOutput, context); + case "UnauthorizedException": + case "com.amazonaws.chimesdkmeetings#UnauthorizedException": + throw await de_UnauthorizedExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ @@ -1445,12 +1478,30 @@ const de_TagResourceCommandError = async ( case "BadRequestException": case "com.amazonaws.chimesdkmeetings#BadRequestException": throw await de_BadRequestExceptionRes(parsedOutput, context); + case "ForbiddenException": + case "com.amazonaws.chimesdkmeetings#ForbiddenException": + throw await de_ForbiddenExceptionRes(parsedOutput, context); + case "LimitExceededException": + case "com.amazonaws.chimesdkmeetings#LimitExceededException": + throw await de_LimitExceededExceptionRes(parsedOutput, context); case "ResourceNotFoundException": case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException": throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); + case "ServiceFailureException": + case "com.amazonaws.chimesdkmeetings#ServiceFailureException": + throw await de_ServiceFailureExceptionRes(parsedOutput, context); + case "ServiceUnavailableException": + case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException": + throw await de_ServiceUnavailableExceptionRes(parsedOutput, context); + case "ThrottlingException": + case "com.amazonaws.chimesdkmeetings#ThrottlingException": + throw await de_ThrottlingExceptionRes(parsedOutput, context); case "TooManyTagsException": case "com.amazonaws.chimesdkmeetings#TooManyTagsException": throw await de_TooManyTagsExceptionRes(parsedOutput, context); + case "UnauthorizedException": + case "com.amazonaws.chimesdkmeetings#UnauthorizedException": + throw await de_UnauthorizedExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ @@ -1494,9 +1545,27 @@ const de_UntagResourceCommandError = async ( case "BadRequestException": case "com.amazonaws.chimesdkmeetings#BadRequestException": throw await de_BadRequestExceptionRes(parsedOutput, context); + case "ForbiddenException": + case "com.amazonaws.chimesdkmeetings#ForbiddenException": + throw await de_ForbiddenExceptionRes(parsedOutput, context); + case "LimitExceededException": + case "com.amazonaws.chimesdkmeetings#LimitExceededException": + throw await de_LimitExceededExceptionRes(parsedOutput, context); case "ResourceNotFoundException": case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException": throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); + case "ServiceFailureException": + case "com.amazonaws.chimesdkmeetings#ServiceFailureException": + throw await de_ServiceFailureExceptionRes(parsedOutput, context); + case "ServiceUnavailableException": + case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException": + throw await de_ServiceUnavailableExceptionRes(parsedOutput, context); + case "ThrottlingException": + case "com.amazonaws.chimesdkmeetings#ThrottlingException": + throw await de_ThrottlingExceptionRes(parsedOutput, context); + case "UnauthorizedException": + case "com.amazonaws.chimesdkmeetings#UnauthorizedException": + throw await de_UnauthorizedExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ @@ -1553,9 +1622,15 @@ const de_UpdateAttendeeCapabilitiesCommandError = async ( case "NotFoundException": case "com.amazonaws.chimesdkmeetings#NotFoundException": throw await de_NotFoundExceptionRes(parsedOutput, context); + case "ServiceFailureException": + case "com.amazonaws.chimesdkmeetings#ServiceFailureException": + throw await de_ServiceFailureExceptionRes(parsedOutput, context); case "ServiceUnavailableException": case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException": throw await de_ServiceUnavailableExceptionRes(parsedOutput, context); + case "ThrottlingException": + case "com.amazonaws.chimesdkmeetings#ThrottlingException": + throw await de_ThrottlingExceptionRes(parsedOutput, context); case "UnauthorizedException": case "com.amazonaws.chimesdkmeetings#UnauthorizedException": throw await de_UnauthorizedExceptionRes(parsedOutput, context); diff --git a/codegen/sdk-codegen/aws-models/chime-sdk-meetings.json b/codegen/sdk-codegen/aws-models/chime-sdk-meetings.json index eda4e32487174..f1f07e978ef0a 100644 --- a/codegen/sdk-codegen/aws-models/chime-sdk-meetings.json +++ b/codegen/sdk-codegen/aws-models/chime-sdk-meetings.json @@ -296,9 +296,15 @@ { "target": "com.amazonaws.chimesdkmeetings#NotFoundException" }, + { + "target": "com.amazonaws.chimesdkmeetings#ServiceFailureException" + }, { "target": "com.amazonaws.chimesdkmeetings#ServiceUnavailableException" }, + { + "target": "com.amazonaws.chimesdkmeetings#ThrottlingException" + }, { "target": "com.amazonaws.chimesdkmeetings#UnauthorizedException" } @@ -475,52 +481,56 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -528,13 +538,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -544,224 +563,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://meetings-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://meetings-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, { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://meetings-chime-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://meetings-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, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://meetings-chime.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://meetings-chime.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://meetings-chime.{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://meetings-chime.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1352,6 +1322,9 @@ { "target": "com.amazonaws.chimesdkmeetings#BadRequestException" }, + { + "target": "com.amazonaws.chimesdkmeetings#ConflictException" + }, { "target": "com.amazonaws.chimesdkmeetings#ForbiddenException" }, @@ -1472,6 +1445,9 @@ { "target": "com.amazonaws.chimesdkmeetings#BadRequestException" }, + { + "target": "com.amazonaws.chimesdkmeetings#ConflictException" + }, { "target": "com.amazonaws.chimesdkmeetings#ForbiddenException" }, @@ -2216,8 +2192,29 @@ "target": "com.amazonaws.chimesdkmeetings#ListTagsForResourceResponse" }, "errors": [ + { + "target": "com.amazonaws.chimesdkmeetings#BadRequestException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#ForbiddenException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#LimitExceededException" + }, { "target": "com.amazonaws.chimesdkmeetings#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#ServiceFailureException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#ThrottlingException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#UnauthorizedException" } ], "traits": { @@ -2799,11 +2796,29 @@ { "target": "com.amazonaws.chimesdkmeetings#BadRequestException" }, + { + "target": "com.amazonaws.chimesdkmeetings#ForbiddenException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#LimitExceededException" + }, { "target": "com.amazonaws.chimesdkmeetings#ResourceNotFoundException" }, + { + "target": "com.amazonaws.chimesdkmeetings#ServiceFailureException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#ThrottlingException" + }, { "target": "com.amazonaws.chimesdkmeetings#TooManyTagsException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#UnauthorizedException" } ], "traits": { @@ -3409,8 +3424,26 @@ { "target": "com.amazonaws.chimesdkmeetings#BadRequestException" }, + { + "target": "com.amazonaws.chimesdkmeetings#ForbiddenException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#LimitExceededException" + }, { "target": "com.amazonaws.chimesdkmeetings#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#ServiceFailureException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#ThrottlingException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#UnauthorizedException" } ], "traits": { @@ -3472,9 +3505,15 @@ { "target": "com.amazonaws.chimesdkmeetings#NotFoundException" }, + { + "target": "com.amazonaws.chimesdkmeetings#ServiceFailureException" + }, { "target": "com.amazonaws.chimesdkmeetings#ServiceUnavailableException" }, + { + "target": "com.amazonaws.chimesdkmeetings#ThrottlingException" + }, { "target": "com.amazonaws.chimesdkmeetings#UnauthorizedException" }