@aws-sdk/client-route53profiles 3.1165.0 → 3.1167.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.
Files changed (39) hide show
  1. package/README.md +8 -3
  2. package/dist-cjs/index.js +42 -12
  3. package/dist-es/Route53Profiles.js +2 -0
  4. package/dist-es/commands/UpdateProfileAssociationCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/errors.js +4 -0
  7. package/dist-es/schemas/schemas_0.js +29 -11
  8. package/dist-types/Route53Profiles.d.ts +8 -3
  9. package/dist-types/Route53ProfilesClient.d.ts +4 -5
  10. package/dist-types/commands/AssociateProfileCommand.d.ts +11 -28
  11. package/dist-types/commands/AssociateResourceToProfileCommand.d.ts +9 -27
  12. package/dist-types/commands/CreateProfileCommand.d.ts +6 -18
  13. package/dist-types/commands/DeleteProfileCommand.d.ts +6 -18
  14. package/dist-types/commands/DisassociateProfileCommand.d.ts +8 -21
  15. package/dist-types/commands/DisassociateResourceFromProfileCommand.d.ts +9 -27
  16. package/dist-types/commands/GetProfileAssociationCommand.d.ts +6 -15
  17. package/dist-types/commands/GetProfileCommand.d.ts +5 -15
  18. package/dist-types/commands/GetProfileResourceAssociationCommand.d.ts +6 -18
  19. package/dist-types/commands/ListProfileAssociationsCommand.d.ts +7 -18
  20. package/dist-types/commands/ListProfileResourceAssociationsCommand.d.ts +9 -24
  21. package/dist-types/commands/ListProfilesCommand.d.ts +6 -18
  22. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -18
  23. package/dist-types/commands/TagResourceCommand.d.ts +5 -15
  24. package/dist-types/commands/UntagResourceCommand.d.ts +6 -18
  25. package/dist-types/commands/UpdateProfileAssociationCommand.d.ts +108 -0
  26. package/dist-types/commands/UpdateProfileResourceAssociationCommand.d.ts +9 -27
  27. package/dist-types/commands/index.d.ts +1 -0
  28. package/dist-types/index.d.ts +1 -3
  29. package/dist-types/models/errors.d.ts +18 -42
  30. package/dist-types/models/models_0.d.ts +140 -310
  31. package/dist-types/schemas/schemas_0.d.ts +3 -0
  32. package/dist-types/ts3.4/Route53Profiles.d.ts +17 -0
  33. package/dist-types/ts3.4/Route53ProfilesClient.d.ts +6 -0
  34. package/dist-types/ts3.4/commands/UpdateProfileAssociationCommand.d.ts +42 -0
  35. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  36. package/dist-types/ts3.4/models/errors.d.ts +4 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +11 -0
  38. package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
  39. package/package.json +4 -4
