@aws-sdk/client-vpc-lattice 3.325.0 → 3.326.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 (53) hide show
  1. package/dist-types/commands/BatchUpdateRuleCommand.d.ts +57 -0
  2. package/dist-types/commands/CreateAccessLogSubscriptionCommand.d.ts +10 -0
  3. package/dist-types/commands/CreateListenerCommand.d.ts +25 -0
  4. package/dist-types/commands/CreateRuleCommand.d.ts +45 -0
  5. package/dist-types/commands/CreateServiceCommand.d.ts +16 -0
  6. package/dist-types/commands/CreateServiceNetworkCommand.d.ts +9 -0
  7. package/dist-types/commands/CreateServiceNetworkServiceAssociationCommand.d.ts +14 -0
  8. package/dist-types/commands/CreateServiceNetworkVpcAssociationCommand.d.ts +12 -0
  9. package/dist-types/commands/CreateTargetGroupCommand.d.ts +31 -0
  10. package/dist-types/commands/DeleteAccessLogSubscriptionCommand.d.ts +4 -0
  11. package/dist-types/commands/DeleteAuthPolicyCommand.d.ts +4 -0
  12. package/dist-types/commands/DeleteListenerCommand.d.ts +4 -0
  13. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -0
  14. package/dist-types/commands/DeleteRuleCommand.d.ts +4 -0
  15. package/dist-types/commands/DeleteServiceCommand.d.ts +9 -0
  16. package/dist-types/commands/DeleteServiceNetworkCommand.d.ts +4 -0
  17. package/dist-types/commands/DeleteServiceNetworkServiceAssociationCommand.d.ts +8 -0
  18. package/dist-types/commands/DeleteServiceNetworkVpcAssociationCommand.d.ts +8 -0
  19. package/dist-types/commands/DeleteTargetGroupCommand.d.ts +8 -0
  20. package/dist-types/commands/DeregisterTargetsCommand.d.ts +19 -0
  21. package/dist-types/commands/GetAccessLogSubscriptionCommand.d.ts +12 -0
  22. package/dist-types/commands/GetAuthPolicyCommand.d.ts +9 -0
  23. package/dist-types/commands/GetListenerCommand.d.ts +27 -0
  24. package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -0
  25. package/dist-types/commands/GetRuleCommand.d.ts +48 -0
  26. package/dist-types/commands/GetServiceCommand.d.ts +20 -0
  27. package/dist-types/commands/GetServiceNetworkCommand.d.ts +13 -0
  28. package/dist-types/commands/GetServiceNetworkServiceAssociationCommand.d.ts +23 -0
  29. package/dist-types/commands/GetServiceNetworkVpcAssociationCommand.d.ts +20 -0
  30. package/dist-types/commands/GetTargetGroupCommand.d.ts +38 -0
  31. package/dist-types/commands/ListAccessLogSubscriptionsCommand.d.ts +17 -0
  32. package/dist-types/commands/ListListenersCommand.d.ts +17 -0
  33. package/dist-types/commands/ListRulesCommand.d.ts +17 -0
  34. package/dist-types/commands/ListServiceNetworkServiceAssociationsCommand.d.ts +26 -0
  35. package/dist-types/commands/ListServiceNetworkVpcAssociationsCommand.d.ts +20 -0
  36. package/dist-types/commands/ListServiceNetworksCommand.d.ts +17 -0
  37. package/dist-types/commands/ListServicesCommand.d.ts +21 -0
  38. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
  39. package/dist-types/commands/ListTargetGroupsCommand.d.ts +24 -0
  40. package/dist-types/commands/ListTargetsCommand.d.ts +14 -0
  41. package/dist-types/commands/PutAuthPolicyCommand.d.ts +7 -0
  42. package/dist-types/commands/PutResourcePolicyCommand.d.ts +4 -0
  43. package/dist-types/commands/RegisterTargetsCommand.d.ts +19 -0
  44. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  45. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  46. package/dist-types/commands/UpdateAccessLogSubscriptionCommand.d.ts +10 -0
  47. package/dist-types/commands/UpdateListenerCommand.d.ts +25 -0
  48. package/dist-types/commands/UpdateRuleCommand.d.ts +46 -0
  49. package/dist-types/commands/UpdateServiceCommand.d.ts +11 -0
  50. package/dist-types/commands/UpdateServiceNetworkCommand.d.ts +9 -0
  51. package/dist-types/commands/UpdateServiceNetworkVpcAssociationCommand.d.ts +12 -0
  52. package/dist-types/commands/UpdateTargetGroupCommand.d.ts +31 -0
  53. package/package.json +3 -3
