@aws-sdk/client-vpc-lattice 3.312.0 → 3.316.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.
@@ -52,459 +52,327 @@ import { UpdateServiceNetworkCommandInput, UpdateServiceNetworkCommandOutput } f
52
52
  import { UpdateServiceNetworkVpcAssociationCommandInput, UpdateServiceNetworkVpcAssociationCommandOutput } from "./commands/UpdateServiceNetworkVpcAssociationCommand";
53
53
  import { UpdateTargetGroupCommandInput, UpdateTargetGroupCommandOutput } from "./commands/UpdateTargetGroupCommand";
54
54
  import { VPCLatticeClient } from "./VPCLatticeClient";
55
- /**
56
- * @public
57
- * <p>Amazon VPC Lattice is a fully managed application networking service that you use to connect, secure,
58
- * and monitor all of your services across multiple accounts and virtual private clouds (VPCs).
59
- * Amazon VPC Lattice interconnects your microservices and legacy services within a logical boundary, so that
60
- * you can discover and manage them more efficiently. For more information, see the <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/">Amazon VPC Lattice User Guide</a>
61
- * </p>
62
- */
63
- export declare class VPCLattice extends VPCLatticeClient {
55
+ export interface VPCLattice {
64
56
  /**
65
- * @public
66
- * <p>Updates the listener rules in a batch. You can use this operation to change the priority of
67
- * listener rules. This can be useful when bulk updating or swapping rule priority. </p>
57
+ * @see {@link BatchUpdateRuleCommand}
68
58
  */
69
59
  batchUpdateRule(args: BatchUpdateRuleCommandInput, options?: __HttpHandlerOptions): Promise<BatchUpdateRuleCommandOutput>;
70
60
  batchUpdateRule(args: BatchUpdateRuleCommandInput, cb: (err: any, data?: BatchUpdateRuleCommandOutput) => void): void;
71
61
  batchUpdateRule(args: BatchUpdateRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchUpdateRuleCommandOutput) => void): void;
72
62
  /**
73
- * @public
74
- * <p>Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose. The service network owner
75
- * can use the access logs to audit the services in the network. The service network owner will only
76
- * see access logs from clients and services that are associated with their service network. Access
77
- * log entries represent traffic originated from VPCs associated with that network. For more
78
- * information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/monitoring-access-logs.html">Access logs</a> in the
79
- * <i>Amazon VPC Lattice User Guide</i>.</p>
63
+ * @see {@link CreateAccessLogSubscriptionCommand}
80
64
  */
81
65
  createAccessLogSubscription(args: CreateAccessLogSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<CreateAccessLogSubscriptionCommandOutput>;
82
66
  createAccessLogSubscription(args: CreateAccessLogSubscriptionCommandInput, cb: (err: any, data?: CreateAccessLogSubscriptionCommandOutput) => void): void;
83
67
  createAccessLogSubscription(args: CreateAccessLogSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAccessLogSubscriptionCommandOutput) => void): void;
84
68
  /**
85
- * @public
86
- * <p>Creates a listener for a service. Before you start using your Amazon VPC Lattice service, you must
87
- * add one or more listeners. A listener is a process that checks for connection requests to your
88
- * services. For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/listeners.html">Listeners</a> in the
89
- * <i>Amazon VPC Lattice User Guide</i>.</p>
69
+ * @see {@link CreateListenerCommand}
90
70
  */
91
71
  createListener(args: CreateListenerCommandInput, options?: __HttpHandlerOptions): Promise<CreateListenerCommandOutput>;
92
72
  createListener(args: CreateListenerCommandInput, cb: (err: any, data?: CreateListenerCommandOutput) => void): void;
93
73
  createListener(args: CreateListenerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateListenerCommandOutput) => void): void;
94
74
  /**
95
- * @public
96
- * <p>Creates a listener rule. Each listener has a default rule for checking connection requests,
97
- * but you can define additional rules. Each rule consists of a priority, one or more actions, and
98
- * one or more conditions. For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/listeners.html#listener-rules">Listener rules</a> in the
99
- * <i>Amazon VPC Lattice User Guide</i>.</p>
75
+ * @see {@link CreateRuleCommand}
100
76
  */
