@aws-sdk/client-ec2 3.850.0 → 3.854.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist-cjs/index.js +8 -0
  2. package/dist-es/models/models_0.js +1 -0
  3. package/dist-es/protocols/Aws_ec2.js +7 -0
  4. package/dist-types/commands/AcceptTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  5. package/dist-types/commands/AssociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  6. package/dist-types/commands/AssociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  7. package/dist-types/commands/AssociateTransitGatewayRouteTableCommand.d.ts +1 -1
  8. package/dist-types/commands/CreateTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  9. package/dist-types/commands/CreateTransitGatewayRouteCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
  13. package/dist-types/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
  14. package/dist-types/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  15. package/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  16. package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -1
  17. package/dist-types/commands/EnableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
  18. package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  19. package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
  20. package/dist-types/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +1 -1
  21. package/dist-types/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +1 -1
  22. package/dist-types/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +1 -1
  23. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  24. package/dist-types/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  25. package/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
  26. package/dist-types/commands/SearchTransitGatewayMulticastGroupsCommand.d.ts +1 -1
  27. package/dist-types/commands/SearchTransitGatewayRoutesCommand.d.ts +1 -1
  28. package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +2 -3
  29. package/dist-types/commands/StopInstancesCommand.d.ts +10 -5
  30. package/dist-types/commands/TerminateInstancesCommand.d.ts +12 -4
  31. package/dist-types/models/models_0.d.ts +1 -0
  32. package/dist-types/models/models_1.d.ts +11 -5
  33. package/dist-types/models/models_4.d.ts +2 -2
  34. package/dist-types/models/models_8.d.ts +33 -15
  35. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  36. package/dist-types/ts3.4/models/models_8.d.ts +2 -0
  37. package/package.json +1 -1
