@aws-sdk/client-vpc-lattice 3.696.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 +4 -4
@@ -0,0 +1,100 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetResourceGatewayRequest, GetResourceGatewayResponse } 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 GetResourceGatewayCommand}.
14
+ */
15
+ export interface GetResourceGatewayCommandInput extends GetResourceGatewayRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetResourceGatewayCommand}.
21
+ */
22
+ export interface GetResourceGatewayCommandOutput extends GetResourceGatewayResponse, __MetadataBearer {
23
+ }
24
+ declare const GetResourceGatewayCommand_base: {
25
+ new (input: GetResourceGatewayCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourceGatewayCommandInput, GetResourceGatewayCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetResourceGatewayCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourceGatewayCommandInput, GetResourceGatewayCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves information about 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, GetResourceGatewayCommand } from "@aws-sdk/client-vpc-lattice"; // ES Modules import
35
+ * // const { VPCLatticeClient, GetResourceGatewayCommand } = require("@aws-sdk/client-vpc-lattice"); // CommonJS import
36
+ * const client = new VPCLatticeClient(config);
37
+ * const input = { // GetResourceGatewayRequest
38
+ * resourceGatewayIdentifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetResourceGatewayCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetResourceGatewayResponse
43
+ * // name: "STRING_VALUE",
44
+ * // id: "STRING_VALUE",
45
+ * // arn: "STRING_VALUE",
46
+ * // status: "STRING_VALUE",
47
+ * // vpcId: "STRING_VALUE",
48
+ * // subnetIds: [ // SubnetList
49
+ * // "STRING_VALUE",
50
+ * // ],
51
+ * // securityGroupIds: [ // SecurityGroupList
52
+ * // "STRING_VALUE",
53
+ * // ],
54
+ * // ipAddressType: "STRING_VALUE",
55
+ * // createdAt: new Date("TIMESTAMP"),
56
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param GetResourceGatewayCommandInput - {@link GetResourceGatewayCommandInput}
62
+ * @returns {@link GetResourceGatewayCommandOutput}
63
+ * @see {@link GetResourceGatewayCommandInput} for command's `input` shape.
64
+ * @see {@link GetResourceGatewayCommandOutput} 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 ResourceNotFoundException} (client fault)
74
+ * <p>The request references a resource that does not exist.</p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>The limit on the number of requests per second was exceeded.</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services
81
+ * service.</p>
82
+ *
83
+ * @throws {@link VPCLatticeServiceException}
84
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
85
+ *
86
+ * @public
87
+ */
88
+ export declare class GetResourceGatewayCommand extends GetResourceGatewayCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: GetResourceGatewayRequest;
93
+ output: GetResourceGatewayResponse;
94
+ };
95
+ sdk: {
96
+ input: GetResourceGatewayCommandInput;
97
+ output: GetResourceGatewayCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -27,7 +27,7 @@ declare const GetResourcePolicyCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves information about the resource policy. The resource policy is an IAM policy
30
+ * <p>Retrieves information about the specified resource policy. The resource policy is an IAM policy
31
31
  * created on behalf of the resource owner when they share a resource.</p>
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
@@ -27,7 +27,7 @@ declare const GetRuleCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves information about listener rules. You can also retrieve information about the
30
+ * <p>Retrieves information about the specified listener rules. You can also retrieve information about the
31
31
  * default listener rule. For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/listeners.html#listener-rules">Listener rules</a> in the
32
32
  * <i>Amazon VPC Lattice User Guide</i>.</p>
33
33
  * @example
@@ -46,6 +46,9 @@ declare const GetServiceNetworkCommand_base: {
46
46
  * // lastUpdatedAt: new Date("TIMESTAMP"),
47
47
  * // arn: "STRING_VALUE",
48
48
  * // authType: "STRING_VALUE",
49
+ * // sharingConfig: { // SharingConfig
50
+ * // enabled: true || false,
51
+ * // },
49
52
  * // numberOfAssociatedVPCs: Number("long"),
50
53
  * // numberOfAssociatedServices: Number("long"),
51
54
  * // };
@@ -0,0 +1,109 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetServiceNetworkResourceAssociationRequest, GetServiceNetworkResourceAssociationResponse } 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 GetServiceNetworkResourceAssociationCommand}.
14
+ */
15
+ export interface GetServiceNetworkResourceAssociationCommandInput extends GetServiceNetworkResourceAssociationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetServiceNetworkResourceAssociationCommand}.
21
+ */
22
+ export interface GetServiceNetworkResourceAssociationCommandOutput extends GetServiceNetworkResourceAssociationResponse, __MetadataBearer {
23
+ }
24
+ declare const GetServiceNetworkResourceAssociationCommand_base: {
25
+ new (input: GetServiceNetworkResourceAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<GetServiceNetworkResourceAssociationCommandInput, GetServiceNetworkResourceAssociationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetServiceNetworkResourceAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<GetServiceNetworkResourceAssociationCommandInput, GetServiceNetworkResourceAssociationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves information about the specified 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, GetServiceNetworkResourceAssociationCommand } from "@aws-sdk/client-vpc-lattice"; // ES Modules import
35
+ * // const { VPCLatticeClient, GetServiceNetworkResourceAssociationCommand } = require("@aws-sdk/client-vpc-lattice"); // CommonJS import
36
+ * const client = new VPCLatticeClient(config);
37
+ * const input = { // GetServiceNetworkResourceAssociationRequest
38
+ * serviceNetworkResourceAssociationIdentifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetServiceNetworkResourceAssociationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetServiceNetworkResourceAssociationResponse
43
+ * // id: "STRING_VALUE",
44
+ * // arn: "STRING_VALUE",
45
+ * // status: "STRING_VALUE",
46
+ * // createdBy: "STRING_VALUE",
47
+ * // createdAt: new Date("TIMESTAMP"),
48
+ * // resourceConfigurationId: "STRING_VALUE",
49
+ * // resourceConfigurationArn: "STRING_VALUE",
50
+ * // resourceConfigurationName: "STRING_VALUE",
51
+ * // serviceNetworkId: "STRING_VALUE",
52
+ * // serviceNetworkArn: "STRING_VALUE",
53
+ * // serviceNetworkName: "STRING_VALUE",
54
+ * // failureReason: "STRING_VALUE",
55
+ * // failureCode: "STRING_VALUE",
56
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
57
+ * // privateDnsEntry: { // DnsEntry
58
+ * // domainName: "STRING_VALUE",
59
+ * // hostedZoneId: "STRING_VALUE",
60
+ * // },
61
+ * // dnsEntry: {
62
+ * // domainName: "STRING_VALUE",
63
+ * // hostedZoneId: "STRING_VALUE",
64
+ * // },
65
+ * // isManagedAssociation: true || false,
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param GetServiceNetworkResourceAssociationCommandInput - {@link GetServiceNetworkResourceAssociationCommandInput}
71
+ * @returns {@link GetServiceNetworkResourceAssociationCommandOutput}
72
+ * @see {@link GetServiceNetworkResourceAssociationCommandInput} for command's `input` shape.
73
+ * @see {@link GetServiceNetworkResourceAssociationCommandOutput} for command's `response` shape.
74
+ * @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
75
+ *
76
+ * @throws {@link AccessDeniedException} (client fault)
77
+ * <p>The user does not have sufficient access to perform this action.</p>
78
+ *
79
+ * @throws {@link InternalServerException} (server fault)
80
+ * <p>An unexpected error occurred while processing the request.</p>
81
+ *
82
+ * @throws {@link ResourceNotFoundException} (client fault)
83
+ * <p>The request references a resource that does not exist.</p>
84
+ *
85
+ * @throws {@link ThrottlingException} (client fault)
86
+ * <p>The limit on the number of requests per second was exceeded.</p>
87
+ *
88
+ * @throws {@link ValidationException} (client fault)
89
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services
90
+ * service.</p>
91
+ *
92
+ * @throws {@link VPCLatticeServiceException}
93
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
94
+ *
95
+ * @public
96
+ */
97
+ export declare class GetServiceNetworkResourceAssociationCommand extends GetServiceNetworkResourceAssociationCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: GetServiceNetworkResourceAssociationRequest;
102
+ output: GetServiceNetworkResourceAssociationResponse;
103
+ };
104
+ sdk: {
105
+ input: GetServiceNetworkResourceAssociationCommandInput;
106
+ output: GetServiceNetworkResourceAssociationCommandOutput;
107
+ };
108
+ };
109
+ }
@@ -27,8 +27,7 @@ declare const GetServiceNetworkServiceAssociationCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves information about the specified association between a service network and a
31
- * service.</p>
30
+ * <p>Retrieves information about the specified association between a service network and a service.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const GetServiceNetworkVpcAssociationCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves information about the association between a service network and a VPC.</p>
30
+ * <p>Retrieves information about the specified association between a service network and a VPC.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const ListAccessLogSubscriptionsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists all access log subscriptions for the specified service network or service.</p>
30
+ * <p>Lists the access log subscriptions for the specified service network or service.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -49,6 +49,7 @@ declare const ListAccessLogSubscriptionsCommand_base: {
49
49
  * // resourceId: "STRING_VALUE", // required
50
50
  * // resourceArn: "STRING_VALUE", // required
51
51
  * // destinationArn: "STRING_VALUE", // required
52
+ * // serviceNetworkLogType: "STRING_VALUE",
52
53
  * // createdAt: new Date("TIMESTAMP"), // required
53
54
  * // lastUpdatedAt: new Date("TIMESTAMP"), // required
54
55
  * // },
@@ -0,0 +1,101 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListResourceConfigurationsRequest, ListResourceConfigurationsResponse } 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 ListResourceConfigurationsCommand}.
14
+ */
15
+ export interface ListResourceConfigurationsCommandInput extends ListResourceConfigurationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListResourceConfigurationsCommand}.
21
+ */
22
+ export interface ListResourceConfigurationsCommandOutput extends ListResourceConfigurationsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListResourceConfigurationsCommand_base: {
25
+ new (input: ListResourceConfigurationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListResourceConfigurationsCommandInput, ListResourceConfigurationsCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListResourceConfigurationsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListResourceConfigurationsCommandInput, ListResourceConfigurationsCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the resource configurations owned by or shared with this account.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { VPCLatticeClient, ListResourceConfigurationsCommand } from "@aws-sdk/client-vpc-lattice"; // ES Modules import
35
+ * // const { VPCLatticeClient, ListResourceConfigurationsCommand } = require("@aws-sdk/client-vpc-lattice"); // CommonJS import
36
+ * const client = new VPCLatticeClient(config);
37
+ * const input = { // ListResourceConfigurationsRequest
38
+ * resourceGatewayIdentifier: "STRING_VALUE",
39
+ * resourceConfigurationGroupIdentifier: "STRING_VALUE",
40
+ * maxResults: Number("int"),
41
+ * nextToken: "STRING_VALUE",
42
+ * };
43
+ * const command = new ListResourceConfigurationsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListResourceConfigurationsResponse
46
+ * // items: [ // ResourceConfigurationSummaryList
47
+ * // { // ResourceConfigurationSummary
48
+ * // id: "STRING_VALUE",
49
+ * // name: "STRING_VALUE",
50
+ * // arn: "STRING_VALUE",
51
+ * // resourceGatewayId: "STRING_VALUE",
52
+ * // resourceConfigurationGroupId: "STRING_VALUE",
53
+ * // type: "STRING_VALUE",
54
+ * // status: "STRING_VALUE",
55
+ * // amazonManaged: true || false,
56
+ * // createdAt: new Date("TIMESTAMP"),
57
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
58
+ * // },
59
+ * // ],
60
+ * // nextToken: "STRING_VALUE",
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ListResourceConfigurationsCommandInput - {@link ListResourceConfigurationsCommandInput}
66
+ * @returns {@link ListResourceConfigurationsCommandOutput}
67
+ * @see {@link ListResourceConfigurationsCommandInput} for command's `input` shape.
68
+ * @see {@link ListResourceConfigurationsCommandOutput} for command's `response` shape.
69
+ * @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
70
+ *
71
+ * @throws {@link AccessDeniedException} (client fault)
72
+ * <p>The user does not have sufficient access to perform this action.</p>
73
+ *
74
+ * @throws {@link InternalServerException} (server fault)
75
+ * <p>An unexpected error occurred while processing the request.</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 ListResourceConfigurationsCommand extends ListResourceConfigurationsCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: ListResourceConfigurationsRequest;
94
+ output: ListResourceConfigurationsResponse;
95
+ };
96
+ sdk: {
97
+ input: ListResourceConfigurationsCommandInput;
98
+ output: ListResourceConfigurationsCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -0,0 +1,102 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListResourceEndpointAssociationsRequest, ListResourceEndpointAssociationsResponse } 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 ListResourceEndpointAssociationsCommand}.
14
+ */
15
+ export interface ListResourceEndpointAssociationsCommandInput extends ListResourceEndpointAssociationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListResourceEndpointAssociationsCommand}.
21
+ */
22
+ export interface ListResourceEndpointAssociationsCommandOutput extends ListResourceEndpointAssociationsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListResourceEndpointAssociationsCommand_base: {
25
+ new (input: ListResourceEndpointAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListResourceEndpointAssociationsCommandInput, ListResourceEndpointAssociationsCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListResourceEndpointAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListResourceEndpointAssociationsCommandInput, ListResourceEndpointAssociationsCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the associations for the specified 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, ListResourceEndpointAssociationsCommand } from "@aws-sdk/client-vpc-lattice"; // ES Modules import
35
+ * // const { VPCLatticeClient, ListResourceEndpointAssociationsCommand } = require("@aws-sdk/client-vpc-lattice"); // CommonJS import
36
+ * const client = new VPCLatticeClient(config);
37
+ * const input = { // ListResourceEndpointAssociationsRequest
38
+ * resourceConfigurationIdentifier: "STRING_VALUE", // required
39
+ * resourceEndpointAssociationIdentifier: "STRING_VALUE",
40
+ * vpcEndpointId: "STRING_VALUE",
41
+ * vpcEndpointOwner: "STRING_VALUE",
42
+ * maxResults: Number("int"),
43
+ * nextToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new ListResourceEndpointAssociationsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListResourceEndpointAssociationsResponse
48
+ * // items: [ // ResourceEndpointAssociationList // required
49
+ * // { // ResourceEndpointAssociationSummary
50
+ * // id: "STRING_VALUE",
51
+ * // arn: "STRING_VALUE",
52
+ * // resourceConfigurationId: "STRING_VALUE",
53
+ * // resourceConfigurationArn: "STRING_VALUE",
54
+ * // resourceConfigurationName: "STRING_VALUE",
55
+ * // vpcEndpointId: "STRING_VALUE",
56
+ * // vpcEndpointOwner: "STRING_VALUE",
57
+ * // createdBy: "STRING_VALUE",
58
+ * // createdAt: new Date("TIMESTAMP"),
59
+ * // },
60
+ * // ],
61
+ * // nextToken: "STRING_VALUE",
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param ListResourceEndpointAssociationsCommandInput - {@link ListResourceEndpointAssociationsCommandInput}
67
+ * @returns {@link ListResourceEndpointAssociationsCommandOutput}
68
+ * @see {@link ListResourceEndpointAssociationsCommandInput} for command's `input` shape.
69
+ * @see {@link ListResourceEndpointAssociationsCommandOutput} for command's `response` shape.
70
+ * @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
71
+ *
72
+ * @throws {@link AccessDeniedException} (client fault)
73
+ * <p>The user does not have sufficient access to perform this action.</p>
74
+ *
75
+ * @throws {@link InternalServerException} (server fault)
76
+ * <p>An unexpected error occurred while processing the request.</p>
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * <p>The limit on the number of requests per second was exceeded.</p>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services
83
+ * service.</p>
84
+ *
85
+ * @throws {@link VPCLatticeServiceException}
86
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
87
+ *
88
+ * @public
89
+ */
90
+ export declare class ListResourceEndpointAssociationsCommand extends ListResourceEndpointAssociationsCommand_base {
91
+ /** @internal type navigation helper, not in runtime. */
92
+ protected static __types: {
93
+ api: {
94
+ input: ListResourceEndpointAssociationsRequest;
95
+ output: ListResourceEndpointAssociationsResponse;
96
+ };
97
+ sdk: {
98
+ input: ListResourceEndpointAssociationsCommandInput;
99
+ output: ListResourceEndpointAssociationsCommandOutput;
100
+ };
101
+ };
102
+ }
@@ -0,0 +1,103 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListResourceGatewaysRequest, ListResourceGatewaysResponse } 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 ListResourceGatewaysCommand}.
14
+ */
15
+ export interface ListResourceGatewaysCommandInput extends ListResourceGatewaysRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListResourceGatewaysCommand}.
21
+ */
22
+ export interface ListResourceGatewaysCommandOutput extends ListResourceGatewaysResponse, __MetadataBearer {
23
+ }
24
+ declare const ListResourceGatewaysCommand_base: {
25
+ new (input: ListResourceGatewaysCommandInput): import("@smithy/smithy-client").CommandImpl<ListResourceGatewaysCommandInput, ListResourceGatewaysCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListResourceGatewaysCommandInput]): import("@smithy/smithy-client").CommandImpl<ListResourceGatewaysCommandInput, ListResourceGatewaysCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the resource gateways that you own or that were shared with you.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { VPCLatticeClient, ListResourceGatewaysCommand } from "@aws-sdk/client-vpc-lattice"; // ES Modules import
35
+ * // const { VPCLatticeClient, ListResourceGatewaysCommand } = require("@aws-sdk/client-vpc-lattice"); // CommonJS import
36
+ * const client = new VPCLatticeClient(config);
37
+ * const input = { // ListResourceGatewaysRequest
38
+ * maxResults: Number("int"),
39
+ * nextToken: "STRING_VALUE",
40
+ * };
41
+ * const command = new ListResourceGatewaysCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListResourceGatewaysResponse
44
+ * // items: [ // ResourceGatewayList
45
+ * // { // ResourceGatewaySummary
46
+ * // name: "STRING_VALUE",
47
+ * // id: "STRING_VALUE",
48
+ * // arn: "STRING_VALUE",
49
+ * // status: "STRING_VALUE",
50
+ * // vpcIdentifier: "STRING_VALUE",
51
+ * // subnetIds: [ // SubnetList
52
+ * // "STRING_VALUE",
53
+ * // ],
54
+ * // securityGroupIds: [ // SecurityGroupList
55
+ * // "STRING_VALUE",
56
+ * // ],
57
+ * // ipAddressType: "STRING_VALUE",
58
+ * // createdAt: new Date("TIMESTAMP"),
59
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
60
+ * // },
61
+ * // ],
62
+ * // nextToken: "STRING_VALUE",
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param ListResourceGatewaysCommandInput - {@link ListResourceGatewaysCommandInput}
68
+ * @returns {@link ListResourceGatewaysCommandOutput}
69
+ * @see {@link ListResourceGatewaysCommandInput} for command's `input` shape.
70
+ * @see {@link ListResourceGatewaysCommandOutput} for command's `response` shape.
71
+ * @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
72
+ *
73
+ * @throws {@link AccessDeniedException} (client fault)
74
+ * <p>The user does not have sufficient access to perform this action.</p>
75
+ *
76
+ * @throws {@link InternalServerException} (server fault)
77
+ * <p>An unexpected error occurred while processing the request.</p>
78
+ *
79
+ * @throws {@link ThrottlingException} (client fault)
80
+ * <p>The limit on the number of requests per second was exceeded.</p>
81
+ *
82
+ * @throws {@link ValidationException} (client fault)
83
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services
84
+ * service.</p>
85
+ *
86
+ * @throws {@link VPCLatticeServiceException}
87
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
88
+ *
89
+ * @public
90
+ */
91
+ export declare class ListResourceGatewaysCommand extends ListResourceGatewaysCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: ListResourceGatewaysRequest;
96
+ output: ListResourceGatewaysResponse;
97
+ };
98
+ sdk: {
99
+ input: ListResourceGatewaysCommandInput;
100
+ output: ListResourceGatewaysCommandOutput;
101
+ };
102
+ };
103
+ }
@@ -27,7 +27,7 @@ declare const ListRulesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists the rules for the listener.</p>
30
+ * <p>Lists the rules for the specified listener.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript