@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
@@ -25,6 +25,10 @@ export class ConflictException extends __BaseException {
25
25
  this.resourceType = opts.resourceType;
26
26
  }
27
27
  }
28
+ export const ServiceNetworkLogType = {
29
+ RESOURCE: "RESOURCE",
30
+ SERVICE: "SERVICE",
31
+ };
28
32
  export class InternalServerException extends __BaseException {
29
33
  constructor(opts) {
30
34
  super({
@@ -160,6 +164,55 @@ export class ServiceQuotaExceededException extends __BaseException {
160
164
  this.quotaCode = opts.quotaCode;
161
165
  }
162
166
  }
167
+ export const ProtocolType = {
168
+ TCP: "TCP",
169
+ };
170
+ export const ResourceConfigurationIpAddressType = {
171
+ DUALSTACK: "DUALSTACK",
172
+ IPV4: "IPV4",
173
+ IPV6: "IPV6",
174
+ };
175
+ export var ResourceConfigurationDefinition;
176
+ (function (ResourceConfigurationDefinition) {
177
+ ResourceConfigurationDefinition.visit = (value, visitor) => {
178
+ if (value.dnsResource !== undefined)
179
+ return visitor.dnsResource(value.dnsResource);
180
+ if (value.ipResource !== undefined)
181
+ return visitor.ipResource(value.ipResource);
182
+ if (value.arnResource !== undefined)
183
+ return visitor.arnResource(value.arnResource);
184
+ return visitor._(value.$unknown[0], value.$unknown[1]);
185
+ };
186
+ })(ResourceConfigurationDefinition || (ResourceConfigurationDefinition = {}));
187
+ export const ResourceConfigurationType = {
188
+ ARN: "ARN",
189
+ CHILD: "CHILD",
190
+ GROUP: "GROUP",
191
+ SINGLE: "SINGLE",
192
+ };
193
+ export const ResourceConfigurationStatus = {
194
+ ACTIVE: "ACTIVE",
195
+ CREATE_FAILED: "CREATE_FAILED",
196
+ CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
197
+ DELETE_FAILED: "DELETE_FAILED",
198
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
199
+ UPDATE_FAILED: "UPDATE_FAILED",
200
+ UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
201
+ };
202
+ export const ResourceGatewayIpAddressType = {
203
+ DUALSTACK: "DUALSTACK",
204
+ IPV4: "IPV4",
205
+ IPV6: "IPV6",
206
+ };
207
+ export const ResourceGatewayStatus = {
208
+ ACTIVE: "ACTIVE",
209
+ CREATE_FAILED: "CREATE_FAILED",
210
+ CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
211
+ DELETE_FAILED: "DELETE_FAILED",
212
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
213
+ UPDATE_FAILED: "UPDATE_FAILED",
214
+ UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
215
+ };
163
216
  export const ServiceStatus = {
164
217
  ACTIVE: "ACTIVE",
165
218
  CREATE_FAILED: "CREATE_FAILED",
@@ -167,6 +220,14 @@ export const ServiceStatus = {
167
220
  DELETE_FAILED: "DELETE_FAILED",
168
221
  DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
169
222
  };
223
+ export const ServiceNetworkResourceAssociationStatus = {
224
+ ACTIVE: "ACTIVE",
225
+ CREATE_FAILED: "CREATE_FAILED",
226
+ CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
227
+ DELETE_FAILED: "DELETE_FAILED",
228
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
229
+ PARTIAL: "PARTIAL",
230
+ };
170
231
  export const ServiceNetworkServiceAssociationStatus = {
171
232
  ACTIVE: "ACTIVE",
172
233
  CREATE_FAILED: "CREATE_FAILED",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListResourceConfigurationsCommand, } from "../commands/ListResourceConfigurationsCommand";
3
+ import { VPCLatticeClient } from "../VPCLatticeClient";
4
+ export const paginateListResourceConfigurations = createPaginator(VPCLatticeClient, ListResourceConfigurationsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListResourceEndpointAssociationsCommand, } from "../commands/ListResourceEndpointAssociationsCommand";
3
+ import { VPCLatticeClient } from "../VPCLatticeClient";
4
+ export const paginateListResourceEndpointAssociations = createPaginator(VPCLatticeClient, ListResourceEndpointAssociationsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListResourceGatewaysCommand, } from "../commands/ListResourceGatewaysCommand";
3
+ import { VPCLatticeClient } from "../VPCLatticeClient";
4
+ export const paginateListResourceGateways = createPaginator(VPCLatticeClient, ListResourceGatewaysCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListServiceNetworkResourceAssociationsCommand, } from "../commands/ListServiceNetworkResourceAssociationsCommand";
3
+ import { VPCLatticeClient } from "../VPCLatticeClient";
4
+ export const paginateListServiceNetworkResourceAssociations = createPaginator(VPCLatticeClient, ListServiceNetworkResourceAssociationsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListServiceNetworkVpcEndpointAssociationsCommand, } from "../commands/ListServiceNetworkVpcEndpointAssociationsCommand";
3
+ import { VPCLatticeClient } from "../VPCLatticeClient";
4
+ export const paginateListServiceNetworkVpcEndpointAssociations = createPaginator(VPCLatticeClient, ListServiceNetworkVpcEndpointAssociationsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,9 +1,14 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListAccessLogSubscriptionsPaginator";
3
3
  export * from "./ListListenersPaginator";
4
+ export * from "./ListResourceConfigurationsPaginator";
5
+ export * from "./ListResourceEndpointAssociationsPaginator";
6
+ export * from "./ListResourceGatewaysPaginator";
4
7
  export * from "./ListRulesPaginator";
8
+ export * from "./ListServiceNetworkResourceAssociationsPaginator";
5
9
  export * from "./ListServiceNetworkServiceAssociationsPaginator";
6
10
  export * from "./ListServiceNetworkVpcAssociationsPaginator";
11
+ export * from "./ListServiceNetworkVpcEndpointAssociationsPaginator";
7
12
  export * from "./ListServiceNetworksPaginator";
8
13
  export * from "./ListServicesPaginator";
9
14
  export * from "./ListTargetGroupsPaginator";