@aws-sdk/client-migrationhub-config 3.687.0 → 3.692.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.
@@ -7,7 +7,7 @@ import { MigrationHubConfigServiceException as __BaseException } from "./Migrati
7
7
  export declare class AccessDeniedException extends __BaseException {
8
8
  readonly name: "AccessDeniedException";
9
9
  readonly $fault: "client";
10
- Message?: string;
10
+ Message?: string | undefined;
11
11
  /**
12
12
  * @internal
13
13
  */
@@ -41,7 +41,7 @@ export interface Target {
41
41
  * which the control was created. (This must be the current account.) </p>
42
42
  * @public
43
43
  */
44
- Id?: string;
44
+ Id?: string | undefined;
45
45
  }
46
46
  /**
47
47
  * @public
@@ -63,7 +63,7 @@ export interface CreateHomeRegionControlRequest {
63
63
  * the caller has permission to make the call.</p>
64
64
  * @public
65
65
  */
66
- DryRun?: boolean;
66
+ DryRun?: boolean | undefined;
67
67
  }
68
68
  /**
69
69
  * <p>A home region control is an object that specifies the home region for an account, with
@@ -77,26 +77,26 @@ export interface HomeRegionControl {
77
77
  * that begins with "hrc-" followed by 12 lowercase letters and numbers.</p>
78
78
  * @public
79
79
  */
80
- ControlId?: string;
80
+ ControlId?: string | undefined;
81
81
  /**
82
82
  * <p>The AWS Region that's been set as home region. For example, "us-west-2" or "eu-central-1"
83
83
  * are valid home regions.</p>
84
84
  * @public
85
85
  */
86
- HomeRegion?: string;
86
+ HomeRegion?: string | undefined;
87
87
  /**
88
88
  * <p>The target parameter specifies the identifier to which the home region is applied, which
89
89
  * is always an <code>ACCOUNT</code>. It applies the home region to the current
90
90
  * <code>ACCOUNT</code>.</p>
91
91
  * @public
92
92
  */
93
- Target?: Target;
93
+ Target?: Target | undefined;
94
94
  /**
95
95
  * <p>A timestamp representing the time when the customer called
96
96
  * <code>CreateHomeregionControl</code> and set the home region for the account.</p>
97
97
  * @public
98
98
  */
99
- RequestedTime?: Date;
99
+ RequestedTime?: Date | undefined;
100
100
  }
101
101
  /**
102
102
  * @public
@@ -107,7 +107,7 @@ export interface CreateHomeRegionControlResult {
107
107
  * call to <code>CreateHomeRegionControl</code>.</p>
108
108
  * @public
109
109
  */
110
- HomeRegionControl?: HomeRegionControl;
110
+ HomeRegionControl?: HomeRegionControl | undefined;
111
111
  }
112
112
  /**
113
113
  * <p>Exception raised to indicate that authorization of an action was successful, when the
@@ -117,7 +117,7 @@ export interface CreateHomeRegionControlResult {
117
117
  export declare class DryRunOperation extends __BaseException {
118
118
  readonly name: "DryRunOperation";
119
119
  readonly $fault: "client";
120
- Message?: string;
120
+ Message?: string | undefined;
121
121
  /**
122
122
  * @internal
123
123
  */