101
77
  createRule(args: CreateRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateRuleCommandOutput>;
102
78
  createRule(args: CreateRuleCommandInput, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
103
79
  createRule(args: CreateRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
104
80
  /**
105
- * @public
106
- * <p>Creates a service. A service is any software application that can run on instances
107
- * containers, or serverless functions within an account or virtual private cloud (VPC).</p>
108
- * <p>For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/services.html">Services</a> in the
109
- * <i>Amazon VPC Lattice User Guide</i>.</p>
81
+ * @see {@link CreateServiceCommand}
110
82
  */
111
83
  createService(args: CreateServiceCommandInput, options?: __HttpHandlerOptions): Promise<CreateServiceCommandOutput>;
112
84
  createService(args: CreateServiceCommandInput, cb: (err: any, data?: CreateServiceCommandOutput) => void): void;
113
85
  createService(args: CreateServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateServiceCommandOutput) => void): void;
114
86
  /**
115
- * @public
116
- * <p>Creates a service network. A service network is a logical boundary for a collection of
117
- * services. You can associate services and VPCs with a service network.</p>
118
- * <p>For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html">Service networks</a> in the
119
- * <i>Amazon VPC Lattice User Guide</i>.</p>
87
+ * @see {@link CreateServiceNetworkCommand}
120
88
  */
121
89
  createServiceNetwork(args: CreateServiceNetworkCommandInput, options?: __HttpHandlerOptions): Promise<CreateServiceNetworkCommandOutput>;
122
90
  createServiceNetwork(args: CreateServiceNetworkCommandInput, cb: (err: any, data?: CreateServiceNetworkCommandOutput) => void): void;
123
91
  createServiceNetwork(args: CreateServiceNetworkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateServiceNetworkCommandOutput) => void): void;
124
92
  /**
125
- * @public
126
- * <p>Associates a service with a service network.</p>
127
- * <p>You can't use this operation if the service and service network are already associated or if
128
- * there is a disassociation or deletion in progress. If the association fails, you can retry the
129
- * operation by deleting the association and recreating it.</p>
130
- * <p>You cannot associate a service and service network that are shared with a caller. The caller
131
- * must own either the service or the service network.</p>
132
- * <p>As a result of this operation, the association is created in the service network account and
133
- * the association owner account.</p>
93
+ * @see {@link CreateServiceNetworkServiceAssociationCommand}
134
94
  */
135
95
  createServiceNetworkServiceAssociation(args: CreateServiceNetworkServiceAssociationCommandInput, options?: __HttpHandlerOptions): Promise<CreateServiceNetworkServiceAssociationCommandOutput>;
136
96
  createServiceNetworkServiceAssociation(args: CreateServiceNetworkServiceAssociationCommandInput, cb: (err: any, data?: CreateServiceNetworkServiceAssociationCommandOutput) => void): void;
137
97
  createServiceNetworkServiceAssociation(args: CreateServiceNetworkServiceAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateServiceNetworkServiceAssociationCommandOutput) => void): void;
138
98
  /**
139
- * @public
140
- * <p>Associates a VPC with a service network. When you associate a VPC with the service network,
141
- * it enables all the resources within that VPC to be clients and communicate with other services in
142
- * the service network. For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-network-associations.html#service-network-vpc-associations">Manage VPC associations</a> in the <i>Amazon VPC Lattice User Guide</i>.</p>
143
- * <p>You can't use this operation if there is a disassociation in progress. If the association
144
- * fails, retry by deleting the association and recreating it.</p>
145
- * <p>As a result of this operation, the association gets created in the service network account
146
- * and the VPC owner account.</p>
147
- * <p>If you add a security group to the service network and VPC association, the association must
148
- * continue to always have at least one security group. You can add or edit security groups at any
149
- * time. However, to remove all security groups, you must first delete the association and recreate
150
- * it without security groups.</p>
99
+ * @see {@link CreateServiceNetworkVpcAssociationCommand}
151
100
  */
152
101
  createServiceNetworkVpcAssociation(args: CreateServiceNetworkVpcAssociationCommandInput, options?: __HttpHandlerOptions): Promise<CreateServiceNetworkVpcAssociationCommandOutput>;
153
102
  createServiceNetworkVpcAssociation(args: CreateServiceNetworkVpcAssociationCommandInput, cb: (err: any, data?: CreateServiceNetworkVpcAssociationCommandOutput) => void): void;
154
103
  createServiceNetworkVpcAssociation(args: CreateServiceNetworkVpcAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateServiceNetworkVpcAssociationCommandOutput) => void): void;
155
104
  /**
156
- * @public
157
- * <p>Creates a target group. A target group is a collection of targets, or compute resources,
158
- * that run your application or service. A target group can only be used by a single service.</p>
159
- * <p>For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/target-groups.html">Target groups</a> in the
160
- * <i>Amazon VPC Lattice User Guide</i>.</p>
105
+ * @see {@link CreateTargetGroupCommand}
161
106
  */
162
107
  createTargetGroup(args: CreateTargetGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateTargetGroupCommandOutput>;
163
108
  createTargetGroup(args: CreateTargetGroupCommandInput, cb: (err: any, data?: CreateTargetGroupCommandOutput) => void): void;
164
109
  createTargetGroup(args: CreateTargetGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTargetGroupCommandOutput) => void): void;
