@aws-sdk/client-ec2 3.1032.0 → 3.1033.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.
- package/README.md +21 -0
- package/dist-cjs/endpoint/bdd.js +52 -0
- package/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/dist-cjs/index.js +53 -0
- package/dist-cjs/schemas/schemas_0.js +183 -85
- package/dist-es/EC2.js +6 -0
- package/dist-es/commands/AcceptTransitGatewayClientVpnAttachmentCommand.js +16 -0
- package/dist-es/commands/DeleteTransitGatewayClientVpnAttachmentCommand.js +16 -0
- package/dist-es/commands/RejectTransitGatewayClientVpnAttachmentCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/bdd.js +49 -0
- package/dist-es/endpoint/endpointResolver.js +3 -3
- package/dist-es/models/enums.js +10 -0
- package/dist-es/schemas/schemas_0.js +120 -22
- package/dist-types/EC2.d.ts +21 -0
- package/dist-types/EC2Client.d.ts +5 -2
- package/dist-types/commands/AcceptTransitGatewayClientVpnAttachmentCommand.d.ts +82 -0
- package/dist-types/commands/AcceptTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/AssociateClientVpnTargetNetworkCommand.d.ts +3 -1
- package/dist-types/commands/AssociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/commands/AssociateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/dist-types/commands/AssociateTransitGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +10 -1
- package/dist-types/commands/CreateClientVpnRouteCommand.d.ts +1 -1
- package/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateSecondaryNetworkCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayMeteringPolicyEntryCommand.d.ts +4 -4
- package/dist-types/commands/CreateTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayRouteCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClientVpnEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTrafficMirrorFilterCommand.d.ts +2 -1
- package/dist-types/commands/DeleteTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTrafficMirrorSessionCommand.d.ts +1 -2
- package/dist-types/commands/DeleteTransitGatewayClientVpnAttachmentCommand.d.ts +82 -0
- package/dist-types/commands/DeleteTransitGatewayMeteringPolicyEntryCommand.d.ts +2 -2
- package/dist-types/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClientVpnEndpointsCommand.d.ts +11 -1
- package/dist-types/commands/DescribeClientVpnRoutesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeClientVpnTargetNetworksCommand.d.ts +6 -0
- package/dist-types/commands/DescribeInstanceCreditSpecificationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTagsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeTrafficMirrorFilterRulesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrafficMirrorSessionsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
- package/dist-types/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/EnableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
- package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +2 -1
- package/dist-types/commands/GetCoipPoolUsageCommand.d.ts +1 -1
- package/dist-types/commands/GetConsoleOutputCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayMeteringPolicyEntriesCommand.d.ts +2 -2
- package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClientVpnEndpointCommand.d.ts +9 -0
- package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifySnapshotTierCommand.d.ts +1 -1
- package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
- package/dist-types/commands/ModifySubnetAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/dist-types/commands/RejectTransitGatewayClientVpnAttachmentCommand.d.ts +82 -0
- package/dist-types/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
- package/dist-types/commands/SearchTransitGatewayMulticastGroupsCommand.d.ts +1 -1
- package/dist-types/commands/SearchTransitGatewayRoutesCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/models/enums.d.ts +18 -0
- package/dist-types/models/models_0.d.ts +106 -181
- package/dist-types/models/models_1.d.ts +179 -119
- package/dist-types/models/models_2.d.ts +119 -56
- package/dist-types/models/models_3.d.ts +126 -205
- package/dist-types/models/models_4.d.ts +208 -266
- package/dist-types/models/models_5.d.ts +267 -292
- package/dist-types/models/models_6.d.ts +295 -238
- package/dist-types/models/models_7.d.ts +263 -3
- package/dist-types/schemas/schemas_0.d.ts +12 -0
- package/dist-types/ts3.4/EC2.d.ts +69 -0
- package/dist-types/ts3.4/EC2Client.d.ts +18 -0
- package/dist-types/ts3.4/commands/AcceptTransitGatewayClientVpnAttachmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateSecondaryNetworkCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTrafficMirrorFilterCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTrafficMirrorSessionCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteTransitGatewayClientVpnAttachmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeInstanceCreditSpecificationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeTrafficMirrorFilterRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrafficMirrorSessionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetCoipPoolUsageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetConsoleOutputCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySnapshotTierCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySubnetAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectTransitGatewayClientVpnAttachmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +12 -0
- package/dist-types/ts3.4/models/models_0.d.ts +30 -36
- package/dist-types/ts3.4/models/models_1.d.ts +33 -33
- package/dist-types/ts3.4/models/models_2.d.ts +31 -15
- package/dist-types/ts3.4/models/models_3.d.ts +36 -33
- package/dist-types/ts3.4/models/models_4.d.ts +36 -44
- package/dist-types/ts3.4/models/models_5.d.ts +43 -48
- package/dist-types/ts3.4/models/models_6.d.ts +52 -51
- package/dist-types/ts3.4/models/models_7.d.ts +61 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
- package/package.json +5 -5
- package/dist-cjs/endpoint/ruleset.js +0 -7
- package/dist-es/endpoint/ruleset.js +0 -4
- package/dist-types/endpoint/ruleset.d.ts +0 -2
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import type { DeleteTrafficMirrorFilterRuleRequest, DeleteTrafficMirrorFilterRuleResult } from "../models/
|
|
4
|
+
import type { DeleteTrafficMirrorFilterRuleRequest, DeleteTrafficMirrorFilterRuleResult } from "../models/models_3";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import type { DeleteTrafficMirrorSessionRequest } from "../models/
|
|
5
|
-
import type { DeleteTrafficMirrorSessionResult } from "../models/models_3";
|
|
4
|
+
import type { DeleteTrafficMirrorSessionRequest, DeleteTrafficMirrorSessionResult } from "../models/models_3";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
+
import type { DeleteTransitGatewayClientVpnAttachmentRequest, DeleteTransitGatewayClientVpnAttachmentResult } from "../models/models_3";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteTransitGatewayClientVpnAttachmentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteTransitGatewayClientVpnAttachmentCommandInput extends DeleteTransitGatewayClientVpnAttachmentRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteTransitGatewayClientVpnAttachmentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteTransitGatewayClientVpnAttachmentCommandOutput extends DeleteTransitGatewayClientVpnAttachmentResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteTransitGatewayClientVpnAttachmentCommand_base: {
|
|
25
|
+
new (input: DeleteTransitGatewayClientVpnAttachmentCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTransitGatewayClientVpnAttachmentCommandInput, DeleteTransitGatewayClientVpnAttachmentCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteTransitGatewayClientVpnAttachmentCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTransitGatewayClientVpnAttachmentCommandInput, DeleteTransitGatewayClientVpnAttachmentCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a Transit Gateway attachment for a Client VPN endpoint. The Transit Gateway owner can delete the attachment to remove the association between the Client VPN endpoint and the Transit Gateway.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EC2Client, DeleteTransitGatewayClientVpnAttachmentCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
35
|
+
* // const { EC2Client, DeleteTransitGatewayClientVpnAttachmentCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
36
|
+
* // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
|
|
37
|
+
* const config = {}; // type is EC2ClientConfig
|
|
38
|
+
* const client = new EC2Client(config);
|
|
39
|
+
* const input = { // DeleteTransitGatewayClientVpnAttachmentRequest
|
|
40
|
+
* TransitGatewayAttachmentId: "STRING_VALUE", // required
|
|
41
|
+
* DryRun: true || false,
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeleteTransitGatewayClientVpnAttachmentCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // DeleteTransitGatewayClientVpnAttachmentResult
|
|
46
|
+
* // TransitGatewayClientVpnAttachment: { // TransitGatewayClientVpnAttachment
|
|
47
|
+
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
48
|
+
* // TransitGatewayId: "STRING_VALUE",
|
|
49
|
+
* // ClientVpnEndpointId: "STRING_VALUE",
|
|
50
|
+
* // ClientVpnOwnerId: "STRING_VALUE",
|
|
51
|
+
* // State: "pending-acceptance" || "pending" || "rejected" || "available" || "deleting" || "deleted",
|
|
52
|
+
* // CreationTime: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param DeleteTransitGatewayClientVpnAttachmentCommandInput - {@link DeleteTransitGatewayClientVpnAttachmentCommandInput}
|
|
59
|
+
* @returns {@link DeleteTransitGatewayClientVpnAttachmentCommandOutput}
|
|
60
|
+
* @see {@link DeleteTransitGatewayClientVpnAttachmentCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link DeleteTransitGatewayClientVpnAttachmentCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link EC2ServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
66
|
+
*
|
|
67
|
+
*
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class DeleteTransitGatewayClientVpnAttachmentCommand extends DeleteTransitGatewayClientVpnAttachmentCommand_base {
|
|
71
|
+
/** @internal type navigation helper, not in runtime. */
|
|
72
|
+
protected static __types: {
|
|
73
|
+
api: {
|
|
74
|
+
input: DeleteTransitGatewayClientVpnAttachmentRequest;
|
|
75
|
+
output: DeleteTransitGatewayClientVpnAttachmentResult;
|
|
76
|
+
};
|
|
77
|
+
sdk: {
|
|
78
|
+
input: DeleteTransitGatewayClientVpnAttachmentCommandInput;
|
|
79
|
+
output: DeleteTransitGatewayClientVpnAttachmentCommandOutput;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -52,11 +52,11 @@ declare const DeleteTransitGatewayMeteringPolicyEntryCommand_base: {
|
|
|
52
52
|
* // UpdateEffectiveAt: new Date("TIMESTAMP"),
|
|
53
53
|
* // MeteringPolicyRule: { // TransitGatewayMeteringPolicyRule
|
|
54
54
|
* // SourceTransitGatewayAttachmentId: "STRING_VALUE",
|
|
55
|
-
* // SourceTransitGatewayAttachmentType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
|
|
55
|
+
* // SourceTransitGatewayAttachmentType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
|
|
56
56
|
* // SourceCidrBlock: "STRING_VALUE",
|
|
57
57
|
* // SourcePortRange: "STRING_VALUE",
|
|
58
58
|
* // DestinationTransitGatewayAttachmentId: "STRING_VALUE",
|
|
59
|
-
* // DestinationTransitGatewayAttachmentType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
|
|
59
|
+
* // DestinationTransitGatewayAttachmentType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
|
|
60
60
|
* // DestinationCidrBlock: "STRING_VALUE",
|
|
61
61
|
* // DestinationPortRange: "STRING_VALUE",
|
|
62
62
|
* // Protocol: "STRING_VALUE",
|
|
@@ -52,7 +52,7 @@ declare const DeleteTransitGatewayPrefixListReferenceCommand_base: {
|
|
|
52
52
|
* // Blackhole: true || false,
|
|
53
53
|
* // TransitGatewayAttachment: { // TransitGatewayPrefixListAttachment
|
|
54
54
|
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
55
|
-
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
|
|
55
|
+
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
|
|
56
56
|
* // ResourceId: "STRING_VALUE",
|
|
57
57
|
* // },
|
|
58
58
|
* // },
|
|
@@ -52,7 +52,7 @@ declare const DeleteTransitGatewayRouteCommand_base: {
|
|
|
52
52
|
* // { // TransitGatewayRouteAttachment
|
|
53
53
|
* // ResourceId: "STRING_VALUE",
|
|
54
54
|
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
55
|
-
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
|
|
55
|
+
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
|
|
56
56
|
* // },
|
|
57
57
|
* // ],
|
|
58
58
|
* // Type: "static" || "propagated",
|
|
@@ -60,7 +60,7 @@ declare const DescribeClientVpnEndpointsCommand_base: {
|
|
|
60
60
|
* // ClientVpnEndpointId: "STRING_VALUE",
|
|
61
61
|
* // Description: "STRING_VALUE",
|
|
62
62
|
* // Status: { // ClientVpnEndpointStatus
|
|
63
|
-
* // Code: "pending-associate" || "available" || "deleting" || "deleted",
|
|
63
|
+
* // Code: "pending-associate" || "available" || "deleting" || "deleted" || "pending",
|
|
64
64
|
* // Message: "STRING_VALUE",
|
|
65
65
|
* // },
|
|
66
66
|
* // CreationTime: "STRING_VALUE",
|
|
@@ -131,6 +131,16 @@ declare const DescribeClientVpnEndpointsCommand_base: {
|
|
|
131
131
|
* // DisconnectOnSessionTimeout: true || false,
|
|
132
132
|
* // EndpointIpAddressType: "ipv4" || "ipv6" || "dual-stack",
|
|
133
133
|
* // TrafficIpAddressType: "ipv4" || "ipv6" || "dual-stack",
|
|
134
|
+
* // TransitGatewayConfiguration: { // TransitGatewayConfigurationDescribeEndpointStructure
|
|
135
|
+
* // TransitGatewayId: "STRING_VALUE",
|
|
136
|
+
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
137
|
+
* // AvailabilityZones: [ // ClientVpnAvailabilityZoneSet
|
|
138
|
+
* // "STRING_VALUE",
|
|
139
|
+
* // ],
|
|
140
|
+
* // AvailabilityZoneIds: [ // ClientVpnAvailabilityZoneIdSet
|
|
141
|
+
* // "STRING_VALUE",
|
|
142
|
+
* // ],
|
|
143
|
+
* // },
|
|
134
144
|
* // },
|
|
135
145
|
* // ],
|
|
136
146
|
* // NextToken: "STRING_VALUE",
|
|
@@ -69,6 +69,12 @@ declare const DescribeClientVpnTargetNetworksCommand_base: {
|
|
|
69
69
|
* // SecurityGroups: [ // ValueStringList
|
|
70
70
|
* // "STRING_VALUE",
|
|
71
71
|
* // ],
|
|
72
|
+
* // AvailabilityZones: [ // ClientVpnAvailabilityZoneSet
|
|
73
|
+
* // "STRING_VALUE",
|
|
74
|
+
* // ],
|
|
75
|
+
* // AvailabilityZoneIds: [ // ClientVpnAvailabilityZoneIdSet
|
|
76
|
+
* // "STRING_VALUE",
|
|
77
|
+
* // ],
|
|
72
78
|
* // },
|
|
73
79
|
* // ],
|
|
74
80
|
* // NextToken: "STRING_VALUE",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import type { DescribeInstanceCreditSpecificationsRequest, DescribeInstanceCreditSpecificationsResult } from "../models/
|
|
4
|
+
import type { DescribeInstanceCreditSpecificationsRequest, DescribeInstanceCreditSpecificationsResult } from "../models/models_4";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import type { DescribeInstanceEventNotificationAttributesRequest, DescribeInstanceEventNotificationAttributesResult } from "../models/
|
|
4
|
+
import type { DescribeInstanceEventNotificationAttributesRequest, DescribeInstanceEventNotificationAttributesResult } from "../models/models_4";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import type { DescribeInstanceEventWindowsRequest, DescribeInstanceEventWindowsResult } from "../models/
|
|
4
|
+
import type { DescribeInstanceEventWindowsRequest, DescribeInstanceEventWindowsResult } from "../models/models_4";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import type { DescribeTagsRequest
|
|
4
|
+
import type { DescribeTagsRequest } from "../models/models_4";
|
|
5
|
+
import type { DescribeTagsResult } from "../models/models_5";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import type { DescribeTrafficMirrorFilterRulesRequest, DescribeTrafficMirrorFilterRulesResult } from "../models/
|
|
4
|
+
import type { DescribeTrafficMirrorFilterRulesRequest, DescribeTrafficMirrorFilterRulesResult } from "../models/models_5";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import type { DescribeTrafficMirrorFiltersRequest, DescribeTrafficMirrorFiltersResult } from "../models/
|
|
4
|
+
import type { DescribeTrafficMirrorFiltersRequest, DescribeTrafficMirrorFiltersResult } from "../models/models_5";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import type { DescribeTrafficMirrorSessionsRequest } from "../models/
|
|
5
|
-
import type { DescribeTrafficMirrorSessionsResult } from "../models/models_5";
|
|
4
|
+
import type { DescribeTrafficMirrorSessionsRequest, DescribeTrafficMirrorSessionsResult } from "../models/models_5";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -62,7 +62,7 @@ declare const DescribeTransitGatewayAttachmentsCommand_base: {
|
|
|
62
62
|
* // TransitGatewayId: "STRING_VALUE",
|
|
63
63
|
* // TransitGatewayOwnerId: "STRING_VALUE",
|
|
64
64
|
* // ResourceOwnerId: "STRING_VALUE",
|
|
65
|
-
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
|
|
65
|
+
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
|
|
66
66
|
* // ResourceId: "STRING_VALUE",
|
|
67
67
|
* // State: "initiating" || "initiatingRequest" || "pendingAcceptance" || "rollingBack" || "pending" || "available" || "modifying" || "deleting" || "deleted" || "failed" || "rejected" || "rejecting" || "failing",
|
|
68
68
|
* // Association: { // TransitGatewayAttachmentAssociation
|
|
@@ -49,7 +49,7 @@ declare const DisableTransitGatewayRouteTablePropagationCommand_base: {
|
|
|
49
49
|
* // Propagation: { // TransitGatewayPropagation
|
|
50
50
|
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
51
51
|
* // ResourceId: "STRING_VALUE",
|
|
52
|
-
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
|
|
52
|
+
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
|
|
53
53
|
* // TransitGatewayRouteTableId: "STRING_VALUE",
|
|
54
54
|
* // State: "enabling" || "enabled" || "disabling" || "disabled",
|
|
55
55
|
* // TransitGatewayRouteTableAnnouncementId: "STRING_VALUE",
|
|
@@ -51,7 +51,7 @@ declare const DisassociateTransitGatewayMulticastDomainCommand_base: {
|
|
|
51
51
|
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
|
|
52
52
|
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
53
53
|
* // ResourceId: "STRING_VALUE",
|
|
54
|
-
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
|
|
54
|
+
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
|
|
55
55
|
* // ResourceOwnerId: "STRING_VALUE",
|
|
56
56
|
* // Subnets: [ // SubnetAssociationList
|
|
57
57
|
* // { // SubnetAssociation
|
|
@@ -48,7 +48,7 @@ declare const DisassociateTransitGatewayPolicyTableCommand_base: {
|
|
|
48
48
|
* // TransitGatewayPolicyTableId: "STRING_VALUE",
|
|
49
49
|
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
50
50
|
* // ResourceId: "STRING_VALUE",
|
|
51
|
-
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
|
|
51
|
+
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
|
|
52
52
|
* // State: "associating" || "associated" || "disassociating" || "disassociated",
|
|
53
53
|
* // },
|
|
54
54
|
* // };
|
|
@@ -48,7 +48,7 @@ declare const DisassociateTransitGatewayRouteTableCommand_base: {
|
|
|
48
48
|
* // TransitGatewayRouteTableId: "STRING_VALUE",
|
|
49
49
|
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
50
50
|
* // ResourceId: "STRING_VALUE",
|
|
51
|
-
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
|
|
51
|
+
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
|
|
52
52
|
* // State: "associating" || "associated" || "disassociating" || "disassociated",
|
|
53
53
|
* // },
|
|
54
54
|
* // };
|
|
@@ -49,7 +49,7 @@ declare const EnableTransitGatewayRouteTablePropagationCommand_base: {
|
|
|
49
49
|
* // Propagation: { // TransitGatewayPropagation
|
|
50
50
|
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
51
51
|
* // ResourceId: "STRING_VALUE",
|
|
52
|
-
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
|
|
52
|
+
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
|
|
53
53
|
* // TransitGatewayRouteTableId: "STRING_VALUE",
|
|
54
54
|
* // State: "enabling" || "enabled" || "disabling" || "disabled",
|
|
55
55
|
* // TransitGatewayRouteTableAnnouncementId: "STRING_VALUE",
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import type { GetCapacityReservationUsageRequest
|
|
4
|
+
import type { GetCapacityReservationUsageRequest } from "../models/models_5";
|
|
5
|
+
import type { GetCapacityReservationUsageResult } from "../models/models_6";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import type { GetCoipPoolUsageRequest, GetCoipPoolUsageResult } from "../models/
|
|
4
|
+
import type { GetCoipPoolUsageRequest, GetCoipPoolUsageResult } from "../models/models_6";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import type { GetConsoleOutputRequest, GetConsoleOutputResult } from "../models/
|
|
4
|
+
import type { GetConsoleOutputRequest, GetConsoleOutputResult } from "../models/models_6";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -62,11 +62,11 @@ declare const GetTransitGatewayMeteringPolicyEntriesCommand_base: {
|
|
|
62
62
|
* // UpdateEffectiveAt: new Date("TIMESTAMP"),
|
|
63
63
|
* // MeteringPolicyRule: { // TransitGatewayMeteringPolicyRule
|
|
64
64
|
* // SourceTransitGatewayAttachmentId: "STRING_VALUE",
|
|
65
|
-
* // SourceTransitGatewayAttachmentType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
|
|
65
|
+
* // SourceTransitGatewayAttachmentType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
|
|
66
66
|
* // SourceCidrBlock: "STRING_VALUE",
|
|
67
67
|
* // SourcePortRange: "STRING_VALUE",
|
|
68
68
|
* // DestinationTransitGatewayAttachmentId: "STRING_VALUE",
|
|
69
|
-
* // DestinationTransitGatewayAttachmentType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
|
|
69
|
+
* // DestinationTransitGatewayAttachmentType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
|
|
70
70
|
* // DestinationCidrBlock: "STRING_VALUE",
|
|
71
71
|
* // DestinationPortRange: "STRING_VALUE",
|
|
72
72
|
* // Protocol: "STRING_VALUE",
|
|
@@ -57,7 +57,7 @@ declare const GetTransitGatewayMulticastDomainAssociationsCommand_base: {
|
|
|
57
57
|
* // { // TransitGatewayMulticastDomainAssociation
|
|
58
58
|
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
59
59
|
* // ResourceId: "STRING_VALUE",
|
|
60
|
-
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
|
|
60
|
+
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
|
|
61
61
|
* // ResourceOwnerId: "STRING_VALUE",
|
|
62
62
|
* // Subnet: { // SubnetAssociation
|
|
63
63
|
* // SubnetId: "STRING_VALUE",
|
|
@@ -58,7 +58,7 @@ declare const GetTransitGatewayPolicyTableAssociationsCommand_base: {
|
|
|
58
58
|
* // TransitGatewayPolicyTableId: "STRING_VALUE",
|
|
59
59
|
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
60
60
|
* // ResourceId: "STRING_VALUE",
|
|
61
|
-
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
|
|
61
|
+
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
|
|
62
62
|
* // State: "associating" || "associated" || "disassociating" || "disassociated",
|
|
63
63
|
* // },
|
|
64
64
|
* // ],
|
|
@@ -62,7 +62,7 @@ declare const GetTransitGatewayPrefixListReferencesCommand_base: {
|
|
|
62
62
|
* // Blackhole: true || false,
|
|
63
63
|
* // TransitGatewayAttachment: { // TransitGatewayPrefixListAttachment
|
|
64
64
|
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
65
|
-
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
|
|
65
|
+
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
|
|
66
66
|
* // ResourceId: "STRING_VALUE",
|
|
67
67
|
* // },
|
|
68
68
|
* // },
|
|
@@ -57,7 +57,7 @@ declare const GetTransitGatewayRouteTableAssociationsCommand_base: {
|
|
|
57
57
|
* // { // TransitGatewayRouteTableAssociation
|
|
58
58
|
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
59
59
|
* // ResourceId: "STRING_VALUE",
|
|
60
|
-
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
|
|
60
|
+
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
|
|
61
61
|
* // State: "associating" || "associated" || "disassociating" || "disassociated",
|
|
62
62
|
* // },
|
|
63
63
|
* // ],
|
|
@@ -57,7 +57,7 @@ declare const GetTransitGatewayRouteTablePropagationsCommand_base: {
|
|
|
57
57
|
* // { // TransitGatewayRouteTablePropagation
|
|
58
58
|
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
59
59
|
* // ResourceId: "STRING_VALUE",
|
|
60
|
-
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
|
|
60
|
+
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
|
|
61
61
|
* // State: "enabling" || "enabled" || "disabling" || "disabled",
|
|
62
62
|
* // TransitGatewayRouteTableAnnouncementId: "STRING_VALUE",
|
|
63
63
|
* // },
|
|
@@ -72,6 +72,15 @@ declare const ModifyClientVpnEndpointCommand_base: {
|
|
|
72
72
|
* Enforced: true || false,
|
|
73
73
|
* },
|
|
74
74
|
* DisconnectOnSessionTimeout: true || false,
|
|
75
|
+
* TransitGatewayConfiguration: { // TransitGatewayConfigurationInputStructure
|
|
76
|
+
* TransitGatewayId: "STRING_VALUE",
|
|
77
|
+
* AvailabilityZones: [ // ClientVpnAvailabilityZoneSet
|
|
78
|
+
* "STRING_VALUE",
|
|
79
|
+
* ],
|
|
80
|
+
* AvailabilityZoneIds: [ // ClientVpnAvailabilityZoneIdSet
|
|
81
|
+
* "STRING_VALUE",
|
|
82
|
+
* ],
|
|
83
|
+
* },
|
|
75
84
|
* };
|
|
76
85
|
* const command = new ModifyClientVpnEndpointCommand(input);
|
|
77
86
|
* const response = await client.send(command);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import type { ModifySnapshotAttributeRequest } from "../models/
|
|
4
|
+
import type { ModifySnapshotAttributeRequest } from "../models/models_7";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import type { ModifySnapshotTierRequest, ModifySnapshotTierResult } from "../models/
|
|
4
|
+
import type { ModifySnapshotTierRequest, ModifySnapshotTierResult } from "../models/models_7";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import type { ModifySpotFleetRequestRequest, ModifySpotFleetRequestResponse } from "../models/
|
|
4
|
+
import type { ModifySpotFleetRequestRequest, ModifySpotFleetRequestResponse } from "../models/models_7";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import type { ModifySubnetAttributeRequest } from "../models/
|
|
4
|
+
import type { ModifySubnetAttributeRequest } from "../models/models_7";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -54,7 +54,7 @@ declare const ModifyTransitGatewayPrefixListReferenceCommand_base: {
|
|
|
54
54
|
* // Blackhole: true || false,
|
|
55
55
|
* // TransitGatewayAttachment: { // TransitGatewayPrefixListAttachment
|
|
56
56
|
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
57
|
-
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
|
|
57
|
+
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
|
|
58
58
|
* // ResourceId: "STRING_VALUE",
|
|
59
59
|
* // },
|
|
60
60
|
* // },
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
+
import type { RejectTransitGatewayClientVpnAttachmentRequest, RejectTransitGatewayClientVpnAttachmentResult } from "../models/models_7";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link RejectTransitGatewayClientVpnAttachmentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface RejectTransitGatewayClientVpnAttachmentCommandInput extends RejectTransitGatewayClientVpnAttachmentRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link RejectTransitGatewayClientVpnAttachmentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface RejectTransitGatewayClientVpnAttachmentCommandOutput extends RejectTransitGatewayClientVpnAttachmentResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const RejectTransitGatewayClientVpnAttachmentCommand_base: {
|
|
25
|
+
new (input: RejectTransitGatewayClientVpnAttachmentCommandInput): import("@smithy/smithy-client").CommandImpl<RejectTransitGatewayClientVpnAttachmentCommandInput, RejectTransitGatewayClientVpnAttachmentCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: RejectTransitGatewayClientVpnAttachmentCommandInput): import("@smithy/smithy-client").CommandImpl<RejectTransitGatewayClientVpnAttachmentCommandInput, RejectTransitGatewayClientVpnAttachmentCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Rejects a Transit Gateway attachment request for a Client VPN endpoint. The Transit Gateway owner can reject the attachment request to prevent the Client VPN endpoint from routing traffic through the Transit Gateway.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EC2Client, RejectTransitGatewayClientVpnAttachmentCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
35
|
+
* // const { EC2Client, RejectTransitGatewayClientVpnAttachmentCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
36
|
+
* // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
|
|
37
|
+
* const config = {}; // type is EC2ClientConfig
|
|
38
|
+
* const client = new EC2Client(config);
|
|
39
|
+
* const input = { // RejectTransitGatewayClientVpnAttachmentRequest
|
|
40
|
+
* TransitGatewayAttachmentId: "STRING_VALUE", // required
|
|
41
|
+
* DryRun: true || false,
|
|
42
|
+
* };
|
|
43
|
+
* const command = new RejectTransitGatewayClientVpnAttachmentCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // RejectTransitGatewayClientVpnAttachmentResult
|
|
46
|
+
* // TransitGatewayClientVpnAttachment: { // TransitGatewayClientVpnAttachment
|
|
47
|
+
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
48
|
+
* // TransitGatewayId: "STRING_VALUE",
|
|
49
|
+
* // ClientVpnEndpointId: "STRING_VALUE",
|
|
50
|
+
* // ClientVpnOwnerId: "STRING_VALUE",
|
|
51
|
+
* // State: "pending-acceptance" || "pending" || "rejected" || "available" || "deleting" || "deleted",
|
|
52
|
+
* // CreationTime: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param RejectTransitGatewayClientVpnAttachmentCommandInput - {@link RejectTransitGatewayClientVpnAttachmentCommandInput}
|
|
59
|
+
* @returns {@link RejectTransitGatewayClientVpnAttachmentCommandOutput}
|
|
60
|
+
* @see {@link RejectTransitGatewayClientVpnAttachmentCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link RejectTransitGatewayClientVpnAttachmentCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link EC2ServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
66
|
+
*
|
|
67
|
+
*
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class RejectTransitGatewayClientVpnAttachmentCommand extends RejectTransitGatewayClientVpnAttachmentCommand_base {
|
|
71
|
+
/** @internal type navigation helper, not in runtime. */
|
|
72
|
+
protected static __types: {
|
|
73
|
+
api: {
|
|
74
|
+
input: RejectTransitGatewayClientVpnAttachmentRequest;
|
|
75
|
+
output: RejectTransitGatewayClientVpnAttachmentResult;
|
|
76
|
+
};
|
|
77
|
+
sdk: {
|
|
78
|
+
input: RejectTransitGatewayClientVpnAttachmentCommandInput;
|
|
79
|
+
output: RejectTransitGatewayClientVpnAttachmentCommandOutput;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -51,7 +51,7 @@ declare const RejectTransitGatewayMulticastDomainAssociationsCommand_base: {
|
|
|
51
51
|
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
|
|
52
52
|
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
53
53
|
* // ResourceId: "STRING_VALUE",
|
|
54
|
-
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
|
|
54
|
+
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
|
|
55
55
|
* // ResourceOwnerId: "STRING_VALUE",
|
|
56
56
|
* // Subnets: [ // SubnetAssociationList
|
|
57
57
|
* // { // SubnetAssociation
|
|
@@ -54,7 +54,7 @@ declare const ReplaceTransitGatewayRouteCommand_base: {
|
|
|
54
54
|
* // { // TransitGatewayRouteAttachment
|
|
55
55
|
* // ResourceId: "STRING_VALUE",
|
|
56
56
|
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
57
|
-
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
|
|
57
|
+
* // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
|
|
58
58
|
* // },
|
|
59
59
|
* // ],
|
|
60
60
|
* // Type: "static" || "propagated",
|