@aws-sdk/client-vpc-lattice 3.699.0 → 3.709.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 (108) hide show
  1. package/README.md +136 -0
  2. package/dist-cjs/index.js +1223 -25
  3. package/dist-es/VPCLattice.js +34 -0
  4. package/dist-es/commands/CreateResourceConfigurationCommand.js +22 -0
  5. package/dist-es/commands/CreateResourceGatewayCommand.js +22 -0
  6. package/dist-es/commands/CreateServiceNetworkResourceAssociationCommand.js +22 -0
  7. package/dist-es/commands/DeleteResourceConfigurationCommand.js +22 -0
  8. package/dist-es/commands/DeleteResourceEndpointAssociationCommand.js +22 -0
  9. package/dist-es/commands/DeleteResourceGatewayCommand.js +22 -0
  10. package/dist-es/commands/DeleteServiceNetworkResourceAssociationCommand.js +22 -0
  11. package/dist-es/commands/GetResourceConfigurationCommand.js +22 -0
  12. package/dist-es/commands/GetResourceGatewayCommand.js +22 -0
  13. package/dist-es/commands/GetServiceNetworkResourceAssociationCommand.js +22 -0
  14. package/dist-es/commands/ListResourceConfigurationsCommand.js +22 -0
  15. package/dist-es/commands/ListResourceEndpointAssociationsCommand.js +22 -0
  16. package/dist-es/commands/ListResourceGatewaysCommand.js +22 -0
  17. package/dist-es/commands/ListServiceNetworkResourceAssociationsCommand.js +22 -0
  18. package/dist-es/commands/ListServiceNetworkVpcEndpointAssociationsCommand.js +22 -0
  19. package/dist-es/commands/UpdateResourceConfigurationCommand.js +22 -0
  20. package/dist-es/commands/UpdateResourceGatewayCommand.js +22 -0
  21. package/dist-es/commands/index.js +17 -0
  22. package/dist-es/models/models_0.js +61 -0
  23. package/dist-es/pagination/ListResourceConfigurationsPaginator.js +4 -0
  24. package/dist-es/pagination/ListResourceEndpointAssociationsPaginator.js +4 -0
  25. package/dist-es/pagination/ListResourceGatewaysPaginator.js +4 -0
  26. package/dist-es/pagination/ListServiceNetworkResourceAssociationsPaginator.js +4 -0
  27. package/dist-es/pagination/ListServiceNetworkVpcEndpointAssociationsPaginator.js +4 -0
  28. package/dist-es/pagination/index.js +5 -0
  29. package/dist-es/protocols/Aws_restJson1.js +671 -0
  30. package/dist-types/VPCLattice.d.ts +122 -0
  31. package/dist-types/VPCLatticeClient.d.ts +19 -2
  32. package/dist-types/commands/CreateAccessLogSubscriptionCommand.d.ts +2 -0
  33. package/dist-types/commands/CreateResourceConfigurationCommand.d.ts +144 -0
  34. package/dist-types/commands/CreateResourceGatewayCommand.d.ts +117 -0
  35. package/dist-types/commands/CreateServiceNetworkCommand.d.ts +6 -0
  36. package/dist-types/commands/CreateServiceNetworkResourceAssociationCommand.d.ts +104 -0
  37. package/dist-types/commands/CreateServiceNetworkServiceAssociationCommand.d.ts +2 -1
  38. package/dist-types/commands/DeleteAuthPolicyCommand.d.ts +3 -3
  39. package/dist-types/commands/DeleteResourceConfigurationCommand.d.ts +89 -0
  40. package/dist-types/commands/DeleteResourceEndpointAssociationCommand.d.ts +91 -0
  41. package/dist-types/commands/DeleteResourceGatewayCommand.d.ts +94 -0
  42. package/dist-types/commands/DeleteServiceNetworkResourceAssociationCommand.d.ts +93 -0
  43. package/dist-types/commands/DeleteServiceNetworkServiceAssociationCommand.d.ts +1 -1
  44. package/dist-types/commands/GetAccessLogSubscriptionCommand.d.ts +1 -0
  45. package/dist-types/commands/GetResourceConfigurationCommand.d.ts +115 -0
  46. package/dist-types/commands/GetResourceGatewayCommand.d.ts +100 -0
  47. package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
  48. package/dist-types/commands/GetRuleCommand.d.ts +1 -1
  49. package/dist-types/commands/GetServiceNetworkCommand.d.ts +3 -0
  50. package/dist-types/commands/GetServiceNetworkResourceAssociationCommand.d.ts +109 -0
  51. package/dist-types/commands/GetServiceNetworkServiceAssociationCommand.d.ts +1 -2
  52. package/dist-types/commands/GetServiceNetworkVpcAssociationCommand.d.ts +1 -1
  53. package/dist-types/commands/ListAccessLogSubscriptionsCommand.d.ts +2 -1
  54. package/dist-types/commands/ListResourceConfigurationsCommand.d.ts +101 -0
  55. package/dist-types/commands/ListResourceEndpointAssociationsCommand.d.ts +102 -0
  56. package/dist-types/commands/ListResourceGatewaysCommand.d.ts +103 -0
  57. package/dist-types/commands/ListRulesCommand.d.ts +1 -1
  58. package/dist-types/commands/ListServiceNetworkResourceAssociationsCommand.d.ts +112 -0
  59. package/dist-types/commands/ListServiceNetworkServiceAssociationsCommand.d.ts +4 -5
  60. package/dist-types/commands/ListServiceNetworkVpcAssociationsCommand.d.ts +2 -3
  61. package/dist-types/commands/ListServiceNetworkVpcEndpointAssociationsCommand.d.ts +97 -0
  62. package/dist-types/commands/ListServiceNetworksCommand.d.ts +3 -2
  63. package/dist-types/commands/PutAuthPolicyCommand.d.ts +2 -2
  64. package/dist-types/commands/UpdateListenerCommand.d.ts +3 -0
  65. package/dist-types/commands/UpdateResourceConfigurationCommand.d.ts +129 -0
  66. package/dist-types/commands/UpdateResourceGatewayCommand.d.ts +101 -0
  67. package/dist-types/commands/UpdateRuleCommand.d.ts +4 -1
  68. package/dist-types/commands/UpdateServiceCommand.d.ts +3 -0
  69. package/dist-types/commands/UpdateServiceNetworkVpcAssociationCommand.d.ts +2 -2
  70. package/dist-types/commands/UpdateTargetGroupCommand.d.ts +3 -0
  71. package/dist-types/commands/index.d.ts +17 -0
  72. package/dist-types/models/models_0.d.ts +2687 -987
  73. package/dist-types/pagination/ListResourceConfigurationsPaginator.d.ts +7 -0
  74. package/dist-types/pagination/ListResourceEndpointAssociationsPaginator.d.ts +7 -0
  75. package/dist-types/pagination/ListResourceGatewaysPaginator.d.ts +7 -0
  76. package/dist-types/pagination/ListServiceNetworkResourceAssociationsPaginator.d.ts +7 -0
  77. package/dist-types/pagination/ListServiceNetworkVpcEndpointAssociationsPaginator.d.ts +7 -0
  78. package/dist-types/pagination/index.d.ts +5 -0
  79. package/dist-types/protocols/Aws_restJson1.d.ts +153 -0
  80. package/dist-types/ts3.4/VPCLattice.d.ts +328 -0
  81. package/dist-types/ts3.4/VPCLatticeClient.d.ts +102 -0
  82. package/dist-types/ts3.4/commands/CreateResourceConfigurationCommand.d.ts +51 -0
  83. package/dist-types/ts3.4/commands/CreateResourceGatewayCommand.d.ts +51 -0
  84. package/dist-types/ts3.4/commands/CreateServiceNetworkResourceAssociationCommand.d.ts +51 -0
  85. package/dist-types/ts3.4/commands/DeleteResourceConfigurationCommand.d.ts +51 -0
  86. package/dist-types/ts3.4/commands/DeleteResourceEndpointAssociationCommand.d.ts +51 -0
  87. package/dist-types/ts3.4/commands/DeleteResourceGatewayCommand.d.ts +51 -0
  88. package/dist-types/ts3.4/commands/DeleteServiceNetworkResourceAssociationCommand.d.ts +51 -0
  89. package/dist-types/ts3.4/commands/GetResourceConfigurationCommand.d.ts +51 -0
  90. package/dist-types/ts3.4/commands/GetResourceGatewayCommand.d.ts +51 -0
  91. package/dist-types/ts3.4/commands/GetServiceNetworkResourceAssociationCommand.d.ts +51 -0
  92. package/dist-types/ts3.4/commands/ListResourceConfigurationsCommand.d.ts +51 -0
  93. package/dist-types/ts3.4/commands/ListResourceEndpointAssociationsCommand.d.ts +51 -0
  94. package/dist-types/ts3.4/commands/ListResourceGatewaysCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/ListServiceNetworkResourceAssociationsCommand.d.ts +51 -0
  96. package/dist-types/ts3.4/commands/ListServiceNetworkVpcEndpointAssociationsCommand.d.ts +51 -0
  97. package/dist-types/ts3.4/commands/UpdateResourceConfigurationCommand.d.ts +51 -0
  98. package/dist-types/ts3.4/commands/UpdateResourceGatewayCommand.d.ts +51 -0
  99. package/dist-types/ts3.4/commands/index.d.ts +17 -0
  100. package/dist-types/ts3.4/models/models_0.d.ts +416 -0
  101. package/dist-types/ts3.4/pagination/ListResourceConfigurationsPaginator.d.ts +11 -0
  102. package/dist-types/ts3.4/pagination/ListResourceEndpointAssociationsPaginator.d.ts +11 -0
  103. package/dist-types/ts3.4/pagination/ListResourceGatewaysPaginator.d.ts +11 -0
  104. package/dist-types/ts3.4/pagination/ListServiceNetworkResourceAssociationsPaginator.d.ts +11 -0
  105. package/dist-types/ts3.4/pagination/ListServiceNetworkVpcEndpointAssociationsPaginator.d.ts +11 -0
  106. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  107. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +204 -0
  108. package/package.json +35 -35
