@aws-sdk/client-route53profiles 3.1165.0 → 3.1166.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
@@ -52,6 +52,8 @@ export declare var TagResourceRequest$: StaticStructureSchema;
52
52
  export declare var TagResourceResponse$: StaticStructureSchema;
53
53
  export declare var UntagResourceRequest$: StaticStructureSchema;
54
54
  export declare var UntagResourceResponse$: StaticStructureSchema;
55
+ export declare var UpdateProfileAssociationRequest$: StaticStructureSchema;
56
+ export declare var UpdateProfileAssociationResponse$: StaticStructureSchema;
55
57
  export declare var UpdateProfileResourceAssociationRequest$: StaticStructureSchema;
56
58
  export declare var UpdateProfileResourceAssociationResponse$: StaticStructureSchema;
57
59
  export declare var AssociateProfile$: StaticOperationSchema;
@@ -69,4 +71,5 @@ export declare var ListProfiles$: StaticOperationSchema;
69
71
  export declare var ListTagsForResource$: StaticOperationSchema;
70
72
  export declare var TagResource$: StaticOperationSchema;
71
73
  export declare var UntagResource$: StaticOperationSchema;
74
+ export declare var UpdateProfileAssociation$: StaticOperationSchema;
72
75
  export declare var UpdateProfileResourceAssociation$: StaticOperationSchema;
@@ -58,6 +58,10 @@ import {
58
58
  UntagResourceCommandInput,
59
59
  UntagResourceCommandOutput,
60
60
  } from "./commands/UntagResourceCommand";
