@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,91 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetProfileAssociationRequest, GetProfileAssociationResponse } 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 GetProfileAssociationCommand}.
13
+ */
14
+ export interface GetProfileAssociationCommandInput extends GetProfileAssociationRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link GetProfileAssociationCommand}.
20
+ */
21
+ export interface GetProfileAssociationCommandOutput extends GetProfileAssociationResponse, __MetadataBearer {
22
+ }
23
+ declare const GetProfileAssociationCommand_base: {
24
+ new (input: GetProfileAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileAssociationCommandInput, GetProfileAssociationCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetProfileAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileAssociationCommandInput, GetProfileAssociationCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>
30
+ * Retrieves a Route 53 Profile association for a VPC. A VPC can have only one Profile association, 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, GetProfileAssociationCommand } from "@aws-sdk/client-route53profiles"; // ES Modules import
36
+ * // const { Route53ProfilesClient, GetProfileAssociationCommand } = require("@aws-sdk/client-route53profiles"); // CommonJS import
37
+ * const client = new Route53ProfilesClient(config);
38
+ * const input = { // GetProfileAssociationRequest
39
+ * ProfileAssociationId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new GetProfileAssociationCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetProfileAssociationResponse
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
+ * // },
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param GetProfileAssociationCommandInput - {@link GetProfileAssociationCommandInput}
60
+ * @returns {@link GetProfileAssociationCommandOutput}
61
+ * @see {@link GetProfileAssociationCommandInput} for command's `input` shape.
62
+ * @see {@link GetProfileAssociationCommandOutput} for command's `response` shape.
63
+ * @see {@link Route53ProfilesClientResolvedConfig | config} for Route53ProfilesClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>
67
+ * The current account doesn't have the IAM permissions required to perform the specified operation.
68
+ * </p>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>
72
+ * The resource you are associating is not found.
73
+ * </p>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p>
77
+ * The request was throttled. Try again in a few minutes.
78
+ * </p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>
82
+ * You have provided an invalid command.
83
+ * </p>
84
+ *
85
+ * @throws {@link Route53ProfilesServiceException}
86
+ * <p>Base exception class for all service exceptions from Route53Profiles service.</p>
87
+ *
88
+ * @public
89
+ */
90
+ export declare class GetProfileAssociationCommand extends GetProfileAssociationCommand_base {
91
+ }
@@ -0,0 +1,92 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetProfileRequest, GetProfileResponse } 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 GetProfileCommand}.
13
+ */
14
+ export interface GetProfileCommandInput extends GetProfileRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link GetProfileCommand}.
20
+ */
21
+ export interface GetProfileCommandOutput extends GetProfileResponse, __MetadataBearer {
22
+ }
23
+ declare const GetProfileCommand_base: {
24
+ new (input: GetProfileCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileCommandInput, GetProfileCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetProfileCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileCommandInput, GetProfileCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>
30
+ * Returns information about a specified Route 53 Profile, such as whether whether the Profile is shared, and the current status of the 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, GetProfileCommand } from "@aws-sdk/client-route53profiles"; // ES Modules import
36
+ * // const { Route53ProfilesClient, GetProfileCommand } = require("@aws-sdk/client-route53profiles"); // CommonJS import
37
+ * const client = new Route53ProfilesClient(config);
38
+ * const input = { // GetProfileRequest
39
+ * ProfileId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new GetProfileCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetProfileResponse
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 GetProfileCommandInput - {@link GetProfileCommandInput}
61
+ * @returns {@link GetProfileCommandOutput}
62
+ * @see {@link GetProfileCommandInput} for command's `input` shape.
63
+ * @see {@link GetProfileCommandOutput} 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 ResourceNotFoundException} (client fault)
72
+ * <p>
73
+ * The resource you are associating is not found.
74
+ * </p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>
78
+ * The request was throttled. Try again in a few minutes.
79
+ * </p>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p>
83
+ * You have provided an invalid command.
84
+ * </p>
85
+ *
86
+ * @throws {@link Route53ProfilesServiceException}
87
+ * <p>Base exception class for all service exceptions from Route53Profiles service.</p>
88
+ *
89
+ * @public
90
+ */
91
+ export declare class GetProfileCommand extends GetProfileCommand_base {
92
+ }
@@ -0,0 +1,98 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetProfileResourceAssociationRequest, GetProfileResourceAssociationResponse } 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 GetProfileResourceAssociationCommand}.
13
+ */
14
+ export interface GetProfileResourceAssociationCommandInput extends GetProfileResourceAssociationRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link GetProfileResourceAssociationCommand}.
20
+ */
21
+ export interface GetProfileResourceAssociationCommandOutput extends GetProfileResourceAssociationResponse, __MetadataBearer {
22
+ }
23
+ declare const GetProfileResourceAssociationCommand_base: {
24
+ new (input: GetProfileResourceAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileResourceAssociationCommandInput, GetProfileResourceAssociationCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetProfileResourceAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileResourceAssociationCommandInput, GetProfileResourceAssociationCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>
30
+ * Returns information about a specified Route 53 Profile resource association.
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, GetProfileResourceAssociationCommand } from "@aws-sdk/client-route53profiles"; // ES Modules import
36
+ * // const { Route53ProfilesClient, GetProfileResourceAssociationCommand } = require("@aws-sdk/client-route53profiles"); // CommonJS import
37
+ * const client = new Route53ProfilesClient(config);
38
+ * const input = { // GetProfileResourceAssociationRequest
39
+ * ProfileResourceAssociationId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new GetProfileResourceAssociationCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetProfileResourceAssociationResponse
44
+ * // ProfileResourceAssociation: { // ProfileResourceAssociation
45
+ * // Id: "STRING_VALUE",
46
+ * // Name: "STRING_VALUE",
47
+ * // OwnerId: "STRING_VALUE",
48
+ * // ProfileId: "STRING_VALUE",
49
+ * // ResourceArn: "STRING_VALUE",
50
+ * // ResourceType: "STRING_VALUE",
51
+ * // ResourceProperties: "STRING_VALUE",
52
+ * // Status: "COMPLETE" || "DELETING" || "UPDATING" || "CREATING" || "DELETED" || "FAILED",
53
+ * // StatusMessage: "STRING_VALUE",
54
+ * // CreationTime: new Date("TIMESTAMP"),
55
+ * // ModificationTime: new Date("TIMESTAMP"),
56
+ * // },
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param GetProfileResourceAssociationCommandInput - {@link GetProfileResourceAssociationCommandInput}
62
+ * @returns {@link GetProfileResourceAssociationCommandOutput}
63
+ * @see {@link GetProfileResourceAssociationCommandInput} for command's `input` shape.
64
+ * @see {@link GetProfileResourceAssociationCommandOutput} for command's `response` shape.
65
+ * @see {@link Route53ProfilesClientResolvedConfig | config} for Route53ProfilesClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>
69
+ * The current account doesn't have the IAM permissions required to perform the specified operation.
70
+ * </p>
71
+ *
72
+ * @throws {@link InvalidParameterException} (client fault)
73
+ * <p>
74
+ * One or more parameters in this request are not valid.
75
+ * </p>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p>
79
+ * The resource you are associating is not found.
80
+ * </p>
81
+ *
82
+ * @throws {@link ThrottlingException} (client fault)
83
+ * <p>
84
+ * The request was throttled. Try again in a few minutes.
85
+ * </p>
86
+ *
87
+ * @throws {@link ValidationException} (client fault)
88
+ * <p>
89
+ * You have provided an invalid command.
90
+ * </p>
91
+ *
92
+ * @throws {@link Route53ProfilesServiceException}
93
+ * <p>Base exception class for all service exceptions from Route53Profiles service.</p>
94
+ *
95
+ * @public
96
+ */
97
+ export declare class GetProfileResourceAssociationCommand extends GetProfileResourceAssociationCommand_base {
98
+ }
@@ -0,0 +1,102 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListProfileAssociationsRequest, ListProfileAssociationsResponse } 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 ListProfileAssociationsCommand}.
13
+ */
14
+ export interface ListProfileAssociationsCommandInput extends ListProfileAssociationsRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link ListProfileAssociationsCommand}.
20
+ */
21
+ export interface ListProfileAssociationsCommandOutput extends ListProfileAssociationsResponse, __MetadataBearer {
22
+ }
23
+ declare const ListProfileAssociationsCommand_base: {
24
+ new (input: ListProfileAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListProfileAssociationsCommandInput, ListProfileAssociationsCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [ListProfileAssociationsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListProfileAssociationsCommandInput, ListProfileAssociationsCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>
30
+ * Lists all the VPCs that the specified Route 53 Profile is associated with.
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, ListProfileAssociationsCommand } from "@aws-sdk/client-route53profiles"; // ES Modules import
36
+ * // const { Route53ProfilesClient, ListProfileAssociationsCommand } = require("@aws-sdk/client-route53profiles"); // CommonJS import
37
+ * const client = new Route53ProfilesClient(config);
38
+ * const input = { // ListProfileAssociationsRequest
39
+ * ResourceId: "STRING_VALUE",
40
+ * ProfileId: "STRING_VALUE",
41
+ * MaxResults: Number("int"),
42
+ * NextToken: "STRING_VALUE",
43
+ * };
44
+ * const command = new ListProfileAssociationsCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListProfileAssociationsResponse
47
+ * // ProfileAssociations: [ // ProfileAssociations
48
+ * // { // ProfileAssociation
49
+ * // Id: "STRING_VALUE",
50
+ * // Name: "STRING_VALUE",
51
+ * // OwnerId: "STRING_VALUE",
52
+ * // ProfileId: "STRING_VALUE",
53
+ * // ResourceId: "STRING_VALUE",
54
+ * // Status: "COMPLETE" || "DELETING" || "UPDATING" || "CREATING" || "DELETED" || "FAILED",
55
+ * // StatusMessage: "STRING_VALUE",
56
+ * // CreationTime: new Date("TIMESTAMP"),
57
+ * // ModificationTime: new Date("TIMESTAMP"),
58
+ * // },
59
+ * // ],
60
+ * // NextToken: "STRING_VALUE",
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ListProfileAssociationsCommandInput - {@link ListProfileAssociationsCommandInput}
66
+ * @returns {@link ListProfileAssociationsCommandOutput}
67
+ * @see {@link ListProfileAssociationsCommandInput} for command's `input` shape.
68
+ * @see {@link ListProfileAssociationsCommandOutput} for command's `response` shape.
69
+ * @see {@link Route53ProfilesClientResolvedConfig | config} for Route53ProfilesClient's `config` shape.
70
+ *
71
+ * @throws {@link AccessDeniedException} (client fault)
72
+ * <p>
73
+ * The current account doesn't have the IAM permissions required to perform the specified operation.
74
+ * </p>
75
+ *
76
+ * @throws {@link InvalidNextTokenException} (client fault)
77
+ * <p>
78
+ * The <code>NextToken</code> you provided isn;t valid.
79
+ * </p>
80
+ *
81
+ * @throws {@link InvalidParameterException} (client fault)
82
+ * <p>
83
+ * One or more parameters in this request are not valid.
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 ListProfileAssociationsCommand extends ListProfileAssociationsCommand_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 { ListProfileResourceAssociationsRequest, ListProfileResourceAssociationsResponse } 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 ListProfileResourceAssociationsCommand}.
13
+ */
14
+ export interface ListProfileResourceAssociationsCommandInput extends ListProfileResourceAssociationsRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link ListProfileResourceAssociationsCommand}.
20
+ */
21
+ export interface ListProfileResourceAssociationsCommandOutput extends ListProfileResourceAssociationsResponse, __MetadataBearer {
22
+ }
23
+ declare const ListProfileResourceAssociationsCommand_base: {
24
+ new (input: ListProfileResourceAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListProfileResourceAssociationsCommandInput, ListProfileResourceAssociationsCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: ListProfileResourceAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListProfileResourceAssociationsCommandInput, ListProfileResourceAssociationsCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>
30
+ * Lists all the resource associations for the specified 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, ListProfileResourceAssociationsCommand } from "@aws-sdk/client-route53profiles"; // ES Modules import
36
+ * // const { Route53ProfilesClient, ListProfileResourceAssociationsCommand } = require("@aws-sdk/client-route53profiles"); // CommonJS import
37
+ * const client = new Route53ProfilesClient(config);
38
+ * const input = { // ListProfileResourceAssociationsRequest
39
+ * ProfileId: "STRING_VALUE", // required
40
+ * ResourceType: "STRING_VALUE",
41
+ * MaxResults: Number("int"),
42
+ * NextToken: "STRING_VALUE",
43
+ * };
44
+ * const command = new ListProfileResourceAssociationsCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListProfileResourceAssociationsResponse
47
+ * // ProfileResourceAssociations: [ // ProfileResourceAssociations
48
+ * // { // ProfileResourceAssociation
49
+ * // Id: "STRING_VALUE",
50
+ * // Name: "STRING_VALUE",
51
+ * // OwnerId: "STRING_VALUE",
52
+ * // ProfileId: "STRING_VALUE",
53
+ * // ResourceArn: "STRING_VALUE",
54
+ * // ResourceType: "STRING_VALUE",
55
+ * // ResourceProperties: "STRING_VALUE",
56
+ * // Status: "COMPLETE" || "DELETING" || "UPDATING" || "CREATING" || "DELETED" || "FAILED",
57
+ * // StatusMessage: "STRING_VALUE",
58
+ * // CreationTime: new Date("TIMESTAMP"),
59
+ * // ModificationTime: new Date("TIMESTAMP"),
60
+ * // },
61
+ * // ],
62
+ * // NextToken: "STRING_VALUE",
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param ListProfileResourceAssociationsCommandInput - {@link ListProfileResourceAssociationsCommandInput}
68
+ * @returns {@link ListProfileResourceAssociationsCommandOutput}
69
+ * @see {@link ListProfileResourceAssociationsCommandInput} for command's `input` shape.
70
+ * @see {@link ListProfileResourceAssociationsCommandOutput} 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 InternalServiceErrorException} (client fault)
79
+ * <p>
80
+ * An internal server error occured. Retry your request.
81
+ * </p>
82
+ *
83
+ * @throws {@link InvalidNextTokenException} (client fault)
84
+ * <p>
85
+ * The <code>NextToken</code> you provided isn;t valid.
86
+ * </p>
87
+ *
88
+ * @throws {@link InvalidParameterException} (client fault)
89
+ * <p>
90
+ * One or more parameters in this request are not valid.
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 ListProfileResourceAssociationsCommand extends ListProfileResourceAssociationsCommand_base {
114
+ }
@@ -0,0 +1,95 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListProfilesRequest, ListProfilesResponse } 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 ListProfilesCommand}.
13
+ */
14
+ export interface ListProfilesCommandInput extends ListProfilesRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link ListProfilesCommand}.
20
+ */
21
+ export interface ListProfilesCommandOutput extends ListProfilesResponse, __MetadataBearer {
22
+ }
23
+ declare const ListProfilesCommand_base: {
24
+ new (input: ListProfilesCommandInput): import("@smithy/smithy-client").CommandImpl<ListProfilesCommandInput, ListProfilesCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [ListProfilesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListProfilesCommandInput, ListProfilesCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>
30
+ * Lists all the Route 53 Profiles associated with your Amazon Web Services account.
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, ListProfilesCommand } from "@aws-sdk/client-route53profiles"; // ES Modules import
36
+ * // const { Route53ProfilesClient, ListProfilesCommand } = require("@aws-sdk/client-route53profiles"); // CommonJS import
37
+ * const client = new Route53ProfilesClient(config);
38
+ * const input = { // ListProfilesRequest
39
+ * MaxResults: Number("int"),
40
+ * NextToken: "STRING_VALUE",
41
+ * };
42
+ * const command = new ListProfilesCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListProfilesResponse
45
+ * // ProfileSummaries: [ // ProfileSummaryList
46
+ * // { // ProfileSummary
47
+ * // Id: "STRING_VALUE",
48
+ * // Arn: "STRING_VALUE",
49
+ * // Name: "STRING_VALUE",
50
+ * // ShareStatus: "NOT_SHARED" || "SHARED_WITH_ME" || "SHARED_BY_ME",
51
+ * // },
52
+ * // ],
53
+ * // NextToken: "STRING_VALUE",
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param ListProfilesCommandInput - {@link ListProfilesCommandInput}
59
+ * @returns {@link ListProfilesCommandOutput}
60
+ * @see {@link ListProfilesCommandInput} for command's `input` shape.
61
+ * @see {@link ListProfilesCommandOutput} for command's `response` shape.
62
+ * @see {@link Route53ProfilesClientResolvedConfig | config} for Route53ProfilesClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>
66
+ * The current account doesn't have the IAM permissions required to perform the specified operation.
67
+ * </p>
68
+ *
69
+ * @throws {@link InvalidNextTokenException} (client fault)
70
+ * <p>
71
+ * The <code>NextToken</code> you provided isn;t valid.
72
+ * </p>
73
+ *
74
+ * @throws {@link InvalidParameterException} (client fault)
75
+ * <p>
76
+ * One or more parameters in this request are not valid.
77
+ * </p>
78
+ *
79
+ * @throws {@link ThrottlingException} (client fault)
80
+ * <p>
81
+ * The request was throttled. Try again in a few minutes.
82
+ * </p>
83
+ *
84
+ * @throws {@link ValidationException} (client fault)
85
+ * <p>
86
+ * You have provided an invalid command.
87
+ * </p>
88
+ *
89
+ * @throws {@link Route53ProfilesServiceException}
90
+ * <p>Base exception class for all service exceptions from Route53Profiles service.</p>
91
+ *
92
+ * @public
93
+ */
94
+ export declare class ListProfilesCommand extends ListProfilesCommand_base {
95
+ }