165
110
  /**
166
- * @public
167
- * <p>Deletes the specified access log subscription.</p>
111
+ * @see {@link DeleteAccessLogSubscriptionCommand}
168
112
  */
169
113
  deleteAccessLogSubscription(args: DeleteAccessLogSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAccessLogSubscriptionCommandOutput>;
170
114
  deleteAccessLogSubscription(args: DeleteAccessLogSubscriptionCommandInput, cb: (err: any, data?: DeleteAccessLogSubscriptionCommandOutput) => void): void;
171
115
  deleteAccessLogSubscription(args: DeleteAccessLogSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAccessLogSubscriptionCommandOutput) => void): void;
172
116
  /**
173
- * @public
174
- * <p>Deletes the specified auth policy. If an auth is set to <code>AWS_IAM</code>
175
- * and the auth policy is deleted, all requests will be denied by default. If you are trying to
176
- * remove the auth policy completely, you must set the auth_type to <code>NONE</code>. If auth is
177
- * enabled on the resource, but no auth policy is set, all requests will be denied.</p>
117
+ * @see {@link DeleteAuthPolicyCommand}
178
118
  */
179
119
  deleteAuthPolicy(args: DeleteAuthPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAuthPolicyCommandOutput>;
180
120
  deleteAuthPolicy(args: DeleteAuthPolicyCommandInput, cb: (err: any, data?: DeleteAuthPolicyCommandOutput) => void): void;
181
121
  deleteAuthPolicy(args: DeleteAuthPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAuthPolicyCommandOutput) => void): void;
182
122
  /**
183
- * @public
184
- * <p>Deletes the specified listener.</p>
123
+ * @see {@link DeleteListenerCommand}
185
124
  */
186
125
  deleteListener(args: DeleteListenerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteListenerCommandOutput>;
187
126
  deleteListener(args: DeleteListenerCommandInput, cb: (err: any, data?: DeleteListenerCommandOutput) => void): void;
188
127
  deleteListener(args: DeleteListenerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteListenerCommandOutput) => void): void;
189
128
  /**
190
- * @public
191
- * <p>Deletes the specified resource policy.</p>
129
+ * @see {@link DeleteResourcePolicyCommand}
192
130
  */
193
131
  deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourcePolicyCommandOutput>;
194
132
  deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
195
133
  deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
196
134
  /**
197
- * @public
198
- * <p>Deletes a listener rule. Each listener has a default rule for checking connection requests,
199
- * but you can define additional rules. Each rule consists of a priority, one or more actions, and
200
- * one or more conditions. You can delete additional listener rules, but you cannot delete the
201
- * default rule.</p>
202
- * <p>For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/listeners.html#listener-rules">Listener rules</a> in the
203
- * <i>Amazon VPC Lattice User Guide</i>.</p>
135
+ * @see {@link DeleteRuleCommand}
204
136
  */