61
+ import {
62
+ UpdateProfileAssociationCommandInput,
63
+ UpdateProfileAssociationCommandOutput,
64
+ } from "./commands/UpdateProfileAssociationCommand";
61
65
  import {
62
66
  UpdateProfileResourceAssociationCommandInput,
63
67
  UpdateProfileResourceAssociationCommandOutput,
@@ -264,6 +268,19 @@ export interface Route53Profiles {
264
268
  options: Route53ProfilesRequestOptions,
265
269
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
266
270
  ): void;
271
+ updateProfileAssociation(
272
+ args: UpdateProfileAssociationCommandInput,
273
+ options?: Route53ProfilesRequestOptions,
274
+ ): Promise<UpdateProfileAssociationCommandOutput>;
275
+ updateProfileAssociation(
276
+ args: UpdateProfileAssociationCommandInput,
277
+ cb: (err: any, data?: UpdateProfileAssociationCommandOutput) => void,
278
+ ): void;
279
+ updateProfileAssociation(
280
+ args: UpdateProfileAssociationCommandInput,
281
+ options: Route53ProfilesRequestOptions,
282
+ cb: (err: any, data?: UpdateProfileAssociationCommandOutput) => void,
283
+ ): void;
267
284
  updateProfileResourceAssociation(
268
285
  args: UpdateProfileResourceAssociationCommandInput,
269
286
  options?: Route53ProfilesRequestOptions,
@@ -87,6 +87,10 @@ import {
87
87
  UntagResourceCommandInput,
88
88
  UntagResourceCommandOutput,
89
89
  } from "./commands/UntagResourceCommand";
90
+ import {
91
+ UpdateProfileAssociationCommandInput,
92
+ UpdateProfileAssociationCommandOutput,
93
+ } from "./commands/UpdateProfileAssociationCommand";
90
94
  import {
91
95
  UpdateProfileResourceAssociationCommandInput,
92
96
  UpdateProfileResourceAssociationCommandOutput,
@@ -114,6 +118,7 @@ export type ServiceInputTypes =
114
118
  | ListTagsForResourceCommandInput
115
119
  | TagResourceCommandInput
116
120
  | UntagResourceCommandInput
121
+ | UpdateProfileAssociationCommandInput
117
122
  | UpdateProfileResourceAssociationCommandInput;
118
123
  export type ServiceOutputTypes =
119
124
  | AssociateProfileCommandOutput
@@ -131,6 +136,7 @@ export type ServiceOutputTypes =
131
136
  | ListTagsForResourceCommandOutput
132
137
  | TagResourceCommandOutput
133
138
  | UntagResourceCommandOutput
139
+ | UpdateProfileAssociationCommandOutput
134
140
  | UpdateProfileResourceAssociationCommandOutput;
135
141
  export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
136
142
  requestHandler?: __HttpHandlerUserInput;
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ UpdateProfileAssociationRequest,
4
+ UpdateProfileAssociationResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface UpdateProfileAssociationCommandInput extends UpdateProfileAssociationRequest {}
8
+ export interface UpdateProfileAssociationCommandOutput
9
+ extends UpdateProfileAssociationResponse, __MetadataBearer {}
10
+ declare const UpdateProfileAssociationCommand_base: {
11
+ new (
12
+ input: UpdateProfileAssociationCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ UpdateProfileAssociationCommandInput,
15
+ UpdateProfileAssociationCommandOutput,
16
+ import("..").Route53ProfilesClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: UpdateProfileAssociationCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ UpdateProfileAssociationCommandInput,
24
+ UpdateProfileAssociationCommandOutput,
25
+ import("..").Route53ProfilesClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class UpdateProfileAssociationCommand extends UpdateProfileAssociationCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: UpdateProfileAssociationRequest;
35
+ output: UpdateProfileAssociationResponse;
36
+ };
37
+ sdk: {
38
+ input: UpdateProfileAssociationCommandInput;
39
+ output: UpdateProfileAssociationCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -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";
@@ -50,6 +50,9 @@ export declare class ThrottlingException extends __BaseException {
50
50
  static readonly shapeId: string;
51
51
  readonly name: "ThrottlingException";
52
52
  readonly $fault: "client";
53
+ $retryable: {
54
+ throttling: boolean;
55
+ };
53
56
  Message?: string | undefined;
54
57
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
55
58
  }
@@ -64,6 +67,7 @@ export declare class InternalServiceErrorException extends __BaseException {
64
67
  static readonly shapeId: string;
65
68
  readonly name: "InternalServiceErrorException";
66
69
  readonly $fault: "client";
70
+ $retryable: {};
67
71
  Message?: string | undefined;
68
72
  constructor(opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>);
69
73
  }
@@ -8,6 +8,7 @@ export interface AssociateProfileRequest {
8
8
  ResourceId: string | undefined;
9
9
  Name: string | undefined;
10
10
  Tags?: Tag[] | undefined;
11
+ Priority?: number | undefined;
11
12
  }
12
13
  export interface ProfileAssociation {
13
14
  Id?: string | undefined;
@@ -19,6 +20,7 @@ export interface ProfileAssociation {
19
20
  StatusMessage?: string | undefined;
20
21
  CreationTime?: Date | undefined;
21
22
  ModificationTime?: Date | undefined;
23
+ Priority?: number | undefined;
22
24
  }
23
25
  export interface AssociateProfileResponse {
24
26
  ProfileAssociation?: ProfileAssociation | undefined;
@@ -116,6 +118,7 @@ export interface ListProfileAssociationsResponse {
116
118
  export interface ListProfileResourceAssociationsRequest {
117
119
  ProfileId: string | undefined;
118
120
  ResourceType?: string | undefined;
121
+ ResourceArn?: string | undefined;
119
122
  MaxResults?: number | undefined;
120
123
  NextToken?: string | undefined;
121
124
  }
@@ -153,6 +156,14 @@ export interface UntagResourceRequest {
153
156
  TagKeys: string[] | undefined;
154
157
  }
155
158
  export interface UntagResourceResponse {}
159
+ export interface UpdateProfileAssociationRequest {
160
+ ProfileAssociationId: string | undefined;
161
+ Name?: string | undefined;
162
+ Priority?: number | undefined;
163
+ }
164
+ export interface UpdateProfileAssociationResponse {
165
+ ProfileAssociation: ProfileAssociation | undefined;
166
+ }
156
167
  export interface UpdateProfileResourceAssociationRequest {
157
168
  ProfileResourceAssociationId: string | undefined;
158
169
  Name?: string | undefined;
@@ -47,6 +47,8 @@ export declare var TagResourceRequest$: StaticStructureSchema;
47
47
  export declare var TagResourceResponse$: StaticStructureSchema;
48
48
  export declare var UntagResourceRequest$: StaticStructureSchema;
49
49
  export declare var UntagResourceResponse$: StaticStructureSchema;
50
+ export declare var UpdateProfileAssociationRequest$: StaticStructureSchema;
51
+ export declare var UpdateProfileAssociationResponse$: StaticStructureSchema;
50
52
  export declare var UpdateProfileResourceAssociationRequest$: StaticStructureSchema;
51
53
  export declare var UpdateProfileResourceAssociationResponse$: StaticStructureSchema;
52
54
  export declare var AssociateProfile$: StaticOperationSchema;
@@ -64,4 +66,5 @@ export declare var ListProfiles$: StaticOperationSchema;
64
66
  export declare var ListTagsForResource$: StaticOperationSchema;
65
67
  export declare var TagResource$: StaticOperationSchema;
66
68
  export declare var UntagResource$: StaticOperationSchema;
69
+ export declare var UpdateProfileAssociation$: StaticOperationSchema;
67
70
  export declare var UpdateProfileResourceAssociation$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-route53profiles",
3
- "version": "3.1165.0",
3
+ "version": "3.1166.0",
4
4
  "description": "AWS SDK for JavaScript Route53profiles Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-route53profiles",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.980.2",
50
- "@aws-sdk/credential-provider-node": "^3.972.95",
49
+ "@aws-sdk/core": "^3.981.0",
50
+ "@aws-sdk/credential-provider-node": "^3.972.96",
51
51
  "@aws-sdk/types": "^3.975.1",
52
- "@smithy/core": "^3.39.0",
52
+ "@smithy/core": "^3.40.0",
53
53
  "@smithy/fetch-http-handler": "^5.8.1",
54
54
  "@smithy/node-http-handler": "^4.14.2",
55
55
  "@smithy/types": "^4.20.0",