@aws-sdk/client-ec2 3.1169.0 → 3.1170.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 +42 -0
- package/dist-cjs/index.js +248 -15
- package/dist-es/EC2.js +12 -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/index.js +6 -0
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +192 -14
- package/dist-types/EC2.d.ts +43 -0
- package/dist-types/EC2Client.d.ts +8 -2
- package/dist-types/commands/AcceptVpcEndpointConnectionsCommand.d.ts +3 -0
- package/dist-types/commands/AssociateKmsKeyIdCommand.d.ts +78 -0
- package/dist-types/commands/CreateCapacityReservationDateChangeQuoteCommand.d.ts +2 -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/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/DescribeDeclarativePoliciesReportsCommand.d.ts +2 -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/DescribeNetworkInterfacePermissionsCommand.d.ts +2 -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/DescribeVpcEndpointConnectionsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeVpcEndpointServicePermissionsCommand.d.ts +1 -0
- package/dist-types/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +2 -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/GetRouteServerPropagationsCommand.d.ts +2 -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/ModifyVpcEndpointServicePermissionsCommand.d.ts +7 -0
- package/dist-types/commands/MonitorInstancesCommand.d.ts +2 -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/RejectVpcEndpointConnectionsCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +54 -31
- package/dist-types/models/models_1.d.ts +32 -91
- package/dist-types/models/models_2.d.ts +217 -82
- package/dist-types/models/models_3.d.ts +110 -290
- package/dist-types/models/models_4.d.ts +291 -507
- package/dist-types/models/models_5.d.ts +594 -189
- package/dist-types/models/models_6.d.ts +223 -339
- package/dist-types/models/models_7.d.ts +411 -302
- package/dist-types/models/models_8.d.ts +308 -3
- package/dist-types/schemas/schemas_0.d.ts +20 -0
- package/dist-types/ts3.4/EC2.d.ts +103 -0
- package/dist-types/ts3.4/EC2Client.d.ts +36 -0
- package/dist-types/ts3.4/commands/AssociateKmsKeyIdCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateCapacityReservationDateChangeQuoteCommand.d.ts +2 -4
- 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/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/DescribeDeclarativePoliciesReportsCommand.d.ts +2 -4
- 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/DescribeNetworkInterfacePermissionsCommand.d.ts +2 -4
- 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/DisableTransitGatewayRouteTablePropagationCommand.d.ts +2 -4
- 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/GetRouteServerPropagationsCommand.d.ts +2 -4
- 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/MonitorInstancesCommand.d.ts +2 -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 +6 -0
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -7
- package/dist-types/ts3.4/models/models_1.d.ts +8 -18
- package/dist-types/ts3.4/models/models_2.d.ts +49 -24
- package/dist-types/ts3.4/models/models_3.d.ts +32 -50
- package/dist-types/ts3.4/models/models_4.d.ts +52 -56
- package/dist-types/ts3.4/models/models_5.d.ts +62 -49
- package/dist-types/ts3.4/models/models_6.d.ts +59 -68
- package/dist-types/ts3.4/models/models_7.d.ts +84 -72
- package/dist-types/ts3.4/models/models_8.d.ts +70 -5
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +20 -0
- package/package.json +1 -1
|
@@ -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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeDeclarativePoliciesReportsRequest
|
|
2
|
+
import type { DescribeDeclarativePoliciesReportsRequest } from "../models/models_3";
|
|
3
|
+
import type { DescribeDeclarativePoliciesReportsResult } 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 { 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,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeNetworkInterfacePermissionsRequest
|
|
2
|
+
import type { DescribeNetworkInterfacePermissionsRequest } from "../models/models_4";
|
|
3
|
+
import type { DescribeNetworkInterfacePermissionsResult } from "../models/models_5";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeNetworkInterfacesRequest, DescribeNetworkInterfacesResult } from "../models/
|
|
2
|
+
import type { DescribeNetworkInterfacesRequest, DescribeNetworkInterfacesResult } 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 { DescribeOutpostLagsRequest, DescribeOutpostLagsResult } from "../models/
|
|
2
|
+
import type { DescribeOutpostLagsRequest, DescribeOutpostLagsResult } 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 { DescribePlacementGroupsRequest, DescribePlacementGroupsResult } from "../models/
|
|
2
|
+
import type { DescribePlacementGroupsRequest, DescribePlacementGroupsResult } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -122,6 +122,11 @@ declare const DescribeSnapshotsCommand_base: {
|
|
|
122
122
|
* // CompletionDurationMinutes: Number("int"),
|
|
123
123
|
* // CompletionTime: new Date("TIMESTAMP"),
|
|
124
124
|
* // FullSnapshotSizeInBytes: Number("long"),
|
|
125
|
+
* // AssociatedKmsKeys: [ // AssociatedKmsKeySet
|
|
126
|
+
* // { // AssociatedKmsKey
|
|
127
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
128
|
+
* // },
|
|
129
|
+
* // ],
|
|
125
130
|
* // SnapshotId: "STRING_VALUE",
|
|
126
131
|
* // VolumeId: "STRING_VALUE",
|
|
127
132
|
* // State: "pending" || "completed" || "error" || "recoverable" || "recovering",
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DescribeTransitGatewayNetworkFunctionAttachmentsRequest, DescribeTransitGatewayNetworkFunctionAttachmentsResult } from "../models/models_5";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DescribeTransitGatewayNetworkFunctionAttachmentsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DescribeTransitGatewayNetworkFunctionAttachmentsCommandInput extends DescribeTransitGatewayNetworkFunctionAttachmentsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DescribeTransitGatewayNetworkFunctionAttachmentsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DescribeTransitGatewayNetworkFunctionAttachmentsCommandOutput extends DescribeTransitGatewayNetworkFunctionAttachmentsResult, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DescribeTransitGatewayNetworkFunctionAttachmentsCommand_base: {
|
|
22
|
+
new (input: DescribeTransitGatewayNetworkFunctionAttachmentsCommandInput): import("@smithy/core/client").CommandImpl<DescribeTransitGatewayNetworkFunctionAttachmentsCommandInput, DescribeTransitGatewayNetworkFunctionAttachmentsCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [DescribeTransitGatewayNetworkFunctionAttachmentsCommandInput]): import("@smithy/core/client").CommandImpl<DescribeTransitGatewayNetworkFunctionAttachmentsCommandInput, DescribeTransitGatewayNetworkFunctionAttachmentsCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Describes one or more network function attachments. You can describe attachments that you own or that are attached to a transit gateway that you own.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { EC2Client, DescribeTransitGatewayNetworkFunctionAttachmentsCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
32
|
+
* // const { EC2Client, DescribeTransitGatewayNetworkFunctionAttachmentsCommand } = 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 = { // DescribeTransitGatewayNetworkFunctionAttachmentsRequest
|
|
37
|
+
* TransitGatewayAttachmentIds: [ // TransitGatewayNetworkFunctionAttachmentIdList
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* Filters: [ // FilterList
|
|
41
|
+
* { // Filter
|
|
42
|
+
* Name: "STRING_VALUE",
|
|
43
|
+
* Values: [ // ValueStringList
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* MaxResults: Number("int"),
|
|
49
|
+
* NextToken: "STRING_VALUE",
|
|
50
|
+
* DryRun: true || false,
|
|
51
|
+
* };
|
|
52
|
+
* const command = new DescribeTransitGatewayNetworkFunctionAttachmentsCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // DescribeTransitGatewayNetworkFunctionAttachmentsResult
|
|
55
|
+
* // TransitGatewayNetworkFunctionAttachments: [ // TransitGatewayNetworkFunctionAttachmentList
|
|
56
|
+
* // { // TransitGatewayNetworkFunctionAttachment
|
|
57
|
+
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
58
|
+
* // TransitGatewayId: "STRING_VALUE",
|
|
59
|
+
* // TransitGatewayOwnerId: "STRING_VALUE",
|
|
60
|
+
* // ResourceOwnerId: "STRING_VALUE",
|
|
61
|
+
* // ResourceId: "STRING_VALUE",
|
|
62
|
+
* // AvailabilityZones: [ // ValueStringList
|
|
63
|
+
* // "STRING_VALUE",
|
|
64
|
+
* // ],
|
|
65
|
+
* // AvailabilityZoneIds: [
|
|
66
|
+
* // "STRING_VALUE",
|
|
67
|
+
* // ],
|
|
68
|
+
* // State: "initiating" || "initiatingRequest" || "pendingAcceptance" || "rollingBack" || "pending" || "available" || "modifying" || "deleting" || "deleted" || "failed" || "rejected" || "rejecting" || "failing",
|
|
69
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
70
|
+
* // Tags: [ // TagList
|
|
71
|
+
* // { // Tag
|
|
72
|
+
* // Key: "STRING_VALUE",
|
|
73
|
+
* // Value: "STRING_VALUE",
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
78
|
+
* // NextToken: "STRING_VALUE",
|
|
79
|
+
* // };
|
|
80
|
+
*
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* @param DescribeTransitGatewayNetworkFunctionAttachmentsCommandInput - {@link DescribeTransitGatewayNetworkFunctionAttachmentsCommandInput}
|
|
84
|
+
* @returns {@link DescribeTransitGatewayNetworkFunctionAttachmentsCommandOutput}
|
|
85
|
+
* @see {@link DescribeTransitGatewayNetworkFunctionAttachmentsCommandInput} for command's `input` shape.
|
|
86
|
+
* @see {@link DescribeTransitGatewayNetworkFunctionAttachmentsCommandOutput} for command's `response` shape.
|
|
87
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link EC2ServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class DescribeTransitGatewayNetworkFunctionAttachmentsCommand extends DescribeTransitGatewayNetworkFunctionAttachmentsCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: DescribeTransitGatewayNetworkFunctionAttachmentsRequest;
|
|
100
|
+
output: DescribeTransitGatewayNetworkFunctionAttachmentsResult;
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: DescribeTransitGatewayNetworkFunctionAttachmentsCommandInput;
|
|
104
|
+
output: DescribeTransitGatewayNetworkFunctionAttachmentsCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -84,6 +84,8 @@ declare const DescribeVpcEndpointConnectionsCommand_base: {
|
|
|
84
84
|
* // PayerResponsibilityType: "vpc-endpoint-account" || "resource-gateway-account" || "vpc-endpoint-service-account",
|
|
85
85
|
* // },
|
|
86
86
|
* // ],
|
|
87
|
+
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
88
|
+
* // TransitGatewayAttachmentOwner: "STRING_VALUE",
|
|
87
89
|
* // },
|
|
88
90
|
* // ],
|
|
89
91
|
* // NextToken: "STRING_VALUE",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DisableTransitGatewayRouteTablePropagationRequest
|
|
2
|
+
import type { DisableTransitGatewayRouteTablePropagationRequest } from "../models/models_5";
|
|
3
|
+
import type { DisableTransitGatewayRouteTablePropagationResult } from "../models/models_6";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DisableVpcClassicLinkRequest, DisableVpcClassicLinkResult } from "../models/
|
|
2
|
+
import type { DisableVpcClassicLinkRequest, DisableVpcClassicLinkResult } from "../models/models_6";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DisableVpcClassicLinkDnsSupportRequest, DisableVpcClassicLinkDnsSupportResult } from "../models/
|
|
2
|
+
import type { DisableVpcClassicLinkDnsSupportRequest, DisableVpcClassicLinkDnsSupportResult } from "../models/models_6";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DisassociateApplicationStatusCheckRequest, DisassociateApplicationStatusCheckResult } from "../models/
|
|
2
|
+
import type { DisassociateApplicationStatusCheckRequest, DisassociateApplicationStatusCheckResult } from "../models/models_6";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DisassociateKmsKeyIdRequest, DisassociateKmsKeyIdResult } from "../models/models_6";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DisassociateKmsKeyIdCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DisassociateKmsKeyIdCommandInput extends DisassociateKmsKeyIdRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DisassociateKmsKeyIdCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DisassociateKmsKeyIdCommandOutput extends DisassociateKmsKeyIdResult, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DisassociateKmsKeyIdCommand_base: {
|
|
22
|
+
new (input: DisassociateKmsKeyIdCommandInput): import("@smithy/core/client").CommandImpl<DisassociateKmsKeyIdCommandInput, DisassociateKmsKeyIdCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DisassociateKmsKeyIdCommandInput): import("@smithy/core/client").CommandImpl<DisassociateKmsKeyIdCommandInput, DisassociateKmsKeyIdCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Removes an associated KMS key from an Amazon EBS snapshot. After you disassociate the
|
|
28
|
+
* key, it can no longer be used to access the snapshot's data. The snapshot's original
|
|
29
|
+
* encryption key is unaffected.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { EC2Client, DisassociateKmsKeyIdCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
34
|
+
* // const { EC2Client, DisassociateKmsKeyIdCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
35
|
+
* // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
|
|
36
|
+
* const config = {}; // type is EC2ClientConfig
|
|
37
|
+
* const client = new EC2Client(config);
|
|
38
|
+
* const input = { // DisassociateKmsKeyIdRequest
|
|
39
|
+
* SnapshotId: "STRING_VALUE",
|
|
40
|
+
* KmsKeyId: "STRING_VALUE", // required
|
|
41
|
+
* DryRun: true || false,
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DisassociateKmsKeyIdCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // DisassociateKmsKeyIdResult
|
|
46
|
+
* // Return: true || false,
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param DisassociateKmsKeyIdCommandInput - {@link DisassociateKmsKeyIdCommandInput}
|
|
52
|
+
* @returns {@link DisassociateKmsKeyIdCommandOutput}
|
|
53
|
+
* @see {@link DisassociateKmsKeyIdCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link DisassociateKmsKeyIdCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link EC2ServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
59
|
+
*
|
|
60
|
+
*
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export declare class DisassociateKmsKeyIdCommand extends DisassociateKmsKeyIdCommand_base {
|
|
64
|
+
/** @internal type navigation helper, not in runtime. */
|
|
65
|
+
protected static __types: {
|
|
66
|
+
api: {
|
|
67
|
+
input: DisassociateKmsKeyIdRequest;
|
|
68
|
+
output: DisassociateKmsKeyIdResult;
|
|
69
|
+
};
|
|
70
|
+
sdk: {
|
|
71
|
+
input: DisassociateKmsKeyIdCommandInput;
|
|
72
|
+
output: DisassociateKmsKeyIdCommandOutput;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { GetRouteServerPropagationsRequest
|
|
2
|
+
import type { GetRouteServerPropagationsRequest } from "../models/models_6";
|
|
3
|
+
import type { GetRouteServerPropagationsResult } from "../models/models_7";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { GetRouteServerRoutingDatabaseRequest, GetRouteServerRoutingDatabaseResult } from "../models/
|
|
2
|
+
import type { GetRouteServerRoutingDatabaseRequest, GetRouteServerRoutingDatabaseResult } from "../models/models_7";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { GetSecurityGroupsForVpcRequest, GetSecurityGroupsForVpcResult } from "../models/
|
|
2
|
+
import type { GetSecurityGroupsForVpcRequest, GetSecurityGroupsForVpcResult } from "../models/models_7";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { GetSerialConsoleAccessStatusRequest, GetSerialConsoleAccessStatusResult } from "../models/
|
|
2
|
+
import type { GetSerialConsoleAccessStatusRequest, GetSerialConsoleAccessStatusResult } from "../models/models_7";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { GetSnapshotBlockPublicAccessStateRequest, GetSnapshotBlockPublicAccessStateResult } from "../models/
|
|
2
|
+
import type { GetSnapshotBlockPublicAccessStateRequest, GetSnapshotBlockPublicAccessStateResult } from "../models/models_7";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|