205
137
  deleteRule(args: DeleteRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleCommandOutput>;
206
138
  deleteRule(args: DeleteRuleCommandInput, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
207
139
  deleteRule(args: DeleteRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
208
140
  /**
209
- * @public
210
- * <p>Deletes a service. A service can't be deleted if it's associated with a service network. If
211
- * you delete a service, all resources related to the service, such as the resource policy, auth
212
- * policy, listeners, listener rules, and access log subscriptions, are also deleted. For more
213
- * information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/services.html#delete-service">Delete a service</a> in the
214
- * <i>Amazon VPC Lattice User Guide</i>.</p>
141
+ * @see {@link DeleteServiceCommand}
215
142
  */
216
143
  deleteService(args: DeleteServiceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteServiceCommandOutput>;
217
144
  deleteService(args: DeleteServiceCommandInput, cb: (err: any, data?: DeleteServiceCommandOutput) => void): void;
218
145
  deleteService(args: DeleteServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteServiceCommandOutput) => void): void;
219
146
  /**
220
- * @public
221
- * <p>Deletes a service network. You can only delete the service network if there is no service or
222
- * VPC associated with it. If you delete a service network, all resources related to the service
223
- * network, such as the resource policy, auth policy, and access log subscriptions, are also
224
- * deleted. For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html#delete-service-network">Delete a service
225
- * network</a> in the <i>Amazon VPC Lattice User Guide</i>.</p>
147
+ * @see {@link DeleteServiceNetworkCommand}
226
148
  */
227
149
  deleteServiceNetwork(args: DeleteServiceNetworkCommandInput, options?: __HttpHandlerOptions): Promise<DeleteServiceNetworkCommandOutput>;
228
150
  deleteServiceNetwork(args: DeleteServiceNetworkCommandInput, cb: (err: any, data?: DeleteServiceNetworkCommandOutput) => void): void;
229
151
  deleteServiceNetwork(args: DeleteServiceNetworkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteServiceNetworkCommandOutput) => void): void;
230
152
  /**
231
- * @public
232
- * <p>Deletes the association between a specified service and the specific service network. This
233
- * request will fail if an association is still in progress.</p>
153
+ * @see {@link DeleteServiceNetworkServiceAssociationCommand}
234
154
  */
235
155
  deleteServiceNetworkServiceAssociation(args: DeleteServiceNetworkServiceAssociationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteServiceNetworkServiceAssociationCommandOutput>;
236
156
  deleteServiceNetworkServiceAssociation(args: DeleteServiceNetworkServiceAssociationCommandInput, cb: (err: any, data?: DeleteServiceNetworkServiceAssociationCommandOutput) => void): void;
237
157
  deleteServiceNetworkServiceAssociation(args: DeleteServiceNetworkServiceAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteServiceNetworkServiceAssociationCommandOutput) => void): void;
238
158
  /**
239
- * @public
240
- * <p>Disassociates the VPC from the service network. You can't disassociate the VPC if there is a
241
- * create or update association in progress.</p>
159
+ * @see {@link DeleteServiceNetworkVpcAssociationCommand}
242
160
  */
243
161
  deleteServiceNetworkVpcAssociation(args: DeleteServiceNetworkVpcAssociationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteServiceNetworkVpcAssociationCommandOutput>;
244
162
  deleteServiceNetworkVpcAssociation(args: DeleteServiceNetworkVpcAssociationCommandInput, cb: (err: any, data?: DeleteServiceNetworkVpcAssociationCommandOutput) => void): void;
245
163
  deleteServiceNetworkVpcAssociation(args: DeleteServiceNetworkVpcAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteServiceNetworkVpcAssociationCommandOutput) => void): void;
246
164
  /**
247
- * @public
248
- * <p>Deletes a target group. You can't delete a target group if it is used in a listener rule or
249
- * if the target group creation is in progress.</p>
165
+ * @see {@link DeleteTargetGroupCommand}
250
166
  */
251
167
  deleteTargetGroup(args: DeleteTargetGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTargetGroupCommandOutput>;
252
168
  deleteTargetGroup(args: DeleteTargetGroupCommandInput, cb: (err: any, data?: DeleteTargetGroupCommandOutput) => void): void;
253
169
  deleteTargetGroup(args: DeleteTargetGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTargetGroupCommandOutput) => void): void;
254
170
  /**
255
- * @public
256
- * <p>Deregisters the specified targets from the specified target group.</p>
171
+ * @see {@link DeregisterTargetsCommand}
257
172
  */
258
173
  deregisterTargets(args: DeregisterTargetsCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterTargetsCommandOutput>;
259
174
  deregisterTargets(args: DeregisterTargetsCommandInput, cb: (err: any, data?: DeregisterTargetsCommandOutput) => void): void;
260
175
  deregisterTargets(args: DeregisterTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterTargetsCommandOutput) => void): void;
261
176
  /**
262
- * @public
263
- * <p>Retrieves information about the specified access log subscription.</p>
177
+ * @see {@link GetAccessLogSubscriptionCommand}
264
178
  */
265
179
  getAccessLogSubscription(args: GetAccessLogSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<GetAccessLogSubscriptionCommandOutput>;
266
180
  getAccessLogSubscription(args: GetAccessLogSubscriptionCommandInput, cb: (err: any, data?: GetAccessLogSubscriptionCommandOutput) => void): void;
267
181
  getAccessLogSubscription(args: GetAccessLogSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccessLogSubscriptionCommandOutput) => void): void;
268
182
  /**
269
- * @public
270
- * <p>Retrieves information about the auth policy for the specified service or service
271
- * network.</p>
183
+ * @see {@link GetAuthPolicyCommand}
272
184
  */
273
185
  getAuthPolicy(args: GetAuthPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetAuthPolicyCommandOutput>;
274
186
  getAuthPolicy(args: GetAuthPolicyCommandInput, cb: (err: any, data?: GetAuthPolicyCommandOutput) => void): void;
275
187
  getAuthPolicy(args: GetAuthPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAuthPolicyCommandOutput) => void): void;
276
188
  /**
277
- * @public
278
- * <p>Retrieves information about the specified listener for the specified service.</p>
189
+ * @see {@link GetListenerCommand}
279
190
  */
280
191
  getListener(args: GetListenerCommandInput, options?: __HttpHandlerOptions): Promise<GetListenerCommandOutput>;
281
192
  getListener(args: GetListenerCommandInput, cb: (err: any, data?: GetListenerCommandOutput) => void): void;
282
193
  getListener(args: GetListenerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetListenerCommandOutput) => void): void;
283
194
  /**
284
- * @public
285
- * <p>Retrieves information about the resource policy. The resource policy is an IAM policy
286
- * created on behalf of the resource owner when they share a resource.</p>
195
+ * @see {@link GetResourcePolicyCommand}
287
196
  */
288
197
  getResourcePolicy(args: GetResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePolicyCommandOutput>;
289
198
  getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
290
199
  getResourcePolicy(args: GetResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
291
200
  /**
292
- * @public
293
- * <p>Retrieves information about listener rules. You can also retrieve information about the
294
- * 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
295
- * <i>Amazon VPC Lattice User Guide</i>.</p>
201
+ * @see {@link GetRuleCommand}
296
202
  */
297
203
  getRule(args: GetRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetRuleCommandOutput>;
298
204
  getRule(args: GetRuleCommandInput, cb: (err: any, data?: GetRuleCommandOutput) => void): void;
299
205
  getRule(args: GetRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRuleCommandOutput) => void): void;
300
206
  /**
301
- * @public
302
- * <p>Retrieves information about the specified service.</p>
207
+ * @see {@link GetServiceCommand}
303
208
  */
304
209
  getService(args: GetServiceCommandInput, options?: __HttpHandlerOptions): Promise<GetServiceCommandOutput>;
305
210
  getService(args: GetServiceCommandInput, cb: (err: any, data?: GetServiceCommandOutput) => void): void;
306
211
  getService(args: GetServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServiceCommandOutput) => void): void;
307
212
  /**
308
- * @public
309
- * <p>Retrieves information about the specified service network.</p>
213
+ * @see {@link GetServiceNetworkCommand}
310
214
  */
311
215
  getServiceNetwork(args: GetServiceNetworkCommandInput, options?: __HttpHandlerOptions): Promise<GetServiceNetworkCommandOutput>;
312
216
  getServiceNetwork(args: GetServiceNetworkCommandInput, cb: (err: any, data?: GetServiceNetworkCommandOutput) => void): void;
313
217
  getServiceNetwork(args: GetServiceNetworkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServiceNetworkCommandOutput) => void): void;
314
218
  /**
315
- * @public
316
- * <p>Retrieves information about the specified association between a service network and a
317
- * service.</p>
219
+ * @see {@link GetServiceNetworkServiceAssociationCommand}
318
220
  */
319
221
  getServiceNetworkServiceAssociation(args: GetServiceNetworkServiceAssociationCommandInput, options?: __HttpHandlerOptions): Promise<GetServiceNetworkServiceAssociationCommandOutput>;
320
222
  getServiceNetworkServiceAssociation(args: GetServiceNetworkServiceAssociationCommandInput, cb: (err: any, data?: GetServiceNetworkServiceAssociationCommandOutput) => void): void;
321
223
  getServiceNetworkServiceAssociation(args: GetServiceNetworkServiceAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServiceNetworkServiceAssociationCommandOutput) => void): void;
