@aws-sdk/client-route53profiles 3.933.0 → 3.935.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.
package/dist-cjs/index.js CHANGED
@@ -131,14 +131,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends Route53Profile
131
131
  this.Message = opts.Message;
132
132
  }
133
133
  };
134
- const ProfileStatus = {
135
- COMPLETE: "COMPLETE",
136
- CREATING: "CREATING",
137
- DELETED: "DELETED",
138
- DELETING: "DELETING",
139
- FAILED: "FAILED",
140
- UPDATING: "UPDATING",
141
- };
142
134
  let ConflictException$1 = class ConflictException extends Route53ProfilesServiceException$1 {
143
135
  name = "ConflictException";
144
136
  $fault = "client";
@@ -259,11 +251,6 @@ let InternalServiceErrorException$1 = class InternalServiceErrorException extend
259
251
  this.Message = opts.Message;
260
252
  }
261
253
  };
262
- const ShareStatus = {
263
- NOT_SHARED: "NOT_SHARED",
264
- SHARED_BY_ME: "SHARED_BY_ME",
265
- SHARED_WITH_ME: "SHARED_WITH_ME",
266
- };
267
254
  let InvalidNextTokenException$1 = class InvalidNextTokenException extends Route53ProfilesServiceException$1 {
268
255
  name = "InvalidNextTokenException";
269
256
  $fault = "client";
@@ -1116,6 +1103,20 @@ const paginateListProfileResourceAssociations = core.createPaginator(Route53Prof
1116
1103
 
1117
1104
  const paginateListProfiles = core.createPaginator(Route53ProfilesClient, ListProfilesCommand, "NextToken", "NextToken", "MaxResults");
1118
1105
 
1106
+ const ProfileStatus = {
1107
+ COMPLETE: "COMPLETE",
1108
+ CREATING: "CREATING",
1109
+ DELETED: "DELETED",
1110
+ DELETING: "DELETING",
1111
+ FAILED: "FAILED",
1112
+ UPDATING: "UPDATING",
1113
+ };
1114
+ const ShareStatus = {
1115
+ NOT_SHARED: "NOT_SHARED",
1116
+ SHARED_BY_ME: "SHARED_BY_ME",
1117
+ SHARED_WITH_ME: "SHARED_WITH_ME",
1118
+ };
1119
+
1119
1120
  Object.defineProperty(exports, "$Command", {
1120
1121
  enumerable: true,
1121
1122
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./Route53ProfilesClient";
2
2
  export * from "./Route53Profiles";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { Route53ProfilesServiceException } from "./models/Route53ProfilesServiceException";
@@ -0,0 +1,13 @@
1
+ export const ProfileStatus = {
2
+ COMPLETE: "COMPLETE",
3
+ CREATING: "CREATING",
4
+ DELETED: "DELETED",
5
+ DELETING: "DELETING",
6
+ FAILED: "FAILED",
7
+ UPDATING: "UPDATING",
8
+ };
9
+ export const ShareStatus = {
10
+ NOT_SHARED: "NOT_SHARED",
11
+ SHARED_BY_ME: "SHARED_BY_ME",
12
+ SHARED_WITH_ME: "SHARED_WITH_ME",
13
+ };
@@ -0,0 +1,149 @@
1
+ import { Route53ProfilesServiceException as __BaseException } from "./Route53ProfilesServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ Message;
6
+ constructor(opts) {
7
+ super({
8
+ name: "AccessDeniedException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class ConflictException extends __BaseException {
17
+ name = "ConflictException";
18
+ $fault = "client";
19
+ Message;
20
+ constructor(opts) {
21
+ super({
22
+ name: "ConflictException",
23
+ $fault: "client",
24
+ ...opts,
25
+ });
26
+ Object.setPrototypeOf(this, ConflictException.prototype);
27
+ this.Message = opts.Message;
28
+ }
29
+ }
30
+ export class InvalidParameterException extends __BaseException {
31
+ name = "InvalidParameterException";
32
+ $fault = "client";
33
+ Message;
34
+ FieldName;
35
+ constructor(opts) {
36
+ super({
37
+ name: "InvalidParameterException",
38
+ $fault: "client",
39
+ ...opts,
40
+ });
41
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
42
+ this.Message = opts.Message;
43
+ this.FieldName = opts.FieldName;
44
+ }
45
+ }
46
+ export class LimitExceededException extends __BaseException {
47
+ name = "LimitExceededException";
48
+ $fault = "client";
49
+ Message;
50
+ ResourceType;
51
+ constructor(opts) {
52
+ super({
53
+ name: "LimitExceededException",
54
+ $fault: "client",
55
+ ...opts,
56
+ });
57
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
58
+ this.Message = opts.Message;
59
+ this.ResourceType = opts.ResourceType;
60
+ }
61
+ }
62
+ export class ResourceExistsException extends __BaseException {
63
+ name = "ResourceExistsException";
64
+ $fault = "client";
65
+ Message;
66
+ ResourceType;
67
+ constructor(opts) {
68
+ super({
69
+ name: "ResourceExistsException",
70
+ $fault: "client",
71
+ ...opts,
72
+ });
73
+ Object.setPrototypeOf(this, ResourceExistsException.prototype);
74
+ this.Message = opts.Message;
75
+ this.ResourceType = opts.ResourceType;
76
+ }
77
+ }
78
+ export class ResourceNotFoundException extends __BaseException {
79
+ name = "ResourceNotFoundException";
80
+ $fault = "client";
81
+ Message;
82
+ ResourceType;
83
+ constructor(opts) {
84
+ super({
85
+ name: "ResourceNotFoundException",
86
+ $fault: "client",
87
+ ...opts,
88
+ });
89
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
90
+ this.Message = opts.Message;
91
+ this.ResourceType = opts.ResourceType;
92
+ }
93
+ }
94
+ export class ThrottlingException extends __BaseException {
95
+ name = "ThrottlingException";
96
+ $fault = "client";
97
+ Message;
98
+ constructor(opts) {
99
+ super({
100
+ name: "ThrottlingException",
101
+ $fault: "client",
102
+ ...opts,
103
+ });
104
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
105
+ this.Message = opts.Message;
106
+ }
107
+ }
108
+ export class ValidationException extends __BaseException {
109
+ name = "ValidationException";
110
+ $fault = "client";
111
+ Message;
112
+ constructor(opts) {
113
+ super({
114
+ name: "ValidationException",
115
+ $fault: "client",
116
+ ...opts,
117
+ });
118
+ Object.setPrototypeOf(this, ValidationException.prototype);
119
+ this.Message = opts.Message;
120
+ }
121
+ }
122
+ export class InternalServiceErrorException extends __BaseException {
123
+ name = "InternalServiceErrorException";
124
+ $fault = "client";
125
+ Message;
126
+ constructor(opts) {
127
+ super({
128
+ name: "InternalServiceErrorException",
129
+ $fault: "client",
130
+ ...opts,
131
+ });
132
+ Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
133
+ this.Message = opts.Message;
134
+ }
135
+ }
136
+ export class InvalidNextTokenException extends __BaseException {
137
+ name = "InvalidNextTokenException";
138
+ $fault = "client";
139
+ Message;
140
+ constructor(opts) {
141
+ super({
142
+ name: "InvalidNextTokenException",
143
+ $fault: "client",
144
+ ...opts,
145
+ });
146
+ Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
147
+ this.Message = opts.Message;
148
+ }
149
+ }
@@ -1,162 +1 @@
1
- import { Route53ProfilesServiceException as __BaseException } from "./Route53ProfilesServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- Message;
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
- this.Message = opts.Message;
14
- }
15
- }
16
- export const ProfileStatus = {
17
- COMPLETE: "COMPLETE",
18
- CREATING: "CREATING",
19
- DELETED: "DELETED",
20
- DELETING: "DELETING",
21
- FAILED: "FAILED",
22
- UPDATING: "UPDATING",
23
- };
24
- export class ConflictException extends __BaseException {
25
- name = "ConflictException";
26
- $fault = "client";
27
- Message;
28
- constructor(opts) {
29
- super({
30
- name: "ConflictException",
31
- $fault: "client",
32
- ...opts,
33
- });
34
- Object.setPrototypeOf(this, ConflictException.prototype);
35
- this.Message = opts.Message;
36
- }
37
- }
38
- export class InvalidParameterException extends __BaseException {
39
- name = "InvalidParameterException";
40
- $fault = "client";
41
- Message;
42
- FieldName;
43
- constructor(opts) {
44
- super({
45
- name: "InvalidParameterException",
46
- $fault: "client",
47
- ...opts,
48
- });
49
- Object.setPrototypeOf(this, InvalidParameterException.prototype);
50
- this.Message = opts.Message;
51
- this.FieldName = opts.FieldName;
52
- }
53
- }
54
- export class LimitExceededException extends __BaseException {
55
- name = "LimitExceededException";
56
- $fault = "client";
57
- Message;
58
- ResourceType;
59
- constructor(opts) {
60
- super({
61
- name: "LimitExceededException",
62
- $fault: "client",
63
- ...opts,
64
- });
65
- Object.setPrototypeOf(this, LimitExceededException.prototype);
66
- this.Message = opts.Message;
67
- this.ResourceType = opts.ResourceType;
68
- }
69
- }
70
- export class ResourceExistsException extends __BaseException {
71
- name = "ResourceExistsException";
72
- $fault = "client";
73
- Message;
74
- ResourceType;
75
- constructor(opts) {
76
- super({
77
- name: "ResourceExistsException",
78
- $fault: "client",
79
- ...opts,
80
- });
81
- Object.setPrototypeOf(this, ResourceExistsException.prototype);
82
- this.Message = opts.Message;
83
- this.ResourceType = opts.ResourceType;
84
- }
85
- }
86
- export class ResourceNotFoundException extends __BaseException {
87
- name = "ResourceNotFoundException";
88
- $fault = "client";
89
- Message;
90
- ResourceType;
91
- constructor(opts) {
92
- super({
93
- name: "ResourceNotFoundException",
94
- $fault: "client",
95
- ...opts,
96
- });
97
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
98
- this.Message = opts.Message;
99
- this.ResourceType = opts.ResourceType;
100
- }
101
- }
102
- export class ThrottlingException extends __BaseException {
103
- name = "ThrottlingException";
104
- $fault = "client";
105
- Message;
106
- constructor(opts) {
107
- super({
108
- name: "ThrottlingException",
109
- $fault: "client",
110
- ...opts,
111
- });
112
- Object.setPrototypeOf(this, ThrottlingException.prototype);
113
- this.Message = opts.Message;
114
- }
115
- }
116
- export class ValidationException extends __BaseException {
117
- name = "ValidationException";
118
- $fault = "client";
119
- Message;
120
- constructor(opts) {
121
- super({
122
- name: "ValidationException",
123
- $fault: "client",
124
- ...opts,
125
- });
126
- Object.setPrototypeOf(this, ValidationException.prototype);
127
- this.Message = opts.Message;
128
- }
129
- }
130
- export class InternalServiceErrorException extends __BaseException {
131
- name = "InternalServiceErrorException";
132
- $fault = "client";
133
- Message;
134
- constructor(opts) {
135
- super({
136
- name: "InternalServiceErrorException",
137
- $fault: "client",
138
- ...opts,
139
- });
140
- Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
141
- this.Message = opts.Message;
142
- }
143
- }
144
- export const ShareStatus = {
145
- NOT_SHARED: "NOT_SHARED",
146
- SHARED_BY_ME: "SHARED_BY_ME",
147
- SHARED_WITH_ME: "SHARED_WITH_ME",
148
- };
149
- export class InvalidNextTokenException extends __BaseException {
150
- name = "InvalidNextTokenException";
151
- $fault = "client";
152
- Message;
153
- constructor(opts) {
154
- super({
155
- name: "InvalidNextTokenException",
156
- $fault: "client",
157
- ...opts,
158
- });
159
- Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
160
- this.Message = opts.Message;
161
- }
162
- }
1
+ export {};
@@ -104,7 +104,7 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.route53profiles";
104
104
  const _tK = "tagKeys";
105
105
  const n0 = "com.amazonaws.route53profiles";
106
106
  import { TypeRegistry } from "@smithy/core/schema";
107
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServiceErrorException as __InternalServiceErrorException, InvalidNextTokenException as __InvalidNextTokenException, InvalidParameterException as __InvalidParameterException, LimitExceededException as __LimitExceededException, ResourceExistsException as __ResourceExistsException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
107
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServiceErrorException as __InternalServiceErrorException, InvalidNextTokenException as __InvalidNextTokenException, InvalidParameterException as __InvalidParameterException, LimitExceededException as __LimitExceededException, ResourceExistsException as __ResourceExistsException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
108
108
  import { Route53ProfilesServiceException as __Route53ProfilesServiceException } from "../models/Route53ProfilesServiceException";
109
109
  export var AccessDeniedException = [
110
110
  -3,
@@ -12,5 +12,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
12
12
  export type { Route53ProfilesExtensionConfiguration } from "./extensionConfiguration";
13
13
  export * from "./commands";
14
14
  export * from "./pagination";
15
- export * from "./models";
15
+ export * from "./models/enums";
16
+ export * from "./models/errors";
17
+ export type * from "./models/models_0";
16
18
  export { Route53ProfilesServiceException } from "./models/Route53ProfilesServiceException";
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ProfileStatus: {
6
+ readonly COMPLETE: "COMPLETE";
7
+ readonly CREATING: "CREATING";
8
+ readonly DELETED: "DELETED";
9
+ readonly DELETING: "DELETING";
10
+ readonly FAILED: "FAILED";
11
+ readonly UPDATING: "UPDATING";
12
+ };
13
+ /**
14
+ * @public
15
+ */
16
+ export type ProfileStatus = (typeof ProfileStatus)[keyof typeof ProfileStatus];
17
+ /**
18
+ * @public
19
+ * @enum
20
+ */
21
+ export declare const ShareStatus: {
22
+ readonly NOT_SHARED: "NOT_SHARED";
23
+ readonly SHARED_BY_ME: "SHARED_BY_ME";
24
+ readonly SHARED_WITH_ME: "SHARED_WITH_ME";
25
+ };
26
+ /**
27
+ * @public
28
+ */
29
+ export type ShareStatus = (typeof ShareStatus)[keyof typeof ShareStatus];
@@ -0,0 +1,180 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { Route53ProfilesServiceException as __BaseException } from "./Route53ProfilesServiceException";
3
+ /**
4
+ * <p>
5
+ * The current account doesn't have the IAM permissions required to perform the specified operation.
6
+ * </p>
7
+ * @public
8
+ */
9
+ export declare class AccessDeniedException extends __BaseException {
10
+ readonly name: "AccessDeniedException";
11
+ readonly $fault: "client";
12
+ Message?: string | undefined;
13
+ /**
14
+ * @internal
15
+ */
16
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
17
+ }
18
+ /**
19
+ * <p>
20
+ * The request you submitted conflicts with an existing request.
21
+ * </p>
22
+ * @public
23
+ */
24
+ export declare class ConflictException extends __BaseException {
25
+ readonly name: "ConflictException";
26
+ readonly $fault: "client";
27
+ Message?: string | undefined;
28
+ /**
29
+ * @internal
30
+ */
31
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
32
+ }
33
+ /**
34
+ * <p>
35
+ * One or more parameters in this request are not valid.
36
+ * </p>
37
+ * @public
38
+ */
39
+ export declare class InvalidParameterException extends __BaseException {
40
+ readonly name: "InvalidParameterException";
41
+ readonly $fault: "client";
42
+ Message: string | undefined;
43
+ /**
44
+ * <p>
45
+ * The parameter field name for the invalid parameter exception.
46
+ * </p>
47
+ * @public
48
+ */
49
+ FieldName?: string | undefined;
50
+ /**
51
+ * @internal
52
+ */
53
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
54
+ }
55
+ /**
56
+ * <p>
57
+ * The request caused one or more limits to be exceeded.
58
+ * </p>
59
+ * @public
60
+ */
61
+ export declare class LimitExceededException extends __BaseException {
62
+ readonly name: "LimitExceededException";
63
+ readonly $fault: "client";
64
+ Message?: string | undefined;
65
+ /**
66
+ * <p>
67
+ * The resource type that caused the limits to be exceeded.
68
+ * </p>
69
+ * @public
70
+ */
71
+ ResourceType?: string | undefined;
72
+ /**
73
+ * @internal
74
+ */
75
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
76
+ }
77
+ /**
78
+ * <p>
79
+ * The resource you are trying to associate, has already been associated.
80
+ * </p>
81
+ * @public
82
+ */
83
+ export declare class ResourceExistsException extends __BaseException {
84
+ readonly name: "ResourceExistsException";
85
+ readonly $fault: "client";
86
+ Message?: string | undefined;
87
+ /**
88
+ * <p>
89
+ * The resource type that caused the resource exists exception.
90
+ * </p>
91
+ * @public
92
+ */
93
+ ResourceType?: string | undefined;
94
+ /**
95
+ * @internal
96
+ */
97
+ constructor(opts: __ExceptionOptionType<ResourceExistsException, __BaseException>);
98
+ }
99
+ /**
100
+ * <p>
101
+ * The resource you are associating is not found.
102
+ * </p>
103
+ * @public
104
+ */
105
+ export declare class ResourceNotFoundException extends __BaseException {
106
+ readonly name: "ResourceNotFoundException";
107
+ readonly $fault: "client";
108
+ Message?: string | undefined;
109
+ /**
110
+ * <p>
111
+ * The resource type that caused the resource not found exception.
112
+ * </p>
113
+ * @public
114
+ */
115
+ ResourceType?: string | undefined;
116
+ /**
117
+ * @internal
118
+ */
119
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
120
+ }
121
+ /**
122
+ * <p>
123
+ * The request was throttled. Try again in a few minutes.
124
+ * </p>
125
+ * @public
126
+ */
127
+ export declare class ThrottlingException extends __BaseException {
128
+ readonly name: "ThrottlingException";
129
+ readonly $fault: "client";
130
+ Message?: string | undefined;
131
+ /**
132
+ * @internal
133
+ */
134
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
135
+ }
136
+ /**
137
+ * <p>
138
+ * You have provided an invalid command.
139
+ * </p>
140
+ * @public
141
+ */
142
+ export declare class ValidationException extends __BaseException {
143
+ readonly name: "ValidationException";
144
+ readonly $fault: "client";
145
+ Message?: string | undefined;
146
+ /**
147
+ * @internal
148
+ */
149
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
150
+ }
151
+ /**
152
+ * <p>
153
+ * An internal server error occured. Retry your request.
154
+ * </p>
155
+ * @public
156
+ */
157
+ export declare class InternalServiceErrorException extends __BaseException {
158
+ readonly name: "InternalServiceErrorException";
159
+ readonly $fault: "client";
160
+ Message?: string | undefined;
161
+ /**
162
+ * @internal
163
+ */
164
+ constructor(opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>);
165
+ }
166
+ /**
167
+ * <p>
168
+ * The <code>NextToken</code> you provided isn;t valid.
169
+ * </p>
170
+ * @public
171
+ */
172
+ export declare class InvalidNextTokenException extends __BaseException {
173
+ readonly name: "InvalidNextTokenException";
174
+ readonly $fault: "client";
175
+ Message?: string | undefined;
176
+ /**
177
+ * @internal
178
+ */
179
+ constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
180
+ }
@@ -1,20 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { Route53ProfilesServiceException as __BaseException } from "./Route53ProfilesServiceException";
3
- /**
4
- * <p>
5
- * The current account doesn't have the IAM permissions required to perform the specified operation.
6
- * </p>
7
- * @public
8
- */
9
- export declare class AccessDeniedException extends __BaseException {
10
- readonly name: "AccessDeniedException";
11
- readonly $fault: "client";
12
- Message?: string | undefined;
13
- /**
14
- * @internal
15
- */
16
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
17
- }
1
+ import { ProfileStatus, ShareStatus } from "./enums";
18
2
  /**
19
3
  * <p>
20
4
  * Tag for the Profile.
@@ -70,22 +54,6 @@ export interface AssociateProfileRequest {
70
54
  */
71
55
  Tags?: Tag[] | undefined;
72
56
  }
73
- /**
74
- * @public
75
- * @enum
76
- */
77
- export declare const ProfileStatus: {
78
- readonly COMPLETE: "COMPLETE";
79
- readonly CREATING: "CREATING";
80
- readonly DELETED: "DELETED";
81
- readonly DELETING: "DELETING";
82
- readonly FAILED: "FAILED";
83
- readonly UPDATING: "UPDATING";
84
- };
85
- /**
86
- * @public
87
- */
88
- export type ProfileStatus = (typeof ProfileStatus)[keyof typeof ProfileStatus];
89
57
  /**
90
58
  * <p>
91
59
  * An association between a Route 53 Profile and a VPC.
@@ -169,139 +137,6 @@ export interface AssociateProfileResponse {
169
137
  */
170
138
  ProfileAssociation?: ProfileAssociation | undefined;
171
139
  }
172
- /**
173
- * <p>
174
- * The request you submitted conflicts with an existing request.
175
- * </p>
176
- * @public
177
- */
178
- export declare class ConflictException extends __BaseException {
179
- readonly name: "ConflictException";
180
- readonly $fault: "client";
181
- Message?: string | undefined;
182
- /**
183
- * @internal
184
- */
185
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
186
- }
187
- /**
188
- * <p>
189
- * One or more parameters in this request are not valid.
190
- * </p>
191
- * @public
192
- */
193
- export declare class InvalidParameterException extends __BaseException {
194
- readonly name: "InvalidParameterException";
195
- readonly $fault: "client";
196
- Message: string | undefined;
197
- /**
198
- * <p>
199
- * The parameter field name for the invalid parameter exception.
200
- * </p>
201
- * @public
202
- */
203
- FieldName?: string | undefined;
204
- /**
205
- * @internal
206
- */
207
- constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
208
- }
209
- /**
210
- * <p>
211
- * The request caused one or more limits to be exceeded.
212
- * </p>
213
- * @public
214
- */
215
- export declare class LimitExceededException extends __BaseException {
216
- readonly name: "LimitExceededException";
217
- readonly $fault: "client";
218
- Message?: string | undefined;
219
- /**
220
- * <p>
221
- * The resource type that caused the limits to be exceeded.
222
- * </p>
223
- * @public
224
- */
225
- ResourceType?: string | undefined;
226
- /**
227
- * @internal
228
- */
229
- constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
230
- }
231
- /**
232
- * <p>
233
- * The resource you are trying to associate, has already been associated.
234
- * </p>
235
- * @public
236
- */
237
- export declare class ResourceExistsException extends __BaseException {
238
- readonly name: "ResourceExistsException";
239
- readonly $fault: "client";
240
- Message?: string | undefined;
241
- /**
242
- * <p>
243
- * The resource type that caused the resource exists exception.
244
- * </p>
245
- * @public
246
- */
247
- ResourceType?: string | undefined;
248
- /**
249
- * @internal
250
- */
251
- constructor(opts: __ExceptionOptionType<ResourceExistsException, __BaseException>);
252
- }
253
- /**
254
- * <p>
255
- * The resource you are associating is not found.
256
- * </p>
257
- * @public
258
- */
259
- export declare class ResourceNotFoundException extends __BaseException {
260
- readonly name: "ResourceNotFoundException";
261
- readonly $fault: "client";
262
- Message?: string | undefined;
263
- /**
264
- * <p>
265
- * The resource type that caused the resource not found exception.
266
- * </p>
267
- * @public
268
- */
269
- ResourceType?: string | undefined;
270
- /**
271
- * @internal
272
- */
273
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
274
- }
275
- /**
276
- * <p>
277
- * The request was throttled. Try again in a few minutes.
278
- * </p>
279
- * @public
280
- */
281
- export declare class ThrottlingException extends __BaseException {
282
- readonly name: "ThrottlingException";
283
- readonly $fault: "client";
284
- Message?: string | undefined;
285
- /**
286
- * @internal
287
- */
288
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
289
- }
290
- /**
291
- * <p>
292
- * You have provided an invalid command.
293
- * </p>
294
- * @public
295
- */
296
- export declare class ValidationException extends __BaseException {
297
- readonly name: "ValidationException";
298
- readonly $fault: "client";
299
- Message?: string | undefined;
300
- /**
301
- * @internal
302
- */
303
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
304
- }
305
140
  /**
306
141
  * @public
307
142
  */
@@ -433,21 +268,6 @@ export interface AssociateResourceToProfileResponse {
433
268
  */
434
269
  ProfileResourceAssociation?: ProfileResourceAssociation | undefined;
435
270
  }
436
- /**
437
- * <p>
438
- * An internal server error occured. Retry your request.
439
- * </p>
440
- * @public
441
- */
442
- export declare class InternalServiceErrorException extends __BaseException {
443
- readonly name: "InternalServiceErrorException";
444
- readonly $fault: "client";
445
- Message?: string | undefined;
446
- /**
447
- * @internal
448
- */
449
- constructor(opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>);
450
- }
451
271
  /**
452
272
  * @public
453
273
  */
@@ -476,19 +296,6 @@ export interface CreateProfileRequest {
476
296
  */
477
297
  Tags?: Tag[] | undefined;
478
298
  }
479
- /**
480
- * @public
481
- * @enum
482
- */
483
- export declare const ShareStatus: {
484
- readonly NOT_SHARED: "NOT_SHARED";
485
- readonly SHARED_BY_ME: "SHARED_BY_ME";
486
- readonly SHARED_WITH_ME: "SHARED_WITH_ME";
487
- };
488
- /**
489
- * @public
490
- */
491
- export type ShareStatus = (typeof ShareStatus)[keyof typeof ShareStatus];
492
299
  /**
493
300
  * <p>
494
301
  * A complex type that includes settings for a Route 53 Profile.
@@ -737,21 +544,6 @@ export interface GetProfileResourceAssociationResponse {
737
544
  */
738
545
  ProfileResourceAssociation?: ProfileResourceAssociation | undefined;
739
546
  }
740
- /**
741
- * <p>
742
- * The <code>NextToken</code> you provided isn;t valid.
743
- * </p>
744
- * @public
745
- */
746
- export declare class InvalidNextTokenException extends __BaseException {
747
- readonly name: "InvalidNextTokenException";
748
- readonly $fault: "client";
749
- Message?: string | undefined;
750
- /**
751
- * @internal
752
- */
753
- constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
754
- }
755
547
  /**
756
548
  * @public
757
549
  */
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { Route53ProfilesExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { Route53ProfilesServiceException } from "./models/Route53ProfilesServiceException";
@@ -0,0 +1,15 @@
1
+ export declare const ProfileStatus: {
2
+ readonly COMPLETE: "COMPLETE";
3
+ readonly CREATING: "CREATING";
4
+ readonly DELETED: "DELETED";
5
+ readonly DELETING: "DELETING";
6
+ readonly FAILED: "FAILED";
7
+ readonly UPDATING: "UPDATING";
8
+ };
9
+ export type ProfileStatus = (typeof ProfileStatus)[keyof typeof ProfileStatus];
10
+ export declare const ShareStatus: {
11
+ readonly NOT_SHARED: "NOT_SHARED";
12
+ readonly SHARED_BY_ME: "SHARED_BY_ME";
13
+ readonly SHARED_WITH_ME: "SHARED_WITH_ME";
14
+ };
15
+ export type ShareStatus = (typeof ShareStatus)[keyof typeof ShareStatus];
@@ -0,0 +1,84 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { Route53ProfilesServiceException as __BaseException } from "./Route53ProfilesServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ Message?: string | undefined;
7
+ constructor(
8
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
+ );
10
+ }
11
+ export declare class ConflictException extends __BaseException {
12
+ readonly name: "ConflictException";
13
+ readonly $fault: "client";
14
+ Message?: string | undefined;
15
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
16
+ }
17
+ export declare class InvalidParameterException extends __BaseException {
18
+ readonly name: "InvalidParameterException";
19
+ readonly $fault: "client";
20
+ Message: string | undefined;
21
+ FieldName?: string | undefined;
22
+ constructor(
23
+ opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
24
+ );
25
+ }
26
+ export declare class LimitExceededException extends __BaseException {
27
+ readonly name: "LimitExceededException";
28
+ readonly $fault: "client";
29
+ Message?: string | undefined;
30
+ ResourceType?: string | undefined;
31
+ constructor(
32
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
33
+ );
34
+ }
35
+ export declare class ResourceExistsException extends __BaseException {
36
+ readonly name: "ResourceExistsException";
37
+ readonly $fault: "client";
38
+ Message?: string | undefined;
39
+ ResourceType?: string | undefined;
40
+ constructor(
41
+ opts: __ExceptionOptionType<ResourceExistsException, __BaseException>
42
+ );
43
+ }
44
+ export declare class ResourceNotFoundException extends __BaseException {
45
+ readonly name: "ResourceNotFoundException";
46
+ readonly $fault: "client";
47
+ Message?: string | undefined;
48
+ ResourceType?: string | undefined;
49
+ constructor(
50
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
51
+ );
52
+ }
53
+ export declare class ThrottlingException extends __BaseException {
54
+ readonly name: "ThrottlingException";
55
+ readonly $fault: "client";
56
+ Message?: string | undefined;
57
+ constructor(
58
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
59
+ );
60
+ }
61
+ export declare class ValidationException extends __BaseException {
62
+ readonly name: "ValidationException";
63
+ readonly $fault: "client";
64
+ Message?: string | undefined;
65
+ constructor(
66
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
67
+ );
68
+ }
69
+ export declare class InternalServiceErrorException extends __BaseException {
70
+ readonly name: "InternalServiceErrorException";
71
+ readonly $fault: "client";
72
+ Message?: string | undefined;
73
+ constructor(
74
+ opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>
75
+ );
76
+ }
77
+ export declare class InvalidNextTokenException extends __BaseException {
78
+ readonly name: "InvalidNextTokenException";
79
+ readonly $fault: "client";
80
+ Message?: string | undefined;
81
+ constructor(
82
+ opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
83
+ );
84
+ }
@@ -1,13 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { Route53ProfilesServiceException as __BaseException } from "./Route53ProfilesServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- Message?: string | undefined;
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
10
- }
1
+ import { ProfileStatus, ShareStatus } from "./enums";
11
2
  export interface Tag {
12
3
  Key: string | undefined;
13
4
  Value: string | undefined;
@@ -18,15 +9,6 @@ export interface AssociateProfileRequest {
18
9
  Name: string | undefined;
19
10
  Tags?: Tag[] | undefined;
20
11
  }
21
- export declare const ProfileStatus: {
22
- readonly COMPLETE: "COMPLETE";
23
- readonly CREATING: "CREATING";
24
- readonly DELETED: "DELETED";
25
- readonly DELETING: "DELETING";
26
- readonly FAILED: "FAILED";
27
- readonly UPDATING: "UPDATING";
28
- };
29
- export type ProfileStatus = (typeof ProfileStatus)[keyof typeof ProfileStatus];
30
12
  export interface ProfileAssociation {
31
13
  Id?: string | undefined;
32
14
  Name?: string | undefined;
@@ -41,64 +23,6 @@ export interface ProfileAssociation {
41
23
  export interface AssociateProfileResponse {
42
24
  ProfileAssociation?: ProfileAssociation | undefined;
43
25
  }
44
- export declare class ConflictException extends __BaseException {
45
- readonly name: "ConflictException";
46
- readonly $fault: "client";
47
- Message?: string | undefined;
48
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
49
- }
50
- export declare class InvalidParameterException extends __BaseException {
51
- readonly name: "InvalidParameterException";
52
- readonly $fault: "client";
53
- Message: string | undefined;
54
- FieldName?: string | undefined;
55
- constructor(
56
- opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
57
- );
58
- }
59
- export declare class LimitExceededException extends __BaseException {
60
- readonly name: "LimitExceededException";
61
- readonly $fault: "client";
62
- Message?: string | undefined;
63
- ResourceType?: string | undefined;
64
- constructor(
65
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
66
- );
67
- }
68
- export declare class ResourceExistsException extends __BaseException {
69
- readonly name: "ResourceExistsException";
70
- readonly $fault: "client";
71
- Message?: string | undefined;
72
- ResourceType?: string | undefined;
73
- constructor(
74
- opts: __ExceptionOptionType<ResourceExistsException, __BaseException>
75
- );
76
- }
77
- export declare class ResourceNotFoundException extends __BaseException {
78
- readonly name: "ResourceNotFoundException";
79
- readonly $fault: "client";
80
- Message?: string | undefined;
81
- ResourceType?: string | undefined;
82
- constructor(
83
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
84
- );
85
- }
86
- export declare class ThrottlingException extends __BaseException {
87
- readonly name: "ThrottlingException";
88
- readonly $fault: "client";
89
- Message?: string | undefined;
90
- constructor(
91
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
92
- );
93
- }
94
- export declare class ValidationException extends __BaseException {
95
- readonly name: "ValidationException";
96
- readonly $fault: "client";
97
- Message?: string | undefined;
98
- constructor(
99
- opts: __ExceptionOptionType<ValidationException, __BaseException>
100
- );
101
- }
102
26
  export interface AssociateResourceToProfileRequest {
103
27
  ProfileId: string | undefined;
104
28
  ResourceArn: string | undefined;
@@ -121,25 +45,11 @@ export interface ProfileResourceAssociation {
121
45
  export interface AssociateResourceToProfileResponse {
122
46
  ProfileResourceAssociation?: ProfileResourceAssociation | undefined;
123
47
  }
124
- export declare class InternalServiceErrorException extends __BaseException {
125
- readonly name: "InternalServiceErrorException";
126
- readonly $fault: "client";
127
- Message?: string | undefined;
128
- constructor(
129
- opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>
130
- );
131
- }
132
48
  export interface CreateProfileRequest {
133
49
  Name: string | undefined;
134
50
  ClientToken?: string | undefined;
135
51
  Tags?: Tag[] | undefined;
136
52
  }
137
- export declare const ShareStatus: {
138
- readonly NOT_SHARED: "NOT_SHARED";
139
- readonly SHARED_BY_ME: "SHARED_BY_ME";
140
- readonly SHARED_WITH_ME: "SHARED_WITH_ME";
141
- };
142
- export type ShareStatus = (typeof ShareStatus)[keyof typeof ShareStatus];
143
53
  export interface Profile {
144
54
  Id?: string | undefined;
145
55
  Arn?: string | undefined;
@@ -193,14 +103,6 @@ export interface GetProfileResourceAssociationRequest {
193
103
  export interface GetProfileResourceAssociationResponse {
194
104
  ProfileResourceAssociation?: ProfileResourceAssociation | undefined;
195
105
  }
196
- export declare class InvalidNextTokenException extends __BaseException {
197
- readonly name: "InvalidNextTokenException";
198
- readonly $fault: "client";
199
- Message?: string | undefined;
200
- constructor(
201
- opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
202
- );
203
- }
204
106
  export interface ListProfileAssociationsRequest {
205
107
  ResourceId?: string | undefined;
206
108
  ProfileId?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-route53profiles",
3
3
  "description": "AWS SDK for JavaScript Route53profiles Client for Node.js, Browser and React Native",
4
- "version": "3.933.0",
4
+ "version": "3.935.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-route53profiles",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";