@aws-sdk/client-vpc-lattice 3.699.0 → 3.703.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 +1 -1
@@ -0,0 +1,112 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListServiceNetworkResourceAssociationsRequest, ListServiceNetworkResourceAssociationsResponse } 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 ListServiceNetworkResourceAssociationsCommand}.
14
+ */
15
+ export interface ListServiceNetworkResourceAssociationsCommandInput extends ListServiceNetworkResourceAssociationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListServiceNetworkResourceAssociationsCommand}.
21
+ */
22
+ export interface ListServiceNetworkResourceAssociationsCommandOutput extends ListServiceNetworkResourceAssociationsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListServiceNetworkResourceAssociationsCommand_base: {
25
+ new (input: ListServiceNetworkResourceAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListServiceNetworkResourceAssociationsCommandInput, ListServiceNetworkResourceAssociationsCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListServiceNetworkResourceAssociationsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListServiceNetworkResourceAssociationsCommandInput, ListServiceNetworkResourceAssociationsCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the associations 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, ListServiceNetworkResourceAssociationsCommand } from "@aws-sdk/client-vpc-lattice"; // ES Modules import
35
+ * // const { VPCLatticeClient, ListServiceNetworkResourceAssociationsCommand } = require("@aws-sdk/client-vpc-lattice"); // CommonJS import
36
+ * const client = new VPCLatticeClient(config);
37
+ * const input = { // ListServiceNetworkResourceAssociationsRequest
38
+ * serviceNetworkIdentifier: "STRING_VALUE",
39
+ * resourceConfigurationIdentifier: "STRING_VALUE",
40
+ * maxResults: Number("int"),
41
+ * nextToken: "STRING_VALUE",
42
+ * };
43
+ * const command = new ListServiceNetworkResourceAssociationsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListServiceNetworkResourceAssociationsResponse
46
+ * // items: [ // ServiceNetworkResourceAssociationList // required
47
+ * // { // ServiceNetworkResourceAssociationSummary
48
+ * // id: "STRING_VALUE",
49
+ * // arn: "STRING_VALUE",
50
+ * // status: "STRING_VALUE",
51
+ * // createdBy: "STRING_VALUE",
52
+ * // createdAt: new Date("TIMESTAMP"),
53
+ * // resourceConfigurationId: "STRING_VALUE",
54
+ * // resourceConfigurationArn: "STRING_VALUE",
55
+ * // resourceConfigurationName: "STRING_VALUE",
56
+ * // serviceNetworkId: "STRING_VALUE",
57
+ * // serviceNetworkArn: "STRING_VALUE",
58
+ * // serviceNetworkName: "STRING_VALUE",
59
+ * // dnsEntry: { // DnsEntry
60
+ * // domainName: "STRING_VALUE",
61
+ * // hostedZoneId: "STRING_VALUE",
62
+ * // },
63
+ * // privateDnsEntry: {
64
+ * // domainName: "STRING_VALUE",
65
+ * // hostedZoneId: "STRING_VALUE",
66
+ * // },
67
+ * // isManagedAssociation: true || false,
68
+ * // failureCode: "STRING_VALUE",
69
+ * // },
70
+ * // ],
71
+ * // nextToken: "STRING_VALUE",
72
+ * // };
73
+ *
74
+ * ```
75
+ *
76
+ * @param ListServiceNetworkResourceAssociationsCommandInput - {@link ListServiceNetworkResourceAssociationsCommandInput}
77
+ * @returns {@link ListServiceNetworkResourceAssociationsCommandOutput}
78
+ * @see {@link ListServiceNetworkResourceAssociationsCommandInput} for command's `input` shape.
79
+ * @see {@link ListServiceNetworkResourceAssociationsCommandOutput} 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 ThrottlingException} (client fault)
89
+ * <p>The limit on the number of requests per second was exceeded.</p>
90
+ *
91
+ * @throws {@link ValidationException} (client fault)
92
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services
93
+ * service.</p>
94
+ *
95
+ * @throws {@link VPCLatticeServiceException}
96
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
97
+ *
98
+ * @public
99
+ */
100
+ export declare class ListServiceNetworkResourceAssociationsCommand extends ListServiceNetworkResourceAssociationsCommand_base {
101
+ /** @internal type navigation helper, not in runtime. */
102
+ protected static __types: {
103
+ api: {
104
+ input: ListServiceNetworkResourceAssociationsRequest;
105
+ output: ListServiceNetworkResourceAssociationsResponse;
106
+ };
107
+ sdk: {
108
+ input: ListServiceNetworkResourceAssociationsCommandInput;
109
+ output: ListServiceNetworkResourceAssociationsCommandOutput;
110
+ };
111
+ };
112
+ }
@@ -27,14 +27,13 @@ declare const ListServiceNetworkServiceAssociationsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists the associations between the service network and the service. You can filter the list
30
+ * <p>Lists the associations between a service network and a service. You can filter the list
31
31
  * either by service or service network. You must provide either the service network identifier or
32
32
  * the service identifier.</p>
33
- * <p>Every association in Amazon VPC Lattice is given a unique Amazon Resource Name (ARN), such as when a
33
+ * <p>Every association in Amazon VPC Lattice has a unique Amazon Resource Name (ARN), such as when a
34
34
  * service network is associated with a VPC or when a service is associated with a service network.
35
- * If the association is for a resource that is shared with another account, the association
36
- * includes the local account ID as the prefix in the ARN for each account the resource is shared
37
- * with.</p>
35
+ * If the association is for a resource is shared with another account, the association
36
+ * includes the local account ID as the prefix in the ARN.</p>
38
37
  * @example
39
38
  * Use a bare-bones client and the command you need to make an API call.
40
39
  * ```javascript
@@ -27,9 +27,8 @@ declare const ListServiceNetworkVpcAssociationsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists the service network and VPC associations. You can filter the list either by VPC or
31
- * service network. You must provide either the service network identifier or the VPC
32
- * identifier.</p>
30
+ * <p>Lists the associations between a service network and a VPC. You can filter the list either by VPC or
31
+ * service network. You must provide either the ID of the service network identifier or the ID of the VPC.</p>
33
32
  * @example
34
33
  * Use a bare-bones client and the command you need to make an API call.
35
34
  * ```javascript
@@ -0,0 +1,97 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListServiceNetworkVpcEndpointAssociationsRequest, ListServiceNetworkVpcEndpointAssociationsResponse } 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 ListServiceNetworkVpcEndpointAssociationsCommand}.
14
+ */
15
+ export interface ListServiceNetworkVpcEndpointAssociationsCommandInput extends ListServiceNetworkVpcEndpointAssociationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListServiceNetworkVpcEndpointAssociationsCommand}.
21
+ */
22
+ export interface ListServiceNetworkVpcEndpointAssociationsCommandOutput extends ListServiceNetworkVpcEndpointAssociationsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListServiceNetworkVpcEndpointAssociationsCommand_base: {
25
+ new (input: ListServiceNetworkVpcEndpointAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListServiceNetworkVpcEndpointAssociationsCommandInput, ListServiceNetworkVpcEndpointAssociationsCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListServiceNetworkVpcEndpointAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListServiceNetworkVpcEndpointAssociationsCommandInput, ListServiceNetworkVpcEndpointAssociationsCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the associations between a service network and a 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, ListServiceNetworkVpcEndpointAssociationsCommand } from "@aws-sdk/client-vpc-lattice"; // ES Modules import
35
+ * // const { VPCLatticeClient, ListServiceNetworkVpcEndpointAssociationsCommand } = require("@aws-sdk/client-vpc-lattice"); // CommonJS import
36
+ * const client = new VPCLatticeClient(config);
37
+ * const input = { // ListServiceNetworkVpcEndpointAssociationsRequest
38
+ * serviceNetworkIdentifier: "STRING_VALUE", // required
39
+ * maxResults: Number("int"),
40
+ * nextToken: "STRING_VALUE",
41
+ * };
42
+ * const command = new ListServiceNetworkVpcEndpointAssociationsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListServiceNetworkVpcEndpointAssociationsResponse
45
+ * // items: [ // ServiceNetworkVpcEndpointAssociationList // required
46
+ * // { // ServiceNetworkEndpointAssociation
47
+ * // vpcEndpointId: "STRING_VALUE",
48
+ * // vpcId: "STRING_VALUE",
49
+ * // vpcEndpointOwnerId: "STRING_VALUE",
50
+ * // id: "STRING_VALUE",
51
+ * // state: "STRING_VALUE",
52
+ * // serviceNetworkArn: "STRING_VALUE",
53
+ * // createdAt: new Date("TIMESTAMP"),
54
+ * // },
55
+ * // ],
56
+ * // nextToken: "STRING_VALUE",
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param ListServiceNetworkVpcEndpointAssociationsCommandInput - {@link ListServiceNetworkVpcEndpointAssociationsCommandInput}
62
+ * @returns {@link ListServiceNetworkVpcEndpointAssociationsCommandOutput}
63
+ * @see {@link ListServiceNetworkVpcEndpointAssociationsCommandInput} for command's `input` shape.
64
+ * @see {@link ListServiceNetworkVpcEndpointAssociationsCommandOutput} for command's `response` shape.
65
+ * @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>The user does not have sufficient access to perform this action.</p>
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * <p>An unexpected error occurred while processing the request.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>The limit on the number of requests per second was exceeded.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services
78
+ * service.</p>
79
+ *
80
+ * @throws {@link VPCLatticeServiceException}
81
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
82
+ *
83
+ * @public
84
+ */
85
+ export declare class ListServiceNetworkVpcEndpointAssociationsCommand extends ListServiceNetworkVpcEndpointAssociationsCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: ListServiceNetworkVpcEndpointAssociationsRequest;
90
+ output: ListServiceNetworkVpcEndpointAssociationsResponse;
91
+ };
92
+ sdk: {
93
+ input: ListServiceNetworkVpcEndpointAssociationsCommandInput;
94
+ output: ListServiceNetworkVpcEndpointAssociationsCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -27,8 +27,8 @@ declare const ListServiceNetworksCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists the service networks owned by the caller account or shared with the caller account.
31
- * Also includes the account ID in the ARN to show which account owns the service network.</p>
30
+ * <p>Lists the service networks owned by or shared with this account. The account ID in the ARN
31
+ * shows which account owns the service network.</p>
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
@@ -51,6 +51,7 @@ declare const ListServiceNetworksCommand_base: {
51
51
  * // lastUpdatedAt: new Date("TIMESTAMP"),
52
52
  * // numberOfAssociatedVPCs: Number("long"),
53
53
  * // numberOfAssociatedServices: Number("long"),
54
+ * // numberOfAssociatedResourceConfigurations: Number("long"),
54
55
  * // },
55
56
  * // ],
56
57
  * // nextToken: "STRING_VALUE",
@@ -29,8 +29,8 @@ declare const PutAuthPolicyCommand_base: {
29
29
  /**
30
30
  * <p>Creates or updates the auth policy. The policy string in JSON must not contain newlines or
31
31
  * blank lines.</p>
32
- * <p>For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/auth-policies.html">Auth policies</a>
33
- * in the <i>Amazon VPC Lattice User Guide</i>.</p>
32
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/auth-policies.html">Auth policies</a> in the <i>Amazon VPC
33
+ * Lattice User Guide</i>.</p>
34
34
  * @example
35
35
  * Use a bare-bones client and the command you need to make an API call.
36
36
  * ```javascript
@@ -97,6 +97,9 @@ declare const UpdateListenerCommand_base: {
97
97
  * @throws {@link ResourceNotFoundException} (client fault)
98
98
  * <p>The request references a resource that does not exist.</p>
99
99
  *
100
+ * @throws {@link ServiceQuotaExceededException} (client fault)
101
+ * <p>The request would cause a service quota to be exceeded.</p>
102
+ *
100
103
  * @throws {@link ThrottlingException} (client fault)
101
104
  * <p>The limit on the number of requests per second was exceeded.</p>
102
105
  *
@@ -0,0 +1,129 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateResourceConfigurationRequest, UpdateResourceConfigurationResponse } 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 UpdateResourceConfigurationCommand}.
14
+ */
15
+ export interface UpdateResourceConfigurationCommandInput extends UpdateResourceConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateResourceConfigurationCommand}.
21
+ */
22
+ export interface UpdateResourceConfigurationCommandOutput extends UpdateResourceConfigurationResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateResourceConfigurationCommand_base: {
25
+ new (input: UpdateResourceConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateResourceConfigurationCommandInput, UpdateResourceConfigurationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateResourceConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateResourceConfigurationCommandInput, UpdateResourceConfigurationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates 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, UpdateResourceConfigurationCommand } from "@aws-sdk/client-vpc-lattice"; // ES Modules import
35
+ * // const { VPCLatticeClient, UpdateResourceConfigurationCommand } = require("@aws-sdk/client-vpc-lattice"); // CommonJS import
36
+ * const client = new VPCLatticeClient(config);
37
+ * const input = { // UpdateResourceConfigurationRequest
38
+ * resourceConfigurationIdentifier: "STRING_VALUE", // required
39
+ * resourceConfigurationDefinition: { // ResourceConfigurationDefinition Union: only one key present
40
+ * dnsResource: { // DnsResource
41
+ * domainName: "STRING_VALUE",
42
+ * ipAddressType: "STRING_VALUE",
43
+ * },
44
+ * ipResource: { // IpResource
45
+ * ipAddress: "STRING_VALUE",
46
+ * },
47
+ * arnResource: { // ArnResource
48
+ * arn: "STRING_VALUE",
49
+ * },
50
+ * },
51
+ * allowAssociationToShareableServiceNetwork: true || false,
52
+ * portRanges: [ // PortRangeList
53
+ * "STRING_VALUE",
54
+ * ],
55
+ * };
56
+ * const command = new UpdateResourceConfigurationCommand(input);
57
+ * const response = await client.send(command);
58
+ * // { // UpdateResourceConfigurationResponse
59
+ * // id: "STRING_VALUE",
60
+ * // name: "STRING_VALUE",
61
+ * // arn: "STRING_VALUE",
62
+ * // resourceGatewayId: "STRING_VALUE",
63
+ * // resourceConfigurationGroupId: "STRING_VALUE",
64
+ * // type: "STRING_VALUE",
65
+ * // portRanges: [ // PortRangeList
66
+ * // "STRING_VALUE",
67
+ * // ],
68
+ * // allowAssociationToShareableServiceNetwork: true || false,
69
+ * // protocol: "STRING_VALUE",
70
+ * // status: "STRING_VALUE",
71
+ * // resourceConfigurationDefinition: { // ResourceConfigurationDefinition Union: only one key present
72
+ * // dnsResource: { // DnsResource
73
+ * // domainName: "STRING_VALUE",
74
+ * // ipAddressType: "STRING_VALUE",
75
+ * // },
76
+ * // ipResource: { // IpResource
77
+ * // ipAddress: "STRING_VALUE",
78
+ * // },
79
+ * // arnResource: { // ArnResource
80
+ * // arn: "STRING_VALUE",
81
+ * // },
82
+ * // },
83
+ * // };
84
+ *
85
+ * ```
86
+ *
87
+ * @param UpdateResourceConfigurationCommandInput - {@link UpdateResourceConfigurationCommandInput}
88
+ * @returns {@link UpdateResourceConfigurationCommandOutput}
89
+ * @see {@link UpdateResourceConfigurationCommandInput} for command's `input` shape.
90
+ * @see {@link UpdateResourceConfigurationCommandOutput} for command's `response` shape.
91
+ * @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
92
+ *
93
+ * @throws {@link AccessDeniedException} (client fault)
94
+ * <p>The user does not have sufficient access to perform this action.</p>
95
+ *
96
+ * @throws {@link InternalServerException} (server fault)
97
+ * <p>An unexpected error occurred while processing the request.</p>
98
+ *
99
+ * @throws {@link ResourceNotFoundException} (client fault)
100
+ * <p>The request references a resource that does not exist.</p>
101
+ *
102
+ * @throws {@link ServiceQuotaExceededException} (client fault)
103
+ * <p>The request would cause a service quota to be exceeded.</p>
104
+ *
105
+ * @throws {@link ThrottlingException} (client fault)
106
+ * <p>The limit on the number of requests per second was exceeded.</p>
107
+ *
108
+ * @throws {@link ValidationException} (client fault)
109
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services
110
+ * service.</p>
111
+ *
112
+ * @throws {@link VPCLatticeServiceException}
113
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
114
+ *
115
+ * @public
116
+ */
117
+ export declare class UpdateResourceConfigurationCommand extends UpdateResourceConfigurationCommand_base {
118
+ /** @internal type navigation helper, not in runtime. */
119
+ protected static __types: {
120
+ api: {
121
+ input: UpdateResourceConfigurationRequest;
122
+ output: UpdateResourceConfigurationResponse;
123
+ };
124
+ sdk: {
125
+ input: UpdateResourceConfigurationCommandInput;
126
+ output: UpdateResourceConfigurationCommandOutput;
127
+ };
128
+ };
129
+ }
@@ -0,0 +1,101 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateResourceGatewayRequest, UpdateResourceGatewayResponse } 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 UpdateResourceGatewayCommand}.
14
+ */
15
+ export interface UpdateResourceGatewayCommandInput extends UpdateResourceGatewayRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateResourceGatewayCommand}.
21
+ */
22
+ export interface UpdateResourceGatewayCommandOutput extends UpdateResourceGatewayResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateResourceGatewayCommand_base: {
25
+ new (input: UpdateResourceGatewayCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateResourceGatewayCommandInput, UpdateResourceGatewayCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateResourceGatewayCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateResourceGatewayCommandInput, UpdateResourceGatewayCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates 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, UpdateResourceGatewayCommand } from "@aws-sdk/client-vpc-lattice"; // ES Modules import
35
+ * // const { VPCLatticeClient, UpdateResourceGatewayCommand } = require("@aws-sdk/client-vpc-lattice"); // CommonJS import
36
+ * const client = new VPCLatticeClient(config);
37
+ * const input = { // UpdateResourceGatewayRequest
38
+ * resourceGatewayIdentifier: "STRING_VALUE", // required
39
+ * securityGroupIds: [ // SecurityGroupList
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * };
43
+ * const command = new UpdateResourceGatewayCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // UpdateResourceGatewayResponse
46
+ * // name: "STRING_VALUE",
47
+ * // id: "STRING_VALUE",
48
+ * // arn: "STRING_VALUE",
49
+ * // status: "STRING_VALUE",
50
+ * // vpcId: "STRING_VALUE",
51
+ * // subnetIds: [ // SubnetList
52
+ * // "STRING_VALUE",
53
+ * // ],
54
+ * // securityGroupIds: [ // SecurityGroupList
55
+ * // "STRING_VALUE",
56
+ * // ],
57
+ * // ipAddressType: "STRING_VALUE",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param UpdateResourceGatewayCommandInput - {@link UpdateResourceGatewayCommandInput}
63
+ * @returns {@link UpdateResourceGatewayCommandOutput}
64
+ * @see {@link UpdateResourceGatewayCommandInput} for command's `input` shape.
65
+ * @see {@link UpdateResourceGatewayCommandOutput} for command's `response` shape.
66
+ * @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>The user does not have sufficient access to perform this action.</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 ThrottlingException} (client fault)
78
+ * <p>The limit on the number of requests per second was exceeded.</p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services
82
+ * service.</p>
83
+ *
84
+ * @throws {@link VPCLatticeServiceException}
85
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
86
+ *
87
+ * @public
88
+ */
89
+ export declare class UpdateResourceGatewayCommand extends UpdateResourceGatewayCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: UpdateResourceGatewayRequest;
94
+ output: UpdateResourceGatewayResponse;
95
+ };
96
+ sdk: {
97
+ input: UpdateResourceGatewayCommandInput;
98
+ output: UpdateResourceGatewayCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -27,7 +27,7 @@ declare const UpdateRuleCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Updates a rule for the listener. You can't modify a default listener rule. To modify a
30
+ * <p>Updates a specified rule for the listener. You can't modify a default listener rule. To modify a
31
31
  * default listener rule, use <code>UpdateListener</code>.</p>
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
@@ -144,6 +144,9 @@ declare const UpdateRuleCommand_base: {
144
144
  * @throws {@link ResourceNotFoundException} (client fault)
145
145
  * <p>The request references a resource that does not exist.</p>
146
146
  *
147
+ * @throws {@link ServiceQuotaExceededException} (client fault)
148
+ * <p>The request would cause a service quota to be exceeded.</p>
149
+ *
147
150
  * @throws {@link ThrottlingException} (client fault)
148
151
  * <p>The limit on the number of requests per second was exceeded.</p>
149
152
  *
@@ -71,6 +71,9 @@ declare const UpdateServiceCommand_base: {
71
71
  * @throws {@link ResourceNotFoundException} (client fault)
72
72
  * <p>The request references a resource that does not exist.</p>
73
73
  *
74
+ * @throws {@link ServiceQuotaExceededException} (client fault)
75
+ * <p>The request would cause a service quota to be exceeded.</p>
76
+ *
74
77
  * @throws {@link ThrottlingException} (client fault)
75
78
  * <p>The limit on the number of requests per second was exceeded.</p>
76
79
  *
@@ -28,9 +28,9 @@ declare const UpdateServiceNetworkVpcAssociationCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Updates the service network and VPC association. If you add a security group to the service
31
- * network and VPC association, the association must continue to always have at least one security
31
+ * network and VPC association, the association must continue to have at least one security
32
32
  * group. You can add or edit security groups at any time. However, to remove all security groups,
33
- * you must first delete the association and recreate it without security groups.</p>
33
+ * you must first delete the association and then recreate it without security groups.</p>
34
34
  * @example
35
35
  * Use a bare-bones client and the command you need to make an API call.
36
36
  * ```javascript
@@ -104,6 +104,9 @@ declare const UpdateTargetGroupCommand_base: {
104
104
  * @throws {@link ResourceNotFoundException} (client fault)
105
105
  * <p>The request references a resource that does not exist.</p>
106
106
  *
107
+ * @throws {@link ServiceQuotaExceededException} (client fault)
108
+ * <p>The request would cause a service quota to be exceeded.</p>
109
+ *
107
110
  * @throws {@link ThrottlingException} (client fault)
108
111
  * <p>The limit on the number of requests per second was exceeded.</p>
109
112
  *
@@ -1,19 +1,26 @@
1
1
  export * from "./BatchUpdateRuleCommand";
2
2
  export * from "./CreateAccessLogSubscriptionCommand";
3
3
  export * from "./CreateListenerCommand";
4
+ export * from "./CreateResourceConfigurationCommand";
5
+ export * from "./CreateResourceGatewayCommand";
4
6
  export * from "./CreateRuleCommand";
5
7
  export * from "./CreateServiceCommand";
6
8
  export * from "./CreateServiceNetworkCommand";
9
+ export * from "./CreateServiceNetworkResourceAssociationCommand";
7
10
  export * from "./CreateServiceNetworkServiceAssociationCommand";
8
11
  export * from "./CreateServiceNetworkVpcAssociationCommand";
9
12
  export * from "./CreateTargetGroupCommand";
10
13
  export * from "./DeleteAccessLogSubscriptionCommand";
11
14
  export * from "./DeleteAuthPolicyCommand";
12
15
  export * from "./DeleteListenerCommand";
16
+ export * from "./DeleteResourceConfigurationCommand";
17
+ export * from "./DeleteResourceEndpointAssociationCommand";
18
+ export * from "./DeleteResourceGatewayCommand";
13
19
  export * from "./DeleteResourcePolicyCommand";
14
20
  export * from "./DeleteRuleCommand";
15
21
  export * from "./DeleteServiceCommand";
16
22
  export * from "./DeleteServiceNetworkCommand";
23
+ export * from "./DeleteServiceNetworkResourceAssociationCommand";
17
24
  export * from "./DeleteServiceNetworkServiceAssociationCommand";
18
25
  export * from "./DeleteServiceNetworkVpcAssociationCommand";
19
26
  export * from "./DeleteTargetGroupCommand";
@@ -21,18 +28,26 @@ export * from "./DeregisterTargetsCommand";
21
28
  export * from "./GetAccessLogSubscriptionCommand";
22
29
  export * from "./GetAuthPolicyCommand";
23
30
  export * from "./GetListenerCommand";
31
+ export * from "./GetResourceConfigurationCommand";
32
+ export * from "./GetResourceGatewayCommand";
24
33
  export * from "./GetResourcePolicyCommand";
25
34
  export * from "./GetRuleCommand";
26
35
  export * from "./GetServiceCommand";
27
36
  export * from "./GetServiceNetworkCommand";
37
+ export * from "./GetServiceNetworkResourceAssociationCommand";
28
38
  export * from "./GetServiceNetworkServiceAssociationCommand";
29
39
  export * from "./GetServiceNetworkVpcAssociationCommand";
30
40
  export * from "./GetTargetGroupCommand";
31
41
  export * from "./ListAccessLogSubscriptionsCommand";
32
42
  export * from "./ListListenersCommand";
43
+ export * from "./ListResourceConfigurationsCommand";
44
+ export * from "./ListResourceEndpointAssociationsCommand";
45
+ export * from "./ListResourceGatewaysCommand";
33
46
  export * from "./ListRulesCommand";
47
+ export * from "./ListServiceNetworkResourceAssociationsCommand";
34
48
  export * from "./ListServiceNetworkServiceAssociationsCommand";
35
49
  export * from "./ListServiceNetworkVpcAssociationsCommand";
50
+ export * from "./ListServiceNetworkVpcEndpointAssociationsCommand";
36
51
  export * from "./ListServiceNetworksCommand";
37
52
  export * from "./ListServicesCommand";
38
53
  export * from "./ListTagsForResourceCommand";
@@ -45,6 +60,8 @@ export * from "./TagResourceCommand";
45
60
  export * from "./UntagResourceCommand";
46
61
  export * from "./UpdateAccessLogSubscriptionCommand";
47
62
  export * from "./UpdateListenerCommand";
63
+ export * from "./UpdateResourceConfigurationCommand";
64
+ export * from "./UpdateResourceGatewayCommand";
48
65
  export * from "./UpdateRuleCommand";
49
66
  export * from "./UpdateServiceCommand";
50
67
  export * from "./UpdateServiceNetworkCommand";