Skip to content

Commit 817667a

Browse files
author
awstools
committed
feat(client-iam): This release updates the AccountAlias regex pattern with the same length restrictions enforced by the length constraint.
1 parent 6ebabec commit 817667a

13 files changed

+436
-1004
lines changed

clients/client-iam/src/commands/CreateAccountAliasCommand.ts

+7-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ export interface CreateAccountAliasCommandOutput extends __MetadataBearer {}
3737
/**
3838
* @public
3939
* <p>Creates an alias for your Amazon Web Services account. For information about using an Amazon Web Services account
40-
* alias, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/AccountAlias.html">Using an
41-
* alias for your Amazon Web Services account ID</a> in the
42-
* <i>IAM User Guide</i>.</p>
40+
* alias, see <a href="https://docs.aws.amazon.com/signin/latest/userguide/CreateAccountAlias.html">Creating, deleting, and
41+
* listing an Amazon Web Services account alias</a> in the <i>Amazon Web Services Sign-In User
42+
* Guide</i>.</p>
4343
* @example
4444
* Use a bare-bones client and the command you need to make an API call.
4545
* ```javascript
@@ -61,6 +61,10 @@ export interface CreateAccountAliasCommandOutput extends __MetadataBearer {}
6161
* @see {@link CreateAccountAliasCommandOutput} for command's `response` shape.
6262
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
6363
*
64+
* @throws {@link ConcurrentModificationException} (client fault)
65+
* <p>The request was rejected because multiple requests to change this object were submitted
66+
* simultaneously. Wait a few minutes and submit your request again.</p>
67+
*
6468
* @throws {@link EntityAlreadyExistsException} (client fault)
6569
* <p>The request was rejected because it attempted to create a resource that already
6670
* exists.</p>

clients/client-iam/src/commands/DeactivateMFADeviceCommand.ts

+4
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ export interface DeactivateMFADeviceCommandOutput extends __MetadataBearer {}
6363
* @see {@link DeactivateMFADeviceCommandOutput} for command's `response` shape.
6464
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
6565
*
66+
* @throws {@link ConcurrentModificationException} (client fault)
67+
* <p>The request was rejected because multiple requests to change this object were submitted
68+
* simultaneously. Wait a few minutes and submit your request again.</p>
69+
*
6670
* @throws {@link EntityTemporarilyUnmodifiableException} (client fault)
6771
* <p>The request was rejected because it referenced an entity that is temporarily unmodifiable,
6872
* such as a user name that was deleted and then recreated. The error indicates that the request

clients/client-iam/src/commands/DeleteAccountAliasCommand.ts

+7-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ export interface DeleteAccountAliasCommandOutput extends __MetadataBearer {}
3737
/**
3838
* @public
3939
* <p> Deletes the specified Amazon Web Services account alias. For information about using an Amazon Web Services
40-
* account alias, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/AccountAlias.html">Using an alias for your Amazon Web Services account ID</a> in the
41-
* <i>IAM User Guide</i>.</p>
40+
* account alias, see <a href="https://docs.aws.amazon.com/signin/latest/userguide/CreateAccountAlias.html">Creating, deleting, and
41+
* listing an Amazon Web Services account alias</a> in the <i>Amazon Web Services Sign-In User
42+
* Guide</i>.</p>
4243
* @example
4344
* Use a bare-bones client and the command you need to make an API call.
4445
* ```javascript
@@ -60,6 +61,10 @@ export interface DeleteAccountAliasCommandOutput extends __MetadataBearer {}
6061
* @see {@link DeleteAccountAliasCommandOutput} for command's `response` shape.
6162
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
6263
*
64+
* @throws {@link ConcurrentModificationException} (client fault)
65+
* <p>The request was rejected because multiple requests to change this object were submitted
66+
* simultaneously. Wait a few minutes and submit your request again.</p>
67+
*
6368
* @throws {@link LimitExceededException} (client fault)
6469
* <p>The request was rejected because it attempted to create resources beyond the current
6570
* Amazon Web Services account limits. The error message describes the limit exceeded.</p>

clients/client-iam/src/commands/DeleteSigningCertificateCommand.ts

+4
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ export interface DeleteSigningCertificateCommandOutput extends __MetadataBearer
6363
* @see {@link DeleteSigningCertificateCommandOutput} for command's `response` shape.
6464
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
6565
*
66+
* @throws {@link ConcurrentModificationException} (client fault)
67+
* <p>The request was rejected because multiple requests to change this object were submitted
68+
* simultaneously. Wait a few minutes and submit your request again.</p>
69+
*
6670
* @throws {@link LimitExceededException} (client fault)
6771
* <p>The request was rejected because it attempted to create resources beyond the current
6872
* Amazon Web Services account limits. The error message describes the limit exceeded.</p>

clients/client-iam/src/commands/DeleteVirtualMFADeviceCommand.ts

+4
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ export interface DeleteVirtualMFADeviceCommandOutput extends __MetadataBearer {}
6262
* @see {@link DeleteVirtualMFADeviceCommandOutput} for command's `response` shape.
6363
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
6464
*
65+
* @throws {@link ConcurrentModificationException} (client fault)
66+
* <p>The request was rejected because multiple requests to change this object were submitted
67+
* simultaneously. Wait a few minutes and submit your request again.</p>
68+
*
6569
* @throws {@link DeleteConflictException} (client fault)
6670
* <p>The request was rejected because it attempted to delete a resource that has attached
6771
* subordinate entities. The error message describes these entities.</p>

clients/client-iam/src/commands/EnableMFADeviceCommand.ts

+4
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ export interface EnableMFADeviceCommandOutput extends __MetadataBearer {}
6363
* @see {@link EnableMFADeviceCommandOutput} for command's `response` shape.
6464
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
6565
*
66+
* @throws {@link ConcurrentModificationException} (client fault)
67+
* <p>The request was rejected because multiple requests to change this object were submitted
68+
* simultaneously. Wait a few minutes and submit your request again.</p>
69+
*
6670
* @throws {@link EntityAlreadyExistsException} (client fault)
6771
* <p>The request was rejected because it attempted to create a resource that already
6872
* exists.</p>

clients/client-iam/src/commands/ListAccountAliasesCommand.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ export interface ListAccountAliasesCommandOutput extends ListAccountAliasesRespo
3737
/**
3838
* @public
3939
* <p>Lists the account alias associated with the Amazon Web Services account (Note: you can have only
40-
* one). For information about using an Amazon Web Services account alias, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/AccountAlias.html">Using an alias for your
41-
* Amazon Web Services account ID</a> in the <i>IAM User Guide</i>.</p>
40+
* one). For information about using an Amazon Web Services account alias, see <a href="https://docs.aws.amazon.com/signin/latest/userguide/CreateAccountAlias.html">Creating,
41+
* deleting, and listing an Amazon Web Services account alias</a> in the <i>Amazon Web Services Sign-In
42+
* User Guide</i>.</p>
4243
* @example
4344
* Use a bare-bones client and the command you need to make an API call.
4445
* ```javascript

clients/client-iam/src/commands/ResyncMFADeviceCommand.ts

+4
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ export interface ResyncMFADeviceCommandOutput extends __MetadataBearer {}
6464
* @see {@link ResyncMFADeviceCommandOutput} for command's `response` shape.
6565
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
6666
*
67+
* @throws {@link ConcurrentModificationException} (client fault)
68+
* <p>The request was rejected because multiple requests to change this object were submitted
69+
* simultaneously. Wait a few minutes and submit your request again.</p>
70+
*
6771
* @throws {@link InvalidAuthenticationCodeException} (client fault)
6872
* <p>The request was rejected because the authentication code was not recognized. The error
6973
* message describes the specific error.</p>

clients/client-iam/src/commands/UploadSigningCertificateCommand.ts

+4
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ export interface UploadSigningCertificateCommandOutput extends UploadSigningCert
8686
* @see {@link UploadSigningCertificateCommandOutput} for command's `response` shape.
8787
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
8888
*
89+
* @throws {@link ConcurrentModificationException} (client fault)
90+
* <p>The request was rejected because multiple requests to change this object were submitted
91+
* simultaneously. Wait a few minutes and submit your request again.</p>
92+
*
8993
* @throws {@link DuplicateCertificateException} (client fault)
9094
* <p>The request was rejected because the same certificate is associated with an IAM user in
9195
* the account.</p>

clients/client-iam/src/endpoint/ruleset.ts

+28-41
Original file line numberDiff line numberDiff line change
@@ -6,51 +6,38 @@ import { RuleSetObject } from "@aws-sdk/util-endpoints";
66
or see "smithy.rules#endpointRuleSet"
77
in codegen/sdk-codegen/aws-models/iam.json */
88

9-
const G="required",
10-
H="type",
11-
I="rules",
12-
J="conditions",
13-
K="fn",
14-
L="argv",
15-
M="ref",
16-
N="url",
17-
O="properties",
18-
P="headers",
19-
Q="authSchemes",
20-
R="name",
21-
S="signingName",
22-
T="signingRegion";
9+
const A="required",
10+
B="fn",
11+
C="argv",
12+
D="ref",
13+
E="authSchemes",
14+
F="signingName",
15+
G="signingRegion";
2316
const a="isSet",
2417
b="tree",
2518
c="error",
2619
d="endpoint",
2720
e="PartitionResult",
2821
f="stringEquals",
29-
g={[G]:false,[H]:"String"},
30-
h={[G]:true,"default":false,[H]:"Boolean"},
31-
i={[M]:"Endpoint"},
32-
j={},
33-
k={[M]:"Region"},
34-
l={[K]:"getAttr",[L]:[{[M]:e},"name"]},
35-
m={[J]:[{[K]:"booleanEquals",[L]:[{[M]:"UseFIPS"},true]},{[K]:"booleanEquals",[L]:[{[M]:"UseDualStack"},true]}],[H]:b,[I]:[{[J]:[{[K]:"booleanEquals",[L]:[true,{[K]:"getAttr",[L]:[{[M]:e},"supportsFIPS"]}]},{[K]:"booleanEquals",[L]:[true,{[K]:"getAttr",[L]:[{[M]:e},"supportsDualStack"]}]}],[H]:b,[I]:[{[d]:{[N]:"https://iam-fips.{Region}.api.aws",[O]:{},[P]:{}},[H]:d}]},{[c]:"FIPS and DualStack are enabled, but this partition does not support one or both",[H]:c}]},
36-
n={[c]:"FIPS and DualStack are enabled, but this partition does not support one or both",[H]:c},
37-
o={[N]:"https://iam-fips.amazonaws.com",[O]:{[Q]:[{[R]:"sigv4",[S]:"iam",[T]:"us-east-1"}]},[P]:{}},
38-
p={[c]:"FIPS is enabled but this partition does not support FIPS",[H]:c},
39-
q={[J]:[{[K]:"booleanEquals",[L]:[{[M]:"UseDualStack"},true]}],[H]:b,[I]:[{[J]:[{[K]:"booleanEquals",[L]:[true,{[K]:"getAttr",[L]:[{[M]:e},"supportsDualStack"]}]}],[H]:b,[I]:[{[d]:{[N]:"https://iam.{Region}.api.aws",[O]:{},[P]:{}},[H]:d}]},{[c]:"DualStack is enabled but this partition does not support DualStack",[H]:c}]},
40-
r={[c]:"DualStack is enabled but this partition does not support DualStack",[H]:c},
41-
s={[N]:"https://iam.amazonaws.com",[O]:{[Q]:[{[R]:"sigv4",[S]:"iam",[T]:"us-east-1"}]},[P]:{}},
42-
t={[N]:"https://iam.cn-north-1.amazonaws.com.cn",[O]:{[Q]:[{[R]:"sigv4",[S]:"iam",[T]:"cn-north-1"}]},[P]:{}},
43-
u={[d]:{[N]:"https://iam.us-gov.amazonaws.com",[O]:{[Q]:[{[R]:"sigv4",[S]:"iam",[T]:"us-gov-west-1"}]},[P]:{}},[H]:d},
44-
v={[N]:"https://iam.us-iso-east-1.c2s.ic.gov",[O]:{[Q]:[{[R]:"sigv4",[S]:"iam",[T]:"us-iso-east-1"}]},[P]:{}},
45-
w={[N]:"https://iam.us-isob-east-1.sc2s.sgov.gov",[O]:{[Q]:[{[R]:"sigv4",[S]:"iam",[T]:"us-isob-east-1"}]},[P]:{}},
46-
x={[J]:[{[K]:f,[L]:[k,"aws-us-gov-global"]}],[d]:{[N]:"https://iam.us-gov.amazonaws.com",[O]:{[Q]:[{[R]:"sigv4",[S]:"iam",[T]:"us-gov-west-1"}]},[P]:{}},[H]:d},
47-
y=[{[K]:"booleanEquals",[L]:[{[M]:"UseFIPS"},true]}],
48-
z=[{[K]:"booleanEquals",[L]:[{[M]:"UseDualStack"},true]}],
49-
A=[k],
50-
B=[{[K]:"booleanEquals",[L]:[{[M]:"UseFIPS"},true]},{[K]:"booleanEquals",[L]:[{[M]:"UseDualStack"},true]}],
51-
C=[{[K]:"booleanEquals",[L]:[true,{[K]:"getAttr",[L]:[{[M]:e},"supportsFIPS"]}]},{[K]:"booleanEquals",[L]:[true,{[K]:"getAttr",[L]:[{[M]:e},"supportsDualStack"]}]}],
52-
D=[{[K]:"booleanEquals",[L]:[true,{[K]:"getAttr",[L]:[{[M]:e},"supportsFIPS"]}]}],
53-
E=[{[K]:"booleanEquals",[L]:[true,{[K]:"getAttr",[L]:[{[M]:e},"supportsDualStack"]}]}],
54-
F=[{[K]:f,[L]:[k,"aws-global"]}];
55-
const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},[I]:[{[J]:[{[K]:a,[L]:[i]}],[H]:b,[I]:[{[J]:y,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[H]:c},{[H]:b,[I]:[{[J]:z,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[H]:c},{endpoint:{[N]:i,[O]:j,[P]:j},[H]:d}]}]},{[H]:b,[I]:[{[J]:[{[K]:a,[L]:A}],[H]:b,[I]:[{[J]:[{[K]:"aws.partition",[L]:A,assign:e}],[H]:b,[I]:[{[J]:[{[K]:f,[L]:[l,"aws"]}],[H]:b,[I]:[m,{[J]:y,[H]:b,[I]:[{[J]:D,[H]:b,[I]:[{endpoint:o,[H]:d}]},p]},q,{endpoint:s,[H]:d}]},{[J]:[{[K]:f,[L]:[l,"aws-cn"]}],[H]:b,[I]:[{[J]:B,[H]:b,[I]:[{[J]:C,[H]:b,[I]:[{endpoint:{[N]:"https://iam-fips.{Region}.api.amazonwebservices.com.cn",[O]:j,[P]:j},[H]:d}]},n]},{[J]:y,[H]:b,[I]:[{[J]:D,[H]:b,[I]:[{endpoint:{[N]:"https://iam-fips.{Region}.amazonaws.com.cn",[O]:j,[P]:j},[H]:d}]},p]},{[J]:z,[H]:b,[I]:[{[J]:E,[H]:b,[I]:[{endpoint:{[N]:"https://iam.{Region}.api.amazonwebservices.com.cn",[O]:j,[P]:j},[H]:d}]},r]},{endpoint:t,[H]:d}]},{[J]:[{[K]:f,[L]:[l,"aws-us-gov"]}],[H]:b,[I]:[m,{[J]:y,[H]:b,[I]:[{[J]:D,[H]:b,[I]:[u]},p]},q,u]},{[J]:[{[K]:f,[L]:[l,"aws-iso"]}],[H]:b,[I]:[{[J]:y,[H]:b,[I]:[{[J]:D,[H]:b,[I]:[{endpoint:{[N]:"https://iam-fips.{Region}.c2s.ic.gov",[O]:j,[P]:j},[H]:d}]},p]},{endpoint:v,[H]:d}]},{[J]:[{[K]:f,[L]:[l,"aws-iso-b"]}],[H]:b,[I]:[{[J]:y,[H]:b,[I]:[{[J]:D,[H]:b,[I]:[{endpoint:{[N]:"https://iam-fips.{Region}.sc2s.sgov.gov",[O]:j,[P]:j},[H]:d}]},p]},{endpoint:w,[H]:d}]},{[J]:B,[H]:b,[I]:[{[J]:C,[H]:b,[I]:[{[H]:b,[I]:[{endpoint:{[N]:"https://iam-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",[O]:j,[P]:j},[H]:d}]}]},n]},{[J]:y,[H]:b,[I]:[{[J]:D,[H]:b,[I]:[{[H]:b,[I]:[{[J]:F,endpoint:o,[H]:d},x,{endpoint:{[N]:"https://iam-fips.{Region}.{PartitionResult#dnsSuffix}",[O]:j,[P]:j},[H]:d}]}]},p]},{[J]:z,[H]:b,[I]:[{[J]:E,[H]:b,[I]:[{[H]:b,[I]:[{endpoint:{[N]:"https://iam.{Region}.{PartitionResult#dualStackDnsSuffix}",[O]:j,[P]:j},[H]:d}]}]},r]},{[H]:b,[I]:[{[J]:F,endpoint:s,[H]:d},{[J]:[{[K]:f,[L]:[k,"aws-cn-global"]}],endpoint:t,[H]:d},x,{[J]:[{[K]:f,[L]:[k,"aws-iso-global"]}],endpoint:v,[H]:d},{[J]:[{[K]:f,[L]:[k,"aws-iso-b-global"]}],endpoint:w,[H]:d},{endpoint:{[N]:"https://iam.{Region}.{PartitionResult#dnsSuffix}",[O]:j,[P]:j},[H]:d}]}]}]},{error:"Invalid Configuration: Missing Region",[H]:c}]}]};
22+
g="sigv4",
23+
h="iam",
24+
i={[A]:false,"type":"String"},
25+
j={[A]:true,"default":false,"type":"Boolean"},
26+
k={[D]:"Endpoint"},
27+
l={[B]:"booleanEquals",[C]:[{[D]:"UseFIPS"},true]},
28+
m={[B]:"booleanEquals",[C]:[{[D]:"UseDualStack"},true]},
29+
n={},
30+
o={[B]:f,[C]:[{[B]:"getAttr",[C]:[{[D]:e},"name"]},"aws"]},
31+
p={[B]:"getAttr",[C]:[{[D]:e},"name"]},
32+
q={[B]:"booleanEquals",[C]:[{[D]:"UseFIPS"},false]},
33+
r={[B]:"booleanEquals",[C]:[{[D]:"UseDualStack"},false]},
34+
s={[E]:[{"name":g,[F]:h,[G]:"us-east-1"}]},
35+
t={[B]:f,[C]:[p,"aws-us-gov"]},
36+
u={"url":"https://iam.us-gov.amazonaws.com","properties":{[E]:[{"name":g,[F]:h,[G]:"us-gov-west-1"}]},"headers":{}},
37+
v={[B]:"booleanEquals",[C]:[true,{[B]:"getAttr",[C]:[{[D]:e},"supportsFIPS"]}]},
38+
w={[B]:"booleanEquals",[C]:[true,{[B]:"getAttr",[C]:[{[D]:e},"supportsDualStack"]}]},
39+
x=[l],
40+
y=[m],
41+
z=[{[D]:"Region"}];
42+
const _data={version:"1.0",parameters:{Region:i,UseDualStack:j,UseFIPS:j,Endpoint:i},rules:[{conditions:[{[B]:a,[C]:[k]}],type:b,rules:[{conditions:x,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:y,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:k,properties:n,headers:n},type:d}]}]},{type:b,rules:[{conditions:[{[B]:a,[C]:z}],type:b,rules:[{conditions:[{[B]:"aws.partition",[C]:z,assign:e}],type:b,rules:[{conditions:[o,q,r],endpoint:{url:"https://iam.amazonaws.com",properties:s,headers:n},type:d},{conditions:[o,l,r],endpoint:{url:"https://iam-fips.amazonaws.com",properties:s,headers:n},type:d},{conditions:[{[B]:f,[C]:[p,"aws-cn"]},q,r],endpoint:{url:"https://iam.cn-north-1.amazonaws.com.cn",properties:{[E]:[{name:g,[F]:h,[G]:"cn-north-1"}]},headers:n},type:d},{conditions:[t,q,r],endpoint:u,type:d},{conditions:[t,l,r],endpoint:u,type:d},{conditions:[{[B]:f,[C]:[p,"aws-iso"]},q,r],endpoint:{url:"https://iam.us-iso-east-1.c2s.ic.gov",properties:{[E]:[{name:g,[F]:h,[G]:"us-iso-east-1"}]},headers:n},type:d},{conditions:[{[B]:f,[C]:[p,"aws-iso-b"]},q,r],endpoint:{url:"https://iam.us-isob-east-1.sc2s.sgov.gov",properties:{[E]:[{name:g,[F]:h,[G]:"us-isob-east-1"}]},headers:n},type:d},{conditions:[l,m],type:b,rules:[{conditions:[v,w],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iam-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:x,type:b,rules:[{conditions:[v],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iam-fips.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:y,type:b,rules:[{conditions:[w],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iam.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://iam.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]};
5643
export const ruleSet: RuleSetObject = _data;

clients/client-iam/src/models/models_0.ts

+22-22
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,27 @@ export interface CreateAccessKeyResponse {
664664
AccessKey: AccessKey | undefined;
665665
}
666666

667+
/**
668+
* @public
669+
* <p>The request was rejected because multiple requests to change this object were submitted
670+
* simultaneously. Wait a few minutes and submit your request again.</p>
671+
*/
672+
export class ConcurrentModificationException extends __BaseException {
673+
readonly name: "ConcurrentModificationException" = "ConcurrentModificationException";
674+
readonly $fault: "client" = "client";
675+
/**
676+
* @internal
677+
*/
678+
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>) {
679+
super({
680+
name: "ConcurrentModificationException",
681+
$fault: "client",
682+
...opts,
683+
});
684+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
685+
}
686+
}
687+
667688
/**
668689
* @public
669690
*/
@@ -767,27 +788,6 @@ export interface CreateGroupResponse {
767788
Group: Group | undefined;
768789
}
769790

770-
/**
771-
* @public
772-
* <p>The request was rejected because multiple requests to change this object were submitted
773-
* simultaneously. Wait a few minutes and submit your request again.</p>
774-
*/
775-
export class ConcurrentModificationException extends __BaseException {
776-
readonly name: "ConcurrentModificationException" = "ConcurrentModificationException";
777-
readonly $fault: "client" = "client";
778-
/**
779-
* @internal
780-
*/
781-
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>) {
782-
super({
783-
name: "ConcurrentModificationException",
784-
$fault: "client",
785-
...opts,
786-
});
787-
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
788-
}
789-
}
790-
791791
/**
792792
* @public
793793
* <p>A structure that represents user-provided metadata that can be associated with an IAM
@@ -1991,7 +1991,7 @@ export interface VirtualMFADevice {
19911991
SerialNumber: string | undefined;
19921992

19931993
/**
1994-
* <p> The base32 seed defined as specified in <a href="https://tools.ietf.org/html/rfc3548.txt">RFC3548</a>. The <code>Base32StringSeed</code> is base64-encoded. </p>
1994+
* <p> The base32 seed defined as specified in <a href="https://tools.ietf.org/html/rfc3548.txt">RFC3548</a>. The <code>Base32StringSeed</code> is base32-encoded. </p>
19951995
*/
19961996
Base32StringSeed?: Uint8Array;
19971997

0 commit comments

Comments
 (0)