@@ -131,7 +131,7 @@ export declare class DryRunOperation extends __BaseException {
131
131
  export declare class InternalServerError extends __BaseException {
132
132
  readonly name: "InternalServerError";
133
133
  readonly $fault: "server";
134
- Message?: string;
134
+ Message?: string | undefined;
135
135
  /**
136
136
  * @internal
137
137
  */
@@ -145,7 +145,7 @@ export declare class InternalServerError extends __BaseException {
145
145
  export declare class InvalidInputException extends __BaseException {
146
146
  readonly name: "InvalidInputException";
147
147
  readonly $fault: "client";
148
- Message?: string;
148
+ Message?: string | undefined;
149
149
  /**
150
150
  * @internal
151
151
  */
@@ -159,7 +159,7 @@ export declare class InvalidInputException extends __BaseException {
159
159
  export declare class ServiceUnavailableException extends __BaseException {
160
160
  readonly name: "ServiceUnavailableException";
161
161
  readonly $fault: "server";
162
- Message?: string;
162
+ Message?: string | undefined;
163
163
  /**
164
164
  * @internal
165
165
  */
@@ -177,7 +177,7 @@ export declare class ThrottlingException extends __BaseException {
177
177
  * <p>The number of seconds the caller should wait before retrying.</p>
178
178
  * @public
179
179
  */
180
- RetryAfterSeconds?: number;
180
+ RetryAfterSeconds?: number | undefined;
181
181
  /**
182
182
  * @internal
183
183
  */
@@ -208,31 +208,31 @@ export interface DescribeHomeRegionControlsRequest {
208
208
  * <code>HomeRegionControl</code> object.</p>
209
209
  * @public
210
210
  */
211
- ControlId?: string;
211
+ ControlId?: string | undefined;
212
212
  /**
213
213
  * <p>The name of the home region you'd like to view.</p>
214
214
  * @public
215
215
  */
216
- HomeRegion?: string;
216
+ HomeRegion?: string | undefined;
217
217
  /**
218
218
  * <p>The target parameter specifies the identifier to which the home region is applied, which
219
219
  * is always of type <code>ACCOUNT</code>. It applies the home region to the current
220
220
  * <code>ACCOUNT</code>.</p>
221
221
  * @public
222
222
  */
223
- Target?: Target;
223
+ Target?: Target | undefined;
224
224
  /**
225
225
  * <p>The maximum number of filtering results to display per page. </p>
226
226
  * @public
227
227
  */
228
- MaxResults?: number;
228
+ MaxResults?: number | undefined;
229
229
  /**
230
230
  * <p>If a <code>NextToken</code> was returned by a previous call, more results are available.
231
231
  * To retrieve the next page of results, make the call again using the returned token in
232
232
  * <code>NextToken</code>.</p>
233
233
  * @public
234
234
  */
235
- NextToken?: string;
235
+ NextToken?: string | undefined;
236
236
  }
237
237
  /**
238
238
  * @public
@@ -242,14 +242,14 @@ export interface DescribeHomeRegionControlsResult {
242
242
  * <p>An array that contains your <code>HomeRegionControl</code> objects.</p>
243
243
  * @public
244
244
  */
245
- HomeRegionControls?: HomeRegionControl[];
245
+ HomeRegionControls?: HomeRegionControl[] | undefined;
246
246
  /**
247
247
  * <p>If a <code>NextToken</code> was returned by a previous call, more results are available.
248
248
  * To retrieve the next page of results, make the call again using the returned token in
249
249
  * <code>NextToken</code>.</p>
250
250
  * @public
251
251
  */
252
- NextToken?: string;
252
+ NextToken?: string | undefined;
253
253
  }
254
254
  /**
255
255
  * @public
@@ -264,5 +264,5 @@ export interface GetHomeRegionResult {
264
264
  * <p>The name of the home region of the calling account.</p>
265
265
  * @public
266
266
  */
267
- HomeRegion?: string;
267
+ HomeRegion?: string | undefined;
268
268
  }
@@ -3,7 +3,7 @@ import { MigrationHubConfigServiceException as __BaseException } from "./Migrati
3
3
  export declare class AccessDeniedException extends __BaseException {
4
4
  readonly name: "AccessDeniedException";
5
5
  readonly $fault: "client";
6
- Message?: string;
6
+ Message?: string | undefined;
7
7
  constructor(
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
@@ -14,32 +14,32 @@ export declare const TargetType: {
14
14
  export type TargetType = (typeof TargetType)[keyof typeof TargetType];
15
15
  export interface Target {
16
16
  Type: TargetType | undefined;
17
- Id?: string;
17
+ Id?: string | undefined;
18
18
  }
19
19
  export interface CreateHomeRegionControlRequest {
20
20
  HomeRegion: string | undefined;
21
21
  Target: Target | undefined;
22
- DryRun?: boolean;
22
+ DryRun?: boolean | undefined;
23
23
  }
24
24
  export interface HomeRegionControl {
25
- ControlId?: string;
26
- HomeRegion?: string;
27
- Target?: Target;
28
- RequestedTime?: Date;
25
+ ControlId?: string | undefined;
26
+ HomeRegion?: string | undefined;
27
+ Target?: Target | undefined;
28
+ RequestedTime?: Date | undefined;
29
29
  }
30
30
  export interface CreateHomeRegionControlResult {
31
- HomeRegionControl?: HomeRegionControl;
31
+ HomeRegionControl?: HomeRegionControl | undefined;
32
32
  }
33
33
  export declare class DryRunOperation extends __BaseException {
34
34
  readonly name: "DryRunOperation";
35
35
  readonly $fault: "client";
36
- Message?: string;
36
+ Message?: string | undefined;
37
37
  constructor(opts: __ExceptionOptionType<DryRunOperation, __BaseException>);
38
38
  }
39
39
  export declare class InternalServerError extends __BaseException {
40
40
  readonly name: "InternalServerError";
41
41
  readonly $fault: "server";
42
- Message?: string;
42
+ Message?: string | undefined;
43
43
  constructor(
44
44
  opts: __ExceptionOptionType<InternalServerError, __BaseException>
45
45
  );
@@ -47,7 +47,7 @@ export declare class InternalServerError extends __BaseException {
47
47
  export declare class InvalidInputException extends __BaseException {
48
48
  readonly name: "InvalidInputException";
49
49
  readonly $fault: "client";
50
- Message?: string;
50
+ Message?: string | undefined;
51
51
  constructor(
52
52
  opts: __ExceptionOptionType<InvalidInputException, __BaseException>
53
53
  );
@@ -55,7 +55,7 @@ export declare class InvalidInputException extends __BaseException {
55
55
  export declare class ServiceUnavailableException extends __BaseException {
56
56
  readonly name: "ServiceUnavailableException";
57
57
  readonly $fault: "server";
58
- Message?: string;
58
+ Message?: string | undefined;
59
59
  constructor(
60
60
  opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
61
61
  );
@@ -64,7 +64,7 @@ export declare class ThrottlingException extends __BaseException {
64
64
  readonly name: "ThrottlingException";
65
65
  readonly $fault: "client";
66
66
  Message: string | undefined;
67
- RetryAfterSeconds?: number;
67
+ RetryAfterSeconds?: number | undefined;
68
68
  constructor(
69
69
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
70
70
  );
@@ -74,17 +74,17 @@ export interface DeleteHomeRegionControlRequest {
74
74
  }
75
75
  export interface DeleteHomeRegionControlResult {}
76
76
  export interface DescribeHomeRegionControlsRequest {
77
- ControlId?: string;
78
- HomeRegion?: string;
79
- Target?: Target;
80
- MaxResults?: number;
81
- NextToken?: string;
77
+ ControlId?: string | undefined;
78
+ HomeRegion?: string | undefined;
79
+ Target?: Target | undefined;
80
+ MaxResults?: number | undefined;
81
+ NextToken?: string | undefined;
82
82
  }
83
83
  export interface DescribeHomeRegionControlsResult {
84
- HomeRegionControls?: HomeRegionControl[];
85
- NextToken?: string;
84
+ HomeRegionControls?: HomeRegionControl[] | undefined;
85
+ NextToken?: string | undefined;
86
86
  }
87
87
  export interface GetHomeRegionRequest {}
88
88
  export interface GetHomeRegionResult {
89
- HomeRegion?: string;
89
+ HomeRegion?: string | undefined;
90
90
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migrationhub-config",
3
3
  "description": "AWS SDK for JavaScript Migrationhub Config Client for Node.js, Browser and React Native",
4
- "version": "3.687.0",
4
+ "version": "3.692.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-migrationhub-config",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
27
- "@aws-sdk/middleware-host-header": "3.686.0",
28
- "@aws-sdk/middleware-logger": "3.686.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
31
- "@aws-sdk/region-config-resolver": "3.686.0",
32
- "@aws-sdk/types": "3.686.0",
33
- "@aws-sdk/util-endpoints": "3.686.0",
34
- "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
36
- "@smithy/config-resolver": "^3.0.10",
37
- "@smithy/core": "^2.5.1",
38
- "@smithy/fetch-http-handler": "^4.0.0",
39
- "@smithy/hash-node": "^3.0.8",
40
- "@smithy/invalid-dependency": "^3.0.8",
41
- "@smithy/middleware-content-length": "^3.0.10",
42
- "@smithy/middleware-endpoint": "^3.2.1",
43
- "@smithy/middleware-retry": "^3.0.25",
44
- "@smithy/middleware-serde": "^3.0.8",
45
- "@smithy/middleware-stack": "^3.0.8",
46
- "@smithy/node-config-provider": "^3.1.9",
47
- "@smithy/node-http-handler": "^3.2.5",
48
- "@smithy/protocol-http": "^4.1.5",
49
- "@smithy/smithy-client": "^3.4.2",
50
- "@smithy/types": "^3.6.0",
51
- "@smithy/url-parser": "^3.0.8",
23
+ "@aws-sdk/client-sso-oidc": "3.692.0",
24
+ "@aws-sdk/client-sts": "3.692.0",
25
+ "@aws-sdk/core": "3.692.0",
26
+ "@aws-sdk/credential-provider-node": "3.692.0",
27
+ "@aws-sdk/middleware-host-header": "3.692.0",
28
+ "@aws-sdk/middleware-logger": "3.692.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.692.0",
30
+ "@aws-sdk/middleware-user-agent": "3.692.0",
31
+ "@aws-sdk/region-config-resolver": "3.692.0",
32
+ "@aws-sdk/types": "3.692.0",
33
+ "@aws-sdk/util-endpoints": "3.692.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.692.0",
35
+ "@aws-sdk/util-user-agent-node": "3.692.0",
36
+ "@smithy/config-resolver": "^3.0.11",
37
+ "@smithy/core": "^2.5.2",
38
+ "@smithy/fetch-http-handler": "^4.1.0",
39
+ "@smithy/hash-node": "^3.0.9",
40
+ "@smithy/invalid-dependency": "^3.0.9",
41
+ "@smithy/middleware-content-length": "^3.0.11",
42
+ "@smithy/middleware-endpoint": "^3.2.2",
43
+ "@smithy/middleware-retry": "^3.0.26",
44
+ "@smithy/middleware-serde": "^3.0.9",
45
+ "@smithy/middleware-stack": "^3.0.9",
46
+ "@smithy/node-config-provider": "^3.1.10",
47
+ "@smithy/node-http-handler": "^3.3.0",
48
+ "@smithy/protocol-http": "^4.1.6",
49
+ "@smithy/smithy-client": "^3.4.3",
50
+ "@smithy/types": "^3.7.0",
51
+ "@smithy/url-parser": "^3.0.9",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.25",
56
- "@smithy/util-defaults-mode-node": "^3.0.25",
57
- "@smithy/util-endpoints": "^2.1.4",
58
- "@smithy/util-middleware": "^3.0.8",
59
- "@smithy/util-retry": "^3.0.8",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.26",
56
+ "@smithy/util-defaults-mode-node": "^3.0.26",
57
+ "@smithy/util-endpoints": "^2.1.5",
58
+ "@smithy/util-middleware": "^3.0.9",
59
+ "@smithy/util-retry": "^3.0.9",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },