@jjrawlins/cdk-ami-builder 0.0.66 → 0.0.68
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/.jsii +14 -14
- package/API.md +3 -45
- package/{cdk-ami-builder → cdkamibuilder}/CheckStateMachineStatusFunction.go +12 -25
- package/{cdk-ami-builder → cdkamibuilder}/CheckStateMachineStatusFunctionProps.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/CheckStateMachineStatusFunction__checks.go +7 -7
- package/{cdk-ami-builder → cdkamibuilder}/CheckStateMachineStatusFunction__no_checks.go +3 -3
- package/{cdk-ami-builder → cdkamibuilder}/IActionCommands.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/IActionCommands__checks.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/IActionCommands__no_checks.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/IComponentDocument.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/IComponentDocument__checks.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/IComponentDocument__no_checks.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/IComponentProps.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/IComponentProps__checks.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/IComponentProps__no_checks.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/IEbsParameters.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/IEbsParameters__checks.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/IEbsParameters__no_checks.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/IInputParameter.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/IInputParameter__checks.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/IInputParameter__no_checks.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/IPhases.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/IPhases__checks.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/IPhases__no_checks.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/IStepCommands.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/IStepCommands__checks.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/IStepCommands__no_checks.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/ImagePipeline.go +4 -17
- package/{cdk-ami-builder → cdkamibuilder}/ImagePipelineProps.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/ImagePipeline__checks.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/ImagePipeline__no_checks.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/StartStateMachineFunction.go +12 -25
- package/{cdk-ami-builder → cdkamibuilder}/StartStateMachineFunctionProps.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/StartStateMachineFunction__checks.go +7 -7
- package/{cdk-ami-builder → cdkamibuilder}/StartStateMachineFunction__no_checks.go +3 -3
- package/{cdk-ami-builder → cdkamibuilder}/VolumeProps.go +1 -1
- package/{cdk-ami-builder → cdkamibuilder}/go.mod +3 -3
- package/{cdk-ami-builder → cdkamibuilder}/jsii/jsii.go +2 -2
- package/{cdk-ami-builder → cdkamibuilder}/main.go +1 -1
- package/cdkamibuilder/version +1 -0
- package/lib/ImagePipeline/ImagePipeline.js +1 -1
- package/lib/Lambdas/CheckStateMachineStatus/CheckStateMachineStatus-function.js +1 -1
- package/lib/Lambdas/StartStateMachine/StartStateMachine-function.js +1 -1
- package/node_modules/@aws-sdk/client-ec2/README.md +88 -0
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +2587 -1182
- package/node_modules/@aws-sdk/client-ec2/dist-es/EC2.js +22 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/CreateIpamPrefixListResolverCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/CreateIpamPrefixListResolverTargetCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/CreateLaunchTemplateCommand.js +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/CreateLaunchTemplateVersionCommand.js +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/CreateVerifiedAccessTrustProviderCommand.js +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DeleteIpamPrefixListResolverCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DeleteIpamPrefixListResolverTargetCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DescribeBundleTasksCommand.js +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DescribeIpamPrefixListResolverTargetsCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DescribeIpamPrefixListResolversCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DescribeVerifiedAccessTrustProvidersCommand.js +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/GetInstanceTpmEkPubCommand.js +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/GetIpamPrefixListResolverRulesCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/GetIpamPrefixListResolverVersionEntriesCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/GetIpamPrefixListResolverVersionsCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/ModifyIpamPrefixListResolverCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/ModifyIpamPrefixListResolverTargetCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/ModifyVerifiedAccessTrustProviderCommand.js +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/index.js +11 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_0.js +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_1.js +70 -21
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_2.js +21 -40
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_3.js +40 -31
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_4.js +31 -35
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_5.js +35 -21
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_6.js +20 -30
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_7.js +30 -32
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_8.js +24 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/DescribeIpamPrefixListResolverTargetsPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/DescribeIpamPrefixListResolversPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/GetIpamPrefixListResolverRulesPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/GetIpamPrefixListResolverVersionEntriesPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/GetIpamPrefixListResolverVersionsPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/index.js +5 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/protocols/Aws_ec2.js +1117 -6
- package/node_modules/@aws-sdk/client-ec2/dist-types/EC2.d.ts +79 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/EC2Client.d.ts +13 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CancelSpotFleetRequestsCommand.d.ts +12 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopyImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopyVolumesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityManagerDataExportCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDefaultVpcCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFleetCommand.d.ts +5 -5
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageUsageReportCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPrefixListResolverCommand.d.ts +130 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPrefixListResolverTargetCommand.d.ts +111 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamScopeCommand.d.ts +9 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +5 -6
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateManagedPrefixListCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVolumeCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcCommand.d.ts +15 -11
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEndpointCommand.d.ts +9 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteFleetsCommand.d.ts +12 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteIpamPrefixListResolverCommand.d.ts +92 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteIpamPrefixListResolverTargetCommand.d.ts +94 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteIpamScopeCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteManagedPrefixListCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeBundleTasksCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeByoipCidrsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeCapacityBlockExtensionHistoryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeCapacityBlocksCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeFastSnapshotRestoresCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeIpamPrefixListResolverTargetsCommand.d.ts +109 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeIpamPrefixListResolversCommand.d.ts +107 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeIpamScopesCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeManagedPrefixListsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVerifiedAccessGroupsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVerifiedAccessInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVerifiedAccessTrustProvidersCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVolumeAttributeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVolumesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVpcsCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisableFastSnapshotRestoresCommand.d.ts +6 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableFastSnapshotRestoresCommand.d.ts +6 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ExportImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetInstanceMetadataDefaultsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetInstanceTpmEkPubCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetInstanceUefiDataCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetIpamAddressHistoryCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetIpamPrefixListResolverRulesCommand.d.ts +107 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetIpamPrefixListResolverVersionEntriesCommand.d.ts +83 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetIpamPrefixListResolverVersionsCommand.d.ts +125 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyIpamPrefixListResolverCommand.d.ts +115 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyIpamPrefixListResolverTargetCommand.d.ts +96 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyIpamScopeCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyManagedPrefixListCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVolumeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpcAttributeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpcEndpointCommand.d.ts +5 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RegisterImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotFleetCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotInstancesCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RestoreManagedPrefixListVersionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RunInstancesCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/TerminateInstancesCommand.d.ts +13 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/index.d.ts +11 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_0.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_1.d.ts +1205 -1509
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_2.d.ts +5443 -5198
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_3.d.ts +3423 -3351
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_4.d.ts +828 -397
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +6191 -6433
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +4211 -4032
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +4719 -4730
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_8.d.ts +1050 -7
- package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/DescribeIpamPrefixListResolverTargetsPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/DescribeIpamPrefixListResolversPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/GetIpamPrefixListResolverRulesPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/GetIpamPrefixListResolverVersionEntriesPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/GetIpamPrefixListResolverVersionsPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/index.d.ts +5 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/protocols/Aws_ec2.d.ts +99 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +225 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +66 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateIpamPrefixListResolverCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateIpamPrefixListResolverTargetCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateLaunchTemplateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateLaunchTemplateVersionCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVerifiedAccessEndpointCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVolumeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVpcCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteIpamPrefixListResolverCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteIpamPrefixListResolverTargetCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeBundleTasksCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeByoipCidrsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionHistoryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityBlockOfferingsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityBlocksCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeIpamPrefixListResolverTargetsCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeIpamPrefixListResolversCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVerifiedAccessGroupsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVerifiedAccessInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVerifiedAccessTrustProvidersCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVolumeAttributeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVolumesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVolumesModificationsCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetInstanceMetadataDefaultsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetInstanceTpmEkPubCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetInstanceUefiDataCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamAddressHistoryCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamPrefixListResolverRulesCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamPrefixListResolverVersionEntriesCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamPrefixListResolverVersionsCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyIpamPrefixListResolverCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyIpamPrefixListResolverTargetCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVolumeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpcAttributeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpcEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_1.d.ts +169 -185
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_2.d.ts +203 -165
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_3.d.ts +184 -172
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_4.d.ts +171 -118
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +143 -163
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +164 -154
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +232 -270
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_8.d.ts +260 -6
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/DescribeIpamPrefixListResolverTargetsPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/DescribeIpamPrefixListResolversPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/GetIpamPrefixListResolverRulesPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/GetIpamPrefixListResolverVersionEntriesPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/GetIpamPrefixListResolverVersionsPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/protocols/Aws_ec2.d.ts +132 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/node_modules/@aws-sdk/client-ec2/package.json +35 -35
- package/node_modules/@aws-sdk/client-ecs/README.md +14 -12
- package/node_modules/@aws-sdk/client-ecs/dist-cjs/index.js +15 -5
- package/node_modules/@aws-sdk/client-ecs/dist-es/models/models_0.js +8 -5
- package/node_modules/@aws-sdk/client-ecs/dist-es/models/models_1.js +5 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/ECS.d.ts +14 -12
- package/node_modules/@aws-sdk/client-ecs/dist-types/ECSClient.d.ts +14 -12
- package/node_modules/@aws-sdk/client-ecs/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/CreateCapacityProviderCommand.d.ts +11 -8
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/CreateClusterCommand.d.ts +12 -10
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/CreateServiceCommand.d.ts +126 -86
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/CreateTaskSetCommand.d.ts +9 -6
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteAccountSettingCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteAttributesCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteCapacityProviderCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteClusterCommand.d.ts +12 -8
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteServiceCommand.d.ts +8 -4
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteTaskSetCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +7 -7
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeClustersCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeContainerInstancesCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +6 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeServicesCommand.d.ts +6 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeTaskSetsCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeTasksCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DiscoverPollEndpointCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ExecuteCommandCommand.d.ts +11 -10
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/GetTaskProtectionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListAccountSettingsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListAttributesCommand.d.ts +8 -8
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListClustersCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListContainerInstancesCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListServiceDeploymentsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListServicesByNamespaceCommand.d.ts +6 -5
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListServicesCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListTaskDefinitionsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListTasksCommand.d.ts +5 -5
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/PutAccountSettingCommand.d.ts +7 -6
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/PutAttributesCommand.d.ts +8 -7
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +10 -8
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/RegisterContainerInstanceCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +9 -6
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/RunTaskCommand.d.ts +31 -23
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/StartTaskCommand.d.ts +10 -6
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/StopServiceDeploymentCommand.d.ts +10 -7
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/StopTaskCommand.d.ts +5 -5
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateCapacityProviderCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateClusterCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateClusterSettingsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateContainerAgentCommand.d.ts +24 -21
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +9 -9
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateServiceCommand.d.ts +29 -13
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateTaskProtectionCommand.d.ts +9 -8
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateTaskSetCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-ecs/dist-types/index.d.ts +14 -12
- package/node_modules/@aws-sdk/client-ecs/dist-types/models/models_0.d.ts +2014 -1610
- package/node_modules/@aws-sdk/client-ecs/dist-types/models/models_1.d.ts +689 -439
- package/node_modules/@aws-sdk/client-ecs/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/commands/ListTasksCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/models/models_0.d.ts +17 -21
- package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/models/models_1.d.ts +21 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/node_modules/@aws-sdk/client-ecs/package.json +34 -34
- package/node_modules/@aws-sdk/client-kms/dist-cjs/index.js +4 -0
- package/node_modules/@aws-sdk/client-kms/dist-es/models/models_0.js +4 -0
- package/node_modules/@aws-sdk/client-kms/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/CreateCustomKeyStoreCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/CreateKeyCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/DecryptCommand.d.ts +6 -6
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/DeriveSharedSecretCommand.d.ts +7 -7
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/DescribeCustomKeyStoresCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/DescribeKeyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateDataKeyCommand.d.ts +6 -6
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateDataKeyPairCommand.d.ts +8 -8
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateRandomCommand.d.ts +5 -5
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/GetPublicKeyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/ReplicateKeyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/SignCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/UpdateCustomKeyStoreCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/VerifyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-kms/dist-types/models/models_0.d.ts +119 -51
- package/node_modules/@aws-sdk/client-kms/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/node_modules/@aws-sdk/client-kms/package.json +33 -33
- package/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/node_modules/@aws-sdk/client-s3/package.json +50 -50
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +33 -33
- package/node_modules/@aws-sdk/client-sfn/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sfn/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sfn/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/node_modules/@aws-sdk/client-sfn/package.json +33 -33
- package/node_modules/@aws-sdk/client-sns/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/node_modules/@aws-sdk/client-sns/package.json +33 -33
- package/node_modules/@aws-sdk/client-sqs/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/node_modules/@aws-sdk/client-sqs/package.json +35 -35
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +31 -4
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_0.js +14 -4
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js +5 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js +13 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateDocumentCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentMetadataHistoryCommand.d.ts +7 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartChangeRequestExecutionCommand.d.ts +10 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentMetadataCommand.d.ts +7 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +36 -84
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +79 -19
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +17 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +8 -17
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +17 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/node_modules/@aws-sdk/client-ssm/package.json +34 -34
- package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +9 -5
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +9 -5
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +126 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +8 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +27 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +17 -0
- package/node_modules/@aws-sdk/core/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +108 -45
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +55 -46
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +54 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/defaultProvider.d.ts +3 -2
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain.d.ts +18 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/defaultProvider.d.ts +3 -2
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/runtime/memoize-chain.d.ts +19 -0
- package/node_modules/@aws-sdk/credential-provider-node/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +9 -9
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
- package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +1 -1
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +17 -8
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +17 -8
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +7 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js +20 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.native.js +6 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.browser.js +3 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.js +16 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.native.js +3 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.d.ts +14 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.native.d.ts +4 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.d.ts +7 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.native.d.ts +1 -0
- package/node_modules/@aws-sdk/region-config-resolver/package.json +10 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +3 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +3 -1
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +2 -0
- package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +2 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +1 -0
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-format-url/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +6 -1
- package/node_modules/@smithy/config-resolver/dist-es/regionConfig/checkRegion.js +6 -1
- package/node_modules/@smithy/config-resolver/package.json +5 -5
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +5 -14
- package/node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js +5 -14
- package/node_modules/@smithy/core/package.json +7 -7
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/eventstream-codec/package.json +2 -2
- package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
- package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-blob-browser/package.json +2 -2
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/hash-stream-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/md5-js/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +8 -8
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +7 -4
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +5 -2
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +4 -4
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-es/index.js +1 -0
- package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +4 -4
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +17 -4
- package/node_modules/@smithy/util-waiter/dist-es/circularReplacer.js +12 -0
- package/node_modules/@smithy/util-waiter/dist-es/poller.js +2 -1
- package/node_modules/@smithy/util-waiter/dist-es/waiter.js +4 -3
- package/node_modules/@smithy/util-waiter/dist-types/circularReplacer.d.ts +6 -0
- package/node_modules/@smithy/util-waiter/dist-types/poller.d.ts +1 -1
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/circularReplacer.d.ts +6 -0
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/poller.d.ts +1 -1
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/package.json +23 -22
- package/cdk-ami-builder/version +0 -1
- /package/{cdk-ami-builder → cdkamibuilder}/LICENSE +0 -0
- /package/{cdk-ami-builder → cdkamibuilder}/README.md +0 -0
- /package/{cdk-ami-builder → cdkamibuilder}/internal/types.go +0 -0
|
@@ -21,17 +21,73 @@ const remoteProvider = async (init) => {
|
|
|
21
21
|
return fromInstanceMetadata(init);
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
+
function memoizeChain(providers, treatAsExpired) {
|
|
25
|
+
const chain = internalCreateChain(providers);
|
|
26
|
+
let activeLock;
|
|
27
|
+
let passiveLock;
|
|
28
|
+
let credentials;
|
|
29
|
+
const provider = async (options) => {
|
|
30
|
+
if (options?.forceRefresh) {
|
|
31
|
+
return await chain(options);
|
|
32
|
+
}
|
|
33
|
+
if (credentials?.expiration) {
|
|
34
|
+
if (credentials?.expiration?.getTime() < Date.now()) {
|
|
35
|
+
credentials = undefined;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
if (activeLock) {
|
|
39
|
+
await activeLock;
|
|
40
|
+
}
|
|
41
|
+
else if (!credentials || treatAsExpired?.(credentials)) {
|
|
42
|
+
if (credentials) {
|
|
43
|
+
if (!passiveLock) {
|
|
44
|
+
passiveLock = chain(options).then((c) => {
|
|
45
|
+
credentials = c;
|
|
46
|
+
passiveLock = undefined;
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
activeLock = chain(options).then((c) => {
|
|
52
|
+
credentials = c;
|
|
53
|
+
activeLock = undefined;
|
|
54
|
+
});
|
|
55
|
+
return provider(options);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
return credentials;
|
|
59
|
+
};
|
|
60
|
+
return provider;
|
|
61
|
+
}
|
|
62
|
+
const internalCreateChain = (providers) => async (awsIdentityProperties) => {
|
|
63
|
+
let lastProviderError;
|
|
64
|
+
for (const provider of providers) {
|
|
65
|
+
try {
|
|
66
|
+
return await provider(awsIdentityProperties);
|
|
67
|
+
}
|
|
68
|
+
catch (err) {
|
|
69
|
+
lastProviderError = err;
|
|
70
|
+
if (err?.tryNextLink) {
|
|
71
|
+
continue;
|
|
72
|
+
}
|
|
73
|
+
throw err;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
throw lastProviderError;
|
|
77
|
+
};
|
|
78
|
+
|
|
24
79
|
let multipleCredentialSourceWarningEmitted = false;
|
|
25
|
-
const defaultProvider = (init = {}) =>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
if (
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
80
|
+
const defaultProvider = (init = {}) => memoizeChain([
|
|
81
|
+
async () => {
|
|
82
|
+
const profile = init.profile ?? process.env[sharedIniFileLoader.ENV_PROFILE];
|
|
83
|
+
if (profile) {
|
|
84
|
+
const envStaticCredentialsAreSet = process.env[credentialProviderEnv.ENV_KEY] && process.env[credentialProviderEnv.ENV_SECRET];
|
|
85
|
+
if (envStaticCredentialsAreSet) {
|
|
86
|
+
if (!multipleCredentialSourceWarningEmitted) {
|
|
87
|
+
const warnFn = init.logger?.warn && init.logger?.constructor?.name !== "NoOpLogger"
|
|
88
|
+
? init.logger.warn.bind(init.logger)
|
|
89
|
+
: console.warn;
|
|
90
|
+
warnFn(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
|
|
35
91
|
Multiple credential sources detected:
|
|
36
92
|
Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
|
|
37
93
|
This SDK will proceed with the AWS_PROFILE value.
|
|
@@ -40,45 +96,52 @@ const defaultProvider = (init = {}) => propertyProvider.memoize(propertyProvider
|
|
|
40
96
|
Please ensure that your environment only sets either the AWS_PROFILE or the
|
|
41
97
|
AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
|
|
42
98
|
`);
|
|
43
|
-
|
|
99
|
+
multipleCredentialSourceWarningEmitted = true;
|
|
100
|
+
}
|
|
44
101
|
}
|
|
102
|
+
throw new propertyProvider.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", {
|
|
103
|
+
logger: init.logger,
|
|
104
|
+
tryNextLink: true,
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv");
|
|
108
|
+
return credentialProviderEnv.fromEnv(init)();
|
|
109
|
+
},
|
|
110
|
+
async (awsIdentityProperties) => {
|
|
111
|
+
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");
|
|
112
|
+
const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
|
|
113
|
+
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
|
114
|
+
throw new propertyProvider.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init.logger });
|
|
45
115
|
}
|
|
46
|
-
|
|
116
|
+
const { fromSSO } = await import('@aws-sdk/credential-provider-sso');
|
|
117
|
+
return fromSSO(init)(awsIdentityProperties);
|
|
118
|
+
},
|
|
119
|
+
async (awsIdentityProperties) => {
|
|
120
|
+
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
|
|
121
|
+
const { fromIni } = await import('@aws-sdk/credential-provider-ini');
|
|
122
|
+
return fromIni(init)(awsIdentityProperties);
|
|
123
|
+
},
|
|
124
|
+
async (awsIdentityProperties) => {
|
|
125
|
+
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
|
|
126
|
+
const { fromProcess } = await import('@aws-sdk/credential-provider-process');
|
|
127
|
+
return fromProcess(init)(awsIdentityProperties);
|
|
128
|
+
},
|
|
129
|
+
async (awsIdentityProperties) => {
|
|
130
|
+
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
|
|
131
|
+
const { fromTokenFile } = await import('@aws-sdk/credential-provider-web-identity');
|
|
132
|
+
return fromTokenFile(init)(awsIdentityProperties);
|
|
133
|
+
},
|
|
134
|
+
async () => {
|
|
135
|
+
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");
|
|
136
|
+
return (await remoteProvider(init))();
|
|
137
|
+
},
|
|
138
|
+
async () => {
|
|
139
|
+
throw new propertyProvider.CredentialsProviderError("Could not load credentials from any providers", {
|
|
140
|
+
tryNextLink: false,
|
|
47
141
|
logger: init.logger,
|
|
48
|
-
tryNextLink: true,
|
|
49
142
|
});
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
return credentialProviderEnv.fromEnv(init)();
|
|
53
|
-
}, async () => {
|
|
54
|
-
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");
|
|
55
|
-
const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
|
|
56
|
-
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
|
57
|
-
throw new propertyProvider.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init.logger });
|
|
58
|
-
}
|
|
59
|
-
const { fromSSO } = await import('@aws-sdk/credential-provider-sso');
|
|
60
|
-
return fromSSO(init)();
|
|
61
|
-
}, async () => {
|
|
62
|
-
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
|
|
63
|
-
const { fromIni } = await import('@aws-sdk/credential-provider-ini');
|
|
64
|
-
return fromIni(init)();
|
|
65
|
-
}, async () => {
|
|
66
|
-
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
|
|
67
|
-
const { fromProcess } = await import('@aws-sdk/credential-provider-process');
|
|
68
|
-
return fromProcess(init)();
|
|
69
|
-
}, async () => {
|
|
70
|
-
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
|
|
71
|
-
const { fromTokenFile } = await import('@aws-sdk/credential-provider-web-identity');
|
|
72
|
-
return fromTokenFile(init)();
|
|
73
|
-
}, async () => {
|
|
74
|
-
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");
|
|
75
|
-
return (await remoteProvider(init))();
|
|
76
|
-
}, async () => {
|
|
77
|
-
throw new propertyProvider.CredentialsProviderError("Could not load credentials from any providers", {
|
|
78
|
-
tryNextLink: false,
|
|
79
|
-
logger: init.logger,
|
|
80
|
-
});
|
|
81
|
-
}), credentialsTreatedAsExpired, credentialsWillNeedRefresh);
|
|
143
|
+
},
|
|
144
|
+
], credentialsTreatedAsExpired);
|
|
82
145
|
const credentialsWillNeedRefresh = (credentials) => credentials?.expiration !== undefined;
|
|
83
146
|
const credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000;
|
|
84
147
|
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { ENV_KEY, ENV_SECRET, fromEnv } from "@aws-sdk/credential-provider-env";
|
|
2
|
-
import {
|
|
2
|
+
import { CredentialsProviderError } from "@smithy/property-provider";
|
|
3
3
|
import { ENV_PROFILE } from "@smithy/shared-ini-file-loader";
|
|
4
4
|
import { remoteProvider } from "./remoteProvider";
|
|
5
|
+
import { memoizeChain } from "./runtime/memoize-chain";
|
|
5
6
|
let multipleCredentialSourceWarningEmitted = false;
|
|
6
|
-
export const defaultProvider = (init = {}) =>
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
if (
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
7
|
+
export const defaultProvider = (init = {}) => memoizeChain([
|
|
8
|
+
async () => {
|
|
9
|
+
const profile = init.profile ?? process.env[ENV_PROFILE];
|
|
10
|
+
if (profile) {
|
|
11
|
+
const envStaticCredentialsAreSet = process.env[ENV_KEY] && process.env[ENV_SECRET];
|
|
12
|
+
if (envStaticCredentialsAreSet) {
|
|
13
|
+
if (!multipleCredentialSourceWarningEmitted) {
|
|
14
|
+
const warnFn = init.logger?.warn && init.logger?.constructor?.name !== "NoOpLogger"
|
|
15
|
+
? init.logger.warn.bind(init.logger)
|
|
16
|
+
: console.warn;
|
|
17
|
+
warnFn(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
|
|
16
18
|
Multiple credential sources detected:
|
|
17
19
|
Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
|
|
18
20
|
This SDK will proceed with the AWS_PROFILE value.
|
|
@@ -21,44 +23,51 @@ export const defaultProvider = (init = {}) => memoize(chain(async () => {
|
|
|
21
23
|
Please ensure that your environment only sets either the AWS_PROFILE or the
|
|
22
24
|
AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
|
|
23
25
|
`);
|
|
24
|
-
|
|
26
|
+
multipleCredentialSourceWarningEmitted = true;
|
|
27
|
+
}
|
|
25
28
|
}
|
|
29
|
+
throw new CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", {
|
|
30
|
+
logger: init.logger,
|
|
31
|
+
tryNextLink: true,
|
|
32
|
+
});
|
|
26
33
|
}
|
|
27
|
-
|
|
34
|
+
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv");
|
|
35
|
+
return fromEnv(init)();
|
|
36
|
+
},
|
|
37
|
+
async (awsIdentityProperties) => {
|
|
38
|
+
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");
|
|
39
|
+
const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
|
|
40
|
+
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
|
41
|
+
throw new CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init.logger });
|
|
42
|
+
}
|
|
43
|
+
const { fromSSO } = await import("@aws-sdk/credential-provider-sso");
|
|
44
|
+
return fromSSO(init)(awsIdentityProperties);
|
|
45
|
+
},
|
|
46
|
+
async (awsIdentityProperties) => {
|
|
47
|
+
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
|
|
48
|
+
const { fromIni } = await import("@aws-sdk/credential-provider-ini");
|
|
49
|
+
return fromIni(init)(awsIdentityProperties);
|
|
50
|
+
},
|
|
51
|
+
async (awsIdentityProperties) => {
|
|
52
|
+
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
|
|
53
|
+
const { fromProcess } = await import("@aws-sdk/credential-provider-process");
|
|
54
|
+
return fromProcess(init)(awsIdentityProperties);
|
|
55
|
+
},
|
|
56
|
+
async (awsIdentityProperties) => {
|
|
57
|
+
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
|
|
58
|
+
const { fromTokenFile } = await import("@aws-sdk/credential-provider-web-identity");
|
|
59
|
+
return fromTokenFile(init)(awsIdentityProperties);
|
|
60
|
+
},
|
|
61
|
+
async () => {
|
|
62
|
+
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");
|
|
63
|
+
return (await remoteProvider(init))();
|
|
64
|
+
},
|
|
65
|
+
async () => {
|
|
66
|
+
throw new CredentialsProviderError("Could not load credentials from any providers", {
|
|
67
|
+
tryNextLink: false,
|
|
28
68
|
logger: init.logger,
|
|
29
|
-
tryNextLink: true,
|
|
30
69
|
});
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
return fromEnv(init)();
|
|
34
|
-
}, async () => {
|
|
35
|
-
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");
|
|
36
|
-
const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
|
|
37
|
-
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
|
38
|
-
throw new CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init.logger });
|
|
39
|
-
}
|
|
40
|
-
const { fromSSO } = await import("@aws-sdk/credential-provider-sso");
|
|
41
|
-
return fromSSO(init)();
|
|
42
|
-
}, async () => {
|
|
43
|
-
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
|
|
44
|
-
const { fromIni } = await import("@aws-sdk/credential-provider-ini");
|
|
45
|
-
return fromIni(init)();
|
|
46
|
-
}, async () => {
|
|
47
|
-
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
|
|
48
|
-
const { fromProcess } = await import("@aws-sdk/credential-provider-process");
|
|
49
|
-
return fromProcess(init)();
|
|
50
|
-
}, async () => {
|
|
51
|
-
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
|
|
52
|
-
const { fromTokenFile } = await import("@aws-sdk/credential-provider-web-identity");
|
|
53
|
-
return fromTokenFile(init)();
|
|
54
|
-
}, async () => {
|
|
55
|
-
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");
|
|
56
|
-
return (await remoteProvider(init))();
|
|
57
|
-
}, async () => {
|
|
58
|
-
throw new CredentialsProviderError("Could not load credentials from any providers", {
|
|
59
|
-
tryNextLink: false,
|
|
60
|
-
logger: init.logger,
|
|
61
|
-
});
|
|
62
|
-
}), credentialsTreatedAsExpired, credentialsWillNeedRefresh);
|
|
70
|
+
},
|
|
71
|
+
], credentialsTreatedAsExpired);
|
|
63
72
|
export const credentialsWillNeedRefresh = (credentials) => credentials?.expiration !== undefined;
|
|
64
73
|
export const credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export function memoizeChain(providers, treatAsExpired) {
|
|
2
|
+
const chain = internalCreateChain(providers);
|
|
3
|
+
let activeLock;
|
|
4
|
+
let passiveLock;
|
|
5
|
+
let credentials;
|
|
6
|
+
const provider = async (options) => {
|
|
7
|
+
if (options?.forceRefresh) {
|
|
8
|
+
return await chain(options);
|
|
9
|
+
}
|
|
10
|
+
if (credentials?.expiration) {
|
|
11
|
+
if (credentials?.expiration?.getTime() < Date.now()) {
|
|
12
|
+
credentials = undefined;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
if (activeLock) {
|
|
16
|
+
await activeLock;
|
|
17
|
+
}
|
|
18
|
+
else if (!credentials || treatAsExpired?.(credentials)) {
|
|
19
|
+
if (credentials) {
|
|
20
|
+
if (!passiveLock) {
|
|
21
|
+
passiveLock = chain(options).then((c) => {
|
|
22
|
+
credentials = c;
|
|
23
|
+
passiveLock = undefined;
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
else {
|
|
28
|
+
activeLock = chain(options).then((c) => {
|
|
29
|
+
credentials = c;
|
|
30
|
+
activeLock = undefined;
|
|
31
|
+
});
|
|
32
|
+
return provider(options);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return credentials;
|
|
36
|
+
};
|
|
37
|
+
return provider;
|
|
38
|
+
}
|
|
39
|
+
export const internalCreateChain = (providers) => async (awsIdentityProperties) => {
|
|
40
|
+
let lastProviderError;
|
|
41
|
+
for (const provider of providers) {
|
|
42
|
+
try {
|
|
43
|
+
return await provider(awsIdentityProperties);
|
|
44
|
+
}
|
|
45
|
+
catch (err) {
|
|
46
|
+
lastProviderError = err;
|
|
47
|
+
if (err?.tryNextLink) {
|
|
48
|
+
continue;
|
|
49
|
+
}
|
|
50
|
+
throw err;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
throw lastProviderError;
|
|
54
|
+
};
|
|
@@ -4,7 +4,8 @@ import type { FromProcessInit } from "@aws-sdk/credential-provider-process";
|
|
|
4
4
|
import type { FromSSOInit, SsoCredentialsParameters } from "@aws-sdk/credential-provider-sso";
|
|
5
5
|
import type { FromTokenFileInit } from "@aws-sdk/credential-provider-web-identity";
|
|
6
6
|
import type { RemoteProviderInit } from "@smithy/credential-provider-imds";
|
|
7
|
-
import { AwsCredentialIdentity
|
|
7
|
+
import type { AwsCredentialIdentity } from "@smithy/types";
|
|
8
|
+
import { type MemoizedRuntimeConfigAwsCredentialIdentityProvider } from "./runtime/memoize-chain";
|
|
8
9
|
/**
|
|
9
10
|
* @public
|
|
10
11
|
*/
|
|
@@ -43,7 +44,7 @@ export type DefaultProviderInit = FromIniInit & FromHttpOptions & RemoteProvider
|
|
|
43
44
|
* @see {@link fromContainerMetadata} The function used to source credentials from the
|
|
44
45
|
* ECS Container Metadata Service.
|
|
45
46
|
*/
|
|
46
|
-
export declare const defaultProvider: (init?: DefaultProviderInit) =>
|
|
47
|
+
export declare const defaultProvider: (init?: DefaultProviderInit) => MemoizedRuntimeConfigAwsCredentialIdentityProvider;
|
|
47
48
|
/**
|
|
48
49
|
* @internal
|
|
49
50
|
*
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { AwsCredentialIdentity, AwsIdentityProperties, RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
|
|
2
|
+
/**
|
|
3
|
+
* Memoized provider chain for AWS credentials.
|
|
4
|
+
* The options are only reevaluated if forceRefresh=true is passed or a natural
|
|
5
|
+
* refresh occurs.
|
|
6
|
+
*
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export interface MemoizedRuntimeConfigAwsCredentialIdentityProvider {
|
|
10
|
+
(options?: AwsIdentityProperties & {
|
|
11
|
+
forceRefresh?: boolean;
|
|
12
|
+
}): Promise<AwsCredentialIdentity>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare function memoizeChain(providers: RuntimeConfigAwsCredentialIdentityProvider[], treatAsExpired: (resolved: AwsCredentialIdentity) => boolean): MemoizedRuntimeConfigAwsCredentialIdentityProvider;
|
|
18
|
+
export declare const internalCreateChain: (providers: RuntimeConfigAwsCredentialIdentityProvider[]) => RuntimeConfigAwsCredentialIdentityProvider;
|
package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/defaultProvider.d.ts
CHANGED
|
@@ -7,7 +7,8 @@ import {
|
|
|
7
7
|
} from "@aws-sdk/credential-provider-sso";
|
|
8
8
|
import { FromTokenFileInit } from "@aws-sdk/credential-provider-web-identity";
|
|
9
9
|
import { RemoteProviderInit } from "@smithy/credential-provider-imds";
|
|
10
|
-
import { AwsCredentialIdentity
|
|
10
|
+
import { AwsCredentialIdentity } from "@smithy/types";
|
|
11
|
+
import { MemoizedRuntimeConfigAwsCredentialIdentityProvider } from "./runtime/memoize-chain";
|
|
11
12
|
export type DefaultProviderInit = FromIniInit &
|
|
12
13
|
FromHttpOptions &
|
|
13
14
|
RemoteProviderInit &
|
|
@@ -16,7 +17,7 @@ export type DefaultProviderInit = FromIniInit &
|
|
|
16
17
|
FromTokenFileInit;
|
|
17
18
|
export declare const defaultProvider: (
|
|
18
19
|
init?: DefaultProviderInit
|
|
19
|
-
) =>
|
|
20
|
+
) => MemoizedRuntimeConfigAwsCredentialIdentityProvider;
|
|
20
21
|
export declare const credentialsWillNeedRefresh: (
|
|
21
22
|
credentials: AwsCredentialIdentity
|
|
22
23
|
) => boolean;
|
package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/runtime/memoize-chain.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsCredentialIdentity,
|
|
3
|
+
AwsIdentityProperties,
|
|
4
|
+
RuntimeConfigAwsCredentialIdentityProvider,
|
|
5
|
+
} from "@aws-sdk/types";
|
|
6
|
+
export interface MemoizedRuntimeConfigAwsCredentialIdentityProvider {
|
|
7
|
+
(
|
|
8
|
+
options?: AwsIdentityProperties & {
|
|
9
|
+
forceRefresh?: boolean;
|
|
10
|
+
}
|
|
11
|
+
): Promise<AwsCredentialIdentity>;
|
|
12
|
+
}
|
|
13
|
+
export declare function memoizeChain(
|
|
14
|
+
providers: RuntimeConfigAwsCredentialIdentityProvider[],
|
|
15
|
+
treatAsExpired: (resolved: AwsCredentialIdentity) => boolean
|
|
16
|
+
): MemoizedRuntimeConfigAwsCredentialIdentityProvider;
|
|
17
|
+
export declare const internalCreateChain: (
|
|
18
|
+
providers: RuntimeConfigAwsCredentialIdentityProvider[]
|
|
19
|
+
) => RuntimeConfigAwsCredentialIdentityProvider;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.927.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"build:types": "tsc -p tsconfig.types.json",
|
|
16
16
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
17
17
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
18
|
-
"test": "yarn g:vitest run",
|
|
18
|
+
"test": "yarn g:vitest run --reporter verbose",
|
|
19
19
|
"test:watch": "yarn g:vitest watch",
|
|
20
20
|
"test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
|
|
21
21
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
@@ -31,17 +31,17 @@
|
|
|
31
31
|
},
|
|
32
32
|
"license": "Apache-2.0",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
36
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
37
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
38
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
39
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@smithy/credential-provider-imds": "^4.2.
|
|
42
|
-
"@smithy/property-provider": "^4.2.
|
|
43
|
-
"@smithy/shared-ini-file-loader": "^4.3.
|
|
44
|
-
"@smithy/types": "^4.8.
|
|
34
|
+
"@aws-sdk/credential-provider-env": "3.927.0",
|
|
35
|
+
"@aws-sdk/credential-provider-http": "3.927.0",
|
|
36
|
+
"@aws-sdk/credential-provider-ini": "3.927.0",
|
|
37
|
+
"@aws-sdk/credential-provider-process": "3.927.0",
|
|
38
|
+
"@aws-sdk/credential-provider-sso": "3.927.0",
|
|
39
|
+
"@aws-sdk/credential-provider-web-identity": "3.927.0",
|
|
40
|
+
"@aws-sdk/types": "3.922.0",
|
|
41
|
+
"@smithy/credential-provider-imds": "^4.2.4",
|
|
42
|
+
"@smithy/property-provider": "^4.2.4",
|
|
43
|
+
"@smithy/shared-ini-file-loader": "^4.3.4",
|
|
44
|
+
"@smithy/types": "^4.8.1",
|
|
45
45
|
"tslib": "^2.6.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.927.0",
|
|
4
4
|
"description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/core": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@smithy/property-provider": "^4.2.
|
|
32
|
-
"@smithy/shared-ini-file-loader": "^4.3.
|
|
33
|
-
"@smithy/types": "^4.8.
|
|
29
|
+
"@aws-sdk/core": "3.927.0",
|
|
30
|
+
"@aws-sdk/types": "3.922.0",
|
|
31
|
+
"@smithy/property-provider": "^4.2.4",
|
|
32
|
+
"@smithy/shared-ini-file-loader": "^4.3.4",
|
|
33
|
+
"@smithy/types": "^4.8.1",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
@@ -59,6 +59,7 @@ const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ss
|
|
|
59
59
|
new SSOClient(Object.assign({}, clientConfig ?? {}, {
|
|
60
60
|
logger: clientConfig?.logger ?? parentClientConfig?.logger,
|
|
61
61
|
region: clientConfig?.region ?? ssoRegion,
|
|
62
|
+
userAgentAppId: clientConfig?.userAgentAppId ?? parentClientConfig?.userAgentAppId,
|
|
62
63
|
}));
|
|
63
64
|
let ssoResp;
|
|
64
65
|
try {
|
|
@@ -49,6 +49,7 @@ export const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccoun
|
|
|
49
49
|
new SSOClient(Object.assign({}, clientConfig ?? {}, {
|
|
50
50
|
logger: clientConfig?.logger ?? parentClientConfig?.logger,
|
|
51
51
|
region: clientConfig?.region ?? ssoRegion,
|
|
52
|
+
userAgentAppId: clientConfig?.userAgentAppId ?? parentClientConfig?.userAgentAppId,
|
|
52
53
|
}));
|
|
53
54
|
let ssoResp;
|
|
54
55
|
try {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.927.0",
|
|
4
4
|
"description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/client-sso": "3.
|
|
30
|
-
"@aws-sdk/core": "3.
|
|
31
|
-
"@aws-sdk/token-providers": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@smithy/property-provider": "^4.2.
|
|
34
|
-
"@smithy/shared-ini-file-loader": "^4.3.
|
|
35
|
-
"@smithy/types": "^4.8.
|
|
29
|
+
"@aws-sdk/client-sso": "3.927.0",
|
|
30
|
+
"@aws-sdk/core": "3.927.0",
|
|
31
|
+
"@aws-sdk/token-providers": "3.927.0",
|
|
32
|
+
"@aws-sdk/types": "3.922.0",
|
|
33
|
+
"@smithy/property-provider": "^4.2.4",
|
|
34
|
+
"@smithy/shared-ini-file-loader": "^4.3.4",
|
|
35
|
+
"@smithy/types": "^4.8.1",
|
|
36
36
|
"tslib": "^2.6.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.927.0",
|
|
4
4
|
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
},
|
|
35
35
|
"license": "Apache-2.0",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@aws-sdk/core": "3.
|
|
38
|
-
"@aws-sdk/nested-clients": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@smithy/property-provider": "^4.2.
|
|
41
|
-
"@smithy/shared-ini-file-loader": "^4.3.
|
|
42
|
-
"@smithy/types": "^4.8.
|
|
37
|
+
"@aws-sdk/core": "3.927.0",
|
|
38
|
+
"@aws-sdk/nested-clients": "3.927.0",
|
|
39
|
+
"@aws-sdk/types": "3.922.0",
|
|
40
|
+
"@smithy/property-provider": "^4.2.4",
|
|
41
|
+
"@smithy/shared-ini-file-loader": "^4.3.4",
|
|
42
|
+
"@smithy/types": "^4.8.1",
|
|
43
43
|
"tslib": "^2.6.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-bucket-endpoint",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-bucket-endpoint",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
26
|
+
"@aws-sdk/types": "3.922.0",
|
|
27
27
|
"@aws-sdk/util-arn-parser": "3.893.0",
|
|
28
|
-
"@smithy/node-config-provider": "^4.3.
|
|
29
|
-
"@smithy/protocol-http": "^5.3.
|
|
30
|
-
"@smithy/types": "^4.8.
|
|
28
|
+
"@smithy/node-config-provider": "^4.3.4",
|
|
29
|
+
"@smithy/protocol-http": "^5.3.4",
|
|
30
|
+
"@smithy/types": "^4.8.1",
|
|
31
31
|
"@smithy/util-config-provider": "^4.2.0",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-expect-continue",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-expect-continue",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
28
|
-
"@smithy/protocol-http": "^5.3.
|
|
29
|
-
"@smithy/types": "^4.8.
|
|
27
|
+
"@aws-sdk/types": "3.922.0",
|
|
28
|
+
"@smithy/protocol-http": "^5.3.4",
|
|
29
|
+
"@smithy/types": "^4.8.1",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"engines": {
|