@aws-sdk/client-route53profiles 3.560.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 (163) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +335 -0
  3. package/dist-cjs/Route53Profiles.js +43 -0
  4. package/dist-cjs/Route53ProfilesClient.js +56 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/AssociateProfileCommand.js +28 -0
  8. package/dist-cjs/commands/AssociateResourceToProfileCommand.js +28 -0
  9. package/dist-cjs/commands/CreateProfileCommand.js +28 -0
  10. package/dist-cjs/commands/DeleteProfileCommand.js +28 -0
  11. package/dist-cjs/commands/DisassociateProfileCommand.js +28 -0
  12. package/dist-cjs/commands/DisassociateResourceFromProfileCommand.js +28 -0
  13. package/dist-cjs/commands/GetProfileAssociationCommand.js +28 -0
  14. package/dist-cjs/commands/GetProfileCommand.js +28 -0
  15. package/dist-cjs/commands/GetProfileResourceAssociationCommand.js +28 -0
  16. package/dist-cjs/commands/ListProfileAssociationsCommand.js +28 -0
  17. package/dist-cjs/commands/ListProfileResourceAssociationsCommand.js +28 -0
  18. package/dist-cjs/commands/ListProfilesCommand.js +28 -0
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
  20. package/dist-cjs/commands/TagResourceCommand.js +28 -0
  21. package/dist-cjs/commands/UntagResourceCommand.js +28 -0
  22. package/dist-cjs/commands/UpdateProfileResourceAssociationCommand.js +28 -0
  23. package/dist-cjs/commands/index.js +19 -0
  24. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  25. package/dist-cjs/endpoint/endpointResolver.js +14 -0
  26. package/dist-cjs/endpoint/ruleset.js +7 -0
  27. package/dist-cjs/extensionConfiguration.js +2 -0
  28. package/dist-cjs/index.js +11 -0
  29. package/dist-cjs/models/Route53ProfilesServiceException.js +12 -0
  30. package/dist-cjs/models/index.js +4 -0
  31. package/dist-cjs/models/models_0.js +161 -0
  32. package/dist-cjs/pagination/Interfaces.js +2 -0
  33. package/dist-cjs/pagination/ListProfileAssociationsPaginator.js +7 -0
  34. package/dist-cjs/pagination/ListProfileResourceAssociationsPaginator.js +7 -0
  35. package/dist-cjs/pagination/ListProfilesPaginator.js +7 -0
  36. package/dist-cjs/pagination/index.js +7 -0
  37. package/dist-cjs/protocols/Aws_restJson1.js +719 -0
  38. package/dist-cjs/runtimeConfig.browser.js +39 -0
  39. package/dist-cjs/runtimeConfig.js +49 -0
  40. package/dist-cjs/runtimeConfig.native.js +15 -0
  41. package/dist-cjs/runtimeConfig.shared.js +34 -0
  42. package/dist-cjs/runtimeExtensions.js +25 -0
  43. package/dist-es/Route53Profiles.js +39 -0
  44. package/dist-es/Route53ProfilesClient.js +52 -0
  45. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  46. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  47. package/dist-es/commands/AssociateProfileCommand.js +24 -0
  48. package/dist-es/commands/AssociateResourceToProfileCommand.js +24 -0
  49. package/dist-es/commands/CreateProfileCommand.js +24 -0
  50. package/dist-es/commands/DeleteProfileCommand.js +24 -0
  51. package/dist-es/commands/DisassociateProfileCommand.js +24 -0
  52. package/dist-es/commands/DisassociateResourceFromProfileCommand.js +24 -0
  53. package/dist-es/commands/GetProfileAssociationCommand.js +24 -0
  54. package/dist-es/commands/GetProfileCommand.js +24 -0
  55. package/dist-es/commands/GetProfileResourceAssociationCommand.js +24 -0
  56. package/dist-es/commands/ListProfileAssociationsCommand.js +24 -0
  57. package/dist-es/commands/ListProfileResourceAssociationsCommand.js +24 -0
  58. package/dist-es/commands/ListProfilesCommand.js +24 -0
  59. package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
  60. package/dist-es/commands/TagResourceCommand.js +24 -0
  61. package/dist-es/commands/UntagResourceCommand.js +24 -0
  62. package/dist-es/commands/UpdateProfileResourceAssociationCommand.js +24 -0
  63. package/dist-es/commands/index.js +16 -0
  64. package/dist-es/endpoint/EndpointParameters.js +14 -0
  65. package/dist-es/endpoint/endpointResolver.js +10 -0
  66. package/dist-es/endpoint/ruleset.js +4 -0
  67. package/dist-es/extensionConfiguration.js +1 -0
  68. package/dist-es/index.js +6 -0
  69. package/dist-es/models/Route53ProfilesServiceException.js +8 -0
  70. package/dist-es/models/index.js +1 -0
  71. package/dist-es/models/models_0.js +148 -0
  72. package/dist-es/pagination/Interfaces.js +1 -0
  73. package/dist-es/pagination/ListProfileAssociationsPaginator.js +4 -0
  74. package/dist-es/pagination/ListProfileResourceAssociationsPaginator.js +4 -0
  75. package/dist-es/pagination/ListProfilesPaginator.js +4 -0
  76. package/dist-es/pagination/index.js +4 -0
  77. package/dist-es/protocols/Aws_restJson1.js +684 -0
  78. package/dist-es/runtimeConfig.browser.js +34 -0
  79. package/dist-es/runtimeConfig.js +44 -0
  80. package/dist-es/runtimeConfig.native.js +11 -0
  81. package/dist-es/runtimeConfig.shared.js +30 -0
  82. package/dist-es/runtimeExtensions.js +21 -0
  83. package/dist-types/Route53Profiles.d.ts +126 -0
  84. package/dist-types/Route53ProfilesClient.d.ts +189 -0
  85. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  86. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  87. package/dist-types/commands/AssociateProfileCommand.d.ts +119 -0
  88. package/dist-types/commands/AssociateResourceToProfileCommand.d.ts +116 -0
  89. package/dist-types/commands/CreateProfileCommand.d.ts +104 -0
  90. package/dist-types/commands/DeleteProfileCommand.d.ts +97 -0
  91. package/dist-types/commands/DisassociateProfileCommand.d.ts +102 -0
  92. package/dist-types/commands/DisassociateResourceFromProfileCommand.d.ts +114 -0
  93. package/dist-types/commands/GetProfileAssociationCommand.d.ts +91 -0
  94. package/dist-types/commands/GetProfileCommand.d.ts +92 -0
  95. package/dist-types/commands/GetProfileResourceAssociationCommand.d.ts +98 -0
  96. package/dist-types/commands/ListProfileAssociationsCommand.d.ts +102 -0
  97. package/dist-types/commands/ListProfileResourceAssociationsCommand.d.ts +114 -0
  98. package/dist-types/commands/ListProfilesCommand.d.ts +95 -0
  99. package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
  100. package/dist-types/commands/TagResourceCommand.d.ts +82 -0
  101. package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
  102. package/dist-types/commands/UpdateProfileResourceAssociationCommand.d.ts +115 -0
  103. package/dist-types/commands/index.d.ts +16 -0
  104. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  105. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  106. package/dist-types/endpoint/ruleset.d.ts +2 -0
  107. package/dist-types/extensionConfiguration.d.ts +9 -0
  108. package/dist-types/index.d.ts +16 -0
  109. package/dist-types/models/Route53ProfilesServiceException.d.ts +13 -0
  110. package/dist-types/models/index.d.ts +1 -0
  111. package/dist-types/models/models_0.d.ts +1067 -0
  112. package/dist-types/pagination/Interfaces.d.ts +8 -0
  113. package/dist-types/pagination/ListProfileAssociationsPaginator.d.ts +7 -0
  114. package/dist-types/pagination/ListProfileResourceAssociationsPaginator.d.ts +7 -0
  115. package/dist-types/pagination/ListProfilesPaginator.d.ts +7 -0
  116. package/dist-types/pagination/index.d.ts +4 -0
  117. package/dist-types/protocols/Aws_restJson1.d.ts +146 -0
  118. package/dist-types/runtimeConfig.browser.d.ts +45 -0
  119. package/dist-types/runtimeConfig.d.ts +45 -0
  120. package/dist-types/runtimeConfig.native.d.ts +44 -0
  121. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  122. package/dist-types/runtimeExtensions.d.ts +17 -0
  123. package/dist-types/ts3.4/Route53Profiles.d.ts +281 -0
  124. package/dist-types/ts3.4/Route53ProfilesClient.d.ts +217 -0
  125. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  126. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  127. package/dist-types/ts3.4/commands/AssociateProfileCommand.d.ts +38 -0
  128. package/dist-types/ts3.4/commands/AssociateResourceToProfileCommand.d.ts +39 -0
  129. package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +38 -0
  130. package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +38 -0
  131. package/dist-types/ts3.4/commands/DisassociateProfileCommand.d.ts +39 -0
  132. package/dist-types/ts3.4/commands/DisassociateResourceFromProfileCommand.d.ts +39 -0
  133. package/dist-types/ts3.4/commands/GetProfileAssociationCommand.d.ts +39 -0
  134. package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +35 -0
  135. package/dist-types/ts3.4/commands/GetProfileResourceAssociationCommand.d.ts +39 -0
  136. package/dist-types/ts3.4/commands/ListProfileAssociationsCommand.d.ts +39 -0
  137. package/dist-types/ts3.4/commands/ListProfileResourceAssociationsCommand.d.ts +39 -0
  138. package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +35 -0
  139. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  140. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  141. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  142. package/dist-types/ts3.4/commands/UpdateProfileResourceAssociationCommand.d.ts +39 -0
  143. package/dist-types/ts3.4/commands/index.d.ts +16 -0
  144. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  145. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  146. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  147. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  148. package/dist-types/ts3.4/index.d.ts +9 -0
  149. package/dist-types/ts3.4/models/Route53ProfilesServiceException.d.ts +8 -0
  150. package/dist-types/ts3.4/models/index.d.ts +1 -0
  151. package/dist-types/ts3.4/models/models_0.d.ts +261 -0
  152. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  153. package/dist-types/ts3.4/pagination/ListProfileAssociationsPaginator.d.ts +11 -0
  154. package/dist-types/ts3.4/pagination/ListProfileResourceAssociationsPaginator.d.ts +11 -0
  155. package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +11 -0
  156. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  157. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +197 -0
  158. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +87 -0
  159. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  160. package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
  161. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  162. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  163. package/package.json +103 -0