@@ -34,6 +34,8 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
34
34
  * };
35
35
  * const command = new PutResourcePolicyCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param PutResourcePolicyCommandInput - {@link PutResourcePolicyCommandInput}
@@ -58,6 +60,8 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
58
60
  * <p>The input does not satisfy the constraints specified by an Amazon Web Services
59
61
  * service.</p>
60
62
  *
63
+ * @throws {@link VPCLatticeServiceException}
64
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
61
65
  *
62
66
  */
63
67
  export declare class PutResourcePolicyCommand extends $Command<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, VPCLatticeClientResolvedConfig> {
@@ -38,6 +38,23 @@ export interface RegisterTargetsCommandOutput extends RegisterTargetsResponse, _
38
38
  * };
39
39
  * const command = new RegisterTargetsCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // RegisterTargetsResponse
42
+ * // successful: [ // TargetList
43
+ * // { // Target
44
+ * // id: "STRING_VALUE", // required
45
+ * // port: Number("int"),
46
+ * // },
47
+ * // ],
48
+ * // unsuccessful: [ // TargetFailureList
49
+ * // { // TargetFailure
50
+ * // id: "STRING_VALUE",
51
+ * // port: Number("int"),
52
+ * // failureCode: "STRING_VALUE",
53
+ * // failureMessage: "STRING_VALUE",
54
+ * // },
55
+ * // ],
56
+ * // };
57
+ *
41
58
  * ```
42
59
  *
43
60
  * @param RegisterTargetsCommandInput - {@link RegisterTargetsCommandInput}
@@ -69,6 +86,8 @@ export interface RegisterTargetsCommandOutput extends RegisterTargetsResponse, _
69
86
  * <p>The input does not satisfy the constraints specified by an Amazon Web Services
70
87
  * service.</p>
71
88
  *
89
+ * @throws {@link VPCLatticeServiceException}
90
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
72
91
  *
73
92
  */
74
93
  export declare class RegisterTargetsCommand extends $Command<RegisterTargetsCommandInput, RegisterTargetsCommandOutput, VPCLatticeClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
34
34
  * };
35
35
  * const command = new TagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -58,6 +60,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
58
60
  * <p>The input does not satisfy the constraints specified by an Amazon Web Services
59
61
  * service.</p>
60
62
  *
63
+ * @throws {@link VPCLatticeServiceException}
64
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
61
65
  *
62
66
  */
63
67
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, VPCLatticeClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -52,6 +54,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
52
54
  * <p>The input does not satisfy the constraints specified by an Amazon Web Services
53
55
  * service.</p>
54
56
  *
57
+ * @throws {@link VPCLatticeServiceException}
58
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
55
59
  *
56
60
  */
57
61
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, VPCLatticeClientResolvedConfig> {
@@ -32,6 +32,14 @@ export interface UpdateAccessLogSubscriptionCommandOutput extends UpdateAccessLo
32
32
  * };
33
33
  * const command = new UpdateAccessLogSubscriptionCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // UpdateAccessLogSubscriptionResponse
36
+ * // id: "STRING_VALUE", // required
37
+ * // arn: "STRING_VALUE", // required
38
+ * // resourceId: "STRING_VALUE", // required
39
+ * // resourceArn: "STRING_VALUE", // required
40
+ * // destinationArn: "STRING_VALUE", // required
41
+ * // };
42
+ *
35
43
  * ```
