@aws-sdk/client-ec2 3.1169.0 → 3.1171.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 +49 -0
- package/dist-cjs/index.js +492 -46
- package/dist-es/EC2.js +14 -0
- package/dist-es/commands/AssociateKmsKeyIdCommand.js +4 -0
- package/dist-es/commands/CreateTransitGatewayNetworkFunctionAttachmentCommand.js +4 -0
- package/dist-es/commands/DeleteTransitGatewayNetworkFunctionAttachmentCommand.js +4 -0
- package/dist-es/commands/DescribeTransitGatewayNetworkFunctionAttachmentsCommand.js +4 -0
- package/dist-es/commands/DisassociateKmsKeyIdCommand.js +4 -0
- package/dist-es/commands/ModifyTransitGatewayNetworkFunctionAttachmentCommand.js +4 -0
- package/dist-es/commands/ModifyTransitGatewayPeeringAttachmentCommand.js +4 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/enums.js +24 -0
- package/dist-es/schemas/schemas_0.js +394 -45
- package/dist-types/EC2.d.ts +50 -0
- package/dist-types/EC2Client.d.ts +9 -2
- package/dist-types/commands/AcceptTransitGatewayPeeringAttachmentCommand.d.ts +5 -0
- package/dist-types/commands/AcceptVpcEndpointConnectionsCommand.d.ts +3 -0
- package/dist-types/commands/AcceptVpcPeeringConnectionCommand.d.ts +10 -0
- package/dist-types/commands/AssociateKmsKeyIdCommand.d.ts +78 -0
- package/dist-types/commands/CreateCapacityReservationDateChangeQuoteCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkingFlexCostAllocationPolicyCommand.d.ts +1 -2
- package/dist-types/commands/CreateSnapshotCommand.d.ts +5 -0
- package/dist-types/commands/CreateTransitGatewayNetworkFunctionAttachmentCommand.d.ts +115 -0
- package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +7 -0
- package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +11 -0
- package/dist-types/commands/CreateVpnConnectionCommand.d.ts +44 -0
- package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInternetGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIpamCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIpamInternetRegistryAssociationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIpamPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayNetworkFunctionAttachmentCommand.d.ts +92 -0
- package/dist-types/commands/DeleteTransitGatewayPeeringAttachmentCommand.d.ts +5 -0
- package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +20 -0
- package/dist-types/commands/DescribeConversionTasksCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCustomerGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDeclarativePoliciesReportsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDhcpOptionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEgressOnlyInternetGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/DescribeElasticGpusCommand.d.ts +1 -2
- package/dist-types/commands/DescribeNetworkInsightsAnalysesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNetworkInsightsPathsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNetworkInterfacePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOutpostLagsCommand.d.ts +1 -1
- package/dist-types/commands/DescribePlacementGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeTransitGatewayNetworkFunctionAttachmentsCommand.d.ts +107 -0
- package/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeVpcEndpointConnectionsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeVpcEndpointServicePermissionsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +22 -0
- package/dist-types/commands/DisableRouteServerPropagationCommand.d.ts +1 -1
- package/dist-types/commands/DisableSerialConsoleAccessCommand.d.ts +1 -1
- package/dist-types/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +1 -1
- package/dist-types/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
- package/dist-types/commands/DisableVgwRoutePropagationCommand.d.ts +1 -1
- package/dist-types/commands/DisableVpcClassicLinkCommand.d.ts +1 -1
- package/dist-types/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateAddressCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateApplicationStatusCheckCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateKmsKeyIdCommand.d.ts +75 -0
- package/dist-types/commands/GetActiveVpnTunnelStatusCommand.d.ts +12 -0
- package/dist-types/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +2 -1
- package/dist-types/commands/GetRouteServerAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/GetRouteServerPropagationsCommand.d.ts +1 -1
- package/dist-types/commands/GetRouteServerRoutingDatabaseCommand.d.ts +1 -1
- package/dist-types/commands/GetSecurityGroupsForVpcCommand.d.ts +1 -1
- package/dist-types/commands/GetSerialConsoleAccessStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTransitGatewayNetworkFunctionAttachmentCommand.d.ts +109 -0
- package/dist-types/commands/ModifyTransitGatewayPeeringAttachmentCommand.d.ts +119 -0
- package/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +7 -0
- package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +14 -0
- package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +2 -1
- package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +23 -1
- package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +23 -1
- package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +23 -1
- package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +45 -1
- package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -1
- package/dist-types/commands/MoveAddressToVpcCommand.d.ts +1 -1
- package/dist-types/commands/MoveByoipCidrToIpamCommand.d.ts +1 -1
- package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
- package/dist-types/commands/ProvisionIpamByoasnCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +76 -0
- package/dist-types/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +5 -0
- package/dist-types/commands/RejectVpcEndpointConnectionsCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/enums.d.ts +72 -0
- package/dist-types/models/models_0.d.ts +240 -191
- package/dist-types/models/models_1.d.ts +192 -245
- package/dist-types/models/models_2.d.ts +461 -205
- package/dist-types/models/models_3.d.ts +319 -552
- package/dist-types/models/models_4.d.ts +5371 -5688
- package/dist-types/models/models_5.d.ts +958 -316
- package/dist-types/models/models_6.d.ts +3931 -4096
- package/dist-types/models/models_7.d.ts +4820 -4882
- package/dist-types/models/models_8.d.ts +776 -7
- package/dist-types/schemas/schemas_0.d.ts +32 -0
- package/dist-types/ts3.4/EC2.d.ts +120 -0
- package/dist-types/ts3.4/EC2Client.d.ts +42 -0
- package/dist-types/ts3.4/commands/AssociateKmsKeyIdCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateCapacityReservationDateChangeQuoteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateNetworkingFlexCostAllocationPolicyCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateTransitGatewayNetworkFunctionAttachmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteInternetGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteIpamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteIpamInternetRegistryAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteIpamPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTransitGatewayNetworkFunctionAttachmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeConversionTasksCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeCustomerGatewaysCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDeclarativePoliciesReportsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDhcpOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEgressOnlyInternetGatewaysCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeElasticGpusCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeNetworkInsightsAnalysesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeNetworkInsightsPathsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeNetworkInterfacePermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeNetworkInterfacesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeOutpostLagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribePlacementGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayNetworkFunctionAttachmentsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DisableRouteServerPropagationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableSerialConsoleAccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableVgwRoutePropagationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableVpcClassicLinkCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateAddressCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateApplicationStatusCheckCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateKmsKeyIdCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetRouteServerAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetRouteServerPropagationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetRouteServerRoutingDatabaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSecurityGroupsForVpcCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSerialConsoleAccessStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTransitGatewayNetworkFunctionAttachmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ModifyTransitGatewayPeeringAttachmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ModifyVpcTenancyCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/MoveAddressToVpcCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/MoveByoipCidrToIpamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/MoveCapacityReservationInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ProvisionByoipCidrCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ProvisionIpamByoasnCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/enums.d.ts +35 -0
- package/dist-types/ts3.4/models/models_0.d.ts +51 -39
- package/dist-types/ts3.4/models/models_1.d.ts +39 -50
- package/dist-types/ts3.4/models/models_2.d.ts +94 -50
- package/dist-types/ts3.4/models/models_3.d.ts +77 -104
- package/dist-types/ts3.4/models/models_4.d.ts +107 -121
- package/dist-types/ts3.4/models/models_5.d.ts +133 -82
- package/dist-types/ts3.4/models/models_6.d.ts +96 -111
- package/dist-types/ts3.4/models/models_7.d.ts +147 -155
- package/dist-types/ts3.4/models/models_8.d.ts +159 -11
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +32 -0
- package/package.json +1 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { AssociateKmsKeyIdRequest, AssociateKmsKeyIdResult } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link AssociateKmsKeyIdCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface AssociateKmsKeyIdCommandInput extends AssociateKmsKeyIdRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link AssociateKmsKeyIdCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface AssociateKmsKeyIdCommandOutput extends AssociateKmsKeyIdResult, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const AssociateKmsKeyIdCommand_base: {
|
|
22
|
+
new (input: AssociateKmsKeyIdCommandInput): import("@smithy/core/client").CommandImpl<AssociateKmsKeyIdCommandInput, AssociateKmsKeyIdCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AssociateKmsKeyIdCommandInput): import("@smithy/core/client").CommandImpl<AssociateKmsKeyIdCommandInput, AssociateKmsKeyIdCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Associates an additional KMS key with an encrypted Amazon EBS snapshot. With the
|
|
28
|
+
* associated key, you have a second, independent way to access the snapshot's data, in
|
|
29
|
+
* addition to the key the snapshot is already encrypted under. Associating a key doesn't
|
|
30
|
+
* re-encrypt the snapshot or grant access to its original key.</p>
|
|
31
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/associated-kms-keys.html">Associated
|
|
32
|
+
* KMS keys</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { EC2Client, AssociateKmsKeyIdCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
37
|
+
* // const { EC2Client, AssociateKmsKeyIdCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
38
|
+
* // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
|
|
39
|
+
* const config = {}; // type is EC2ClientConfig
|
|
40
|
+
* const client = new EC2Client(config);
|
|
41
|
+
* const input = { // AssociateKmsKeyIdRequest
|
|
42
|
+
* SnapshotId: "STRING_VALUE",
|
|
43
|
+
* KmsKeyId: "STRING_VALUE", // required
|
|
44
|
+
* DryRun: true || false,
|
|
45
|
+
* };
|
|
46
|
+
* const command = new AssociateKmsKeyIdCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // AssociateKmsKeyIdResult
|
|
49
|
+
* // Return: true || false,
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param AssociateKmsKeyIdCommandInput - {@link AssociateKmsKeyIdCommandInput}
|
|
55
|
+
* @returns {@link AssociateKmsKeyIdCommandOutput}
|
|
56
|
+
* @see {@link AssociateKmsKeyIdCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link AssociateKmsKeyIdCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link EC2ServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
62
|
+
*
|
|
63
|
+
*
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export declare class AssociateKmsKeyIdCommand extends AssociateKmsKeyIdCommand_base {
|
|
67
|
+
/** @internal type navigation helper, not in runtime. */
|
|
68
|
+
protected static __types: {
|
|
69
|
+
api: {
|
|
70
|
+
input: AssociateKmsKeyIdRequest;
|
|
71
|
+
output: AssociateKmsKeyIdResult;
|
|
72
|
+
};
|
|
73
|
+
sdk: {
|
|
74
|
+
input: AssociateKmsKeyIdCommandInput;
|
|
75
|
+
output: AssociateKmsKeyIdCommandOutput;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { CreateCapacityReservationDateChangeQuoteRequest, CreateCapacityReservationDateChangeQuoteResult } from "../models/
|
|
2
|
+
import type { CreateCapacityReservationDateChangeQuoteRequest, CreateCapacityReservationDateChangeQuoteResult } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { CreateNetworkingFlexCostAllocationPolicyRequest } from "../models/
|
|
3
|
-
import type { CreateNetworkingFlexCostAllocationPolicyResult } from "../models/models_2";
|
|
2
|
+
import type { CreateNetworkingFlexCostAllocationPolicyRequest, CreateNetworkingFlexCostAllocationPolicyResult } from "../models/models_2";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -103,6 +103,11 @@ declare const CreateSnapshotCommand_base: {
|
|
|
103
103
|
* // CompletionDurationMinutes: Number("int"),
|
|
104
104
|
* // CompletionTime: new Date("TIMESTAMP"),
|
|
105
105
|
* // FullSnapshotSizeInBytes: Number("long"),
|
|
106
|
+
* // AssociatedKmsKeys: [ // AssociatedKmsKeySet
|
|
107
|
+
* // { // AssociatedKmsKey
|
|
108
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
109
|
+
* // },
|
|
110
|
+
* // ],
|
|
106
111
|
* // SnapshotId: "STRING_VALUE",
|
|
107
112
|
* // VolumeId: "STRING_VALUE",
|
|
108
113
|
* // State: "pending" || "completed" || "error" || "recoverable" || "recovering",
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateTransitGatewayNetworkFunctionAttachmentRequest, CreateTransitGatewayNetworkFunctionAttachmentResult } from "../models/models_2";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateTransitGatewayNetworkFunctionAttachmentCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateTransitGatewayNetworkFunctionAttachmentCommandInput extends CreateTransitGatewayNetworkFunctionAttachmentRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateTransitGatewayNetworkFunctionAttachmentCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateTransitGatewayNetworkFunctionAttachmentCommandOutput extends CreateTransitGatewayNetworkFunctionAttachmentResult, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateTransitGatewayNetworkFunctionAttachmentCommand_base: {
|
|
22
|
+
new (input: CreateTransitGatewayNetworkFunctionAttachmentCommandInput): import("@smithy/core/client").CommandImpl<CreateTransitGatewayNetworkFunctionAttachmentCommandInput, CreateTransitGatewayNetworkFunctionAttachmentCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateTransitGatewayNetworkFunctionAttachmentCommandInput): import("@smithy/core/client").CommandImpl<CreateTransitGatewayNetworkFunctionAttachmentCommandInput, CreateTransitGatewayNetworkFunctionAttachmentCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates a network function attachment that connects the specified transit gateway to a Gateway Load Balancer endpoint service.
|
|
28
|
+
* Traffic that you route to the attachment is sent to the network function appliances behind the endpoint service.
|
|
29
|
+
* To use this operation, you must be the owner of the transit gateway.</p>
|
|
30
|
+
* <p>You can create one network function attachment for each combination of transit gateway and endpoint service.
|
|
31
|
+
* The attachment remains in the <code>pendingAcceptance</code> state until the endpoint service owner
|
|
32
|
+
* accepts the endpoint connection.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { EC2Client, CreateTransitGatewayNetworkFunctionAttachmentCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
37
|
+
* // const { EC2Client, CreateTransitGatewayNetworkFunctionAttachmentCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
38
|
+
* // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
|
|
39
|
+
* const config = {}; // type is EC2ClientConfig
|
|
40
|
+
* const client = new EC2Client(config);
|
|
41
|
+
* const input = { // CreateTransitGatewayNetworkFunctionAttachmentRequest
|
|
42
|
+
* TransitGatewayId: "STRING_VALUE", // required
|
|
43
|
+
* ServiceName: "STRING_VALUE", // required
|
|
44
|
+
* AvailabilityZones: [ // NetworkFunctionAttachmentAZNameList
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* AvailabilityZoneIds: [ // NetworkFunctionAttachmentAZIdList
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* TagSpecifications: [ // TagSpecificationList
|
|
51
|
+
* { // TagSpecification
|
|
52
|
+
* ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "declarative-policies-report" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fca-policy" || "fleet" || "fpga-image" || "host-reservation" || "image" || "image-usage-report" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "outpost-lag" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "service-link-virtual-interface" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-metering-policy" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "vpc-encryption-control" || "route-server" || "route-server-endpoint" || "route-server-peer" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "verified-access-endpoint-target" || "ipam-external-resource-verification-token" || "capacity-block" || "mac-modification-task" || "ipam-prefix-list-resolver" || "ipam-policy" || "ipam-prefix-list-resolver-target" || "ipam-internet-registry-association" || "secondary-interface" || "secondary-network" || "secondary-subnet" || "capacity-manager-data-export" || "vpn-concentrator" || "ipam-pool-allocation" || "capacity-reservation-cancellation-quote" || "application-status-check" || "capacity-reservation-modification-quote" || "metric-category",
|
|
53
|
+
* Tags: [ // TagList
|
|
54
|
+
* { // Tag
|
|
55
|
+
* Key: "STRING_VALUE",
|
|
56
|
+
* Value: "STRING_VALUE",
|
|
57
|
+
* },
|
|
58
|
+
* ],
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* DryRun: true || false,
|
|
62
|
+
* };
|
|
63
|
+
* const command = new CreateTransitGatewayNetworkFunctionAttachmentCommand(input);
|
|
64
|
+
* const response = await client.send(command);
|
|
65
|
+
* // { // CreateTransitGatewayNetworkFunctionAttachmentResult
|
|
66
|
+
* // TransitGatewayNetworkFunctionAttachment: { // TransitGatewayNetworkFunctionAttachment
|
|
67
|
+
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
68
|
+
* // TransitGatewayId: "STRING_VALUE",
|
|
69
|
+
* // TransitGatewayOwnerId: "STRING_VALUE",
|
|
70
|
+
* // ResourceOwnerId: "STRING_VALUE",
|
|
71
|
+
* // ResourceId: "STRING_VALUE",
|
|
72
|
+
* // AvailabilityZones: [ // ValueStringList
|
|
73
|
+
* // "STRING_VALUE",
|
|
74
|
+
* // ],
|
|
75
|
+
* // AvailabilityZoneIds: [
|
|
76
|
+
* // "STRING_VALUE",
|
|
77
|
+
* // ],
|
|
78
|
+
* // State: "initiating" || "initiatingRequest" || "pendingAcceptance" || "rollingBack" || "pending" || "available" || "modifying" || "deleting" || "deleted" || "failed" || "rejected" || "rejecting" || "failing",
|
|
79
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
80
|
+
* // Tags: [ // TagList
|
|
81
|
+
* // { // Tag
|
|
82
|
+
* // Key: "STRING_VALUE",
|
|
83
|
+
* // Value: "STRING_VALUE",
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // },
|
|
87
|
+
* // };
|
|
88
|
+
*
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* @param CreateTransitGatewayNetworkFunctionAttachmentCommandInput - {@link CreateTransitGatewayNetworkFunctionAttachmentCommandInput}
|
|
92
|
+
* @returns {@link CreateTransitGatewayNetworkFunctionAttachmentCommandOutput}
|
|
93
|
+
* @see {@link CreateTransitGatewayNetworkFunctionAttachmentCommandInput} for command's `input` shape.
|
|
94
|
+
* @see {@link CreateTransitGatewayNetworkFunctionAttachmentCommandOutput} for command's `response` shape.
|
|
95
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link EC2ServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
99
|
+
*
|
|
100
|
+
*
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export declare class CreateTransitGatewayNetworkFunctionAttachmentCommand extends CreateTransitGatewayNetworkFunctionAttachmentCommand_base {
|
|
104
|
+
/** @internal type navigation helper, not in runtime. */
|
|
105
|
+
protected static __types: {
|
|
106
|
+
api: {
|
|
107
|
+
input: CreateTransitGatewayNetworkFunctionAttachmentRequest;
|
|
108
|
+
output: CreateTransitGatewayNetworkFunctionAttachmentResult;
|
|
109
|
+
};
|
|
110
|
+
sdk: {
|
|
111
|
+
input: CreateTransitGatewayNetworkFunctionAttachmentCommandInput;
|
|
112
|
+
output: CreateTransitGatewayNetworkFunctionAttachmentCommandOutput;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
}
|
|
@@ -44,6 +44,8 @@ declare const CreateTransitGatewayPeeringAttachmentCommand_base: {
|
|
|
44
44
|
* PeerRegion: "STRING_VALUE", // required
|
|
45
45
|
* Options: { // CreateTransitGatewayPeeringAttachmentRequestOptions
|
|
46
46
|
* DynamicRouting: "enable" || "disable",
|
|
47
|
+
* AllowMultipathResilience: true || false,
|
|
48
|
+
* MultipathResilienceMode: "always-on",
|
|
47
49
|
* },
|
|
48
50
|
* TagSpecifications: [ // TagSpecificationList
|
|
49
51
|
* { // TagSpecification
|
|
@@ -78,6 +80,11 @@ declare const CreateTransitGatewayPeeringAttachmentCommand_base: {
|
|
|
78
80
|
* // },
|
|
79
81
|
* // Options: { // TransitGatewayPeeringAttachmentOptions
|
|
80
82
|
* // DynamicRouting: "enable" || "disable",
|
|
83
|
+
* // RequesterAllowMultipathResilience: true || false,
|
|
84
|
+
* // RequesterMultipathResilienceMode: "always-on",
|
|
85
|
+
* // AccepterAllowMultipathResilience: true || false,
|
|
86
|
+
* // AccepterMultipathResilienceMode: "always-on",
|
|
87
|
+
* // MultipathResilienceStatus: "pending" || "enabled" || "disabled",
|
|
81
88
|
* // },
|
|
82
89
|
* // Status: { // PeeringAttachmentStatus
|
|
83
90
|
* // Code: "STRING_VALUE",
|
|
@@ -35,6 +35,8 @@ declare const CreateVpcPeeringConnectionCommand_base: {
|
|
|
35
35
|
* <p>The owner of the accepter VPC must accept the peering request to activate the peering
|
|
36
36
|
* connection. The VPC peering connection request expires after 7 days, after which it
|
|
37
37
|
* cannot be accepted or rejected.</p>
|
|
38
|
+
* <p>Multipath resilience replicates the traffic of an inter-Region VPC peering connection across
|
|
39
|
+
* multiple network paths.</p>
|
|
38
40
|
* <p>If you create a VPC peering connection request between VPCs with overlapping CIDR
|
|
39
41
|
* blocks, the VPC peering connection has a status of <code>failed</code>.</p>
|
|
40
42
|
* @example
|
|
@@ -58,6 +60,10 @@ declare const CreateVpcPeeringConnectionCommand_base: {
|
|
|
58
60
|
* ],
|
|
59
61
|
* },
|
|
60
62
|
* ],
|
|
63
|
+
* RequesterPeeringConnectionOptions: { // CreatePeeringConnectionOptionsRequest
|
|
64
|
+
* AllowMultipathResilience: true || false,
|
|
65
|
+
* MultipathResilienceMode: "always-on",
|
|
66
|
+
* },
|
|
61
67
|
* DryRun: true || false,
|
|
62
68
|
* VpcId: "STRING_VALUE", // required
|
|
63
69
|
* PeerVpcId: "STRING_VALUE",
|
|
@@ -84,6 +90,8 @@ declare const CreateVpcPeeringConnectionCommand_base: {
|
|
|
84
90
|
* // AllowDnsResolutionFromRemoteVpc: true || false,
|
|
85
91
|
* // AllowEgressFromLocalClassicLinkToRemoteVpc: true || false,
|
|
86
92
|
* // AllowEgressFromLocalVpcToRemoteClassicLink: true || false,
|
|
93
|
+
* // AllowMultipathResilience: true || false,
|
|
94
|
+
* // MultipathResilienceMode: "always-on",
|
|
87
95
|
* // },
|
|
88
96
|
* // VpcId: "STRING_VALUE",
|
|
89
97
|
* // Region: "STRING_VALUE",
|
|
@@ -106,6 +114,8 @@ declare const CreateVpcPeeringConnectionCommand_base: {
|
|
|
106
114
|
* // AllowDnsResolutionFromRemoteVpc: true || false,
|
|
107
115
|
* // AllowEgressFromLocalClassicLinkToRemoteVpc: true || false,
|
|
108
116
|
* // AllowEgressFromLocalVpcToRemoteClassicLink: true || false,
|
|
117
|
+
* // AllowMultipathResilience: true || false,
|
|
118
|
+
* // MultipathResilienceMode: "always-on",
|
|
109
119
|
* // },
|
|
110
120
|
* // VpcId: "STRING_VALUE",
|
|
111
121
|
* // Region: "STRING_VALUE",
|
|
@@ -121,6 +131,7 @@ declare const CreateVpcPeeringConnectionCommand_base: {
|
|
|
121
131
|
* // },
|
|
122
132
|
* // ],
|
|
123
133
|
* // VpcPeeringConnectionId: "STRING_VALUE",
|
|
134
|
+
* // MultipathResilienceStatus: "pending" || "enabled" || "disabled",
|
|
124
135
|
* // },
|
|
125
136
|
* // };
|
|
126
137
|
*
|
|
@@ -130,6 +130,28 @@ declare const CreateVpnConnectionCommand_base: {
|
|
|
130
130
|
* },
|
|
131
131
|
* },
|
|
132
132
|
* EnableTunnelLifecycleControl: true || false,
|
|
133
|
+
* Phase1AdditionalKeyExchanges: [ // AdditionalKeyExchangesRequestSpecification
|
|
134
|
+
* { // VpnAdditionalKeyExchangeRequest
|
|
135
|
+
* AdditionalKeyExchangeRound: Number("int"), // required
|
|
136
|
+
* KeyExchangeMethods: [ // AdditionalKeyExchangeMethodsRequestList
|
|
137
|
+
* { // AdditionalKeyExchangeMethodsRequestListValue
|
|
138
|
+
* Value: Number("int"),
|
|
139
|
+
* },
|
|
140
|
+
* ],
|
|
141
|
+
* Requirement: "required" || "optional",
|
|
142
|
+
* },
|
|
143
|
+
* ],
|
|
144
|
+
* Phase2AdditionalKeyExchanges: [
|
|
145
|
+
* {
|
|
146
|
+
* AdditionalKeyExchangeRound: Number("int"), // required
|
|
147
|
+
* KeyExchangeMethods: [
|
|
148
|
+
* {
|
|
149
|
+
* Value: Number("int"),
|
|
150
|
+
* },
|
|
151
|
+
* ],
|
|
152
|
+
* Requirement: "required" || "optional",
|
|
153
|
+
* },
|
|
154
|
+
* ],
|
|
133
155
|
* },
|
|
134
156
|
* ],
|
|
135
157
|
* LocalIpv4NetworkCidr: "STRING_VALUE",
|
|
@@ -222,6 +244,28 @@ declare const CreateVpnConnectionCommand_base: {
|
|
|
222
244
|
* // },
|
|
223
245
|
* // },
|
|
224
246
|
* // EnableTunnelLifecycleControl: true || false,
|
|
247
|
+
* // Phase1AdditionalKeyExchanges: [ // AdditionalKeyExchangesList
|
|
248
|
+
* // { // VpnAdditionalKeyExchange
|
|
249
|
+
* // AdditionalKeyExchangeRound: Number("int"),
|
|
250
|
+
* // KeyExchangeMethods: [ // AdditionalKeyExchangeMethodsList
|
|
251
|
+
* // { // AdditionalKeyExchangeMethodsListValue
|
|
252
|
+
* // Value: Number("int"),
|
|
253
|
+
* // },
|
|
254
|
+
* // ],
|
|
255
|
+
* // Requirement: "required" || "optional",
|
|
256
|
+
* // },
|
|
257
|
+
* // ],
|
|
258
|
+
* // Phase2AdditionalKeyExchanges: [
|
|
259
|
+
* // {
|
|
260
|
+
* // AdditionalKeyExchangeRound: Number("int"),
|
|
261
|
+
* // KeyExchangeMethods: [
|
|
262
|
+
* // {
|
|
263
|
+
* // Value: Number("int"),
|
|
264
|
+
* // },
|
|
265
|
+
* // ],
|
|
266
|
+
* // Requirement: "required" || "optional",
|
|
267
|
+
* // },
|
|
268
|
+
* // ],
|
|
225
269
|
* // },
|
|
226
270
|
* // ],
|
|
227
271
|
* // TunnelBandwidth: "standard" || "large",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DeleteInstanceEventWindowRequest, DeleteInstanceEventWindowResult } from "../models/
|
|
2
|
+
import type { DeleteInstanceEventWindowRequest, DeleteInstanceEventWindowResult } from "../models/models_3";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DeleteIpamExternalResourceVerificationTokenRequest, DeleteIpamExternalResourceVerificationTokenResult } from "../models/
|
|
2
|
+
import type { DeleteIpamExternalResourceVerificationTokenRequest, DeleteIpamExternalResourceVerificationTokenResult } from "../models/models_3";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DeleteIpamInternetRegistryAssociationRequest, DeleteIpamInternetRegistryAssociationResult } from "../models/
|
|
2
|
+
import type { DeleteIpamInternetRegistryAssociationRequest, DeleteIpamInternetRegistryAssociationResult } from "../models/models_3";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DeleteIpamPolicyRequest, DeleteIpamPolicyResult } from "../models/
|
|
2
|
+
import type { DeleteIpamPolicyRequest, DeleteIpamPolicyResult } from "../models/models_3";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteTransitGatewayNetworkFunctionAttachmentRequest, DeleteTransitGatewayNetworkFunctionAttachmentResult } from "../models/models_3";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteTransitGatewayNetworkFunctionAttachmentCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteTransitGatewayNetworkFunctionAttachmentCommandInput extends DeleteTransitGatewayNetworkFunctionAttachmentRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteTransitGatewayNetworkFunctionAttachmentCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteTransitGatewayNetworkFunctionAttachmentCommandOutput extends DeleteTransitGatewayNetworkFunctionAttachmentResult, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteTransitGatewayNetworkFunctionAttachmentCommand_base: {
|
|
22
|
+
new (input: DeleteTransitGatewayNetworkFunctionAttachmentCommandInput): import("@smithy/core/client").CommandImpl<DeleteTransitGatewayNetworkFunctionAttachmentCommandInput, DeleteTransitGatewayNetworkFunctionAttachmentCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteTransitGatewayNetworkFunctionAttachmentCommandInput): import("@smithy/core/client").CommandImpl<DeleteTransitGatewayNetworkFunctionAttachmentCommandInput, DeleteTransitGatewayNetworkFunctionAttachmentCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Deletes the specified network function attachment. The attachment must be in the <code>available</code> or <code>pendingAcceptance</code> state.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { EC2Client, DeleteTransitGatewayNetworkFunctionAttachmentCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
32
|
+
* // const { EC2Client, DeleteTransitGatewayNetworkFunctionAttachmentCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
33
|
+
* // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
|
|
34
|
+
* const config = {}; // type is EC2ClientConfig
|
|
35
|
+
* const client = new EC2Client(config);
|
|
36
|
+
* const input = { // DeleteTransitGatewayNetworkFunctionAttachmentRequest
|
|
37
|
+
* TransitGatewayAttachmentId: "STRING_VALUE", // required
|
|
38
|
+
* DryRun: true || false,
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteTransitGatewayNetworkFunctionAttachmentCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // DeleteTransitGatewayNetworkFunctionAttachmentResult
|
|
43
|
+
* // TransitGatewayNetworkFunctionAttachment: { // TransitGatewayNetworkFunctionAttachment
|
|
44
|
+
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
45
|
+
* // TransitGatewayId: "STRING_VALUE",
|
|
46
|
+
* // TransitGatewayOwnerId: "STRING_VALUE",
|
|
47
|
+
* // ResourceOwnerId: "STRING_VALUE",
|
|
48
|
+
* // ResourceId: "STRING_VALUE",
|
|
49
|
+
* // AvailabilityZones: [ // ValueStringList
|
|
50
|
+
* // "STRING_VALUE",
|
|
51
|
+
* // ],
|
|
52
|
+
* // AvailabilityZoneIds: [
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // State: "initiating" || "initiatingRequest" || "pendingAcceptance" || "rollingBack" || "pending" || "available" || "modifying" || "deleting" || "deleted" || "failed" || "rejected" || "rejecting" || "failing",
|
|
56
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
57
|
+
* // Tags: [ // TagList
|
|
58
|
+
* // { // Tag
|
|
59
|
+
* // Key: "STRING_VALUE",
|
|
60
|
+
* // Value: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // },
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param DeleteTransitGatewayNetworkFunctionAttachmentCommandInput - {@link DeleteTransitGatewayNetworkFunctionAttachmentCommandInput}
|
|
69
|
+
* @returns {@link DeleteTransitGatewayNetworkFunctionAttachmentCommandOutput}
|
|
70
|
+
* @see {@link DeleteTransitGatewayNetworkFunctionAttachmentCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link DeleteTransitGatewayNetworkFunctionAttachmentCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link EC2ServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class DeleteTransitGatewayNetworkFunctionAttachmentCommand extends DeleteTransitGatewayNetworkFunctionAttachmentCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: DeleteTransitGatewayNetworkFunctionAttachmentRequest;
|
|
85
|
+
output: DeleteTransitGatewayNetworkFunctionAttachmentResult;
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: DeleteTransitGatewayNetworkFunctionAttachmentCommandInput;
|
|
89
|
+
output: DeleteTransitGatewayNetworkFunctionAttachmentCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -57,6 +57,11 @@ declare const DeleteTransitGatewayPeeringAttachmentCommand_base: {
|
|
|
57
57
|
* // },
|
|
58
58
|
* // Options: { // TransitGatewayPeeringAttachmentOptions
|
|
59
59
|
* // DynamicRouting: "enable" || "disable",
|
|
60
|
+
* // RequesterAllowMultipathResilience: true || false,
|
|
61
|
+
* // RequesterMultipathResilienceMode: "always-on",
|
|
62
|
+
* // AccepterAllowMultipathResilience: true || false,
|
|
63
|
+
* // AccepterMultipathResilienceMode: "always-on",
|
|
64
|
+
* // MultipathResilienceStatus: "pending" || "enabled" || "disabled",
|
|
60
65
|
* // },
|
|
61
66
|
* // Status: { // PeeringAttachmentStatus
|
|
62
67
|
* // Code: "STRING_VALUE",
|
|
@@ -48,6 +48,11 @@ declare const DescribeCapacityBlockOfferingsCommand_base: {
|
|
|
48
48
|
* UltraserverType: "STRING_VALUE",
|
|
49
49
|
* UltraserverCount: Number("int"),
|
|
50
50
|
* AllAvailabilityZones: true || false,
|
|
51
|
+
* InstanceTypePreferences: [ // CapacityBlockInstanceTypePreferenceSet
|
|
52
|
+
* { // CapacityBlockInstanceTypePreference
|
|
53
|
+
* InstanceType: "STRING_VALUE",
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
51
56
|
* };
|
|
52
57
|
* const command = new DescribeCapacityBlockOfferingsCommand(input);
|
|
53
58
|
* const response = await client.send(command);
|
|
@@ -68,6 +73,21 @@ declare const DescribeCapacityBlockOfferingsCommand_base: {
|
|
|
68
73
|
* // UltraserverCount: Number("int"),
|
|
69
74
|
* // CapacityBlockDurationMinutes: Number("int"),
|
|
70
75
|
* // ZoneType: "STRING_VALUE",
|
|
76
|
+
* // CapacityBlockOfferingSegments: [ // CapacityBlockOfferingSegmentSet
|
|
77
|
+
* // { // CapacityBlockOfferingSegment
|
|
78
|
+
* // InstanceType: "STRING_VALUE",
|
|
79
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
80
|
+
* // AvailabilityZoneId: "STRING_VALUE",
|
|
81
|
+
* // InstanceCount: Number("int"),
|
|
82
|
+
* // StartDate: new Date("TIMESTAMP"),
|
|
83
|
+
* // EndDate: new Date("TIMESTAMP"),
|
|
84
|
+
* // CapacityBlockDurationHours: Number("int"),
|
|
85
|
+
* // CapacityBlockDurationMinutes: Number("int"),
|
|
86
|
+
* // UpfrontFee: "STRING_VALUE",
|
|
87
|
+
* // CurrencyCode: "STRING_VALUE",
|
|
88
|
+
* // ZoneType: "STRING_VALUE",
|
|
89
|
+
* // },
|
|
90
|
+
* // ],
|
|
71
91
|
* // },
|
|
72
92
|
* // ],
|
|
73
93
|
* // NextToken: "STRING_VALUE",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeConversionTasksRequest
|
|
2
|
+
import type { DescribeConversionTasksRequest } from "../models/models_3";
|
|
3
|
+
import type { DescribeConversionTasksResult } from "../models/models_4";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeCustomerGatewaysRequest, DescribeCustomerGatewaysResult } from "../models/
|
|
2
|
+
import type { DescribeCustomerGatewaysRequest, DescribeCustomerGatewaysResult } from "../models/models_4";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeDeclarativePoliciesReportsRequest, DescribeDeclarativePoliciesReportsResult } from "../models/
|
|
2
|
+
import type { DescribeDeclarativePoliciesReportsRequest, DescribeDeclarativePoliciesReportsResult } from "../models/models_4";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeDhcpOptionsRequest, DescribeDhcpOptionsResult } from "../models/
|
|
2
|
+
import type { DescribeDhcpOptionsRequest, DescribeDhcpOptionsResult } from "../models/models_4";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeEgressOnlyInternetGatewaysRequest, DescribeEgressOnlyInternetGatewaysResult } from "../models/
|
|
2
|
+
import type { DescribeEgressOnlyInternetGatewaysRequest, DescribeEgressOnlyInternetGatewaysResult } from "../models/models_4";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeElasticGpusRequest } from "../models/
|
|
3
|
-
import type { DescribeElasticGpusResult } from "../models/models_4";
|
|
2
|
+
import type { DescribeElasticGpusRequest, DescribeElasticGpusResult } from "../models/models_4";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeNetworkInsightsAnalysesRequest, DescribeNetworkInsightsAnalysesResult } from "../models/
|
|
2
|
+
import type { DescribeNetworkInsightsAnalysesRequest, DescribeNetworkInsightsAnalysesResult } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeNetworkInsightsPathsRequest, DescribeNetworkInsightsPathsResult } from "../models/
|
|
2
|
+
import type { DescribeNetworkInsightsPathsRequest, DescribeNetworkInsightsPathsResult } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeNetworkInterfaceAttributeRequest, DescribeNetworkInterfaceAttributeResult } from "../models/
|
|
2
|
+
import type { DescribeNetworkInterfaceAttributeRequest, DescribeNetworkInterfaceAttributeResult } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeNetworkInterfacePermissionsRequest, DescribeNetworkInterfacePermissionsResult } from "../models/
|
|
2
|
+
import type { DescribeNetworkInterfacePermissionsRequest, DescribeNetworkInterfacePermissionsResult } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|