322
224
  /**
323
- * @public
324
- * <p>Retrieves information about the association between a service network and a VPC.</p>
225
+ * @see {@link GetServiceNetworkVpcAssociationCommand}
325
226
  */
326
227
  getServiceNetworkVpcAssociation(args: GetServiceNetworkVpcAssociationCommandInput, options?: __HttpHandlerOptions): Promise<GetServiceNetworkVpcAssociationCommandOutput>;
327
228
  getServiceNetworkVpcAssociation(args: GetServiceNetworkVpcAssociationCommandInput, cb: (err: any, data?: GetServiceNetworkVpcAssociationCommandOutput) => void): void;
328
229
  getServiceNetworkVpcAssociation(args: GetServiceNetworkVpcAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServiceNetworkVpcAssociationCommandOutput) => void): void;
329
230
  /**
330
- * @public
331
- * <p>Retrieves information about the specified target group.</p>
231
+ * @see {@link GetTargetGroupCommand}
332
232
  */
333
233
  getTargetGroup(args: GetTargetGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetTargetGroupCommandOutput>;
334
234
  getTargetGroup(args: GetTargetGroupCommandInput, cb: (err: any, data?: GetTargetGroupCommandOutput) => void): void;
335
235
  getTargetGroup(args: GetTargetGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTargetGroupCommandOutput) => void): void;
336
236
  /**
337
- * @public
338
- * <p>Lists all access log subscriptions for the specified service network or service.</p>
237
+ * @see {@link ListAccessLogSubscriptionsCommand}
339
238
  */
340
239
  listAccessLogSubscriptions(args: ListAccessLogSubscriptionsCommandInput, options?: __HttpHandlerOptions): Promise<ListAccessLogSubscriptionsCommandOutput>;
341
240
  listAccessLogSubscriptions(args: ListAccessLogSubscriptionsCommandInput, cb: (err: any, data?: ListAccessLogSubscriptionsCommandOutput) => void): void;
