@aws-sdk/client-account 3.427.0 → 3.429.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,7 +34,7 @@ export interface DeleteAlternateContactRequest {
34
34
  * @public
35
35
  * <p>Specifies which of the alternate contacts to delete. </p>
36
36
  */
37
- AlternateContactType: AlternateContactType | string | undefined;
37
+ AlternateContactType: AlternateContactType | undefined;
38
38
  /**
39
39
  * @public
40
40
  * <p>Specifies the 12 digit account ID number of the Amazon Web Services account that
@@ -139,7 +139,7 @@ export declare class ValidationException extends __BaseException {
139
139
  * @public
140
140
  * <p>The reason that validation failed.</p>
141
141
  */
142
- reason?: ValidationExceptionReason | string;
142
+ reason?: ValidationExceptionReason;
143
143
  /**
144
144
  * @public
145
145
  * <p>The field where the invalid entry was detected.</p>
@@ -158,7 +158,7 @@ export interface GetAlternateContactRequest {
158
158
  * @public
159
159
  * <p>Specifies which alternate contact you want to retrieve.</p>
160
160
  */
161
- AlternateContactType: AlternateContactType | string | undefined;
161
+ AlternateContactType: AlternateContactType | undefined;
162
162
  /**
163
163
  * @public
164
164
  * <p>Specifies the 12 digit account ID number of the Amazon Web Services account that
@@ -212,7 +212,7 @@ export interface AlternateContact {
212
212
  * @public
213
213
  * <p>The type of alternate contact.</p>
214
214
  */
215
- AlternateContactType?: AlternateContactType | string;
215
+ AlternateContactType?: AlternateContactType;
216
216
  }
217
217
  /**
218
218
  * @public
@@ -252,7 +252,7 @@ export interface PutAlternateContactRequest {
252
252
  * @public
253
253
  * <p>Specifies which alternate contact you want to create or update.</p>
254
254
  */
255
- AlternateContactType: AlternateContactType | string | undefined;
255
+ AlternateContactType: AlternateContactType | undefined;
256
256
  /**
257
257
  * @public
258
258
  * <p>Specifies the 12 digit account ID number of the Amazon Web Services account that
@@ -560,7 +560,7 @@ export interface GetRegionOptStatusResponse {
560
560
  * <p>One of the potential statuses a Region can undergo (Enabled, Enabling, Disabled,
561
561
  * Disabling, Enabled_By_Default).</p>
562
562
  */
563
- RegionOptStatus?: RegionOptStatus | string;
563
+ RegionOptStatus?: RegionOptStatus;
564
564
  }
565
565
  /**
566
566
  * @public
@@ -613,7 +613,7 @@ export interface ListRegionsRequest {
613
613
  * value of ENABLING will only return a list of Regions with a Region status of
614
614
  * ENABLING.</p>
615
615
  */
616
- RegionOptStatusContains?: (RegionOptStatus | string)[];
616
+ RegionOptStatusContains?: RegionOptStatus[];
617
617
  }
618
618
  /**
619
619
  * @public
@@ -631,7 +631,7 @@ export interface Region {
631
631
  * <p>One of potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling,
632
632
  * Enabled_By_Default).</p>
633
633
  */
634
- RegionOptStatus?: RegionOptStatus | string;
634
+ RegionOptStatus?: RegionOptStatus;
635
635
  }
636
636
  /**
637
637
  * @public
@@ -15,7 +15,7 @@ export declare const AlternateContactType: {
15
15
  export type AlternateContactType =
16
16
  (typeof AlternateContactType)[keyof typeof AlternateContactType];
17
17
  export interface DeleteAlternateContactRequest {
18
- AlternateContactType: AlternateContactType | string | undefined;
18
+ AlternateContactType: AlternateContactType | undefined;
19
19
  AccountId?: string;
20
20
  }
21
21
  export declare class InternalServerException extends __BaseException {
@@ -56,14 +56,14 @@ export type ValidationExceptionReason =
56
56
  export declare class ValidationException extends __BaseException {
57
57
  readonly name: "ValidationException";
58
58
  readonly $fault: "client";
59
- reason?: ValidationExceptionReason | string;
59
+ reason?: ValidationExceptionReason;
60
60
  fieldList?: ValidationExceptionField[];
61
61
  constructor(
62
62
  opts: __ExceptionOptionType<ValidationException, __BaseException>
63
63
  );
64
64
  }
65
65
  export interface GetAlternateContactRequest {
66
- AlternateContactType: AlternateContactType | string | undefined;
66
+ AlternateContactType: AlternateContactType | undefined;
67
67
  AccountId?: string;
68
68
  }
69
69
  export interface AlternateContact {
@@ -71,7 +71,7 @@ export interface AlternateContact {
71
71
  Title?: string;
72
72
  EmailAddress?: string;
73
73
  PhoneNumber?: string;
74
- AlternateContactType?: AlternateContactType | string;
74
+ AlternateContactType?: AlternateContactType;
75
75
  }
76
76
  export interface GetAlternateContactResponse {
77
77
  AlternateContact?: AlternateContact;
@@ -81,7 +81,7 @@ export interface PutAlternateContactRequest {
81
81
  Title: string | undefined;
82
82
  EmailAddress: string | undefined;
83
83
  PhoneNumber: string | undefined;
84
- AlternateContactType: AlternateContactType | string | undefined;
84
+ AlternateContactType: AlternateContactType | undefined;
85
85
  AccountId?: string;
86
86
  }
87
87
  export interface GetContactInformationRequest {
@@ -136,17 +136,17 @@ export type RegionOptStatus =
136
136
  (typeof RegionOptStatus)[keyof typeof RegionOptStatus];
137
137
  export interface GetRegionOptStatusResponse {
138
138
  RegionName?: string;
139
- RegionOptStatus?: RegionOptStatus | string;
139
+ RegionOptStatus?: RegionOptStatus;
140
140
  }
141
141
  export interface ListRegionsRequest {
142
142
  AccountId?: string;
143
143
  MaxResults?: number;
144
144
  NextToken?: string;
145
- RegionOptStatusContains?: (RegionOptStatus | string)[];
145
+ RegionOptStatusContains?: RegionOptStatus[];
146
146
  }
147
147
  export interface Region {
148
148
  RegionName?: string;
149
- RegionOptStatus?: RegionOptStatus | string;
149
+ RegionOptStatus?: RegionOptStatus;
150
150
  }
151
151
  export interface ListRegionsResponse {
152
152
  NextToken?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-account",
3
3
  "description": "AWS SDK for JavaScript Account Client for Node.js, Browser and React Native",
4
- "version": "3.427.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,39 +21,39 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"
59
59
  },