@@ -44,6 +44,9 @@ declare const CreateServiceNetworkCommand_base: {
44
44
  * tags: { // TagMap
45
45
  * "<keys>": "STRING_VALUE",
46
46
  * },
47
+ * sharingConfig: { // SharingConfig
48
+ * enabled: true || false,
49
+ * },
47
50
  * };
48
51
  * const command = new CreateServiceNetworkCommand(input);
49
52
  * const response = await client.send(command);
@@ -51,6 +54,9 @@ declare const CreateServiceNetworkCommand_base: {
51
54
  * // id: "STRING_VALUE",
52
55
  * // name: "STRING_VALUE",
53
56
  * // arn: "STRING_VALUE",
57
+ * // sharingConfig: { // SharingConfig
58
+ * // enabled: true || false,
59
+ * // },
54
60
  * // authType: "STRING_VALUE",
55
61
  * // };
56
62
  *
@@ -0,0 +1,104 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateServiceNetworkResourceAssociationRequest, CreateServiceNetworkResourceAssociationResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, VPCLatticeClientResolvedConfig } from "../VPCLatticeClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateServiceNetworkResourceAssociationCommand}.
14
+ */
15
+ export interface CreateServiceNetworkResourceAssociationCommandInput extends CreateServiceNetworkResourceAssociationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateServiceNetworkResourceAssociationCommand}.
21
+ */
22
+ export interface CreateServiceNetworkResourceAssociationCommandOutput extends CreateServiceNetworkResourceAssociationResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateServiceNetworkResourceAssociationCommand_base: {
25
+ new (input: CreateServiceNetworkResourceAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateServiceNetworkResourceAssociationCommandInput, CreateServiceNetworkResourceAssociationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateServiceNetworkResourceAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateServiceNetworkResourceAssociationCommandInput, CreateServiceNetworkResourceAssociationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Associates the specified service network with the specified resource configuration.
31
+ * This allows the resource configuration to receive connections through the service network,
32
+ * including through a service network VPC endpoint.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { VPCLatticeClient, CreateServiceNetworkResourceAssociationCommand } from "@aws-sdk/client-vpc-lattice"; // ES Modules import
37
+ * // const { VPCLatticeClient, CreateServiceNetworkResourceAssociationCommand } = require("@aws-sdk/client-vpc-lattice"); // CommonJS import
38
+ * const client = new VPCLatticeClient(config);
39
+ * const input = { // CreateServiceNetworkResourceAssociationRequest
40
+ * clientToken: "STRING_VALUE",
41
+ * resourceConfigurationIdentifier: "STRING_VALUE", // required
42
+ * serviceNetworkIdentifier: "STRING_VALUE", // required
43
+ * tags: { // TagMap
44
+ * "<keys>": "STRING_VALUE",
45
+ * },
46
+ * };
47
+ * const command = new CreateServiceNetworkResourceAssociationCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // CreateServiceNetworkResourceAssociationResponse
50
+ * // id: "STRING_VALUE",
51
+ * // arn: "STRING_VALUE",
52
+ * // status: "STRING_VALUE",
53
+ * // createdBy: "STRING_VALUE",
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param CreateServiceNetworkResourceAssociationCommandInput - {@link CreateServiceNetworkResourceAssociationCommandInput}
59
+ * @returns {@link CreateServiceNetworkResourceAssociationCommandOutput}
60
+ * @see {@link CreateServiceNetworkResourceAssociationCommandInput} for command's `input` shape.
61
+ * @see {@link CreateServiceNetworkResourceAssociationCommandOutput} for command's `response` shape.
62
+ * @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>The user does not have sufficient access to perform this action.</p>
66
+ *
67
+ * @throws {@link ConflictException} (client fault)
68
+ * <p>The request conflicts with the current state of the resource. Updating or deleting a
69
+ * resource can cause an inconsistent state.</p>
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>An unexpected error occurred while processing the request.</p>
73
+ *
74
+ * @throws {@link ResourceNotFoundException} (client fault)
75
+ * <p>The request references a resource that does not exist.</p>
76
+ *
77
+ * @throws {@link ServiceQuotaExceededException} (client fault)
78
+ * <p>The request would cause a service quota to be exceeded.</p>
79
+ *
80
+ * @throws {@link ThrottlingException} (client fault)
81
+ * <p>The limit on the number of requests per second was exceeded.</p>
82
+ *
83
+ * @throws {@link ValidationException} (client fault)
84
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services
85
+ * service.</p>
86
+ *
87
+ * @throws {@link VPCLatticeServiceException}
88
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
89
+ *
90
+ * @public
91
+ */
92
+ export declare class CreateServiceNetworkResourceAssociationCommand extends CreateServiceNetworkResourceAssociationCommand_base {
93
+ /** @internal type navigation helper, not in runtime. */
94
+ protected static __types: {
95
+ api: {
96
+ input: CreateServiceNetworkResourceAssociationRequest;
97
+ output: CreateServiceNetworkResourceAssociationResponse;
98
+ };
99
+ sdk: {
100
+ input: CreateServiceNetworkResourceAssociationCommandInput;
101
+ output: CreateServiceNetworkResourceAssociationCommandOutput;
102
+ };
103
+ };
104
+ }
@@ -27,7 +27,8 @@ declare const CreateServiceNetworkServiceAssociationCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Associates a service with a service network. For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-network-associations.html#service-network-service-associations">Manage service associations</a> in the <i>Amazon VPC Lattice User Guide</i>.</p>
30
+ * <p>Associates the specified service with the specified service network. For more information, see
31
+ * <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-network-associations.html#service-network-service-associations">Manage service associations</a> in the <i>Amazon VPC Lattice User Guide</i>.</p>
31
32
  * <p>You can't use this operation if the service and service network are already associated or if
32
33
  * there is a disassociation or deletion in progress. If the association fails, you can retry the
33
34
  * operation by deleting the association and recreating it.</p>
@@ -28,9 +28,9 @@ declare const DeleteAuthPolicyCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Deletes the specified auth policy. If an auth is set to <code>AWS_IAM</code> and the auth
31
- * policy is deleted, all requests are denied. If you are trying to remove the auth
32
- * policy completely, you must set the auth type to <code>NONE</code>. If auth is enabled on the
33
- * resource, but no auth policy is set, all requests are denied.</p>
31
+ * policy is deleted, all requests are denied. If you are trying to remove the auth policy
32
+ * completely, you must set the auth type to <code>NONE</code>. If auth is enabled on the resource,
33
+ * but no auth policy is set, all requests are denied.</p>
34
34
  * @example
35
35
  * Use a bare-bones client and the command you need to make an API call.
36
36
  * ```javascript
@@ -0,0 +1,89 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeleteResourceConfigurationRequest, DeleteResourceConfigurationResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, VPCLatticeClientResolvedConfig } from "../VPCLatticeClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteResourceConfigurationCommand}.
14
+ */
15
+ export interface DeleteResourceConfigurationCommandInput extends DeleteResourceConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteResourceConfigurationCommand}.
21
+ */
22
+ export interface DeleteResourceConfigurationCommandOutput extends DeleteResourceConfigurationResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteResourceConfigurationCommand_base: {
25
+ new (input: DeleteResourceConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourceConfigurationCommandInput, DeleteResourceConfigurationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteResourceConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourceConfigurationCommandInput, DeleteResourceConfigurationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes the specified resource configuration.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { VPCLatticeClient, DeleteResourceConfigurationCommand } from "@aws-sdk/client-vpc-lattice"; // ES Modules import
35
+ * // const { VPCLatticeClient, DeleteResourceConfigurationCommand } = require("@aws-sdk/client-vpc-lattice"); // CommonJS import
36
+ * const client = new VPCLatticeClient(config);
37
+ * const input = { // DeleteResourceConfigurationRequest
38
+ * resourceConfigurationIdentifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteResourceConfigurationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param DeleteResourceConfigurationCommandInput - {@link DeleteResourceConfigurationCommandInput}
47
+ * @returns {@link DeleteResourceConfigurationCommandOutput}
48
+ * @see {@link DeleteResourceConfigurationCommandInput} for command's `input` shape.
49
+ * @see {@link DeleteResourceConfigurationCommandOutput} for command's `response` shape.
50
+ * @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>The user does not have sufficient access to perform this action.</p>
54
+ *
55
+ * @throws {@link ConflictException} (client fault)
56
+ * <p>The request conflicts with the current state of the resource. Updating or deleting a
57
+ * resource can cause an inconsistent state.</p>
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * <p>An unexpected error occurred while processing the request.</p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>The request references a resource that does not exist.</p>
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * <p>The limit on the number of requests per second was exceeded.</p>
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services
70
+ * service.</p>
71
+ *
72
+ * @throws {@link VPCLatticeServiceException}
73
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
74
+ *
75
+ * @public
76
+ */
77
+ export declare class DeleteResourceConfigurationCommand extends DeleteResourceConfigurationCommand_base {
78
+ /** @internal type navigation helper, not in runtime. */
79
+ protected static __types: {
80
+ api: {
81
+ input: DeleteResourceConfigurationRequest;
82
+ output: {};
83
+ };
84
+ sdk: {
85
+ input: DeleteResourceConfigurationCommandInput;
86
+ output: DeleteResourceConfigurationCommandOutput;
87
+ };
88
+ };
89
+ }
@@ -0,0 +1,91 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeleteResourceEndpointAssociationRequest, DeleteResourceEndpointAssociationResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, VPCLatticeClientResolvedConfig } from "../VPCLatticeClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteResourceEndpointAssociationCommand}.
14
+ */
15
+ export interface DeleteResourceEndpointAssociationCommandInput extends DeleteResourceEndpointAssociationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteResourceEndpointAssociationCommand}.
21
+ */
22
+ export interface DeleteResourceEndpointAssociationCommandOutput extends DeleteResourceEndpointAssociationResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteResourceEndpointAssociationCommand_base: {
25
+ new (input: DeleteResourceEndpointAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourceEndpointAssociationCommandInput, DeleteResourceEndpointAssociationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteResourceEndpointAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourceEndpointAssociationCommandInput, DeleteResourceEndpointAssociationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Disassociates the resource configuration from the resource VPC endpoint.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { VPCLatticeClient, DeleteResourceEndpointAssociationCommand } from "@aws-sdk/client-vpc-lattice"; // ES Modules import
35
+ * // const { VPCLatticeClient, DeleteResourceEndpointAssociationCommand } = require("@aws-sdk/client-vpc-lattice"); // CommonJS import
36
+ * const client = new VPCLatticeClient(config);
37
+ * const input = { // DeleteResourceEndpointAssociationRequest
38
+ * resourceEndpointAssociationIdentifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteResourceEndpointAssociationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DeleteResourceEndpointAssociationResponse
43
+ * // id: "STRING_VALUE",
44
+ * // arn: "STRING_VALUE",
45
+ * // resourceConfigurationId: "STRING_VALUE",
46
+ * // resourceConfigurationArn: "STRING_VALUE",
47
+ * // vpcEndpointId: "STRING_VALUE",
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param DeleteResourceEndpointAssociationCommandInput - {@link DeleteResourceEndpointAssociationCommandInput}
53
+ * @returns {@link DeleteResourceEndpointAssociationCommandOutput}
54
+ * @see {@link DeleteResourceEndpointAssociationCommandInput} for command's `input` shape.
55
+ * @see {@link DeleteResourceEndpointAssociationCommandOutput} for command's `response` shape.
56
+ * @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * <p>The user does not have sufficient access to perform this action.</p>
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p>An unexpected error occurred while processing the request.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>The request references a resource that does not exist.</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>The limit on the number of requests per second was exceeded.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services
72
+ * service.</p>
73
+ *
74
+ * @throws {@link VPCLatticeServiceException}
75
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
76
+ *
77
+ * @public
78
+ */
79
+ export declare class DeleteResourceEndpointAssociationCommand extends DeleteResourceEndpointAssociationCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: DeleteResourceEndpointAssociationRequest;
84
+ output: DeleteResourceEndpointAssociationResponse;
85
+ };
86
+ sdk: {
87
+ input: DeleteResourceEndpointAssociationCommandInput;
88
+ output: DeleteResourceEndpointAssociationCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -0,0 +1,94 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeleteResourceGatewayRequest, DeleteResourceGatewayResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, VPCLatticeClientResolvedConfig } from "../VPCLatticeClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteResourceGatewayCommand}.
14
+ */
15
+ export interface DeleteResourceGatewayCommandInput extends DeleteResourceGatewayRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteResourceGatewayCommand}.
21
+ */
22
+ export interface DeleteResourceGatewayCommandOutput extends DeleteResourceGatewayResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteResourceGatewayCommand_base: {
25
+ new (input: DeleteResourceGatewayCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourceGatewayCommandInput, DeleteResourceGatewayCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteResourceGatewayCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourceGatewayCommandInput, DeleteResourceGatewayCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes the specified resource gateway.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { VPCLatticeClient, DeleteResourceGatewayCommand } from "@aws-sdk/client-vpc-lattice"; // ES Modules import
35
+ * // const { VPCLatticeClient, DeleteResourceGatewayCommand } = require("@aws-sdk/client-vpc-lattice"); // CommonJS import
36
+ * const client = new VPCLatticeClient(config);
37
+ * const input = { // DeleteResourceGatewayRequest
38
+ * resourceGatewayIdentifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteResourceGatewayCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DeleteResourceGatewayResponse
43
+ * // id: "STRING_VALUE",
44
+ * // arn: "STRING_VALUE",
45
+ * // name: "STRING_VALUE",
46
+ * // status: "STRING_VALUE",
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param DeleteResourceGatewayCommandInput - {@link DeleteResourceGatewayCommandInput}
52
+ * @returns {@link DeleteResourceGatewayCommandOutput}
53
+ * @see {@link DeleteResourceGatewayCommandInput} for command's `input` shape.
54
+ * @see {@link DeleteResourceGatewayCommandOutput} for command's `response` shape.
55
+ * @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>The user does not have sufficient access to perform this action.</p>
59
+ *
60
+ * @throws {@link ConflictException} (client fault)
61
+ * <p>The request conflicts with the current state of the resource. Updating or deleting a
62
+ * resource can cause an inconsistent state.</p>
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p>An unexpected error occurred while processing the request.</p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>The request references a resource that does not exist.</p>
69
+ *
70
+ * @throws {@link ThrottlingException} (client fault)
71
+ * <p>The limit on the number of requests per second was exceeded.</p>
72
+ *
73
+ * @throws {@link ValidationException} (client fault)
74
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services
75
+ * service.</p>
76
+ *
77
+ * @throws {@link VPCLatticeServiceException}
78
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
79
+ *
80
+ * @public
81
+ */
82
+ export declare class DeleteResourceGatewayCommand extends DeleteResourceGatewayCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: DeleteResourceGatewayRequest;
87
+ output: DeleteResourceGatewayResponse;
88
+ };
89
+ sdk: {
90
+ input: DeleteResourceGatewayCommandInput;
91
+ output: DeleteResourceGatewayCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -0,0 +1,93 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeleteServiceNetworkResourceAssociationRequest, DeleteServiceNetworkResourceAssociationResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, VPCLatticeClientResolvedConfig } from "../VPCLatticeClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteServiceNetworkResourceAssociationCommand}.
14
+ */
15
+ export interface DeleteServiceNetworkResourceAssociationCommandInput extends DeleteServiceNetworkResourceAssociationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteServiceNetworkResourceAssociationCommand}.
21
+ */
22
+ export interface DeleteServiceNetworkResourceAssociationCommandOutput extends DeleteServiceNetworkResourceAssociationResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteServiceNetworkResourceAssociationCommand_base: {
25
+ new (input: DeleteServiceNetworkResourceAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteServiceNetworkResourceAssociationCommandInput, DeleteServiceNetworkResourceAssociationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteServiceNetworkResourceAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteServiceNetworkResourceAssociationCommandInput, DeleteServiceNetworkResourceAssociationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes the association between a service network and a resource configuration.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { VPCLatticeClient, DeleteServiceNetworkResourceAssociationCommand } from "@aws-sdk/client-vpc-lattice"; // ES Modules import
35
+ * // const { VPCLatticeClient, DeleteServiceNetworkResourceAssociationCommand } = require("@aws-sdk/client-vpc-lattice"); // CommonJS import
36
+ * const client = new VPCLatticeClient(config);
37
+ * const input = { // DeleteServiceNetworkResourceAssociationRequest
38
+ * serviceNetworkResourceAssociationIdentifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteServiceNetworkResourceAssociationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DeleteServiceNetworkResourceAssociationResponse
43
+ * // id: "STRING_VALUE",
44
+ * // arn: "STRING_VALUE",
45
+ * // status: "STRING_VALUE",
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param DeleteServiceNetworkResourceAssociationCommandInput - {@link DeleteServiceNetworkResourceAssociationCommandInput}
51
+ * @returns {@link DeleteServiceNetworkResourceAssociationCommandOutput}
52
+ * @see {@link DeleteServiceNetworkResourceAssociationCommandInput} for command's `input` shape.
53
+ * @see {@link DeleteServiceNetworkResourceAssociationCommandOutput} for command's `response` shape.
54
+ * @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>The user does not have sufficient access to perform this action.</p>
58
+ *
59
+ * @throws {@link ConflictException} (client fault)
60
+ * <p>The request conflicts with the current state of the resource. Updating or deleting a
61
+ * resource can cause an inconsistent state.</p>
62
+ *
63
+ * @throws {@link InternalServerException} (server fault)
64
+ * <p>An unexpected error occurred while processing the request.</p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p>The request references a resource that does not exist.</p>
68
+ *
69
+ * @throws {@link ThrottlingException} (client fault)
70
+ * <p>The limit on the number of requests per second was exceeded.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services
74
+ * service.</p>
75
+ *
76
+ * @throws {@link VPCLatticeServiceException}
77
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
78
+ *
79
+ * @public
80
+ */
81
+ export declare class DeleteServiceNetworkResourceAssociationCommand extends DeleteServiceNetworkResourceAssociationCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: DeleteServiceNetworkResourceAssociationRequest;
86
+ output: DeleteServiceNetworkResourceAssociationResponse;
87
+ };
88
+ sdk: {
89
+ input: DeleteServiceNetworkResourceAssociationCommandInput;
90
+ output: DeleteServiceNetworkResourceAssociationCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -27,7 +27,7 @@ declare const DeleteServiceNetworkServiceAssociationCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deletes the association between a specified service and the specific service network. This
30
+ * <p>Deletes the association between a service and a service network. This
31
31
  * operation fails if an association is still in progress.</p>
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
@@ -45,6 +45,7 @@ declare const GetAccessLogSubscriptionCommand_base: {
45
45
  * // resourceId: "STRING_VALUE", // required
46
46
  * // resourceArn: "STRING_VALUE", // required
47
47
  * // destinationArn: "STRING_VALUE", // required
48
+ * // serviceNetworkLogType: "STRING_VALUE",
48
49
  * // createdAt: new Date("TIMESTAMP"), // required
49
50
  * // lastUpdatedAt: new Date("TIMESTAMP"), // required
50
51
  * // };
@@ -0,0 +1,115 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetResourceConfigurationRequest, GetResourceConfigurationResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, VPCLatticeClientResolvedConfig } from "../VPCLatticeClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetResourceConfigurationCommand}.
14
+ */
15
+ export interface GetResourceConfigurationCommandInput extends GetResourceConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetResourceConfigurationCommand}.
21
+ */
22
+ export interface GetResourceConfigurationCommandOutput extends GetResourceConfigurationResponse, __MetadataBearer {
23
+ }
24
+ declare const GetResourceConfigurationCommand_base: {
25
+ new (input: GetResourceConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourceConfigurationCommandInput, GetResourceConfigurationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetResourceConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourceConfigurationCommandInput, GetResourceConfigurationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves information about the specified resource configuration.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { VPCLatticeClient, GetResourceConfigurationCommand } from "@aws-sdk/client-vpc-lattice"; // ES Modules import
35
+ * // const { VPCLatticeClient, GetResourceConfigurationCommand } = require("@aws-sdk/client-vpc-lattice"); // CommonJS import
36
+ * const client = new VPCLatticeClient(config);
37
+ * const input = { // GetResourceConfigurationRequest
38
+ * resourceConfigurationIdentifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetResourceConfigurationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetResourceConfigurationResponse
43
+ * // id: "STRING_VALUE",
44
+ * // name: "STRING_VALUE",
45
+ * // arn: "STRING_VALUE",
46
+ * // resourceGatewayId: "STRING_VALUE",
47
+ * // resourceConfigurationGroupId: "STRING_VALUE",
48
+ * // type: "STRING_VALUE",
49
+ * // allowAssociationToShareableServiceNetwork: true || false,
50
+ * // portRanges: [ // PortRangeList
51
+ * // "STRING_VALUE",
52
+ * // ],
53
+ * // protocol: "STRING_VALUE",
54
+ * // customDomainName: "STRING_VALUE",
55
+ * // status: "STRING_VALUE",
56
+ * // resourceConfigurationDefinition: { // ResourceConfigurationDefinition Union: only one key present
57
+ * // dnsResource: { // DnsResource
58
+ * // domainName: "STRING_VALUE",
59
+ * // ipAddressType: "STRING_VALUE",
60
+ * // },
61
+ * // ipResource: { // IpResource
62
+ * // ipAddress: "STRING_VALUE",
63
+ * // },
64
+ * // arnResource: { // ArnResource
65
+ * // arn: "STRING_VALUE",
66
+ * // },
67
+ * // },
68
+ * // createdAt: new Date("TIMESTAMP"),
69
+ * // amazonManaged: true || false,
70
+ * // failureReason: "STRING_VALUE",
71
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
72
+ * // };
73
+ *
74
+ * ```
75
+ *
76
+ * @param GetResourceConfigurationCommandInput - {@link GetResourceConfigurationCommandInput}
77
+ * @returns {@link GetResourceConfigurationCommandOutput}
78
+ * @see {@link GetResourceConfigurationCommandInput} for command's `input` shape.
79
+ * @see {@link GetResourceConfigurationCommandOutput} for command's `response` shape.
80
+ * @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
81
+ *
82
+ * @throws {@link AccessDeniedException} (client fault)
83
+ * <p>The user does not have sufficient access to perform this action.</p>
84
+ *
85
+ * @throws {@link InternalServerException} (server fault)
86
+ * <p>An unexpected error occurred while processing the request.</p>
87
+ *
88
+ * @throws {@link ResourceNotFoundException} (client fault)
89
+ * <p>The request references a resource that does not exist.</p>
90
+ *
91
+ * @throws {@link ThrottlingException} (client fault)
92
+ * <p>The limit on the number of requests per second was exceeded.</p>
93
+ *
94
+ * @throws {@link ValidationException} (client fault)
95
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services
96
+ * service.</p>
97
+ *
98
+ * @throws {@link VPCLatticeServiceException}
99
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
100
+ *
101
+ * @public
102
+ */
103
+ export declare class GetResourceConfigurationCommand extends GetResourceConfigurationCommand_base {
104
+ /** @internal type navigation helper, not in runtime. */
105
+ protected static __types: {
106
+ api: {
107
+ input: GetResourceConfigurationRequest;
108
+ output: GetResourceConfigurationResponse;
109
+ };
110
+ sdk: {
111
+ input: GetResourceConfigurationCommandInput;
112
+ output: GetResourceConfigurationCommandOutput;
113
+ };
114
+ };
115
+ }