342
241
  listAccessLogSubscriptions(args: ListAccessLogSubscriptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccessLogSubscriptionsCommandOutput) => void): void;
343
242
  /**
344
- * @public
345
- * <p>Lists the listeners for the specified service.</p>
243
+ * @see {@link ListListenersCommand}
346
244
  */
347
245
  listListeners(args: ListListenersCommandInput, options?: __HttpHandlerOptions): Promise<ListListenersCommandOutput>;
348
246
  listListeners(args: ListListenersCommandInput, cb: (err: any, data?: ListListenersCommandOutput) => void): void;
349
247
  listListeners(args: ListListenersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListListenersCommandOutput) => void): void;
350
248
  /**
351
- * @public
352
- * <p>Lists the rules for the listener.</p>
249
+ * @see {@link ListRulesCommand}
353
250
  */
354
251
  listRules(args: ListRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListRulesCommandOutput>;
355
252
  listRules(args: ListRulesCommandInput, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
356
253
  listRules(args: ListRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
357
254
  /**
358
- * @public
359
- * <p>Lists the service networks owned by the caller account or shared with the caller account.
360
- * Also includes the account ID in the ARN to show which account owns the service network.</p>
255
+ * @see {@link ListServiceNetworksCommand}
361
256
  */
362
257
  listServiceNetworks(args: ListServiceNetworksCommandInput, options?: __HttpHandlerOptions): Promise<ListServiceNetworksCommandOutput>;
363
258
  listServiceNetworks(args: ListServiceNetworksCommandInput, cb: (err: any, data?: ListServiceNetworksCommandOutput) => void): void;
364
259
  listServiceNetworks(args: ListServiceNetworksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServiceNetworksCommandOutput) => void): void;
365
260
  /**
366
- * @public
367
- * <p>Lists the associations between the service network and the service. You can filter the list
368
- * either by service or service network. You must provide either the service network identifier or
369
- * the service identifier.</p>
370
- * <p>Every association in Amazon VPC Lattice is given a unique Amazon Resource Name (ARN), such as when a
371
- * service network is associated with a VPC or when a service is associated with a service network.
372
- * If the association is for a resource that is shared with another account, the association will
373
- * include the local account ID as the prefix in the ARN for each account the resource is shared
374
- * with.</p>
261
+ * @see {@link ListServiceNetworkServiceAssociationsCommand}
375
262
  */
376
263
  listServiceNetworkServiceAssociations(args: ListServiceNetworkServiceAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListServiceNetworkServiceAssociationsCommandOutput>;
377
264
  listServiceNetworkServiceAssociations(args: ListServiceNetworkServiceAssociationsCommandInput, cb: (err: any, data?: ListServiceNetworkServiceAssociationsCommandOutput) => void): void;
378
265
  listServiceNetworkServiceAssociations(args: ListServiceNetworkServiceAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServiceNetworkServiceAssociationsCommandOutput) => void): void;
379
266
  /**
380
- * @public
381
- * <p>Lists the service network and VPC associations. You can filter the list either by VPC or
382
- * service network. You must provide either the service network identifier or the VPC
383
- * identifier.</p>
267
+ * @see {@link ListServiceNetworkVpcAssociationsCommand}
384
268
  */
385
269
  listServiceNetworkVpcAssociations(args: ListServiceNetworkVpcAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListServiceNetworkVpcAssociationsCommandOutput>;
386
270
  listServiceNetworkVpcAssociations(args: ListServiceNetworkVpcAssociationsCommandInput, cb: (err: any, data?: ListServiceNetworkVpcAssociationsCommandOutput) => void): void;
387
271
  listServiceNetworkVpcAssociations(args: ListServiceNetworkVpcAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServiceNetworkVpcAssociationsCommandOutput) => void): void;
388
272
  /**
389
- * @public
390
- * <p>Lists the services owned by the caller account or shared with the caller account.</p>
273
+ * @see {@link ListServicesCommand}
391
274
  */
392
275
  listServices(args: ListServicesCommandInput, options?: __HttpHandlerOptions): Promise<ListServicesCommandOutput>;
393
276
  listServices(args: ListServicesCommandInput, cb: (err: any, data?: ListServicesCommandOutput) => void): void;
394
277
  listServices(args: ListServicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServicesCommandOutput) => void): void;
395
278
  /**
396
- * @public
397
- * <p>Lists the tags for the specified resource.</p>
279
+ * @see {@link ListTagsForResourceCommand}
398
280
  */
399
281
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
400
282
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
401
283
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
402
284
  /**
403
- * @public
404
- * <p>Lists your target groups. You can narrow your search by using the filters below in your
405
- * request.</p>
285
+ * @see {@link ListTargetGroupsCommand}
406
286
  */
407
287
  listTargetGroups(args: ListTargetGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListTargetGroupsCommandOutput>;
408
288
  listTargetGroups(args: ListTargetGroupsCommandInput, cb: (err: any, data?: ListTargetGroupsCommandOutput) => void): void;
409
289
  listTargetGroups(args: ListTargetGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTargetGroupsCommandOutput) => void): void;
410
290
  /**
411
- * @public
412
- * <p>Lists the targets for the target group. By default, all targets are included. You can use
413
- * this API to check the health status of targets. You can also filter the results by target. </p>
291
+ * @see {@link ListTargetsCommand}
414
292
  */
415
293
  listTargets(args: ListTargetsCommandInput, options?: __HttpHandlerOptions): Promise<ListTargetsCommandOutput>;
416
294
  listTargets(args: ListTargetsCommandInput, cb: (err: any, data?: ListTargetsCommandOutput) => void): void;
417
295
  listTargets(args: ListTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTargetsCommandOutput) => void): void;