@@ -0,0 +1,108 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateProfileAssociationRequest, UpdateProfileAssociationResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateProfileAssociationCommand}.
11
+ */
12
+ export interface UpdateProfileAssociationCommandInput extends UpdateProfileAssociationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateProfileAssociationCommand}.
18
+ */
19
+ export interface UpdateProfileAssociationCommandOutput extends UpdateProfileAssociationResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateProfileAssociationCommand_base: {
22
+ new (input: UpdateProfileAssociationCommandInput): import("@smithy/core/client").CommandImpl<UpdateProfileAssociationCommandInput, UpdateProfileAssociationCommandOutput, import("..").Route53ProfilesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateProfileAssociationCommandInput): import("@smithy/core/client").CommandImpl<UpdateProfileAssociationCommandInput, UpdateProfileAssociationCommandOutput, import("..").Route53ProfilesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p> Updates the name or priority of the specified Route 53 Profile association with a VPC. Route 53 VPC Resolver evaluates the Profile associations for a VPC in priority order, starting with the lowest value. Only the account that created the association can update it. </p> <p> When you change the priority, the association status is <code>UPDATING</code> until the change propagates, and then <code>COMPLETE</code>. While the status is <code>UPDATING</code>, Route 53 VPC Resolver might still use the previous priority for some queries. When the status is <code>COMPLETE</code>, the new priority applies to all queries from the VPC. </p> <p> The request fails with a <code>ValidationException</code> if another Profile association for the VPC already uses the priority that you specify, or if the priority is outside the range 100–9900. </p> <p> You can update an association whose status is <code>CREATING</code>, <code>UPDATING</code>, or <code>COMPLETE</code>. The request fails with a <code>ConflictException</code> if the association status is <code>DELETING</code>, <code>DELETED</code>, or <code>FAILED</code>, or if the account that owns the association is inactive. </p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { Route53ProfilesClient, UpdateProfileAssociationCommand } from "@aws-sdk/client-route53profiles"; // ES Modules import
32
+ * // const { Route53ProfilesClient, UpdateProfileAssociationCommand } = require("@aws-sdk/client-route53profiles"); // CommonJS import
33
+ * // import type { Route53ProfilesClientConfig } from "@aws-sdk/client-route53profiles";
34
+ * const config = {}; // type is Route53ProfilesClientConfig
35
+ * const client = new Route53ProfilesClient(config);
36
+ * const input = { // UpdateProfileAssociationRequest
37
+ * ProfileAssociationId: "STRING_VALUE", // required
38
+ * Name: "STRING_VALUE",
39
+ * Priority: Number("int"),
40
+ * };
41
+ * const command = new UpdateProfileAssociationCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // UpdateProfileAssociationResponse
44
+ * // ProfileAssociation: { // ProfileAssociation
45
+ * // Id: "STRING_VALUE",
46
+ * // Name: "STRING_VALUE",
47
+ * // OwnerId: "STRING_VALUE",
48
+ * // ProfileId: "STRING_VALUE",
49
+ * // ResourceId: "STRING_VALUE",
50
+ * // Status: "COMPLETE" || "DELETING" || "UPDATING" || "CREATING" || "DELETED" || "FAILED",
51
+ * // StatusMessage: "STRING_VALUE",
52
+ * // CreationTime: new Date("TIMESTAMP"),
53
+ * // ModificationTime: new Date("TIMESTAMP"),
54
+ * // Priority: Number("int"),
55
+ * // },
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param UpdateProfileAssociationCommandInput - {@link UpdateProfileAssociationCommandInput}
61
+ * @returns {@link UpdateProfileAssociationCommandOutput}
62
+ * @see {@link UpdateProfileAssociationCommandInput} for command's `input` shape.
63
+ * @see {@link UpdateProfileAssociationCommandOutput} for command's `response` shape.
64
+ * @see {@link Route53ProfilesClientResolvedConfig | config} for Route53ProfilesClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p> The current account doesn't have the IAM permissions required to perform the specified operation. </p>
68
+ *
69
+ * @throws {@link ConflictException} (client fault)
70
+ * <p> The request you submitted conflicts with an existing request. </p>
71
+ *
72
+ * @throws {@link InternalServiceErrorException} (client fault)
73
+ * <p> An internal server error occured. Retry your request. </p>
74
+ *
75
+ * @throws {@link InvalidParameterException} (client fault)
76
+ * <p> One or more parameters in this request are not valid. </p>
77
+ *
78
+ * @throws {@link LimitExceededException} (client fault)
79
+ * <p> The request caused one or more limits to be exceeded. </p>
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * <p> The resource you are associating is not found. </p>
83
+ *
84
+ * @throws {@link ThrottlingException} (client fault)
85
+ * <p> The request was throttled. Try again in a few minutes. </p>
86
+ *
87
+ * @throws {@link ValidationException} (client fault)
88
+ * <p> You have provided an invalid command. </p>
89
+ *
90
+ * @throws {@link Route53ProfilesServiceException}
91
+ * <p>Base exception class for all service exceptions from Route53Profiles service.</p>
92
+ *
93
+ *
94
+ * @public
95
+ */
96
+ export declare class UpdateProfileAssociationCommand extends UpdateProfileAssociationCommand_base {
97
+ /** @internal type navigation helper, not in runtime. */
98
+ protected static __types: {
99
+ api: {
100
+ input: UpdateProfileAssociationRequest;
101
+ output: UpdateProfileAssociationResponse;
102
+ };
103
+ sdk: {
104
+ input: UpdateProfileAssociationCommandInput;
105
+ output: UpdateProfileAssociationCommandOutput;
106
+ };
107
+ };
108
+ }
@@ -24,9 +24,7 @@ declare const UpdateProfileResourceAssociationCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>
28
- * Updates the specified Route 53 Profile resourse association.
29
- * </p>
27
+ * <p> Updates the specified Route 53 Profile resourse association. </p>
30
28
  * @example
31
29
  * Use a bare-bones client and the command you need to make an API call.
