@aws-sdk/client-ec2 3.985.0 → 3.987.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 +973 -115
- package/dist-es/EC2.js +28 -0
- package/dist-es/commands/CreateSecondaryNetworkCommand.js +16 -0
- package/dist-es/commands/CreateSecondarySubnetCommand.js +16 -0
- package/dist-es/commands/DeleteSecondaryNetworkCommand.js +16 -0
- package/dist-es/commands/DeleteSecondarySubnetCommand.js +16 -0
- package/dist-es/commands/DescribeSecondaryInterfacesCommand.js +16 -0
- package/dist-es/commands/DescribeSecondaryNetworksCommand.js +16 -0
- package/dist-es/commands/DescribeSecondarySubnetsCommand.js +16 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/enums.js +45 -0
- package/dist-es/pagination/DescribeSecondaryInterfacesPaginator.js +4 -0
- package/dist-es/pagination/DescribeSecondaryNetworksPaginator.js +4 -0
- package/dist-es/pagination/DescribeSecondarySubnetsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +482 -53
- package/dist-es/waiters/index.js +4 -0
- package/dist-es/waiters/waitForSecondaryNetworkCreateComplete.js +57 -0
- package/dist-es/waiters/waitForSecondaryNetworkDeleteComplete.js +54 -0
- package/dist-es/waiters/waitForSecondarySubnetCreateComplete.js +57 -0
- package/dist-es/waiters/waitForSecondarySubnetDeleteComplete.js +54 -0
- package/dist-types/EC2.d.ts +97 -0
- package/dist-types/EC2Client.d.ts +9 -2
- package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
- package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
- package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
- package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
- package/dist-types/commands/CopyImageCommand.d.ts +1 -1
- package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CopyVolumesCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityManagerDataExportCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
- package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
- package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
- package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
- package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
- package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
- package/dist-types/commands/CreateImageCommand.d.ts +1 -1
- package/dist-types/commands/CreateImageUsageReportCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamPolicyCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamPrefixListResolverCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamPrefixListResolverTargetCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
- package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +17 -2
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +32 -2
- package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
- package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
- package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
- package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateSecondaryNetworkCommand.d.ts +159 -0
- package/dist-types/commands/CreateSecondarySubnetCommand.d.ts +178 -0
- package/dist-types/commands/CreateSecurityGroupCommand.d.ts +2 -2
- package/dist-types/commands/CreateSnapshotCommand.d.ts +2 -2
- package/dist-types/commands/CreateSnapshotsCommand.d.ts +2 -2
- package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +1 -2
- package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
- package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayMeteringPolicyCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
- package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEncryptionControlCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpnConcentratorCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSecondaryNetworkCommand.d.ts +134 -0
- package/dist-types/commands/DeleteSecondarySubnetCommand.d.ts +140 -0
- package/dist-types/commands/DeleteTrafficMirrorTargetCommand.d.ts +2 -1
- package/dist-types/commands/DeleteTransitGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayConnectCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayConnectPeerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayMeteringPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayMeteringPolicyEntryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayPolicyTableCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +3 -0
- package/dist-types/commands/DescribeInstancesCommand.d.ts +26 -2
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +16 -1
- package/dist-types/commands/DescribeSecondaryInterfacesCommand.d.ts +233 -0
- package/dist-types/commands/DescribeSecondaryNetworksCommand.d.ts +221 -0
- package/dist-types/commands/DescribeSecondarySubnetsCommand.d.ts +179 -0
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayConnectPeersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayConnectsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayMeteringPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVerifiedAccessGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +1 -2
- package/dist-types/commands/ExportImageCommand.d.ts +1 -1
- package/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/dist-types/commands/GetEnabledIpamPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
- package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
- package/dist-types/commands/GetImageAncestryCommand.d.ts +1 -1
- package/dist-types/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
- package/dist-types/commands/GetInstanceMetadataDefaultsCommand.d.ts +1 -1
- package/dist-types/commands/GetInstanceTpmEkPubCommand.d.ts +1 -1
- package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -1
- package/dist-types/commands/GetInstanceUefiDataCommand.d.ts +1 -2
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +16 -1
- package/dist-types/commands/ImportImageCommand.d.ts +1 -1
- package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
- package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
- package/dist-types/commands/RunInstancesCommand.d.ts +41 -1
- package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
- package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/enums.d.ts +101 -0
- package/dist-types/models/models_1.d.ts +187 -391
- package/dist-types/models/models_2.d.ts +655 -223
- package/dist-types/models/models_3.d.ts +225 -1176
- package/dist-types/models/models_4.d.ts +3939 -3103
- package/dist-types/models/models_5.d.ts +4263 -4009
- package/dist-types/models/models_6.d.ts +4721 -4755
- package/dist-types/models/models_7.d.ts +730 -9
- package/dist-types/pagination/DescribeSecondaryInterfacesPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeSecondaryNetworksPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeSecondarySubnetsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +37 -0
- package/dist-types/ts3.4/EC2.d.ts +179 -0
- package/dist-types/ts3.4/EC2Client.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateSecondaryNetworkCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateSecondarySubnetCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/CreateSecurityGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateSnapshotsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteSecondaryNetworkCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteSecondarySubnetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteTrafficMirrorTargetCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteTransitGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTransitGatewayConnectCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTransitGatewayConnectPeerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTransitGatewayMeteringPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTransitGatewayMeteringPolicyEntryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTransitGatewayPolicyTableCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeInstancesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeSecondaryInterfacesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeSecondaryNetworksCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeSecondarySubnetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeTransitGatewayConnectPeersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayConnectsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayMeteringPoliciesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVerifiedAccessGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEnabledIpamPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetImageAncestryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInstanceMetadataDefaultsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInstanceTpmEkPubCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInstanceUefiDataCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/enums.d.ts +59 -0
- package/dist-types/ts3.4/models/models_1.d.ts +73 -81
- package/dist-types/ts3.4/models/models_2.d.ts +133 -60
- package/dist-types/ts3.4/models/models_3.d.ts +66 -92
- package/dist-types/ts3.4/models/models_4.d.ts +190 -190
- package/dist-types/ts3.4/models/models_5.d.ts +176 -151
- package/dist-types/ts3.4/models/models_6.d.ts +142 -173
- package/dist-types/ts3.4/models/models_7.d.ts +193 -7
- package/dist-types/ts3.4/pagination/DescribeSecondaryInterfacesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeSecondaryNetworksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeSecondarySubnetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +37 -0
- package/dist-types/ts3.4/waiters/index.d.ts +4 -0
- package/dist-types/ts3.4/waiters/waitForSecondaryNetworkCreateComplete.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForSecondaryNetworkDeleteComplete.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForSecondarySubnetCreateComplete.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForSecondarySubnetDeleteComplete.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +4 -0
- package/dist-types/waiters/waitForSecondaryNetworkCreateComplete.d.ts +14 -0
- package/dist-types/waiters/waitForSecondaryNetworkDeleteComplete.d.ts +14 -0
- package/dist-types/waiters/waitForSecondarySubnetCreateComplete.d.ts +14 -0
- package/dist-types/waiters/waitForSecondarySubnetDeleteComplete.d.ts +14 -0
- package/package.json +2 -2
package/dist-es/waiters/index.js
CHANGED
|
@@ -20,6 +20,10 @@ export * from "./waitForKeyPairExists";
|
|
|
20
20
|
export * from "./waitForNatGatewayAvailable";
|
|
21
21
|
export * from "./waitForNatGatewayDeleted";
|
|
22
22
|
export * from "./waitForNetworkInterfaceAvailable";
|
|
23
|
+
export * from "./waitForSecondaryNetworkCreateComplete";
|
|
24
|
+
export * from "./waitForSecondaryNetworkDeleteComplete";
|
|
25
|
+
export * from "./waitForSecondarySubnetCreateComplete";
|
|
26
|
+
export * from "./waitForSecondarySubnetDeleteComplete";
|
|
23
27
|
export * from "./waitForSecurityGroupExists";
|
|
24
28
|
export * from "./waitForSecurityGroupVpcAssociationAssociated";
|
|
25
29
|
export * from "./waitForSecurityGroupVpcAssociationDisassociated";
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
|
2
|
+
import { DescribeSecondaryNetworksCommand, } from "../commands/DescribeSecondaryNetworksCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
let result = await client.send(new DescribeSecondaryNetworksCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
let flat_1 = [].concat(...result.SecondaryNetworks);
|
|
11
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
12
|
+
return element_2.State;
|
|
13
|
+
});
|
|
14
|
+
return projection_3;
|
|
15
|
+
};
|
|
16
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
17
|
+
for (let element_4 of returnComparator()) {
|
|
18
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "create-complete");
|
|
19
|
+
}
|
|
20
|
+
if (allStringEq_5) {
|
|
21
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
catch (e) { }
|
|
25
|
+
try {
|
|
26
|
+
const returnComparator = () => {
|
|
27
|
+
let flat_1 = [].concat(...result.SecondaryNetworks);
|
|
28
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
29
|
+
return element_2.State;
|
|
30
|
+
});
|
|
31
|
+
return projection_3;
|
|
32
|
+
};
|
|
33
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
34
|
+
if (anyStringEq_4 == "create-failed") {
|
|
35
|
+
return { state: WaiterState.FAILURE, reason };
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
catch (e) { }
|
|
40
|
+
}
|
|
41
|
+
catch (exception) {
|
|
42
|
+
reason = exception;
|
|
43
|
+
if (exception.name && exception.name == "InvalidSecondaryNetworkId.NotFound") {
|
|
44
|
+
return { state: WaiterState.RETRY, reason };
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return { state: WaiterState.RETRY, reason };
|
|
48
|
+
};
|
|
49
|
+
export const waitForSecondaryNetworkCreateComplete = async (params, input) => {
|
|
50
|
+
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
51
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
52
|
+
};
|
|
53
|
+
export const waitUntilSecondaryNetworkCreateComplete = async (params, input) => {
|
|
54
|
+
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
55
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
56
|
+
return checkExceptions(result);
|
|
57
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
|
2
|
+
import { DescribeSecondaryNetworksCommand, } from "../commands/DescribeSecondaryNetworksCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
let result = await client.send(new DescribeSecondaryNetworksCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
let flat_1 = [].concat(...result.SecondaryNetworks);
|
|
11
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
12
|
+
return element_2.State;
|
|
13
|
+
});
|
|
14
|
+
return projection_3;
|
|
15
|
+
};
|
|
16
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
17
|
+
for (let element_4 of returnComparator()) {
|
|
18
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "delete-complete");
|
|
19
|
+
}
|
|
20
|
+
if (allStringEq_5) {
|
|
21
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
catch (e) { }
|
|
25
|
+
try {
|
|
26
|
+
const returnComparator = () => {
|
|
27
|
+
let flat_1 = [].concat(...result.SecondaryNetworks);
|
|
28
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
29
|
+
return element_2.State;
|
|
30
|
+
});
|
|
31
|
+
return projection_3;
|
|
32
|
+
};
|
|
33
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
34
|
+
if (anyStringEq_4 == "delete-failed") {
|
|
35
|
+
return { state: WaiterState.FAILURE, reason };
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
catch (e) { }
|
|
40
|
+
}
|
|
41
|
+
catch (exception) {
|
|
42
|
+
reason = exception;
|
|
43
|
+
}
|
|
44
|
+
return { state: WaiterState.RETRY, reason };
|
|
45
|
+
};
|
|
46
|
+
export const waitForSecondaryNetworkDeleteComplete = async (params, input) => {
|
|
47
|
+
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
48
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
49
|
+
};
|
|
50
|
+
export const waitUntilSecondaryNetworkDeleteComplete = async (params, input) => {
|
|
51
|
+
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
52
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
53
|
+
return checkExceptions(result);
|
|
54
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
|
2
|
+
import { DescribeSecondarySubnetsCommand, } from "../commands/DescribeSecondarySubnetsCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
let result = await client.send(new DescribeSecondarySubnetsCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
let flat_1 = [].concat(...result.SecondarySubnets);
|
|
11
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
12
|
+
return element_2.State;
|
|
13
|
+
});
|
|
14
|
+
return projection_3;
|
|
15
|
+
};
|
|
16
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
17
|
+
for (let element_4 of returnComparator()) {
|
|
18
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "create-complete");
|
|
19
|
+
}
|
|
20
|
+
if (allStringEq_5) {
|
|
21
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
catch (e) { }
|
|
25
|
+
try {
|
|
26
|
+
const returnComparator = () => {
|
|
27
|
+
let flat_1 = [].concat(...result.SecondarySubnets);
|
|
28
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
29
|
+
return element_2.State;
|
|
30
|
+
});
|
|
31
|
+
return projection_3;
|
|
32
|
+
};
|
|
33
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
34
|
+
if (anyStringEq_4 == "delete-failed") {
|
|
35
|
+
return { state: WaiterState.FAILURE, reason };
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
catch (e) { }
|
|
40
|
+
}
|
|
41
|
+
catch (exception) {
|
|
42
|
+
reason = exception;
|
|
43
|
+
if (exception.name && exception.name == "InvalidSecondarySubnetId.NotFound") {
|
|
44
|
+
return { state: WaiterState.RETRY, reason };
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return { state: WaiterState.RETRY, reason };
|
|
48
|
+
};
|
|
49
|
+
export const waitForSecondarySubnetCreateComplete = async (params, input) => {
|
|
50
|
+
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
51
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
52
|
+
};
|
|
53
|
+
export const waitUntilSecondarySubnetCreateComplete = async (params, input) => {
|
|
54
|
+
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
55
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
56
|
+
return checkExceptions(result);
|
|
57
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
|
2
|
+
import { DescribeSecondarySubnetsCommand, } from "../commands/DescribeSecondarySubnetsCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
let result = await client.send(new DescribeSecondarySubnetsCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
let flat_1 = [].concat(...result.SecondarySubnets);
|
|
11
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
12
|
+
return element_2.State;
|
|
13
|
+
});
|
|
14
|
+
return projection_3;
|
|
15
|
+
};
|
|
16
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
17
|
+
for (let element_4 of returnComparator()) {
|
|
18
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "delete-complete");
|
|
19
|
+
}
|
|
20
|
+
if (allStringEq_5) {
|
|
21
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
catch (e) { }
|
|
25
|
+
try {
|
|
26
|
+
const returnComparator = () => {
|
|
27
|
+
let flat_1 = [].concat(...result.SecondarySubnets);
|
|
28
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
29
|
+
return element_2.State;
|
|
30
|
+
});
|
|
31
|
+
return projection_3;
|
|
32
|
+
};
|
|
33
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
34
|
+
if (anyStringEq_4 == "delete-failed") {
|
|
35
|
+
return { state: WaiterState.FAILURE, reason };
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
catch (e) { }
|
|
40
|
+
}
|
|
41
|
+
catch (exception) {
|
|
42
|
+
reason = exception;
|
|
43
|
+
}
|
|
44
|
+
return { state: WaiterState.RETRY, reason };
|
|
45
|
+
};
|
|
46
|
+
export const waitForSecondarySubnetDeleteComplete = async (params, input) => {
|
|
47
|
+
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
48
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
49
|
+
};
|
|
50
|
+
export const waitUntilSecondarySubnetDeleteComplete = async (params, input) => {
|
|
51
|
+
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
52
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
53
|
+
return checkExceptions(result);
|
|
54
|
+
};
|
package/dist-types/EC2.d.ts
CHANGED
|
@@ -122,6 +122,8 @@ import { CreateRouteServerCommandInput, CreateRouteServerCommandOutput } from ".
|
|
|
122
122
|
import { CreateRouteServerEndpointCommandInput, CreateRouteServerEndpointCommandOutput } from "./commands/CreateRouteServerEndpointCommand";
|
|
123
123
|
import { CreateRouteServerPeerCommandInput, CreateRouteServerPeerCommandOutput } from "./commands/CreateRouteServerPeerCommand";
|
|
124
124
|
import { CreateRouteTableCommandInput, CreateRouteTableCommandOutput } from "./commands/CreateRouteTableCommand";
|
|
125
|
+
import { CreateSecondaryNetworkCommandInput, CreateSecondaryNetworkCommandOutput } from "./commands/CreateSecondaryNetworkCommand";
|
|
126
|
+
import { CreateSecondarySubnetCommandInput, CreateSecondarySubnetCommandOutput } from "./commands/CreateSecondarySubnetCommand";
|
|
125
127
|
import { CreateSecurityGroupCommandInput, CreateSecurityGroupCommandOutput } from "./commands/CreateSecurityGroupCommand";
|
|
126
128
|
import { CreateSnapshotCommandInput, CreateSnapshotCommandOutput } from "./commands/CreateSnapshotCommand";
|
|
127
129
|
import { CreateSnapshotsCommandInput, CreateSnapshotsCommandOutput } from "./commands/CreateSnapshotsCommand";
|
|
@@ -214,6 +216,8 @@ import { DeleteRouteServerCommandInput, DeleteRouteServerCommandOutput } from ".
|
|
|
214
216
|
import { DeleteRouteServerEndpointCommandInput, DeleteRouteServerEndpointCommandOutput } from "./commands/DeleteRouteServerEndpointCommand";
|
|
215
217
|
import { DeleteRouteServerPeerCommandInput, DeleteRouteServerPeerCommandOutput } from "./commands/DeleteRouteServerPeerCommand";
|
|
216
218
|
import { DeleteRouteTableCommandInput, DeleteRouteTableCommandOutput } from "./commands/DeleteRouteTableCommand";
|
|
219
|
+
import { DeleteSecondaryNetworkCommandInput, DeleteSecondaryNetworkCommandOutput } from "./commands/DeleteSecondaryNetworkCommand";
|
|
220
|
+
import { DeleteSecondarySubnetCommandInput, DeleteSecondarySubnetCommandOutput } from "./commands/DeleteSecondarySubnetCommand";
|
|
217
221
|
import { DeleteSecurityGroupCommandInput, DeleteSecurityGroupCommandOutput } from "./commands/DeleteSecurityGroupCommand";
|
|
218
222
|
import { DeleteSnapshotCommandInput, DeleteSnapshotCommandOutput } from "./commands/DeleteSnapshotCommand";
|
|
219
223
|
import { DeleteSpotDatafeedSubscriptionCommandInput, DeleteSpotDatafeedSubscriptionCommandOutput } from "./commands/DeleteSpotDatafeedSubscriptionCommand";
|
|
@@ -382,6 +386,9 @@ import { DescribeRouteServersCommandInput, DescribeRouteServersCommandOutput } f
|
|
|
382
386
|
import { DescribeRouteTablesCommandInput, DescribeRouteTablesCommandOutput } from "./commands/DescribeRouteTablesCommand";
|
|
383
387
|
import { DescribeScheduledInstanceAvailabilityCommandInput, DescribeScheduledInstanceAvailabilityCommandOutput } from "./commands/DescribeScheduledInstanceAvailabilityCommand";
|
|
384
388
|
import { DescribeScheduledInstancesCommandInput, DescribeScheduledInstancesCommandOutput } from "./commands/DescribeScheduledInstancesCommand";
|
|
389
|
+
import { DescribeSecondaryInterfacesCommandInput, DescribeSecondaryInterfacesCommandOutput } from "./commands/DescribeSecondaryInterfacesCommand";
|
|
390
|
+
import { DescribeSecondaryNetworksCommandInput, DescribeSecondaryNetworksCommandOutput } from "./commands/DescribeSecondaryNetworksCommand";
|
|
391
|
+
import { DescribeSecondarySubnetsCommandInput, DescribeSecondarySubnetsCommandOutput } from "./commands/DescribeSecondarySubnetsCommand";
|
|
385
392
|
import { DescribeSecurityGroupReferencesCommandInput, DescribeSecurityGroupReferencesCommandOutput } from "./commands/DescribeSecurityGroupReferencesCommand";
|
|
386
393
|
import { DescribeSecurityGroupRulesCommandInput, DescribeSecurityGroupRulesCommandOutput } from "./commands/DescribeSecurityGroupRulesCommand";
|
|
387
394
|
import { DescribeSecurityGroupsCommandInput, DescribeSecurityGroupsCommandOutput } from "./commands/DescribeSecurityGroupsCommand";
|
|
@@ -1498,6 +1505,18 @@ export interface EC2 {
|
|
|
1498
1505
|
createRouteTable(args: CreateRouteTableCommandInput, options?: __HttpHandlerOptions): Promise<CreateRouteTableCommandOutput>;
|
|
1499
1506
|
createRouteTable(args: CreateRouteTableCommandInput, cb: (err: any, data?: CreateRouteTableCommandOutput) => void): void;
|
|
1500
1507
|
createRouteTable(args: CreateRouteTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRouteTableCommandOutput) => void): void;
|
|
1508
|
+
/**
|
|
1509
|
+
* @see {@link CreateSecondaryNetworkCommand}
|
|
1510
|
+
*/
|
|
1511
|
+
createSecondaryNetwork(args: CreateSecondaryNetworkCommandInput, options?: __HttpHandlerOptions): Promise<CreateSecondaryNetworkCommandOutput>;
|
|
1512
|
+
createSecondaryNetwork(args: CreateSecondaryNetworkCommandInput, cb: (err: any, data?: CreateSecondaryNetworkCommandOutput) => void): void;
|
|
1513
|
+
createSecondaryNetwork(args: CreateSecondaryNetworkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSecondaryNetworkCommandOutput) => void): void;
|
|
1514
|
+
/**
|
|
1515
|
+
* @see {@link CreateSecondarySubnetCommand}
|
|
1516
|
+
*/
|
|
1517
|
+
createSecondarySubnet(args: CreateSecondarySubnetCommandInput, options?: __HttpHandlerOptions): Promise<CreateSecondarySubnetCommandOutput>;
|
|
1518
|
+
createSecondarySubnet(args: CreateSecondarySubnetCommandInput, cb: (err: any, data?: CreateSecondarySubnetCommandOutput) => void): void;
|
|
1519
|
+
createSecondarySubnet(args: CreateSecondarySubnetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSecondarySubnetCommandOutput) => void): void;
|
|
1501
1520
|
/**
|
|
1502
1521
|
* @see {@link CreateSecurityGroupCommand}
|
|
1503
1522
|
*/
|
|
@@ -2059,6 +2078,18 @@ export interface EC2 {
|
|
|
2059
2078
|
deleteRouteTable(args: DeleteRouteTableCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRouteTableCommandOutput>;
|
|
2060
2079
|
deleteRouteTable(args: DeleteRouteTableCommandInput, cb: (err: any, data?: DeleteRouteTableCommandOutput) => void): void;
|
|
2061
2080
|
deleteRouteTable(args: DeleteRouteTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRouteTableCommandOutput) => void): void;
|
|
2081
|
+
/**
|
|
2082
|
+
* @see {@link DeleteSecondaryNetworkCommand}
|
|
2083
|
+
*/
|
|
2084
|
+
deleteSecondaryNetwork(args: DeleteSecondaryNetworkCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSecondaryNetworkCommandOutput>;
|
|
2085
|
+
deleteSecondaryNetwork(args: DeleteSecondaryNetworkCommandInput, cb: (err: any, data?: DeleteSecondaryNetworkCommandOutput) => void): void;
|
|
2086
|
+
deleteSecondaryNetwork(args: DeleteSecondaryNetworkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSecondaryNetworkCommandOutput) => void): void;
|
|
2087
|
+
/**
|
|
2088
|
+
* @see {@link DeleteSecondarySubnetCommand}
|
|
2089
|
+
*/
|
|
2090
|
+
deleteSecondarySubnet(args: DeleteSecondarySubnetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSecondarySubnetCommandOutput>;
|
|
2091
|
+
deleteSecondarySubnet(args: DeleteSecondarySubnetCommandInput, cb: (err: any, data?: DeleteSecondarySubnetCommandOutput) => void): void;
|
|
2092
|
+
deleteSecondarySubnet(args: DeleteSecondarySubnetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSecondarySubnetCommandOutput) => void): void;
|
|
2062
2093
|
/**
|
|
2063
2094
|
* @see {@link DeleteSecurityGroupCommand}
|
|
2064
2095
|
*/
|
|
@@ -3175,6 +3206,27 @@ export interface EC2 {
|
|
|
3175
3206
|
describeScheduledInstances(args: DescribeScheduledInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScheduledInstancesCommandOutput>;
|
|
3176
3207
|
describeScheduledInstances(args: DescribeScheduledInstancesCommandInput, cb: (err: any, data?: DescribeScheduledInstancesCommandOutput) => void): void;
|
|
3177
3208
|
describeScheduledInstances(args: DescribeScheduledInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScheduledInstancesCommandOutput) => void): void;
|
|
3209
|
+
/**
|
|
3210
|
+
* @see {@link DescribeSecondaryInterfacesCommand}
|
|
3211
|
+
*/
|
|
3212
|
+
describeSecondaryInterfaces(): Promise<DescribeSecondaryInterfacesCommandOutput>;
|
|
3213
|
+
describeSecondaryInterfaces(args: DescribeSecondaryInterfacesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSecondaryInterfacesCommandOutput>;
|
|
3214
|
+
describeSecondaryInterfaces(args: DescribeSecondaryInterfacesCommandInput, cb: (err: any, data?: DescribeSecondaryInterfacesCommandOutput) => void): void;
|
|
3215
|
+
describeSecondaryInterfaces(args: DescribeSecondaryInterfacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSecondaryInterfacesCommandOutput) => void): void;
|
|
3216
|
+
/**
|
|
3217
|
+
* @see {@link DescribeSecondaryNetworksCommand}
|
|
3218
|
+
*/
|
|
3219
|
+
describeSecondaryNetworks(): Promise<DescribeSecondaryNetworksCommandOutput>;
|
|
3220
|
+
describeSecondaryNetworks(args: DescribeSecondaryNetworksCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSecondaryNetworksCommandOutput>;
|
|
3221
|
+
describeSecondaryNetworks(args: DescribeSecondaryNetworksCommandInput, cb: (err: any, data?: DescribeSecondaryNetworksCommandOutput) => void): void;
|
|
3222
|
+
describeSecondaryNetworks(args: DescribeSecondaryNetworksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSecondaryNetworksCommandOutput) => void): void;
|
|
3223
|
+
/**
|
|
3224
|
+
* @see {@link DescribeSecondarySubnetsCommand}
|
|
3225
|
+
*/
|
|
3226
|
+
describeSecondarySubnets(): Promise<DescribeSecondarySubnetsCommandOutput>;
|
|
3227
|
+
describeSecondarySubnets(args: DescribeSecondarySubnetsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSecondarySubnetsCommandOutput>;
|
|
3228
|
+
describeSecondarySubnets(args: DescribeSecondarySubnetsCommandInput, cb: (err: any, data?: DescribeSecondarySubnetsCommandOutput) => void): void;
|
|
3229
|
+
describeSecondarySubnets(args: DescribeSecondarySubnetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSecondarySubnetsCommandOutput) => void): void;
|
|
3178
3230
|
/**
|
|
3179
3231
|
* @see {@link DescribeSecurityGroupReferencesCommand}
|
|
3180
3232
|
*/
|
|
@@ -6094,6 +6146,27 @@ export interface EC2 {
|
|
|
6094
6146
|
* @returns AsyncIterable of {@link DescribeScheduledInstancesCommandOutput}.
|
|
6095
6147
|
*/
|
|
6096
6148
|
paginateDescribeScheduledInstances(args?: DescribeScheduledInstancesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeScheduledInstancesCommandOutput>;
|
|
6149
|
+
/**
|
|
6150
|
+
* @see {@link DescribeSecondaryInterfacesCommand}
|
|
6151
|
+
* @param args - command input.
|
|
6152
|
+
* @param paginationConfig - optional pagination config.
|
|
6153
|
+
* @returns AsyncIterable of {@link DescribeSecondaryInterfacesCommandOutput}.
|
|
6154
|
+
*/
|
|
6155
|
+
paginateDescribeSecondaryInterfaces(args?: DescribeSecondaryInterfacesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeSecondaryInterfacesCommandOutput>;
|
|
6156
|
+
/**
|
|
6157
|
+
* @see {@link DescribeSecondaryNetworksCommand}
|
|
6158
|
+
* @param args - command input.
|
|
6159
|
+
* @param paginationConfig - optional pagination config.
|
|
6160
|
+
* @returns AsyncIterable of {@link DescribeSecondaryNetworksCommandOutput}.
|
|
6161
|
+
*/
|
|
6162
|
+
paginateDescribeSecondaryNetworks(args?: DescribeSecondaryNetworksCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeSecondaryNetworksCommandOutput>;
|
|
6163
|
+
/**
|
|
6164
|
+
* @see {@link DescribeSecondarySubnetsCommand}
|
|
6165
|
+
* @param args - command input.
|
|
6166
|
+
* @param paginationConfig - optional pagination config.
|
|
6167
|
+
* @returns AsyncIterable of {@link DescribeSecondarySubnetsCommandOutput}.
|
|
6168
|
+
*/
|
|
6169
|
+
paginateDescribeSecondarySubnets(args?: DescribeSecondarySubnetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeSecondarySubnetsCommandOutput>;
|
|
6097
6170
|
/**
|
|
6098
6171
|
* @see {@link DescribeSecurityGroupRulesCommand}
|
|
6099
6172
|
* @param args - command input.
|
|
@@ -6751,6 +6824,30 @@ export interface EC2 {
|
|
|
6751
6824
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
6752
6825
|
*/
|
|
6753
6826
|
waitUntilNetworkInterfaceAvailable(args: DescribeNetworkInterfacesCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EC2>, "client">): Promise<WaiterResult>;
|
|
6827
|
+
/**
|
|
6828
|
+
* @see {@link DescribeSecondaryNetworksCommand}
|
|
6829
|
+
* @param args - command input.
|
|
6830
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
6831
|
+
*/
|
|
6832
|
+
waitUntilSecondaryNetworkCreateComplete(args: DescribeSecondaryNetworksCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EC2>, "client">): Promise<WaiterResult>;
|
|
6833
|
+
/**
|
|
6834
|
+
* @see {@link DescribeSecondaryNetworksCommand}
|
|
6835
|
+
* @param args - command input.
|
|
6836
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
6837
|
+
*/
|
|
6838
|
+
waitUntilSecondaryNetworkDeleteComplete(args: DescribeSecondaryNetworksCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EC2>, "client">): Promise<WaiterResult>;
|
|
6839
|
+
/**
|
|
6840
|
+
* @see {@link DescribeSecondarySubnetsCommand}
|
|
6841
|
+
* @param args - command input.
|
|
6842
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
6843
|
+
*/
|
|
6844
|
+
waitUntilSecondarySubnetCreateComplete(args: DescribeSecondarySubnetsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EC2>, "client">): Promise<WaiterResult>;
|
|
6845
|
+
/**
|
|
6846
|
+
* @see {@link DescribeSecondarySubnetsCommand}
|
|
6847
|
+
* @param args - command input.
|
|
6848
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
6849
|
+
*/
|
|
6850
|
+
waitUntilSecondarySubnetDeleteComplete(args: DescribeSecondarySubnetsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EC2>, "client">): Promise<WaiterResult>;
|
|
6754
6851
|
/**
|
|
6755
6852
|
* @see {@link DescribeSecurityGroupsCommand}
|
|
6756
6853
|
* @param args - command input.
|