package/dist-cjs/index.js CHANGED
@@ -39490,6 +39490,9 @@ var se_StopInstancesRequest = /* @__PURE__ */ __name((input, context) => {
39490
39490
  if (input[_Hi] != null) {
39491
39491
  entries[_Hi] = input[_Hi];
39492
39492
  }
39493
+ if (input[_SOS] != null) {
39494
+ entries[_SOS] = input[_SOS];
39495
+ }
39493
39496
  if (input[_DRr] != null) {
39494
39497
  entries[_DRr] = input[_DRr];
39495
39498
  }
@@ -39727,6 +39730,9 @@ var se_TerminateInstancesRequest = /* @__PURE__ */ __name((input, context) => {
39727
39730
  entries[loc] = value;
39728
39731
  });
39729
39732
  }
39733
+ if (input[_SOS] != null) {
39734
+ entries[_SOS] = input[_SOS];
39735
+ }
39730
39736
  if (input[_DRr] != null) {
39731
39737
  entries[_DRr] = input[_DRr];
39732
39738
  }
@@ -65722,6 +65728,7 @@ var _SNe = "ServiceName";
65722
65728
  var _SNeq = "SequenceNumber";
65723
65729
  var _SNer = "ServiceNames";
65724
65730
  var _SO = "SpotOptions";
65731
+ var _SOS = "SkipOsShutdown";
65725
65732
  var _SOT = "S3ObjectTags";
65726
65733
  var _SP = "S3Prefix";
65727
65734
  var _SPA = "SamlProviderArn";
@@ -68703,6 +68710,7 @@ var AddressTransferStatus = {
68703
68710
  var TransitGatewayAttachmentResourceType = {
68704
68711
  connect: "connect",
68705
68712
  direct_connect_gateway: "direct-connect-gateway",
68713
+ network_function: "network-function",
68706
68714
  peering: "peering",
68707
68715
  tgw_peering: "tgw-peering",
68708
68716
  vpc: "vpc",
@@ -131,6 +131,7 @@ export const AddressTransferStatus = {
131
131
  export const TransitGatewayAttachmentResourceType = {
132
132
  connect: "connect",
133
133
  direct_connect_gateway: "direct-connect-gateway",
134
+ network_function: "network-function",
134
135
  peering: "peering",
135
136
  tgw_peering: "tgw-peering",
136
137
  vpc: "vpc",
@@ -37897,6 +37897,9 @@ const se_StopInstancesRequest = (input, context) => {
37897
37897
  if (input[_Hi] != null) {
37898
37898
  entries[_Hi] = input[_Hi];
37899
37899
  }
37900
+ if (input[_SOS] != null) {
37901
+ entries[_SOS] = input[_SOS];
37902
+ }
37900
37903
  if (input[_DRr] != null) {
37901
37904
  entries[_DRr] = input[_DRr];
37902
37905
  }
@@ -38134,6 +38137,9 @@ const se_TerminateInstancesRequest = (input, context) => {
38134
38137
  entries[loc] = value;
38135
38138
  });
38136
38139
  }
38140
+ if (input[_SOS] != null) {
38141
+ entries[_SOS] = input[_SOS];
38142
+ }
38137
38143
  if (input[_DRr] != null) {
38138
38144
  entries[_DRr] = input[_DRr];
38139
38145
  }
@@ -65654,6 +65660,7 @@ const _SNe = "ServiceName";
65654
65660
  const _SNeq = "SequenceNumber";
65655
65661
  const _SNer = "ServiceNames";
65656
65662
  const _SO = "SpotOptions";
65663
+ const _SOS = "SkipOsShutdown";
65657
65664
  const _SOT = "S3ObjectTags";
65658
65665
  const _SP = "S3Prefix";
65659
65666
  const _SPA = "SamlProviderArn";
@@ -49,7 +49,7 @@ declare const AcceptTransitGatewayMulticastDomainAssociationsCommand_base: {
49
49
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
50
50
  * // TransitGatewayAttachmentId: "STRING_VALUE",
51
51
  * // ResourceId: "STRING_VALUE",
52
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
52
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
53
53
  * // ResourceOwnerId: "STRING_VALUE",
54
54
  * // Subnets: [ // SubnetAssociationList
55
55
  * // { // SubnetAssociation
@@ -51,7 +51,7 @@ declare const AssociateTransitGatewayMulticastDomainCommand_base: {
51
51
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
52
52
  * // TransitGatewayAttachmentId: "STRING_VALUE",
53
53
  * // ResourceId: "STRING_VALUE",
54
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
54
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
55
55
  * // ResourceOwnerId: "STRING_VALUE",
56
56
  * // Subnets: [ // SubnetAssociationList
57
57
  * // { // SubnetAssociation
@@ -46,7 +46,7 @@ declare const AssociateTransitGatewayPolicyTableCommand_base: {
46
46
  * // TransitGatewayPolicyTableId: "STRING_VALUE",
47
47
  * // TransitGatewayAttachmentId: "STRING_VALUE",
48
48
  * // ResourceId: "STRING_VALUE",
49
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
49
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
50
50
  * // State: "associating" || "associated" || "disassociating" || "disassociated",
51
51
  * // },
52
52
  * // };
@@ -47,7 +47,7 @@ declare const AssociateTransitGatewayRouteTableCommand_base: {
47
47
  * // TransitGatewayRouteTableId: "STRING_VALUE",
48
48
  * // TransitGatewayAttachmentId: "STRING_VALUE",
49
49
  * // ResourceId: "STRING_VALUE",
50
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
50
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
51
51
  * // State: "associating" || "associated" || "disassociating" || "disassociated",
52
52
  * // },
53
53
  * // };
@@ -52,7 +52,7 @@ declare const CreateTransitGatewayPrefixListReferenceCommand_base: {
52
52
  * // Blackhole: true || false,
53
53
  * // TransitGatewayAttachment: { // TransitGatewayPrefixListAttachment
54
54
  * // TransitGatewayAttachmentId: "STRING_VALUE",
55
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
55
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
56
56
  * // ResourceId: "STRING_VALUE",
57
57
  * // },
58
58
  * // },
@@ -52,7 +52,7 @@ declare const CreateTransitGatewayRouteCommand_base: {
52
52
  * // { // TransitGatewayRouteAttachment
53
53
  * // ResourceId: "STRING_VALUE",
54
54
  * // TransitGatewayAttachmentId: "STRING_VALUE",
55
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
55
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
56
56
  * // },
57
57
  * // ],
58
58
  * // Type: "static" || "propagated",
@@ -50,7 +50,7 @@ declare const DeleteTransitGatewayPrefixListReferenceCommand_base: {
50
50
  * // Blackhole: true || false,
51
51
  * // TransitGatewayAttachment: { // TransitGatewayPrefixListAttachment
52
52
  * // TransitGatewayAttachmentId: "STRING_VALUE",
53
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
53
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
54
54
  * // ResourceId: "STRING_VALUE",
55
55
  * // },
56
56
  * // },
@@ -50,7 +50,7 @@ declare const DeleteTransitGatewayRouteCommand_base: {
50
50
  * // { // TransitGatewayRouteAttachment
51
51
  * // ResourceId: "STRING_VALUE",
52
52
  * // TransitGatewayAttachmentId: "STRING_VALUE",
53
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
53
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
54
54
  * // },
55
55
  * // ],
56
56
  * // Type: "static" || "propagated",
@@ -60,7 +60,7 @@ declare const DescribeTransitGatewayAttachmentsCommand_base: {
60
60
  * // TransitGatewayId: "STRING_VALUE",
61
61
  * // TransitGatewayOwnerId: "STRING_VALUE",
62
62
  * // ResourceOwnerId: "STRING_VALUE",
63
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
63
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
64
64
  * // ResourceId: "STRING_VALUE",
65
65
  * // State: "initiating" || "initiatingRequest" || "pendingAcceptance" || "rollingBack" || "pending" || "available" || "modifying" || "deleting" || "deleted" || "failed" || "rejected" || "rejecting" || "failing",
66
66
  * // Association: { // TransitGatewayAttachmentAssociation
@@ -47,7 +47,7 @@ declare const DisableTransitGatewayRouteTablePropagationCommand_base: {
47
47
  * // Propagation: { // TransitGatewayPropagation
48
48
  * // TransitGatewayAttachmentId: "STRING_VALUE",
49
49
  * // ResourceId: "STRING_VALUE",
50
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
50
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
51
51
  * // TransitGatewayRouteTableId: "STRING_VALUE",
52
52
  * // State: "enabling" || "enabled" || "disabling" || "disabled",
53
53
  * // TransitGatewayRouteTableAnnouncementId: "STRING_VALUE",
@@ -49,7 +49,7 @@ declare const DisassociateTransitGatewayMulticastDomainCommand_base: {
49
49
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
50
50
  * // TransitGatewayAttachmentId: "STRING_VALUE",
51
51
  * // ResourceId: "STRING_VALUE",
52
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
52
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
53
53
  * // ResourceOwnerId: "STRING_VALUE",
54
54
  * // Subnets: [ // SubnetAssociationList
55
55
  * // { // SubnetAssociation
@@ -46,7 +46,7 @@ declare const DisassociateTransitGatewayPolicyTableCommand_base: {
46
46
  * // TransitGatewayPolicyTableId: "STRING_VALUE",
47
47
  * // TransitGatewayAttachmentId: "STRING_VALUE",
48
48
  * // ResourceId: "STRING_VALUE",
49
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
49
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
50
50
  * // State: "associating" || "associated" || "disassociating" || "disassociated",
51
51
  * // },
52
52
  * // };
@@ -46,7 +46,7 @@ declare const DisassociateTransitGatewayRouteTableCommand_base: {
46
46
  * // TransitGatewayRouteTableId: "STRING_VALUE",
47
47
  * // TransitGatewayAttachmentId: "STRING_VALUE",
48
48
  * // ResourceId: "STRING_VALUE",
49
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
49
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
50
50
  * // State: "associating" || "associated" || "disassociating" || "disassociated",
51
51
  * // },
52
52
  * // };
@@ -47,7 +47,7 @@ declare const EnableTransitGatewayRouteTablePropagationCommand_base: {
47
47
  * // Propagation: { // TransitGatewayPropagation
48
48
  * // TransitGatewayAttachmentId: "STRING_VALUE",
49
49
  * // ResourceId: "STRING_VALUE",
50
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
50
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
51
51
  * // TransitGatewayRouteTableId: "STRING_VALUE",
52
52
  * // State: "enabling" || "enabled" || "disabling" || "disabled",
53
53
  * // TransitGatewayRouteTableAnnouncementId: "STRING_VALUE",
@@ -55,7 +55,7 @@ declare const GetTransitGatewayMulticastDomainAssociationsCommand_base: {
55
55
  * // { // TransitGatewayMulticastDomainAssociation
56
56
  * // TransitGatewayAttachmentId: "STRING_VALUE",
57
57
  * // ResourceId: "STRING_VALUE",
58
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
58
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
59
59
  * // ResourceOwnerId: "STRING_VALUE",
60
60
  * // Subnet: { // SubnetAssociation
61
61
  * // SubnetId: "STRING_VALUE",
@@ -56,7 +56,7 @@ declare const GetTransitGatewayPolicyTableAssociationsCommand_base: {
56
56
  * // TransitGatewayPolicyTableId: "STRING_VALUE",
57
57
  * // TransitGatewayAttachmentId: "STRING_VALUE",
58
58
  * // ResourceId: "STRING_VALUE",
59
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
59
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
60
60
  * // State: "associating" || "associated" || "disassociating" || "disassociated",
61
61
  * // },
62
62
  * // ],
@@ -60,7 +60,7 @@ declare const GetTransitGatewayPrefixListReferencesCommand_base: {
60
60
  * // Blackhole: true || false,
61
61
  * // TransitGatewayAttachment: { // TransitGatewayPrefixListAttachment
62
62
  * // TransitGatewayAttachmentId: "STRING_VALUE",
63
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
63
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
64
64
  * // ResourceId: "STRING_VALUE",
65
65
  * // },
66
66
  * // },
@@ -55,7 +55,7 @@ declare const GetTransitGatewayRouteTableAssociationsCommand_base: {
55
55
  * // { // TransitGatewayRouteTableAssociation
56
56
  * // TransitGatewayAttachmentId: "STRING_VALUE",
57
57
  * // ResourceId: "STRING_VALUE",
58
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
58
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
59
59
  * // State: "associating" || "associated" || "disassociating" || "disassociated",
60
60
  * // },
61
61
  * // ],
@@ -55,7 +55,7 @@ declare const GetTransitGatewayRouteTablePropagationsCommand_base: {
55
55
  * // { // TransitGatewayRouteTablePropagation
56
56
  * // TransitGatewayAttachmentId: "STRING_VALUE",
57
57
  * // ResourceId: "STRING_VALUE",
58
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
58
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
59
59
  * // State: "enabling" || "enabled" || "disabling" || "disabled",
60
60
  * // TransitGatewayRouteTableAnnouncementId: "STRING_VALUE",
61
61
  * // },
@@ -52,7 +52,7 @@ declare const ModifyTransitGatewayPrefixListReferenceCommand_base: {
52
52
  * // Blackhole: true || false,
53
53
  * // TransitGatewayAttachment: { // TransitGatewayPrefixListAttachment
54
54
  * // TransitGatewayAttachmentId: "STRING_VALUE",
55
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
55
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
56
56
  * // ResourceId: "STRING_VALUE",
57
57
  * // },
58
58
  * // },
@@ -49,7 +49,7 @@ declare const RejectTransitGatewayMulticastDomainAssociationsCommand_base: {
49
49
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
50
50
  * // TransitGatewayAttachmentId: "STRING_VALUE",
51
51
  * // ResourceId: "STRING_VALUE",
52
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
52
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
53
53
  * // ResourceOwnerId: "STRING_VALUE",
54
54
  * // Subnets: [ // SubnetAssociationList
55
55
  * // { // SubnetAssociation
@@ -52,7 +52,7 @@ declare const ReplaceTransitGatewayRouteCommand_base: {
52
52
  * // { // TransitGatewayRouteAttachment
53
53
  * // ResourceId: "STRING_VALUE",
54
54
  * // TransitGatewayAttachmentId: "STRING_VALUE",
55
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
55
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
56
56
  * // },
57
57
  * // ],
58
58
  * // Type: "static" || "propagated",
@@ -57,7 +57,7 @@ declare const SearchTransitGatewayMulticastGroupsCommand_base: {
57
57
  * // TransitGatewayAttachmentId: "STRING_VALUE",
58
58
  * // SubnetId: "STRING_VALUE",
59
59
  * // ResourceId: "STRING_VALUE",
60
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
60
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
61
61
  * // ResourceOwnerId: "STRING_VALUE",
62
62
  * // NetworkInterfaceId: "STRING_VALUE",
63
63
  * // GroupMember: true || false,
@@ -59,7 +59,7 @@ declare const SearchTransitGatewayRoutesCommand_base: {
59
59
  * // { // TransitGatewayRouteAttachment
60
60
  * // ResourceId: "STRING_VALUE",
61
61
  * // TransitGatewayAttachmentId: "STRING_VALUE",
62
- * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering",
62
+ * // ResourceType: "vpc" || "vpn" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
63
63
  * // },
64
64
  * // ],
65
65
  * // Type: "static" || "propagated",
@@ -35,10 +35,9 @@ declare const StartDeclarativePoliciesReportCommand_base: {
35
35
  * accounts that fall under the specified organizational unit (OU) or root (the entire
36
36
  * Amazon Web Services Organization).</p>
37
37
  * <p>The report is saved to your specified S3 bucket, using the following path structure
38
- * (with the <i>italicized placeholders</i> representing your specific
39
- * values):</p>
38
+ * (with the capitalized placeholders representing your specific values):</p>
40
39
  * <p>
41
- * <code>s3://<i>amzn-s3-demo-bucket</i>/<i>your-optional-s3-prefix</i>/ec2_<i>targetId</i>_<i>reportId</i>_<i>yyyyMMdd</i>T<i>hhmm</i>Z.csv</code>
40
+ * <code>s3://AMZN-S3-DEMO-BUCKET/YOUR-OPTIONAL-S3-PREFIX/ec2_TARGETID_REPORTID_YYYYMMDDTHHMMZ.csv</code>
42
41
  * </p>
43
42
  * <p class="title">
44
43
  * <b>Prerequisites for generating a report</b>
@@ -30,17 +30,21 @@ declare const StopInstancesCommand_base: {
30
30
  * <p>Stops an Amazon EBS-backed instance. You can restart your instance at any time using
31
31
  * the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_StartInstances.html">StartInstances</a> API. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html">Stop and start Amazon EC2
32
32
  * instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
33
- * <p>When you stop an instance, we shut it down.</p>
34
- * <p>You can use the Stop operation together with the Hibernate parameter to hibernate an
35
- * instance if the instance is <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enabling-hibernation.html">enabled for
33
+ * <p>When you stop or hibernate an instance, we shut it down. By default, this includes a
34
+ * graceful operating system (OS) shutdown. To bypass the graceful shutdown, use the
35
+ * <code>skipOsShutdown</code> parameter; however, this might risk data
36
+ * integrity.</p>
37
+ * <p>You can use the StopInstances operation together with the <code>Hibernate</code>
38
+ * parameter to hibernate an instance if the instance is <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enabling-hibernation.html">enabled for
36
39
  * hibernation</a> and meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html">hibernation
37
40
  * prerequisites</a>. Stopping an instance doesn't preserve data stored in RAM,
38
41
  * while hibernation does. If hibernation fails, a normal shutdown occurs. For more
39
42
  * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your Amazon EC2
40
43
  * instance</a> in the <i>Amazon EC2 User Guide</i>.</p>
41
44
  * <p>If your instance appears stuck in the <code>stopping</code> state, there might be an
42
- * issue with the underlying host computer. You can use the Stop operation together with
43
- * the Force parameter to force stop your instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html">Troubleshoot
45
+ * issue with the underlying host computer. You can use the StopInstances operation
46
+ * together with the Force parameter to force stop your instance. For more information, see
47
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html">Troubleshoot
44
48
  * Amazon EC2 instance stop issues</a> in the
45
49
  * <i>Amazon EC2 User Guide</i>.</p>
46
50
  * <p>Stopping and hibernating an instance differs from rebooting or terminating it. For
@@ -65,6 +69,7 @@ declare const StopInstancesCommand_base: {
65
69
  * "STRING_VALUE",
66
70
  * ],
67
71
  * Hibernate: true || false,
72
+ * SkipOsShutdown: true || false,
68
73
  * DryRun: true || false,
69
74
  * Force: true || false,
70
75
  * };
@@ -77,16 +77,23 @@ declare const TerminateInstancesCommand_base: {
77
77
  * hour).</p>
78
78
  * <p>By default, Amazon EC2 deletes all EBS volumes that were attached when the instance
79
79
  * launched. Volumes attached after instance launch continue running.</p>
80
+ * <p>By default, the TerminateInstances operation includes a graceful operating system (OS)
81
+ * shutdown. To bypass the graceful shutdown, use the <code>skipOsShutdown</code>
82
+ * parameter; however, this might risk data integrity.</p>
80
83
  * <p>You can stop, start, and terminate EBS-backed instances. You can only terminate
81
84
  * instance store-backed instances. What happens to an instance differs if you stop or
82
85
  * terminate it. For example, when you stop an instance, the root device and any other
83
86
  * devices attached to the instance persist. When you terminate an instance, any attached
84
87
  * EBS volumes with the <code>DeleteOnTermination</code> block device mapping parameter set
85
88
  * to <code>true</code> are automatically deleted. For more information about the
86
- * differences between stopping and terminating instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html">Instance lifecycle</a>
87
- * in the <i>Amazon EC2 User Guide</i>.</p>
88
- * <p>For more information about troubleshooting, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesShuttingDown.html">Troubleshooting terminating your instance</a> in the
89
- * <i>Amazon EC2 User Guide</i>.</p>
89
+ * differences between stopping and terminating instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html">Amazon EC2
90
+ * instance state changes</a> in the <i>Amazon EC2 User Guide</i>.</p>
91
+ * <p>When you terminate an instance, we attempt to terminate it forcibly after a short
92
+ * while. If your instance appears stuck in the shutting-down state after a period of time,
93
+ * there might be an issue with the underlying host computer. For more information about
94
+ * terminating and troubleshooting terminating your instances, see <a href="https://docs.aws.amazon.com/">Terminate Amazon EC2 instances</a> and
95
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesShuttingDown.html">Troubleshooting terminating your instance</a> in the
96
+ * <i>Amazon EC2 User Guide</i>.</p>
90
97
  * @example
91
98
  * Use a bare-bones client and the command you need to make an API call.
92
99
  * ```javascript
@@ -97,6 +104,7 @@ declare const TerminateInstancesCommand_base: {
97
104
  * InstanceIds: [ // InstanceIdStringList // required
98
105
  * "STRING_VALUE",
99
106
  * ],
107
+ * SkipOsShutdown: true || false,
100
108
  * DryRun: true || false,
101
109
  * };
102
110
  * const command = new TerminateInstancesCommand(input);
@@ -470,6 +470,7 @@ export interface AcceptTransitGatewayMulticastDomainAssociationsRequest {
470
470
  export declare const TransitGatewayAttachmentResourceType: {
471
471
  readonly connect: "connect";
472
472
  readonly direct_connect_gateway: "direct-connect-gateway";
473
+ readonly network_function: "network-function";
473
474
  readonly peering: "peering";
474
475
  readonly tgw_peering: "tgw-peering";
475
476
  readonly vpc: "vpc";
@@ -410,7 +410,7 @@ export interface CreateCapacityReservationRequest {
410
410
  * <p>The instance type for which to reserve capacity.</p>
411
411
  * <note>
412
412
  * <p>You can request future-dated Capacity Reservations for instance types in the C, M,
413
- * R, I, and T instance families only.</p>
413
+ * R, I, T, and G instance families only.</p>
414
414
  * </note>
415
415
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the
416
416
  * <i>Amazon EC2 User Guide</i>.</p>
@@ -454,9 +454,9 @@ export interface CreateCapacityReservationRequest {
454
454
  * <p>The number of instances for which to reserve capacity.</p>
455
455
  * <note>
456
456
  * <p>You can request future-dated Capacity Reservations for an instance count with a
457
- * minimum of 100 vCPUs. For example, if you request a future-dated Capacity
457
+ * minimum of 64 vCPUs. For example, if you request a future-dated Capacity
458
458
  * Reservation for <code>m5.xlarge</code> instances, you must request at least 25
459
- * instances (<i>25 * m5.xlarge = 100 vCPUs</i>).</p>
459
+ * instances (<i>16 * m5.xlarge = 64 vCPUs</i>).</p>
460
460
  * </note>
461
461
  * <p>Valid range: 1 - 1000</p>
462
462
  * @public
@@ -7266,8 +7266,11 @@ export interface EbsBlockDevice {
7266
7266
  * but not both. If neither is specified, Amazon EC2 automatically selects an Availability Zone within
7267
7267
  * the Region.</p>
7268
7268
  * <p>This parameter is not supported when using
7269
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html">CreateFleet</a>,
7269
7270
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>,
7270
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html">DescribeImages</a>, and
7271
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html">DescribeImages</a>,
7272
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html">RequestSpotFleet</a>,
7273
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html">RequestSpotInstances</a>, and
7271
7274
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>.</p>
7272
7275
  * @public
7273
7276
  */
@@ -7348,8 +7351,11 @@ export interface EbsBlockDevice {
7348
7351
  * but not both. If neither is specified, Amazon EC2 automatically selects an Availability Zone within
7349
7352
  * the Region.</p>
7350
7353
  * <p>This parameter is not supported when using
7354
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html">CreateFleet</a>,
7351
7355
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>,
7352
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html">DescribeImages</a>, and
7356
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html">DescribeImages</a>,
7357
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html">RequestSpotFleet</a>,
7358
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html">RequestSpotInstances</a>, and
7353
7359
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>.</p>
7354
7360
  * @public
7355
7361
  */
@@ -9104,8 +9104,8 @@ export interface DescribeInstanceTypesRequest {
9104
9104
  * </li>
9105
9105
  * <li>
9106
9106
  * <p>
9107
- * <code>free-tier-eligible</code> - Indicates whether the instance type is eligible to use
9108
- * in the free tier (<code>true</code> | <code>false</code>).</p>
9107
+ * <code>free-tier-eligible</code> - A Boolean that indicates whether this instance type can
9108
+ * be used under the Amazon Web Services Free Tier (<code>true</code> | <code>false</code>).</p>
9109
9109
  * </li>
9110
9110
  * <li>
9111
9111
  * <p>
@@ -2138,8 +2138,8 @@ export interface RunInstancesRequest {
2138
2138
  */
2139
2139
  ImageId?: string | undefined;
2140
2140
  /**
2141
- * <p>The instance type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Amazon EC2 instance
2142
- * types</a> in the <i>Amazon EC2 User Guide</i>.</p>
2141
+ * <p>The instance type. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-types.html">Amazon EC2 Instance
2142
+ * Types Guide</a>.</p>
2143
2143
  * @public
2144
2144
  */
2145
2145
  InstanceType?: _InstanceType | undefined;
@@ -2175,8 +2175,7 @@ export interface RunInstancesRequest {
2175
2175
  */
2176
2176
  KernelId?: string | undefined;
2177
2177
  /**
2178
- * <p>The name of the key pair. You can create a key pair using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateKeyPair.html">CreateKeyPair</a> or
2179
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html">ImportKeyPair</a>.</p>
2178
+ * <p>The name of the key pair. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html">Create a key pair for your EC2 instance</a>.</p>
2180
2179
  * <important>
2181
2180
  * <p>If you do not specify a key pair, you can't connect to the instance unless you
2182
2181
  * choose an AMI that is configured to allow users another way to log in.</p>
@@ -2227,7 +2226,7 @@ export interface RunInstancesRequest {
2227
2226
  */
2228
2227
  RamdiskId?: string | undefined;
2229
2228
  /**
2230
- * <p>The IDs of the security groups. You can create a security group using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html">CreateSecurityGroup</a>.</p>
2229
+ * <p>The IDs of the security groups.</p>
2231
2230
  * <p>If you specify a network interface, you must specify any security groups as part of
2232
2231
  * the network interface instead of using this parameter.</p>
2233
2232
  * @public
@@ -2251,7 +2250,7 @@ export interface RunInstancesRequest {
2251
2250
  /**
2252
2251
  * <p>The user data to make available to the instance. User data must be base64-encoded.
2253
2252
  * Depending on the tool or SDK that you're using, the base64-encoding might be performed for you.
2254
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-add-user-data.html">Work with instance user data</a>.</p>
2253
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html">Run commands at launch using instance user data</a>.</p>
2255
2254
  * @public
2256
2255
  */
2257
2256
  UserData?: string | undefined;
@@ -2348,15 +2347,14 @@ export interface RunInstancesRequest {
2348
2347
  */
2349
2348
  LicenseSpecifications?: LicenseConfigurationRequest[] | undefined;
2350
2349
  /**
2351
- * <p>The metadata options for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">Instance metadata and user data</a>.</p>
2350
+ * <p>The metadata options for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html">Configure the Instance Metadata Service options</a>.</p>
2352
2351
  * @public
2353
2352
  */
2354
2353
  MetadataOptions?: InstanceMetadataOptionsRequest | undefined;
2355
2354
  /**
2356
2355
  * <p>Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For
2357
- * more information, see <a href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html">What is Amazon Web Services Nitro
2358
- * Enclaves?</a> in the <i>Amazon Web Services Nitro Enclaves User
2359
- * Guide</i>.</p>
2356
+ * more information, see <a href="https://docs.aws.amazon.com/enclaves/latest/user/">Amazon Web Services Nitro
2357
+ * Enclaves User Guide</a>.</p>
2360
2358
  * <p>You can't enable Amazon Web Services Nitro Enclaves and hibernation on the same
2361
2359
  * instance.</p>
2362
2360
  * @public
@@ -2376,8 +2374,7 @@ export interface RunInstancesRequest {
2376
2374
  MaintenanceOptions?: InstanceMaintenanceOptionsRequest | undefined;
2377
2375
  /**
2378
2376
  * <p>Indicates whether an instance is enabled for stop protection. For more information,
2379
- * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection">Stop
2380
- * protection</a>. </p>
2377
+ * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html">Enable stop protection for your EC2 instances</a>.</p>
2381
2378
  * @public
2382
2379
  */
2383
2380
  DisableApiStop?: boolean | undefined;
@@ -2447,8 +2444,7 @@ export interface RunInstancesRequest {
2447
2444
  * <p>Unique, case-sensitive identifier you provide to ensure the idempotency of the
2448
2445
  * request. If you do not specify a client token, a randomly generated token is used for
2449
2446
  * the request to ensure idempotency.</p>
2450
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
2451
- * Idempotency</a>.</p>
2447
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency in Amazon EC2 API requests</a>.</p>
2452
2448
  * <p>Constraints: Maximum 64 ASCII characters</p>
2453
2449
  * @public
2454
2450
  */
@@ -3411,12 +3407,26 @@ export interface StopInstancesRequest {
3411
3407
  * <p>Hibernates the instance if the instance was enabled for hibernation at launch. If the
3412
3408
  * instance cannot hibernate successfully, a normal shutdown occurs. For more information,
3413
3409
  * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate
3414
- * your instance</a> in the <i>Amazon EC2 User Guide</i>.</p>
3410
+ * your Amazon EC2 instance</a> in the
3411
+ * <i>Amazon EC2 User Guide</i>.</p>
3415
3412
  * <p> Default: <code>false</code>
3416
3413
  * </p>
3417
3414
  * @public
3418
3415
  */
3419
3416
  Hibernate?: boolean | undefined;
3417
+ /**
3418
+ * <p>Specifies whether to bypass the graceful OS shutdown process when the instance is
3419
+ * stopped.</p>
3420
+ * <important>
3421
+ * <p>Bypassing the graceful OS shutdown might result in data loss or corruption (for
3422
+ * example, memory contents not flushed to disk or loss of in-flight IOs) or skipped
3423
+ * shutdown scripts.</p>
3424
+ * </important>
3425
+ * <p>Default: <code>false</code>
3426
+ * </p>
3427
+ * @public
3428
+ */
3429
+ SkipOsShutdown?: boolean | undefined;
3420
3430
  /**
3421
3431
  * <p>Checks whether you have the required permissions for the operation, without actually making the
3422
3432
  * request, and provides an error response. If you have the required permissions, the error response is
@@ -3527,6 +3537,14 @@ export interface TerminateInstancesRequest {
3527
3537
  * @public
3528
3538
  */
3529
3539
  InstanceIds: string[] | undefined;
3540
+ /**
3541
+ * <p>Specifies whether to bypass the graceful OS shutdown process when the instance is
3542
+ * terminated.</p>
3543
+ * <p>Default: <code>false</code>
3544
+ * </p>
3545
+ * @public
3546
+ */
3547
+ SkipOsShutdown?: boolean | undefined;
3530
3548
  /**
3531
3549
  * <p>Checks whether you have the required permissions for the operation, without actually making the
3532
3550
  * request, and provides an error response. If you have the required permissions, the error response is
@@ -204,6 +204,7 @@ export interface AcceptTransitGatewayMulticastDomainAssociationsRequest {
204
204
  export declare const TransitGatewayAttachmentResourceType: {
205
205
  readonly connect: "connect";
206
206
  readonly direct_connect_gateway: "direct-connect-gateway";
207
+ readonly network_function: "network-function";
207
208
  readonly peering: "peering";
208
209
  readonly tgw_peering: "tgw-peering";
209
210
  readonly vpc: "vpc";
@@ -739,6 +739,7 @@ export interface StartVpcEndpointServicePrivateDnsVerificationResult {
739
739
  export interface StopInstancesRequest {
740
740
  InstanceIds: string[] | undefined;
741
741
  Hibernate?: boolean | undefined;
742
+ SkipOsShutdown?: boolean | undefined;
742
743
  DryRun?: boolean | undefined;
743
744
  Force?: boolean | undefined;
744
745
  }
@@ -763,6 +764,7 @@ export interface TerminateClientVpnConnectionsResult {
763
764
  }
764
765
  export interface TerminateInstancesRequest {
765
766
  InstanceIds: string[] | undefined;
767
+ SkipOsShutdown?: boolean | undefined;
766
768
  DryRun?: boolean | undefined;
767
769
  }
768
770
  export interface TerminateInstancesResult {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
3
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
4
- "version": "3.850.0",
4
+ "version": "3.854.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2",