32
30
  * ```javascript
@@ -67,44 +65,28 @@ declare const UpdateProfileResourceAssociationCommand_base: {
67
65
  * @see {@link Route53ProfilesClientResolvedConfig | config} for Route53ProfilesClient's `config` shape.
68
66
  *
69
67
  * @throws {@link AccessDeniedException} (client fault)
70
- * <p>
71
- * The current account doesn't have the IAM permissions required to perform the specified operation.
72
- * </p>
68
+ * <p> The current account doesn't have the IAM permissions required to perform the specified operation. </p>
73
69
  *
74
70
  * @throws {@link ConflictException} (client fault)
75
- * <p>
76
- * The request you submitted conflicts with an existing request.
77
- * </p>
71
+ * <p> The request you submitted conflicts with an existing request. </p>
78
72
  *
79
73
  * @throws {@link InternalServiceErrorException} (client fault)
80
- * <p>
81
- * An internal server error occured. Retry your request.
82
- * </p>
74
+ * <p> An internal server error occured. Retry your request. </p>
83
75
  *
84
76
  * @throws {@link InvalidParameterException} (client fault)
85
- * <p>
86
- * One or more parameters in this request are not valid.
87
- * </p>
77
+ * <p> One or more parameters in this request are not valid. </p>
88
78
  *
89
79
  * @throws {@link LimitExceededException} (client fault)
90
- * <p>
91
- * The request caused one or more limits to be exceeded.
92
- * </p>
80
+ * <p> The request caused one or more limits to be exceeded. </p>
93
81
  *
94
82
  * @throws {@link ResourceNotFoundException} (client fault)
95
- * <p>
96
- * The resource you are associating is not found.
97
- * </p>
83
+ * <p> The resource you are associating is not found. </p>
98
84
  *
99
85
  * @throws {@link ThrottlingException} (client fault)
100
- * <p>
101
- * The request was throttled. Try again in a few minutes.
102
- * </p>
86
+ * <p> The request was throttled. Try again in a few minutes. </p>
103
87
  *
104
88
  * @throws {@link ValidationException} (client fault)
105
- * <p>
106
- * You have provided an invalid command.
107
- * </p>
89
+ * <p> You have provided an invalid command. </p>
108
90
  *
109
91
  * @throws {@link Route53ProfilesServiceException}
110
92
  * <p>Base exception class for all service exceptions from Route53Profiles service.</p>
@@ -13,4 +13,5 @@ export * from "./ListProfilesCommand";
13
13
  export * from "./ListTagsForResourceCommand";
14
14
  export * from "./TagResourceCommand";
15
15
  export * from "./UntagResourceCommand";
16
+ export * from "./UpdateProfileAssociationCommand";
16
17
  export * from "./UpdateProfileResourceAssociationCommand";
@@ -1,7 +1,5 @@
1
1
  /**
2
- * <p>
3
- * With Amazon Route 53 Profiles you can share Route 53 configurations with VPCs and AWS accounts
4
- * </p>
2
+ * <p> With Amazon Route 53 Profiles you can share Route 53 configurations with VPCs and Amazon Web Services accounts </p>
5
3
  *
6
4
  * @packageDocumentation
7
5
  */
@@ -1,9 +1,7 @@
1
1
  import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { Route53ProfilesServiceException as __BaseException } from "./Route53ProfilesServiceException";
3
3
  /**
4
- * <p>
5
- * The current account doesn't have the IAM permissions required to perform the specified operation.
6
- * </p>
4
+ * <p> The current account doesn't have the IAM permissions required to perform the specified operation. </p>
7
5
  * @public
8
6
  */
9
7
  export declare class AccessDeniedException extends __BaseException {
@@ -17,9 +15,7 @@ export declare class AccessDeniedException extends __BaseException {
17
15
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
18
16
  }
19
17
  /**
20
- * <p>
21
- * The request you submitted conflicts with an existing request.
22
- * </p>
18
+ * <p> The request you submitted conflicts with an existing request. </p>
23
19
  * @public
24
20
  */
25
21
  export declare class ConflictException extends __BaseException {
@@ -33,9 +29,7 @@ export declare class ConflictException extends __BaseException {
33
29
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
34
30
  }
35
31
  /**
36
- * <p>
37
- * One or more parameters in this request are not valid.
38
- * </p>
32
+ * <p> One or more parameters in this request are not valid. </p>
39
33
  * @public
40
34
  */
41
35
  export declare class InvalidParameterException extends __BaseException {
@@ -44,9 +38,7 @@ export declare class InvalidParameterException extends __BaseException {
44
38
  readonly $fault: "client";
45
39
  Message: string | undefined;
46
40
  /**
47
- * <p>
48
- * The parameter field name for the invalid parameter exception.
49
- * </p>
41
+ * <p> The parameter field name for the invalid parameter exception. </p>
50
42
  * @public
51
43
  */
52
44
  FieldName?: string | undefined;
@@ -56,9 +48,7 @@ export declare class InvalidParameterException extends __BaseException {
56
48
  constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
57
49
  }
58
50
  /**
59
- * <p>
60
- * The request caused one or more limits to be exceeded.
61
- * </p>
51
+ * <p> The request caused one or more limits to be exceeded. </p>
62
52
  * @public
63
53
  */
64
54
  export declare class LimitExceededException extends __BaseException {
@@ -67,9 +57,7 @@ export declare class LimitExceededException extends __BaseException {
67
57
  readonly $fault: "client";
68
58
  Message?: string | undefined;
69
59
  /**
70
- * <p>
71
- * The resource type that caused the limits to be exceeded.
72
- * </p>
60
+ * <p> The resource type that caused the limits to be exceeded. </p>
73
61
  * @public
74
62
  */
75
63
  ResourceType?: string | undefined;
@@ -79,9 +67,7 @@ export declare class LimitExceededException extends __BaseException {
79
67
  constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
80
68
  }
81
69
  /**
82
- * <p>
83
- * The resource you are trying to associate, has already been associated.
84
- * </p>
70
+ * <p> The resource you are trying to associate, has already been associated. </p>
85
71
  * @public
86
72
  */
87
73
  export declare class ResourceExistsException extends __BaseException {
@@ -90,9 +76,7 @@ export declare class ResourceExistsException extends __BaseException {
90
76
  readonly $fault: "client";
91
77
  Message?: string | undefined;
92
78
  /**
93
- * <p>
94
- * The resource type that caused the resource exists exception.
95
- * </p>
79
+ * <p> The resource type that caused the resource exists exception. </p>
96
80
  * @public
97
81
  */
98
82
  ResourceType?: string | undefined;
@@ -102,9 +86,7 @@ export declare class ResourceExistsException extends __BaseException {
102
86
  constructor(opts: __ExceptionOptionType<ResourceExistsException, __BaseException>);
103
87
  }
104
88
  /**
105
- * <p>
106
- * The resource you are associating is not found.
107
- * </p>
89
+ * <p> The resource you are associating is not found. </p>
108
90
  * @public
109
91
  */
110
92
  export declare class ResourceNotFoundException extends __BaseException {
@@ -113,9 +95,7 @@ export declare class ResourceNotFoundException extends __BaseException {
113
95
  readonly $fault: "client";
114
96
  Message?: string | undefined;
115
97
  /**
116
- * <p>
117
- * The resource type that caused the resource not found exception.
118
- * </p>
98
+ * <p> The resource type that caused the resource not found exception. </p>
119
99
  * @public
120
100
  */
121
101
  ResourceType?: string | undefined;
@@ -125,15 +105,16 @@ export declare class ResourceNotFoundException extends __BaseException {
125
105
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
126
106
  }
127
107
  /**
128
- * <p>
129
- * The request was throttled. Try again in a few minutes.
130
- * </p>
108
+ * <p> The request was throttled. Try again in a few minutes. </p>
131
109
  * @public
132
110
  */
133
111
  export declare class ThrottlingException extends __BaseException {
134
112
  static readonly shapeId: string;
135
113
  readonly name: "ThrottlingException";
136
114
  readonly $fault: "client";
115
+ $retryable: {
116
+ throttling: boolean;
117
+ };
137
118
  Message?: string | undefined;
138
119
  /**
139
120
  * @internal
@@ -141,9 +122,7 @@ export declare class ThrottlingException extends __BaseException {
141
122
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
142
123
  }
143
124
  /**
144
- * <p>
145
- * You have provided an invalid command.
146
- * </p>
125
+ * <p> You have provided an invalid command. </p>
147
126
  * @public
148
127
  */
149
128
  export declare class ValidationException extends __BaseException {
@@ -157,15 +136,14 @@ export declare class ValidationException extends __BaseException {
157
136
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
158
137
  }
159
138
  /**
160
- * <p>
161
- * An internal server error occured. Retry your request.
162
- * </p>
139
+ * <p> An internal server error occured. Retry your request. </p>
163
140
  * @public
164
141
  */
165
142
  export declare class InternalServiceErrorException extends __BaseException {
166
143
  static readonly shapeId: string;
167
144
  readonly name: "InternalServiceErrorException";
168
145
  readonly $fault: "client";
146
+ $retryable: {};
169
147
  Message?: string | undefined;
170
148
  /**
171
149
  * @internal
@@ -173,9 +151,7 @@ export declare class InternalServiceErrorException extends __BaseException {
173
151
  constructor(opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>);
174
152
  }
175
153
  /**
176
- * <p>
177
- * The <code>NextToken</code> you provided isn;t valid.
178
- * </p>
154
+ * <p> The <code>NextToken</code> you provided isn;t valid. </p>
179
155
  * @public
180
156
  */
181
157
  export declare class InvalidNextTokenException extends __BaseException {