36
44
  *
37
45
  * @param UpdateAccessLogSubscriptionCommandInput - {@link UpdateAccessLogSubscriptionCommandInput}
@@ -60,6 +68,8 @@ export interface UpdateAccessLogSubscriptionCommandOutput extends UpdateAccessLo
60
68
  * <p>The input does not satisfy the constraints specified by an Amazon Web Services
61
69
  * service.</p>
62
70
  *
71
+ * @throws {@link VPCLatticeServiceException}
72
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
63
73
  *
64
74
  */
65
75
  export declare class UpdateAccessLogSubscriptionCommand extends $Command<UpdateAccessLogSubscriptionCommandInput, UpdateAccessLogSubscriptionCommandOutput, VPCLatticeClientResolvedConfig> {
@@ -45,6 +45,29 @@ export interface UpdateListenerCommandOutput extends UpdateListenerResponse, __M
45
45
  * };
46
46
  * const command = new UpdateListenerCommand(input);
47
47
  * const response = await client.send(command);
48
+ * // { // UpdateListenerResponse
49
+ * // arn: "STRING_VALUE",
50
+ * // id: "STRING_VALUE",
51
+ * // name: "STRING_VALUE",
52
+ * // protocol: "STRING_VALUE",
53
+ * // port: Number("int"),
54
+ * // serviceArn: "STRING_VALUE",
55
+ * // serviceId: "STRING_VALUE",
56
+ * // defaultAction: { // RuleAction Union: only one key present
57
+ * // forward: { // ForwardAction
58
+ * // targetGroups: [ // WeightedTargetGroupList // required
59
+ * // { // WeightedTargetGroup
60
+ * // targetGroupIdentifier: "STRING_VALUE", // required
61
+ * // weight: Number("int"),
62
+ * // },
63
+ * // ],
64
+ * // },
65
+ * // fixedResponse: { // FixedResponseAction
66
+ * // statusCode: Number("int"), // required
67
+ * // },
68
+ * // },
69
+ * // };
70
+ *
48
71
  * ```
49
72
  *
50
73
  * @param UpdateListenerCommandInput - {@link UpdateListenerCommandInput}
@@ -73,6 +96,8 @@ export interface UpdateListenerCommandOutput extends UpdateListenerResponse, __M
73
96
  * <p>The input does not satisfy the constraints specified by an Amazon Web Services
74
97
  * service.</p>
75
98
  *
99
+ * @throws {@link VPCLatticeServiceException}
100
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
76
101
  *
77
102
  */
78
103
  export declare class UpdateListenerCommand extends $Command<UpdateListenerCommandInput, UpdateListenerCommandOutput, VPCLatticeClientResolvedConfig> {
@@ -71,6 +71,50 @@ export interface UpdateRuleCommandOutput extends UpdateRuleResponse, __MetadataB
71
71
  * };
72
72
  * const command = new UpdateRuleCommand(input);
73
73
  * const response = await client.send(command);
74
+ * // { // UpdateRuleResponse
75
+ * // arn: "STRING_VALUE",
76
+ * // id: "STRING_VALUE",
77
+ * // name: "STRING_VALUE",
78
+ * // isDefault: true || false,
79
+ * // match: { // RuleMatch Union: only one key present
80
+ * // httpMatch: { // HttpMatch
81
+ * // method: "STRING_VALUE",
82
+ * // pathMatch: { // PathMatch
83
+ * // match: { // PathMatchType Union: only one key present
84
+ * // exact: "STRING_VALUE",
85
+ * // prefix: "STRING_VALUE",
86
+ * // },
87
+ * // caseSensitive: true || false,
88
+ * // },
89
+ * // headerMatches: [ // HeaderMatchList
90
+ * // { // HeaderMatch
91
+ * // name: "STRING_VALUE", // required
92
+ * // match: { // HeaderMatchType Union: only one key present
93
+ * // exact: "STRING_VALUE",
94
+ * // prefix: "STRING_VALUE",
95
+ * // contains: "STRING_VALUE",
96
+ * // },
97
+ * // caseSensitive: true || false,
98
+ * // },
99
+ * // ],
100
+ * // },
101
+ * // },
102
+ * // priority: Number("int"),
103
+ * // action: { // RuleAction Union: only one key present
104
+ * // forward: { // ForwardAction
105
+ * // targetGroups: [ // WeightedTargetGroupList // required
106
+ * // { // WeightedTargetGroup
107
+ * // targetGroupIdentifier: "STRING_VALUE", // required
108
+ * // weight: Number("int"),
109
+ * // },
110
+ * // ],
111
+ * // },
112
+ * // fixedResponse: { // FixedResponseAction
113
+ * // statusCode: Number("int"), // required
114
+ * // },
115
+ * // },
116
+ * // };
117
+ *
74
118
  * ```