418
296
  /**
419
- * @public
420
- * <p>Creates or updates the auth policy. The policy string in JSON must not contain newlines or
421
- * blank lines.</p>
297
+ * @see {@link PutAuthPolicyCommand}
422
298
  */
423
299
  putAuthPolicy(args: PutAuthPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutAuthPolicyCommandOutput>;
424
300
  putAuthPolicy(args: PutAuthPolicyCommandInput, cb: (err: any, data?: PutAuthPolicyCommandOutput) => void): void;
425
301
  putAuthPolicy(args: PutAuthPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAuthPolicyCommandOutput) => void): void;
426
302
  /**
427
- * @public
428
- * <p>Attaches a resource-based permission policy to a service or service network. The policy must
429
- * contain the same actions and condition statements as the Amazon Web Services Resource Access
430
- * Manager permission for sharing services and service networks.</p>
303
+ * @see {@link PutResourcePolicyCommand}
431
304
  */
432
305
  putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;
433
306
  putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
434
307
  putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
435
308
  /**
436
- * @public
437
- * <p>Registers the targets with the target group. If it's a Lambda target, you can only have one
438
- * target in a target group.</p>
309
+ * @see {@link RegisterTargetsCommand}
439
310
  */
440
311
  registerTargets(args: RegisterTargetsCommandInput, options?: __HttpHandlerOptions): Promise<RegisterTargetsCommandOutput>;
441
312
  registerTargets(args: RegisterTargetsCommandInput, cb: (err: any, data?: RegisterTargetsCommandOutput) => void): void;
442
313
  registerTargets(args: RegisterTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterTargetsCommandOutput) => void): void;
443
314
  /**
444
- * @public
445
- * <p>Adds the specified tags to the specified resource.</p>
315
+ * @see {@link TagResourceCommand}
446
316
  */
447
317
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
448
318
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
449
319
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
450
320
  /**
451
- * @public
452
- * <p>Removes the specified tags from the specified resource.</p>
321
+ * @see {@link UntagResourceCommand}
453
322
  */
454
323
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
455
324
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
456
325
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
457
326
  /**
458
- * @public
459
- * <p>Updates the specified access log subscription.</p>
327
+ * @see {@link UpdateAccessLogSubscriptionCommand}
460
328
  */
461
329
  updateAccessLogSubscription(args: UpdateAccessLogSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAccessLogSubscriptionCommandOutput>;
462
330
  updateAccessLogSubscription(args: UpdateAccessLogSubscriptionCommandInput, cb: (err: any, data?: UpdateAccessLogSubscriptionCommandOutput) => void): void;
463
331
  updateAccessLogSubscription(args: UpdateAccessLogSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAccessLogSubscriptionCommandOutput) => void): void;
464
332
  /**
465
- * @public
466
- * <p>Updates the specified listener for the specified service.</p>
333
+ * @see {@link UpdateListenerCommand}
467
334
  */
468
335
  updateListener(args: UpdateListenerCommandInput, options?: __HttpHandlerOptions): Promise<UpdateListenerCommandOutput>;
469
336
  updateListener(args: UpdateListenerCommandInput, cb: (err: any, data?: UpdateListenerCommandOutput) => void): void;
470
337
  updateListener(args: UpdateListenerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateListenerCommandOutput) => void): void;
471
338
  /**
472
- * @public
473
- * <p>Updates a rule for the listener. You can't modify a default listener rule. To modify a
474
- * default listener rule, use <code>UpdateListener</code>.</p>
339
+ * @see {@link UpdateRuleCommand}
475
340
  */
476
341
  updateRule(args: UpdateRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRuleCommandOutput>;
477
342
  updateRule(args: UpdateRuleCommandInput, cb: (err: any, data?: UpdateRuleCommandOutput) => void): void;
478
343
  updateRule(args: UpdateRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRuleCommandOutput) => void): void;