@@ -0,0 +1,119 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { AssociateProfileRequest, AssociateProfileResponse } from "../models/models_0";
4
+ import { Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53ProfilesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link AssociateProfileCommand}.
13
+ */
14
+ export interface AssociateProfileCommandInput extends AssociateProfileRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link AssociateProfileCommand}.
20
+ */
21
+ export interface AssociateProfileCommandOutput extends AssociateProfileResponse, __MetadataBearer {
22
+ }
23
+ declare const AssociateProfileCommand_base: {
24
+ new (input: AssociateProfileCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateProfileCommandInput, AssociateProfileCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: AssociateProfileCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateProfileCommandInput, AssociateProfileCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>
30
+ * Associates a Route 53 Profiles profile with a VPC. A VPC can have only one Profile associated with it, but a Profile can be associated with up to 5000 VPCs.
31
+ * </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { Route53ProfilesClient, AssociateProfileCommand } from "@aws-sdk/client-route53profiles"; // ES Modules import
36
+ * // const { Route53ProfilesClient, AssociateProfileCommand } = require("@aws-sdk/client-route53profiles"); // CommonJS import
37
+ * const client = new Route53ProfilesClient(config);
38
+ * const input = { // AssociateProfileRequest
39
+ * ProfileId: "STRING_VALUE", // required
40
+ * ResourceId: "STRING_VALUE", // required
41
+ * Name: "STRING_VALUE", // required
42
+ * Tags: [ // TagList
43
+ * { // Tag
44
+ * Key: "STRING_VALUE", // required
45
+ * Value: "STRING_VALUE", // required
46
+ * },
47
+ * ],
48
+ * };
49
+ * const command = new AssociateProfileCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // AssociateProfileResponse
52
+ * // ProfileAssociation: { // ProfileAssociation
53
+ * // Id: "STRING_VALUE",
54
+ * // Name: "STRING_VALUE",
55
+ * // OwnerId: "STRING_VALUE",
56
+ * // ProfileId: "STRING_VALUE",
57
+ * // ResourceId: "STRING_VALUE",
58
+ * // Status: "COMPLETE" || "DELETING" || "UPDATING" || "CREATING" || "DELETED" || "FAILED",
59
+ * // StatusMessage: "STRING_VALUE",
60
+ * // CreationTime: new Date("TIMESTAMP"),
61
+ * // ModificationTime: new Date("TIMESTAMP"),
62
+ * // },
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param AssociateProfileCommandInput - {@link AssociateProfileCommandInput}
68
+ * @returns {@link AssociateProfileCommandOutput}
69
+ * @see {@link AssociateProfileCommandInput} for command's `input` shape.
70
+ * @see {@link AssociateProfileCommandOutput} for command's `response` shape.
71
+ * @see {@link Route53ProfilesClientResolvedConfig | config} for Route53ProfilesClient's `config` shape.
72
+ *
73
+ * @throws {@link AccessDeniedException} (client fault)
74
+ * <p>
75
+ * The current account doesn't have the IAM permissions required to perform the specified operation.
76
+ * </p>
77
+ *
78
+ * @throws {@link ConflictException} (client fault)
79
+ * <p>
80
+ * The request you submitted conflicts with an existing request.
81
+ * </p>
82
+ *
83
+ * @throws {@link InvalidParameterException} (client fault)
84
+ * <p>
85
+ * One or more parameters in this request are not valid.
86
+ * </p>
87
+ *
88
+ * @throws {@link LimitExceededException} (client fault)
89
+ * <p>
90
+ * The request caused one or more limits to be exceeded.
91
+ * </p>
92
+ *
93
+ * @throws {@link ResourceExistsException} (client fault)
94
+ * <p>
95
+ * The resource you are trying to associate, has already been associated.
96
+ * </p>
97
+ *
98
+ * @throws {@link ResourceNotFoundException} (client fault)
99
+ * <p>
100
+ * The resource you are associating is not found.
101
+ * </p>
102
+ *
103
+ * @throws {@link ThrottlingException} (client fault)
104
+ * <p>
105
+ * The request was throttled. Try again in a few minutes.
106
+ * </p>
107
+ *
108
+ * @throws {@link ValidationException} (client fault)
109
+ * <p>
110
+ * You have provided an invalid command.
111
+ * </p>
112
+ *
113
+ * @throws {@link Route53ProfilesServiceException}
114
+ * <p>Base exception class for all service exceptions from Route53Profiles service.</p>
115
+ *
116
+ * @public
117
+ */
118
+ export declare class AssociateProfileCommand extends AssociateProfileCommand_base {
119
+ }
@@ -0,0 +1,116 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { AssociateResourceToProfileRequest, AssociateResourceToProfileResponse } from "../models/models_0";
4
+ import { Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53ProfilesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link AssociateResourceToProfileCommand}.
13
+ */
14
+ export interface AssociateResourceToProfileCommandInput extends AssociateResourceToProfileRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link AssociateResourceToProfileCommand}.
20
+ */
21
+ export interface AssociateResourceToProfileCommandOutput extends AssociateResourceToProfileResponse, __MetadataBearer {
22
+ }
23
+ declare const AssociateResourceToProfileCommand_base: {
24
+ new (input: AssociateResourceToProfileCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateResourceToProfileCommandInput, AssociateResourceToProfileCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: AssociateResourceToProfileCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateResourceToProfileCommandInput, AssociateResourceToProfileCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>
30
+ * Associates a DNS reource configuration to a Route 53 Profile.
31
+ * </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { Route53ProfilesClient, AssociateResourceToProfileCommand } from "@aws-sdk/client-route53profiles"; // ES Modules import
36
+ * // const { Route53ProfilesClient, AssociateResourceToProfileCommand } = require("@aws-sdk/client-route53profiles"); // CommonJS import
37
+ * const client = new Route53ProfilesClient(config);
38
+ * const input = { // AssociateResourceToProfileRequest
39
+ * ProfileId: "STRING_VALUE", // required
40
+ * ResourceArn: "STRING_VALUE", // required
41
+ * Name: "STRING_VALUE", // required
42
+ * ResourceProperties: "STRING_VALUE",
43
+ * };
44
+ * const command = new AssociateResourceToProfileCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // AssociateResourceToProfileResponse
47
+ * // ProfileResourceAssociation: { // ProfileResourceAssociation
48
+ * // Id: "STRING_VALUE",
49
+ * // Name: "STRING_VALUE",
50
+ * // OwnerId: "STRING_VALUE",
51
+ * // ProfileId: "STRING_VALUE",
52
+ * // ResourceArn: "STRING_VALUE",
53
+ * // ResourceType: "STRING_VALUE",
54
+ * // ResourceProperties: "STRING_VALUE",
55
+ * // Status: "COMPLETE" || "DELETING" || "UPDATING" || "CREATING" || "DELETED" || "FAILED",
56
+ * // StatusMessage: "STRING_VALUE",
57
+ * // CreationTime: new Date("TIMESTAMP"),
58
+ * // ModificationTime: new Date("TIMESTAMP"),
59
+ * // },
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param AssociateResourceToProfileCommandInput - {@link AssociateResourceToProfileCommandInput}
65
+ * @returns {@link AssociateResourceToProfileCommandOutput}
66
+ * @see {@link AssociateResourceToProfileCommandInput} for command's `input` shape.
67
+ * @see {@link AssociateResourceToProfileCommandOutput} for command's `response` shape.
68
+ * @see {@link Route53ProfilesClientResolvedConfig | config} for Route53ProfilesClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p>
72
+ * The current account doesn't have the IAM permissions required to perform the specified operation.
73
+ * </p>
74
+ *
75
+ * @throws {@link ConflictException} (client fault)
76
+ * <p>
77
+ * The request you submitted conflicts with an existing request.
78
+ * </p>
79
+ *
80
+ * @throws {@link InternalServiceErrorException} (client fault)
81
+ * <p>
82
+ * An internal server error occured. Retry your request.
83
+ * </p>
84
+ *
85
+ * @throws {@link InvalidParameterException} (client fault)
86
+ * <p>
87
+ * One or more parameters in this request are not valid.
88
+ * </p>
89
+ *
90
+ * @throws {@link LimitExceededException} (client fault)
91
+ * <p>
92
+ * The request caused one or more limits to be exceeded.
93
+ * </p>
94
+ *
95
+ * @throws {@link ResourceNotFoundException} (client fault)
96
+ * <p>
97
+ * The resource you are associating is not found.
98
+ * </p>
99
+ *
100
+ * @throws {@link ThrottlingException} (client fault)
101
+ * <p>
102
+ * The request was throttled. Try again in a few minutes.
103
+ * </p>
104
+ *
105
+ * @throws {@link ValidationException} (client fault)
106
+ * <p>
107
+ * You have provided an invalid command.
108
+ * </p>
109
+ *
110
+ * @throws {@link Route53ProfilesServiceException}
111
+ * <p>Base exception class for all service exceptions from Route53Profiles service.</p>
112
+ *
113
+ * @public
114
+ */
115
+ export declare class AssociateResourceToProfileCommand extends AssociateResourceToProfileCommand_base {
116
+ }
@@ -0,0 +1,104 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateProfileRequest, CreateProfileResponse } from "../models/models_0";
4
+ import { Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53ProfilesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link CreateProfileCommand}.
13
+ */
14
+ export interface CreateProfileCommandInput extends CreateProfileRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link CreateProfileCommand}.
20
+ */
21
+ export interface CreateProfileCommandOutput extends CreateProfileResponse, __MetadataBearer {
22
+ }
23
+ declare const CreateProfileCommand_base: {
24
+ new (input: CreateProfileCommandInput): import("@smithy/smithy-client").CommandImpl<CreateProfileCommandInput, CreateProfileCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: CreateProfileCommandInput): import("@smithy/smithy-client").CommandImpl<CreateProfileCommandInput, CreateProfileCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>
30
+ * Creates an empty Route 53 Profile.
31
+ * </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { Route53ProfilesClient, CreateProfileCommand } from "@aws-sdk/client-route53profiles"; // ES Modules import
36
+ * // const { Route53ProfilesClient, CreateProfileCommand } = require("@aws-sdk/client-route53profiles"); // CommonJS import
37
+ * const client = new Route53ProfilesClient(config);
38
+ * const input = { // CreateProfileRequest
39
+ * Name: "STRING_VALUE", // required
40
+ * ClientToken: "STRING_VALUE", // required
41
+ * Tags: [ // TagList
42
+ * { // Tag
43
+ * Key: "STRING_VALUE", // required
44
+ * Value: "STRING_VALUE", // required
45
+ * },
46
+ * ],
47
+ * };
48
+ * const command = new CreateProfileCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // CreateProfileResponse
51
+ * // Profile: { // Profile
52
+ * // Id: "STRING_VALUE",
53
+ * // Arn: "STRING_VALUE",
54
+ * // Name: "STRING_VALUE",
55
+ * // OwnerId: "STRING_VALUE",
56
+ * // Status: "COMPLETE" || "DELETING" || "UPDATING" || "CREATING" || "DELETED" || "FAILED",
57
+ * // StatusMessage: "STRING_VALUE",
58
+ * // ShareStatus: "NOT_SHARED" || "SHARED_WITH_ME" || "SHARED_BY_ME",
59
+ * // CreationTime: new Date("TIMESTAMP"),
60
+ * // ModificationTime: new Date("TIMESTAMP"),
61
+ * // ClientToken: "STRING_VALUE",
62
+ * // },
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param CreateProfileCommandInput - {@link CreateProfileCommandInput}
68
+ * @returns {@link CreateProfileCommandOutput}
69
+ * @see {@link CreateProfileCommandInput} for command's `input` shape.
70
+ * @see {@link CreateProfileCommandOutput} for command's `response` shape.
71
+ * @see {@link Route53ProfilesClientResolvedConfig | config} for Route53ProfilesClient's `config` shape.
72
+ *
73
+ * @throws {@link AccessDeniedException} (client fault)
74
+ * <p>
75
+ * The current account doesn't have the IAM permissions required to perform the specified operation.
76
+ * </p>
77
+ *
78
+ * @throws {@link InvalidParameterException} (client fault)
79
+ * <p>
80
+ * One or more parameters in this request are not valid.
81
+ * </p>
82
+ *
83
+ * @throws {@link LimitExceededException} (client fault)
84
+ * <p>
85
+ * The request caused one or more limits to be exceeded.
86
+ * </p>
87
+ *
88
+ * @throws {@link ThrottlingException} (client fault)
89
+ * <p>
90
+ * The request was throttled. Try again in a few minutes.
91
+ * </p>
92
+ *
93
+ * @throws {@link ValidationException} (client fault)
94
+ * <p>
95
+ * You have provided an invalid command.
96
+ * </p>
97
+ *
98
+ * @throws {@link Route53ProfilesServiceException}
99
+ * <p>Base exception class for all service exceptions from Route53Profiles service.</p>
100
+ *
101
+ * @public
102
+ */
103
+ export declare class CreateProfileCommand extends CreateProfileCommand_base {
104
+ }
@@ -0,0 +1,97 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeleteProfileRequest, DeleteProfileResponse } from "../models/models_0";
4
+ import { Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53ProfilesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link DeleteProfileCommand}.
13
+ */
14
+ export interface DeleteProfileCommandInput extends DeleteProfileRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link DeleteProfileCommand}.
20
+ */
21
+ export interface DeleteProfileCommandOutput extends DeleteProfileResponse, __MetadataBearer {
22
+ }
23
+ declare const DeleteProfileCommand_base: {
24
+ new (input: DeleteProfileCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteProfileCommandInput, DeleteProfileCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DeleteProfileCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteProfileCommandInput, DeleteProfileCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>
30
+ * Deletes the specified Route 53 Profile. Before you can delete a profile, you must first disassociate it from all VPCs.
31
+ * </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { Route53ProfilesClient, DeleteProfileCommand } from "@aws-sdk/client-route53profiles"; // ES Modules import
36
+ * // const { Route53ProfilesClient, DeleteProfileCommand } = require("@aws-sdk/client-route53profiles"); // CommonJS import
37
+ * const client = new Route53ProfilesClient(config);
38
+ * const input = { // DeleteProfileRequest
39
+ * ProfileId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new DeleteProfileCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // DeleteProfileResponse
44
+ * // Profile: { // Profile
45
+ * // Id: "STRING_VALUE",
46
+ * // Arn: "STRING_VALUE",
47
+ * // Name: "STRING_VALUE",
48
+ * // OwnerId: "STRING_VALUE",
49
+ * // Status: "COMPLETE" || "DELETING" || "UPDATING" || "CREATING" || "DELETED" || "FAILED",
50
+ * // StatusMessage: "STRING_VALUE",
51
+ * // ShareStatus: "NOT_SHARED" || "SHARED_WITH_ME" || "SHARED_BY_ME",
52
+ * // CreationTime: new Date("TIMESTAMP"),
53
+ * // ModificationTime: new Date("TIMESTAMP"),
54
+ * // ClientToken: "STRING_VALUE",
55
+ * // },
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param DeleteProfileCommandInput - {@link DeleteProfileCommandInput}
61
+ * @returns {@link DeleteProfileCommandOutput}
62
+ * @see {@link DeleteProfileCommandInput} for command's `input` shape.
63
+ * @see {@link DeleteProfileCommandOutput} for command's `response` shape.
64
+ * @see {@link Route53ProfilesClientResolvedConfig | config} for Route53ProfilesClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>
68
+ * The current account doesn't have the IAM permissions required to perform the specified operation.
69
+ * </p>
70
+ *
71
+ * @throws {@link ConflictException} (client fault)
72
+ * <p>
73
+ * The request you submitted conflicts with an existing request.
74
+ * </p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>
78
+ * The resource you are associating is not found.
79
+ * </p>
80
+ *
81
+ * @throws {@link ThrottlingException} (client fault)
82
+ * <p>
83
+ * The request was throttled. Try again in a few minutes.
84
+ * </p>
85
+ *
86
+ * @throws {@link ValidationException} (client fault)
87
+ * <p>
88
+ * You have provided an invalid command.
89
+ * </p>
90
+ *
91
+ * @throws {@link Route53ProfilesServiceException}
92
+ * <p>Base exception class for all service exceptions from Route53Profiles service.</p>
93
+ *
94
+ * @public
95
+ */
96
+ export declare class DeleteProfileCommand extends DeleteProfileCommand_base {
97
+ }
@@ -0,0 +1,102 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DisassociateProfileRequest, DisassociateProfileResponse } from "../models/models_0";
4
+ import { Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53ProfilesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link DisassociateProfileCommand}.
13
+ */
14
+ export interface DisassociateProfileCommandInput extends DisassociateProfileRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link DisassociateProfileCommand}.
20
+ */
21
+ export interface DisassociateProfileCommandOutput extends DisassociateProfileResponse, __MetadataBearer {
22
+ }
23
+ declare const DisassociateProfileCommand_base: {
24
+ new (input: DisassociateProfileCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateProfileCommandInput, DisassociateProfileCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DisassociateProfileCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateProfileCommandInput, DisassociateProfileCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>
30
+ * Dissociates a specified Route 53 Profile from the specified VPC.
31
+ * </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { Route53ProfilesClient, DisassociateProfileCommand } from "@aws-sdk/client-route53profiles"; // ES Modules import
36
+ * // const { Route53ProfilesClient, DisassociateProfileCommand } = require("@aws-sdk/client-route53profiles"); // CommonJS import
37
+ * const client = new Route53ProfilesClient(config);
38
+ * const input = { // DisassociateProfileRequest
39
+ * ProfileId: "STRING_VALUE", // required
40
+ * ResourceId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DisassociateProfileCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // DisassociateProfileResponse
45
+ * // ProfileAssociation: { // ProfileAssociation
46
+ * // Id: "STRING_VALUE",
47
+ * // Name: "STRING_VALUE",
48
+ * // OwnerId: "STRING_VALUE",
49
+ * // ProfileId: "STRING_VALUE",
50
+ * // ResourceId: "STRING_VALUE",
51
+ * // Status: "COMPLETE" || "DELETING" || "UPDATING" || "CREATING" || "DELETED" || "FAILED",
52
+ * // StatusMessage: "STRING_VALUE",
53
+ * // CreationTime: new Date("TIMESTAMP"),
54
+ * // ModificationTime: new Date("TIMESTAMP"),
55
+ * // },
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param DisassociateProfileCommandInput - {@link DisassociateProfileCommandInput}
61
+ * @returns {@link DisassociateProfileCommandOutput}
62
+ * @see {@link DisassociateProfileCommandInput} for command's `input` shape.
63
+ * @see {@link DisassociateProfileCommandOutput} for command's `response` shape.
64
+ * @see {@link Route53ProfilesClientResolvedConfig | config} for Route53ProfilesClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>
68
+ * The current account doesn't have the IAM permissions required to perform the specified operation.
69
+ * </p>
70
+ *
71
+ * @throws {@link InvalidParameterException} (client fault)
72
+ * <p>
73
+ * One or more parameters in this request are not valid.
74
+ * </p>
75
+ *
76
+ * @throws {@link LimitExceededException} (client fault)
77
+ * <p>
78
+ * The request caused one or more limits to be exceeded.
79
+ * </p>
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * <p>
83
+ * The resource you are associating is not found.
84
+ * </p>
85
+ *
86
+ * @throws {@link ThrottlingException} (client fault)
87
+ * <p>
88
+ * The request was throttled. Try again in a few minutes.
89
+ * </p>
90
+ *
91
+ * @throws {@link ValidationException} (client fault)
92
+ * <p>
93
+ * You have provided an invalid command.
94
+ * </p>
95
+ *
96
+ * @throws {@link Route53ProfilesServiceException}
97
+ * <p>Base exception class for all service exceptions from Route53Profiles service.</p>
98
+ *
99
+ * @public
100
+ */
101
+ export declare class DisassociateProfileCommand extends DisassociateProfileCommand_base {
102
+ }
@@ -0,0 +1,114 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DisassociateResourceFromProfileRequest, DisassociateResourceFromProfileResponse } from "../models/models_0";
4
+ import { Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53ProfilesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link DisassociateResourceFromProfileCommand}.
13
+ */
14
+ export interface DisassociateResourceFromProfileCommandInput extends DisassociateResourceFromProfileRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link DisassociateResourceFromProfileCommand}.
20
+ */
21
+ export interface DisassociateResourceFromProfileCommandOutput extends DisassociateResourceFromProfileResponse, __MetadataBearer {
22
+ }
23
+ declare const DisassociateResourceFromProfileCommand_base: {
24
+ new (input: DisassociateResourceFromProfileCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateResourceFromProfileCommandInput, DisassociateResourceFromProfileCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DisassociateResourceFromProfileCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateResourceFromProfileCommandInput, DisassociateResourceFromProfileCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>
30
+ * Dissoaciated a specified resource, from the Route 53 Profile.
31
+ * </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { Route53ProfilesClient, DisassociateResourceFromProfileCommand } from "@aws-sdk/client-route53profiles"; // ES Modules import
36
+ * // const { Route53ProfilesClient, DisassociateResourceFromProfileCommand } = require("@aws-sdk/client-route53profiles"); // CommonJS import
37
+ * const client = new Route53ProfilesClient(config);
38
+ * const input = { // DisassociateResourceFromProfileRequest
39
+ * ProfileId: "STRING_VALUE", // required
40
+ * ResourceArn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DisassociateResourceFromProfileCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // DisassociateResourceFromProfileResponse
45
+ * // ProfileResourceAssociation: { // ProfileResourceAssociation
46
+ * // Id: "STRING_VALUE",
47
+ * // Name: "STRING_VALUE",
48
+ * // OwnerId: "STRING_VALUE",
49
+ * // ProfileId: "STRING_VALUE",
50
+ * // ResourceArn: "STRING_VALUE",
51
+ * // ResourceType: "STRING_VALUE",
52
+ * // ResourceProperties: "STRING_VALUE",
53
+ * // Status: "COMPLETE" || "DELETING" || "UPDATING" || "CREATING" || "DELETED" || "FAILED",
54
+ * // StatusMessage: "STRING_VALUE",
55
+ * // CreationTime: new Date("TIMESTAMP"),
56
+ * // ModificationTime: new Date("TIMESTAMP"),
57
+ * // },
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param DisassociateResourceFromProfileCommandInput - {@link DisassociateResourceFromProfileCommandInput}
63
+ * @returns {@link DisassociateResourceFromProfileCommandOutput}
64
+ * @see {@link DisassociateResourceFromProfileCommandInput} for command's `input` shape.
65
+ * @see {@link DisassociateResourceFromProfileCommandOutput} for command's `response` shape.
66
+ * @see {@link Route53ProfilesClientResolvedConfig | config} for Route53ProfilesClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>
70
+ * The current account doesn't have the IAM permissions required to perform the specified operation.
71
+ * </p>
72
+ *
73
+ * @throws {@link ConflictException} (client fault)
74
+ * <p>
75
+ * The request you submitted conflicts with an existing request.
76
+ * </p>
77
+ *
78
+ * @throws {@link InternalServiceErrorException} (client fault)
79
+ * <p>
80
+ * An internal server error occured. Retry your request.
81
+ * </p>
82
+ *
83
+ * @throws {@link InvalidParameterException} (client fault)
84
+ * <p>
85
+ * One or more parameters in this request are not valid.
86
+ * </p>
87
+ *
88
+ * @throws {@link LimitExceededException} (client fault)
89
+ * <p>
90
+ * The request caused one or more limits to be exceeded.
91
+ * </p>
92
+ *
93
+ * @throws {@link ResourceNotFoundException} (client fault)
94
+ * <p>
95
+ * The resource you are associating is not found.
96
+ * </p>
97
+ *
98
+ * @throws {@link ThrottlingException} (client fault)
99
+ * <p>
100
+ * The request was throttled. Try again in a few minutes.
101
+ * </p>
102
+ *
103
+ * @throws {@link ValidationException} (client fault)
104
+ * <p>
105
+ * You have provided an invalid command.
106
+ * </p>
107
+ *
108
+ * @throws {@link Route53ProfilesServiceException}
109
+ * <p>Base exception class for all service exceptions from Route53Profiles service.</p>
110
+ *
111
+ * @public
112
+ */
113
+ export declare class DisassociateResourceFromProfileCommand extends DisassociateResourceFromProfileCommand_base {
114
+ }