75
119
  *
76
120
  * @param UpdateRuleCommandInput - {@link UpdateRuleCommandInput}
@@ -99,6 +143,8 @@ export interface UpdateRuleCommandOutput extends UpdateRuleResponse, __MetadataB
99
143
  * <p>The input does not satisfy the constraints specified by an Amazon Web Services
100
144
  * service.</p>
101
145
  *
146
+ * @throws {@link VPCLatticeServiceException}
147
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
102
148
  *
103
149
  */
104
150
  export declare class UpdateRuleCommand extends $Command<UpdateRuleCommandInput, UpdateRuleCommandOutput, VPCLatticeClientResolvedConfig> {
@@ -33,6 +33,15 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
33
33
  * };
34
34
  * const command = new UpdateServiceCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // UpdateServiceResponse
37
+ * // id: "STRING_VALUE",
38
+ * // arn: "STRING_VALUE",
39
+ * // name: "STRING_VALUE",
40
+ * // customDomainName: "STRING_VALUE",
41
+ * // certificateArn: "STRING_VALUE",
42
+ * // authType: "STRING_VALUE",
43
+ * // };
44
+ *
36
45
  * ```
37
46
  *
38
47
  * @param UpdateServiceCommandInput - {@link UpdateServiceCommandInput}
@@ -61,6 +70,8 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
61
70
  * <p>The input does not satisfy the constraints specified by an Amazon Web Services
62
71
  * service.</p>
63
72
  *
73
+ * @throws {@link VPCLatticeServiceException}
74
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
64
75
  *
65
76
  */
66
77
  export declare class UpdateServiceCommand extends $Command<UpdateServiceCommandInput, UpdateServiceCommandOutput, VPCLatticeClientResolvedConfig> {
@@ -32,6 +32,13 @@ export interface UpdateServiceNetworkCommandOutput extends UpdateServiceNetworkR
32
32
  * };
33
33
  * const command = new UpdateServiceNetworkCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // UpdateServiceNetworkResponse
36
+ * // id: "STRING_VALUE",
37
+ * // name: "STRING_VALUE",
38
+ * // arn: "STRING_VALUE",
39
+ * // authType: "STRING_VALUE",
40
+ * // };
41
+ *
35
42
  * ```
36
43
  *
37
44
  * @param UpdateServiceNetworkCommandInput - {@link UpdateServiceNetworkCommandInput}
@@ -60,6 +67,8 @@ export interface UpdateServiceNetworkCommandOutput extends UpdateServiceNetworkR
60
67
  * <p>The input does not satisfy the constraints specified by an Amazon Web Services
61
68
  * service.</p>
62
69
  *
70
+ * @throws {@link VPCLatticeServiceException}
71
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
63
72
  *
64
73
  */
65
74
  export declare class UpdateServiceNetworkCommand extends $Command<UpdateServiceNetworkCommandInput, UpdateServiceNetworkCommandOutput, VPCLatticeClientResolvedConfig> {
@@ -37,6 +37,16 @@ export interface UpdateServiceNetworkVpcAssociationCommandOutput extends UpdateS
37
37
  * };