479
344
  /**
480
- * @public
481
- * <p>Updates the specified service.</p>
345
+ * @see {@link UpdateServiceCommand}
482
346
  */
483
347
  updateService(args: UpdateServiceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateServiceCommandOutput>;
484
348
  updateService(args: UpdateServiceCommandInput, cb: (err: any, data?: UpdateServiceCommandOutput) => void): void;
485
349
  updateService(args: UpdateServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateServiceCommandOutput) => void): void;
486
350
  /**
487
- * @public
488
- * <p>Updates the specified service network.</p>
351
+ * @see {@link UpdateServiceNetworkCommand}
489
352
  */
490
353
  updateServiceNetwork(args: UpdateServiceNetworkCommandInput, options?: __HttpHandlerOptions): Promise<UpdateServiceNetworkCommandOutput>;
491
354
  updateServiceNetwork(args: UpdateServiceNetworkCommandInput, cb: (err: any, data?: UpdateServiceNetworkCommandOutput) => void): void;
492
355
  updateServiceNetwork(args: UpdateServiceNetworkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateServiceNetworkCommandOutput) => void): void;
493
356
  /**
494
- * @public
495
- * <p>Updates the service network and VPC association. If you add a security group to the service
496
- * network and VPC association, the association must continue to always have at least one security
497
- * group. You can add or edit security groups at any time. However, to remove all security groups,
498
- * you must first delete the association and recreate it without security groups.</p>
357
+ * @see {@link UpdateServiceNetworkVpcAssociationCommand}
499
358
  */
500
359
  updateServiceNetworkVpcAssociation(args: UpdateServiceNetworkVpcAssociationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateServiceNetworkVpcAssociationCommandOutput>;
501
360
  updateServiceNetworkVpcAssociation(args: UpdateServiceNetworkVpcAssociationCommandInput, cb: (err: any, data?: UpdateServiceNetworkVpcAssociationCommandOutput) => void): void;
502
361
  updateServiceNetworkVpcAssociation(args: UpdateServiceNetworkVpcAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateServiceNetworkVpcAssociationCommandOutput) => void): void;
503
362
  /**
504
- * @public
505
- * <p>Updates the specified target group.</p>
363
+ * @see {@link UpdateTargetGroupCommand}
506
364
  */
507
365
  updateTargetGroup(args: UpdateTargetGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTargetGroupCommandOutput>;
508
366
  updateTargetGroup(args: UpdateTargetGroupCommandInput, cb: (err: any, data?: UpdateTargetGroupCommandOutput) => void): void;
509
367
  updateTargetGroup(args: UpdateTargetGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTargetGroupCommandOutput) => void): void;
510
368
  }
369
+ /**
370
+ * @public
371
+ * <p>Amazon VPC Lattice is a fully managed application networking service that you use to connect, secure,
372
+ * and monitor all of your services across multiple accounts and virtual private clouds (VPCs).
373
+ * Amazon VPC Lattice interconnects your microservices and legacy services within a logical boundary, so that
374
+ * you can discover and manage them more efficiently. For more information, see the <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/">Amazon VPC Lattice User Guide</a>
375
+ * </p>
376
+ */
377
+ export declare class VPCLattice extends VPCLatticeClient implements VPCLattice {
378
+ }
@@ -208,7 +208,7 @@ import {
208
208
  UpdateTargetGroupCommandOutput,
209
209
  } from "./commands/UpdateTargetGroupCommand";
210
210
  import { VPCLatticeClient } from "./VPCLatticeClient";
211
- export declare class VPCLattice extends VPCLatticeClient {
211
+ export interface VPCLattice {
212
212
  batchUpdateRule(
213
213
  args: BatchUpdateRuleCommandInput,
214
214
  options?: __HttpHandlerOptions
@@ -934,3 +934,6 @@ export declare class VPCLattice extends VPCLatticeClient {
934
934
  cb: (err: any, data?: UpdateTargetGroupCommandOutput) => void
935
935
  ): void;
936
936
  }
937
+ export declare class VPCLattice
938
+ extends VPCLatticeClient
939
+ implements VPCLattice {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-vpc-lattice",
3
3
  "description": "AWS SDK for JavaScript Vpc Lattice Client for Node.js, Browser and React Native",
4
- "version": "3.312.0",
4
+ "version": "3.316.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.312.0",
24
+ "@aws-sdk/client-sts": "3.316.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.310.0",
26
+ "@aws-sdk/credential-provider-node": "3.316.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -40,14 +40,14 @@
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.310.0",
43
+ "@aws-sdk/smithy-client": "3.316.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.310.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.310.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
51
  "@aws-sdk/util-endpoints": "3.310.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",