38
38
  * const command = new UpdateServiceNetworkVpcAssociationCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // UpdateServiceNetworkVpcAssociationResponse
41
+ * // id: "STRING_VALUE",
42
+ * // arn: "STRING_VALUE",
43
+ * // status: "STRING_VALUE",
44
+ * // createdBy: "STRING_VALUE",
45
+ * // securityGroupIds: [ // SecurityGroupList
46
+ * // "STRING_VALUE",
47
+ * // ],
48
+ * // };
49
+ *
40
50
  * ```
41
51
  *
42
52
  * @param UpdateServiceNetworkVpcAssociationCommandInput - {@link UpdateServiceNetworkVpcAssociationCommandInput}
@@ -65,6 +75,8 @@ export interface UpdateServiceNetworkVpcAssociationCommandOutput extends UpdateS
65
75
  * <p>The input does not satisfy the constraints specified by an Amazon Web Services
66
76
  * service.</p>
67
77
  *
78
+ * @throws {@link VPCLatticeServiceException}
79
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
68
80
  *
69
81
  */
70
82
  export declare class UpdateServiceNetworkVpcAssociationCommand extends $Command<UpdateServiceNetworkVpcAssociationCommandInput, UpdateServiceNetworkVpcAssociationCommandOutput, VPCLatticeClientResolvedConfig> {
@@ -45,6 +45,35 @@ export interface UpdateTargetGroupCommandOutput extends UpdateTargetGroupRespons
45
45
  * };
46
46
  * const command = new UpdateTargetGroupCommand(input);
47
47
  * const response = await client.send(command);
48
+ * // { // UpdateTargetGroupResponse
49
+ * // id: "STRING_VALUE",
50
+ * // arn: "STRING_VALUE",
51
+ * // name: "STRING_VALUE",
52
+ * // type: "STRING_VALUE",
53
+ * // config: { // TargetGroupConfig
54
+ * // port: Number("int"), // required
55
+ * // protocol: "STRING_VALUE", // required
56
+ * // protocolVersion: "STRING_VALUE",
57
+ * // ipAddressType: "STRING_VALUE",
58
+ * // vpcIdentifier: "STRING_VALUE", // required
59
+ * // healthCheck: { // HealthCheckConfig
60
+ * // enabled: true || false,
61
+ * // protocol: "STRING_VALUE",
62
+ * // protocolVersion: "STRING_VALUE",
63
+ * // port: Number("int"),
64
+ * // path: "STRING_VALUE",
65
+ * // healthCheckIntervalSeconds: Number("int"),
66
+ * // healthCheckTimeoutSeconds: Number("int"),
67
+ * // healthyThresholdCount: Number("int"),
68
+ * // unhealthyThresholdCount: Number("int"),
69
+ * // matcher: { // Matcher Union: only one key present
70
+ * // httpCode: "STRING_VALUE",
71
+ * // },
72
+ * // },
73
+ * // },
74
+ * // status: "STRING_VALUE",
75
+ * // };
76
+ *
48
77
  * ```
49
78
  *
50
79
  * @param UpdateTargetGroupCommandInput - {@link UpdateTargetGroupCommandInput}
@@ -70,6 +99,8 @@ export interface UpdateTargetGroupCommandOutput extends UpdateTargetGroupRespons
70
99
  * <p>The input does not satisfy the constraints specified by an Amazon Web Services
71
100
  * service.</p>
72
101
  *
102
+ * @throws {@link VPCLatticeServiceException}
103
+ * <p>Base exception class for all service exceptions from VPCLattice service.</p>
73
104
  *
74
105
  */
75
106
  export declare class UpdateTargetGroupCommand extends $Command<UpdateTargetGroupCommandInput, UpdateTargetGroupCommandOutput, VPCLatticeClientResolvedConfig> {
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.325.0",
4
+ "version": "3.326.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.325.0",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.326.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",