@aws-sdk/client-lightsail 3.35.0 → 3.36.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/CHANGELOG.md +13 -0
- package/dist-cjs/Lightsail.js +0 -1
- package/dist-cjs/LightsailClient.js +0 -1
- package/dist-cjs/commands/AllocateStaticIpCommand.js +0 -1
- package/dist-cjs/commands/AttachCertificateToDistributionCommand.js +0 -1
- package/dist-cjs/commands/AttachDiskCommand.js +0 -1
- package/dist-cjs/commands/AttachInstancesToLoadBalancerCommand.js +0 -1
- package/dist-cjs/commands/AttachLoadBalancerTlsCertificateCommand.js +0 -1
- package/dist-cjs/commands/AttachStaticIpCommand.js +0 -1
- package/dist-cjs/commands/CloseInstancePublicPortsCommand.js +0 -1
- package/dist-cjs/commands/CopySnapshotCommand.js +0 -1
- package/dist-cjs/commands/CreateBucketAccessKeyCommand.js +0 -1
- package/dist-cjs/commands/CreateBucketCommand.js +0 -1
- package/dist-cjs/commands/CreateCertificateCommand.js +0 -1
- package/dist-cjs/commands/CreateCloudFormationStackCommand.js +0 -1
- package/dist-cjs/commands/CreateContactMethodCommand.js +0 -1
- package/dist-cjs/commands/CreateContainerServiceCommand.js +0 -1
- package/dist-cjs/commands/CreateContainerServiceDeploymentCommand.js +0 -1
- package/dist-cjs/commands/CreateContainerServiceRegistryLoginCommand.js +0 -1
- package/dist-cjs/commands/CreateDiskCommand.js +0 -1
- package/dist-cjs/commands/CreateDiskFromSnapshotCommand.js +0 -1
- package/dist-cjs/commands/CreateDiskSnapshotCommand.js +0 -1
- package/dist-cjs/commands/CreateDistributionCommand.js +0 -1
- package/dist-cjs/commands/CreateDomainCommand.js +0 -1
- package/dist-cjs/commands/CreateDomainEntryCommand.js +0 -1
- package/dist-cjs/commands/CreateInstanceSnapshotCommand.js +0 -1
- package/dist-cjs/commands/CreateInstancesCommand.js +0 -1
- package/dist-cjs/commands/CreateInstancesFromSnapshotCommand.js +0 -1
- package/dist-cjs/commands/CreateKeyPairCommand.js +0 -1
- package/dist-cjs/commands/CreateLoadBalancerCommand.js +0 -1
- package/dist-cjs/commands/CreateLoadBalancerTlsCertificateCommand.js +0 -1
- package/dist-cjs/commands/CreateRelationalDatabaseCommand.js +0 -1
- package/dist-cjs/commands/CreateRelationalDatabaseFromSnapshotCommand.js +0 -1
- package/dist-cjs/commands/CreateRelationalDatabaseSnapshotCommand.js +0 -1
- package/dist-cjs/commands/DeleteAlarmCommand.js +0 -1
- package/dist-cjs/commands/DeleteAutoSnapshotCommand.js +0 -1
- package/dist-cjs/commands/DeleteBucketAccessKeyCommand.js +0 -1
- package/dist-cjs/commands/DeleteBucketCommand.js +0 -1
- package/dist-cjs/commands/DeleteCertificateCommand.js +0 -1
- package/dist-cjs/commands/DeleteContactMethodCommand.js +0 -1
- package/dist-cjs/commands/DeleteContainerImageCommand.js +0 -1
- package/dist-cjs/commands/DeleteContainerServiceCommand.js +0 -1
- package/dist-cjs/commands/DeleteDiskCommand.js +0 -1
- package/dist-cjs/commands/DeleteDiskSnapshotCommand.js +0 -1
- package/dist-cjs/commands/DeleteDistributionCommand.js +0 -1
- package/dist-cjs/commands/DeleteDomainCommand.js +0 -1
- package/dist-cjs/commands/DeleteDomainEntryCommand.js +0 -1
- package/dist-cjs/commands/DeleteInstanceCommand.js +0 -1
- package/dist-cjs/commands/DeleteInstanceSnapshotCommand.js +0 -1
- package/dist-cjs/commands/DeleteKeyPairCommand.js +0 -1
- package/dist-cjs/commands/DeleteKnownHostKeysCommand.js +0 -1
- package/dist-cjs/commands/DeleteLoadBalancerCommand.js +0 -1
- package/dist-cjs/commands/DeleteLoadBalancerTlsCertificateCommand.js +0 -1
- package/dist-cjs/commands/DeleteRelationalDatabaseCommand.js +0 -1
- package/dist-cjs/commands/DeleteRelationalDatabaseSnapshotCommand.js +0 -1
- package/dist-cjs/commands/DetachCertificateFromDistributionCommand.js +0 -1
- package/dist-cjs/commands/DetachDiskCommand.js +0 -1
- package/dist-cjs/commands/DetachInstancesFromLoadBalancerCommand.js +0 -1
- package/dist-cjs/commands/DetachStaticIpCommand.js +0 -1
- package/dist-cjs/commands/DisableAddOnCommand.js +0 -1
- package/dist-cjs/commands/DownloadDefaultKeyPairCommand.js +0 -1
- package/dist-cjs/commands/EnableAddOnCommand.js +0 -1
- package/dist-cjs/commands/ExportSnapshotCommand.js +0 -1
- package/dist-cjs/commands/GetActiveNamesCommand.js +0 -1
- package/dist-cjs/commands/GetAlarmsCommand.js +0 -1
- package/dist-cjs/commands/GetAutoSnapshotsCommand.js +0 -1
- package/dist-cjs/commands/GetBlueprintsCommand.js +0 -1
- package/dist-cjs/commands/GetBucketAccessKeysCommand.js +0 -1
- package/dist-cjs/commands/GetBucketBundlesCommand.js +0 -1
- package/dist-cjs/commands/GetBucketMetricDataCommand.js +0 -1
- package/dist-cjs/commands/GetBucketsCommand.js +0 -1
- package/dist-cjs/commands/GetBundlesCommand.js +0 -1
- package/dist-cjs/commands/GetCertificatesCommand.js +0 -1
- package/dist-cjs/commands/GetCloudFormationStackRecordsCommand.js +0 -1
- package/dist-cjs/commands/GetContactMethodsCommand.js +0 -1
- package/dist-cjs/commands/GetContainerAPIMetadataCommand.js +0 -1
- package/dist-cjs/commands/GetContainerImagesCommand.js +0 -1
- package/dist-cjs/commands/GetContainerLogCommand.js +0 -1
- package/dist-cjs/commands/GetContainerServiceDeploymentsCommand.js +0 -1
- package/dist-cjs/commands/GetContainerServiceMetricDataCommand.js +0 -1
- package/dist-cjs/commands/GetContainerServicePowersCommand.js +0 -1
- package/dist-cjs/commands/GetContainerServicesCommand.js +0 -1
- package/dist-cjs/commands/GetDiskCommand.js +0 -1
- package/dist-cjs/commands/GetDiskSnapshotCommand.js +0 -1
- package/dist-cjs/commands/GetDiskSnapshotsCommand.js +0 -1
- package/dist-cjs/commands/GetDisksCommand.js +0 -1
- package/dist-cjs/commands/GetDistributionBundlesCommand.js +0 -1
- package/dist-cjs/commands/GetDistributionLatestCacheResetCommand.js +0 -1
- package/dist-cjs/commands/GetDistributionMetricDataCommand.js +0 -1
- package/dist-cjs/commands/GetDistributionsCommand.js +0 -1
- package/dist-cjs/commands/GetDomainCommand.js +0 -1
- package/dist-cjs/commands/GetDomainsCommand.js +0 -1
- package/dist-cjs/commands/GetExportSnapshotRecordsCommand.js +0 -1
- package/dist-cjs/commands/GetInstanceAccessDetailsCommand.js +0 -1
- package/dist-cjs/commands/GetInstanceCommand.js +0 -1
- package/dist-cjs/commands/GetInstanceMetricDataCommand.js +0 -1
- package/dist-cjs/commands/GetInstancePortStatesCommand.js +0 -1
- package/dist-cjs/commands/GetInstanceSnapshotCommand.js +0 -1
- package/dist-cjs/commands/GetInstanceSnapshotsCommand.js +0 -1
- package/dist-cjs/commands/GetInstanceStateCommand.js +0 -1
- package/dist-cjs/commands/GetInstancesCommand.js +0 -1
- package/dist-cjs/commands/GetKeyPairCommand.js +0 -1
- package/dist-cjs/commands/GetKeyPairsCommand.js +0 -1
- package/dist-cjs/commands/GetLoadBalancerCommand.js +0 -1
- package/dist-cjs/commands/GetLoadBalancerMetricDataCommand.js +0 -1
- package/dist-cjs/commands/GetLoadBalancerTlsCertificatesCommand.js +0 -1
- package/dist-cjs/commands/GetLoadBalancersCommand.js +0 -1
- package/dist-cjs/commands/GetOperationCommand.js +0 -1
- package/dist-cjs/commands/GetOperationsCommand.js +0 -1
- package/dist-cjs/commands/GetOperationsForResourceCommand.js +0 -1
- package/dist-cjs/commands/GetRegionsCommand.js +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseBlueprintsCommand.js +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseBundlesCommand.js +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseCommand.js +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseEventsCommand.js +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseLogEventsCommand.js +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseLogStreamsCommand.js +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseMasterUserPasswordCommand.js +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseMetricDataCommand.js +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseParametersCommand.js +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseSnapshotCommand.js +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseSnapshotsCommand.js +0 -1
- package/dist-cjs/commands/GetRelationalDatabasesCommand.js +0 -1
- package/dist-cjs/commands/GetStaticIpCommand.js +0 -1
- package/dist-cjs/commands/GetStaticIpsCommand.js +0 -1
- package/dist-cjs/commands/ImportKeyPairCommand.js +0 -1
- package/dist-cjs/commands/IsVpcPeeredCommand.js +0 -1
- package/dist-cjs/commands/OpenInstancePublicPortsCommand.js +0 -1
- package/dist-cjs/commands/PeerVpcCommand.js +0 -1
- package/dist-cjs/commands/PutAlarmCommand.js +0 -1
- package/dist-cjs/commands/PutInstancePublicPortsCommand.js +0 -1
- package/dist-cjs/commands/RebootInstanceCommand.js +0 -1
- package/dist-cjs/commands/RebootRelationalDatabaseCommand.js +0 -1
- package/dist-cjs/commands/RegisterContainerImageCommand.js +0 -1
- package/dist-cjs/commands/ReleaseStaticIpCommand.js +0 -1
- package/dist-cjs/commands/ResetDistributionCacheCommand.js +0 -1
- package/dist-cjs/commands/SendContactMethodVerificationCommand.js +0 -1
- package/dist-cjs/commands/SetIpAddressTypeCommand.js +0 -1
- package/dist-cjs/commands/SetResourceAccessForBucketCommand.js +0 -1
- package/dist-cjs/commands/StartInstanceCommand.js +0 -1
- package/dist-cjs/commands/StartRelationalDatabaseCommand.js +0 -1
- package/dist-cjs/commands/StopInstanceCommand.js +0 -1
- package/dist-cjs/commands/StopRelationalDatabaseCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/TestAlarmCommand.js +0 -1
- package/dist-cjs/commands/UnpeerVpcCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateBucketBundleCommand.js +0 -1
- package/dist-cjs/commands/UpdateBucketCommand.js +0 -1
- package/dist-cjs/commands/UpdateContainerServiceCommand.js +0 -1
- package/dist-cjs/commands/UpdateDistributionBundleCommand.js +0 -1
- package/dist-cjs/commands/UpdateDistributionCommand.js +0 -1
- package/dist-cjs/commands/UpdateDomainEntryCommand.js +0 -1
- package/dist-cjs/commands/UpdateLoadBalancerAttributeCommand.js +0 -1
- package/dist-cjs/commands/UpdateRelationalDatabaseCommand.js +0 -1
- package/dist-cjs/commands/UpdateRelationalDatabaseParametersCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/models/models_1.js +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/Lightsail.js +0 -1
- package/dist-es/LightsailClient.js +0 -1
- package/dist-es/commands/AllocateStaticIpCommand.js +0 -1
- package/dist-es/commands/AttachCertificateToDistributionCommand.js +0 -1
- package/dist-es/commands/AttachDiskCommand.js +0 -1
- package/dist-es/commands/AttachInstancesToLoadBalancerCommand.js +0 -1
- package/dist-es/commands/AttachLoadBalancerTlsCertificateCommand.js +0 -1
- package/dist-es/commands/AttachStaticIpCommand.js +0 -1
- package/dist-es/commands/CloseInstancePublicPortsCommand.js +0 -1
- package/dist-es/commands/CopySnapshotCommand.js +0 -1
- package/dist-es/commands/CreateBucketAccessKeyCommand.js +0 -1
- package/dist-es/commands/CreateBucketCommand.js +0 -1
- package/dist-es/commands/CreateCertificateCommand.js +0 -1
- package/dist-es/commands/CreateCloudFormationStackCommand.js +0 -1
- package/dist-es/commands/CreateContactMethodCommand.js +0 -1
- package/dist-es/commands/CreateContainerServiceCommand.js +0 -1
- package/dist-es/commands/CreateContainerServiceDeploymentCommand.js +0 -1
- package/dist-es/commands/CreateContainerServiceRegistryLoginCommand.js +0 -1
- package/dist-es/commands/CreateDiskCommand.js +0 -1
- package/dist-es/commands/CreateDiskFromSnapshotCommand.js +0 -1
- package/dist-es/commands/CreateDiskSnapshotCommand.js +0 -1
- package/dist-es/commands/CreateDistributionCommand.js +0 -1
- package/dist-es/commands/CreateDomainCommand.js +0 -1
- package/dist-es/commands/CreateDomainEntryCommand.js +0 -1
- package/dist-es/commands/CreateInstanceSnapshotCommand.js +0 -1
- package/dist-es/commands/CreateInstancesCommand.js +0 -1
- package/dist-es/commands/CreateInstancesFromSnapshotCommand.js +0 -1
- package/dist-es/commands/CreateKeyPairCommand.js +0 -1
- package/dist-es/commands/CreateLoadBalancerCommand.js +0 -1
- package/dist-es/commands/CreateLoadBalancerTlsCertificateCommand.js +0 -1
- package/dist-es/commands/CreateRelationalDatabaseCommand.js +0 -1
- package/dist-es/commands/CreateRelationalDatabaseFromSnapshotCommand.js +0 -1
- package/dist-es/commands/CreateRelationalDatabaseSnapshotCommand.js +0 -1
- package/dist-es/commands/DeleteAlarmCommand.js +0 -1
- package/dist-es/commands/DeleteAutoSnapshotCommand.js +0 -1
- package/dist-es/commands/DeleteBucketAccessKeyCommand.js +0 -1
- package/dist-es/commands/DeleteBucketCommand.js +0 -1
- package/dist-es/commands/DeleteCertificateCommand.js +0 -1
- package/dist-es/commands/DeleteContactMethodCommand.js +0 -1
- package/dist-es/commands/DeleteContainerImageCommand.js +0 -1
- package/dist-es/commands/DeleteContainerServiceCommand.js +0 -1
- package/dist-es/commands/DeleteDiskCommand.js +0 -1
- package/dist-es/commands/DeleteDiskSnapshotCommand.js +0 -1
- package/dist-es/commands/DeleteDistributionCommand.js +0 -1
- package/dist-es/commands/DeleteDomainCommand.js +0 -1
- package/dist-es/commands/DeleteDomainEntryCommand.js +0 -1
- package/dist-es/commands/DeleteInstanceCommand.js +0 -1
- package/dist-es/commands/DeleteInstanceSnapshotCommand.js +0 -1
- package/dist-es/commands/DeleteKeyPairCommand.js +0 -1
- package/dist-es/commands/DeleteKnownHostKeysCommand.js +0 -1
- package/dist-es/commands/DeleteLoadBalancerCommand.js +0 -1
- package/dist-es/commands/DeleteLoadBalancerTlsCertificateCommand.js +0 -1
- package/dist-es/commands/DeleteRelationalDatabaseCommand.js +0 -1
- package/dist-es/commands/DeleteRelationalDatabaseSnapshotCommand.js +0 -1
- package/dist-es/commands/DetachCertificateFromDistributionCommand.js +0 -1
- package/dist-es/commands/DetachDiskCommand.js +0 -1
- package/dist-es/commands/DetachInstancesFromLoadBalancerCommand.js +0 -1
- package/dist-es/commands/DetachStaticIpCommand.js +0 -1
- package/dist-es/commands/DisableAddOnCommand.js +0 -1
- package/dist-es/commands/DownloadDefaultKeyPairCommand.js +0 -1
- package/dist-es/commands/EnableAddOnCommand.js +0 -1
- package/dist-es/commands/ExportSnapshotCommand.js +0 -1
- package/dist-es/commands/GetActiveNamesCommand.js +0 -1
- package/dist-es/commands/GetAlarmsCommand.js +0 -1
- package/dist-es/commands/GetAutoSnapshotsCommand.js +0 -1
- package/dist-es/commands/GetBlueprintsCommand.js +0 -1
- package/dist-es/commands/GetBucketAccessKeysCommand.js +0 -1
- package/dist-es/commands/GetBucketBundlesCommand.js +0 -1
- package/dist-es/commands/GetBucketMetricDataCommand.js +0 -1
- package/dist-es/commands/GetBucketsCommand.js +0 -1
- package/dist-es/commands/GetBundlesCommand.js +0 -1
- package/dist-es/commands/GetCertificatesCommand.js +0 -1
- package/dist-es/commands/GetCloudFormationStackRecordsCommand.js +0 -1
- package/dist-es/commands/GetContactMethodsCommand.js +0 -1
- package/dist-es/commands/GetContainerAPIMetadataCommand.js +0 -1
- package/dist-es/commands/GetContainerImagesCommand.js +0 -1
- package/dist-es/commands/GetContainerLogCommand.js +0 -1
- package/dist-es/commands/GetContainerServiceDeploymentsCommand.js +0 -1
- package/dist-es/commands/GetContainerServiceMetricDataCommand.js +0 -1
- package/dist-es/commands/GetContainerServicePowersCommand.js +0 -1
- package/dist-es/commands/GetContainerServicesCommand.js +0 -1
- package/dist-es/commands/GetDiskCommand.js +0 -1
- package/dist-es/commands/GetDiskSnapshotCommand.js +0 -1
- package/dist-es/commands/GetDiskSnapshotsCommand.js +0 -1
- package/dist-es/commands/GetDisksCommand.js +0 -1
- package/dist-es/commands/GetDistributionBundlesCommand.js +0 -1
- package/dist-es/commands/GetDistributionLatestCacheResetCommand.js +0 -1
- package/dist-es/commands/GetDistributionMetricDataCommand.js +0 -1
- package/dist-es/commands/GetDistributionsCommand.js +0 -1
- package/dist-es/commands/GetDomainCommand.js +0 -1
- package/dist-es/commands/GetDomainsCommand.js +0 -1
- package/dist-es/commands/GetExportSnapshotRecordsCommand.js +0 -1
- package/dist-es/commands/GetInstanceAccessDetailsCommand.js +0 -1
- package/dist-es/commands/GetInstanceCommand.js +0 -1
- package/dist-es/commands/GetInstanceMetricDataCommand.js +0 -1
- package/dist-es/commands/GetInstancePortStatesCommand.js +0 -1
- package/dist-es/commands/GetInstanceSnapshotCommand.js +0 -1
- package/dist-es/commands/GetInstanceSnapshotsCommand.js +0 -1
- package/dist-es/commands/GetInstanceStateCommand.js +0 -1
- package/dist-es/commands/GetInstancesCommand.js +0 -1
- package/dist-es/commands/GetKeyPairCommand.js +0 -1
- package/dist-es/commands/GetKeyPairsCommand.js +0 -1
- package/dist-es/commands/GetLoadBalancerCommand.js +0 -1
- package/dist-es/commands/GetLoadBalancerMetricDataCommand.js +0 -1
- package/dist-es/commands/GetLoadBalancerTlsCertificatesCommand.js +0 -1
- package/dist-es/commands/GetLoadBalancersCommand.js +0 -1
- package/dist-es/commands/GetOperationCommand.js +0 -1
- package/dist-es/commands/GetOperationsCommand.js +0 -1
- package/dist-es/commands/GetOperationsForResourceCommand.js +0 -1
- package/dist-es/commands/GetRegionsCommand.js +0 -1
- package/dist-es/commands/GetRelationalDatabaseBlueprintsCommand.js +0 -1
- package/dist-es/commands/GetRelationalDatabaseBundlesCommand.js +0 -1
- package/dist-es/commands/GetRelationalDatabaseCommand.js +0 -1
- package/dist-es/commands/GetRelationalDatabaseEventsCommand.js +0 -1
- package/dist-es/commands/GetRelationalDatabaseLogEventsCommand.js +0 -1
- package/dist-es/commands/GetRelationalDatabaseLogStreamsCommand.js +0 -1
- package/dist-es/commands/GetRelationalDatabaseMasterUserPasswordCommand.js +0 -1
- package/dist-es/commands/GetRelationalDatabaseMetricDataCommand.js +0 -1
- package/dist-es/commands/GetRelationalDatabaseParametersCommand.js +0 -1
- package/dist-es/commands/GetRelationalDatabaseSnapshotCommand.js +0 -1
- package/dist-es/commands/GetRelationalDatabaseSnapshotsCommand.js +0 -1
- package/dist-es/commands/GetRelationalDatabasesCommand.js +0 -1
- package/dist-es/commands/GetStaticIpCommand.js +0 -1
- package/dist-es/commands/GetStaticIpsCommand.js +0 -1
- package/dist-es/commands/ImportKeyPairCommand.js +0 -1
- package/dist-es/commands/IsVpcPeeredCommand.js +0 -1
- package/dist-es/commands/OpenInstancePublicPortsCommand.js +0 -1
- package/dist-es/commands/PeerVpcCommand.js +0 -1
- package/dist-es/commands/PutAlarmCommand.js +0 -1
- package/dist-es/commands/PutInstancePublicPortsCommand.js +0 -1
- package/dist-es/commands/RebootInstanceCommand.js +0 -1
- package/dist-es/commands/RebootRelationalDatabaseCommand.js +0 -1
- package/dist-es/commands/RegisterContainerImageCommand.js +0 -1
- package/dist-es/commands/ReleaseStaticIpCommand.js +0 -1
- package/dist-es/commands/ResetDistributionCacheCommand.js +0 -1
- package/dist-es/commands/SendContactMethodVerificationCommand.js +0 -1
- package/dist-es/commands/SetIpAddressTypeCommand.js +0 -1
- package/dist-es/commands/SetResourceAccessForBucketCommand.js +0 -1
- package/dist-es/commands/StartInstanceCommand.js +0 -1
- package/dist-es/commands/StartRelationalDatabaseCommand.js +0 -1
- package/dist-es/commands/StopInstanceCommand.js +0 -1
- package/dist-es/commands/StopRelationalDatabaseCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/TestAlarmCommand.js +0 -1
- package/dist-es/commands/UnpeerVpcCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateBucketBundleCommand.js +0 -1
- package/dist-es/commands/UpdateBucketCommand.js +0 -1
- package/dist-es/commands/UpdateContainerServiceCommand.js +0 -1
- package/dist-es/commands/UpdateDistributionBundleCommand.js +0 -1
- package/dist-es/commands/UpdateDistributionCommand.js +0 -1
- package/dist-es/commands/UpdateDomainEntryCommand.js +0 -1
- package/dist-es/commands/UpdateLoadBalancerAttributeCommand.js +0 -1
- package/dist-es/commands/UpdateRelationalDatabaseCommand.js +0 -1
- package/dist-es/commands/UpdateRelationalDatabaseParametersCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/models/models_1.js +0 -1
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/package.json +33 -30
- package/dist-cjs/Lightsail.js.map +0 -1
- package/dist-cjs/LightsailClient.js.map +0 -1
- package/dist-cjs/commands/AllocateStaticIpCommand.js.map +0 -1
- package/dist-cjs/commands/AttachCertificateToDistributionCommand.js.map +0 -1
- package/dist-cjs/commands/AttachDiskCommand.js.map +0 -1
- package/dist-cjs/commands/AttachInstancesToLoadBalancerCommand.js.map +0 -1
- package/dist-cjs/commands/AttachLoadBalancerTlsCertificateCommand.js.map +0 -1
- package/dist-cjs/commands/AttachStaticIpCommand.js.map +0 -1
- package/dist-cjs/commands/CloseInstancePublicPortsCommand.js.map +0 -1
- package/dist-cjs/commands/CopySnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/CreateBucketAccessKeyCommand.js.map +0 -1
- package/dist-cjs/commands/CreateBucketCommand.js.map +0 -1
- package/dist-cjs/commands/CreateCertificateCommand.js.map +0 -1
- package/dist-cjs/commands/CreateCloudFormationStackCommand.js.map +0 -1
- package/dist-cjs/commands/CreateContactMethodCommand.js.map +0 -1
- package/dist-cjs/commands/CreateContainerServiceCommand.js.map +0 -1
- package/dist-cjs/commands/CreateContainerServiceDeploymentCommand.js.map +0 -1
- package/dist-cjs/commands/CreateContainerServiceRegistryLoginCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDiskCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDiskFromSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDiskSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDistributionCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDomainCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDomainEntryCommand.js.map +0 -1
- package/dist-cjs/commands/CreateInstanceSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/CreateInstancesCommand.js.map +0 -1
- package/dist-cjs/commands/CreateInstancesFromSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/CreateKeyPairCommand.js.map +0 -1
- package/dist-cjs/commands/CreateLoadBalancerCommand.js.map +0 -1
- package/dist-cjs/commands/CreateLoadBalancerTlsCertificateCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRelationalDatabaseCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRelationalDatabaseFromSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRelationalDatabaseSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAlarmCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAutoSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteBucketAccessKeyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteBucketCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteCertificateCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteContactMethodCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteContainerImageCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteContainerServiceCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDiskCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDiskSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDistributionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDomainCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDomainEntryCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteInstanceSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteKeyPairCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteKnownHostKeysCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteLoadBalancerCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteLoadBalancerTlsCertificateCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRelationalDatabaseCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRelationalDatabaseSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/DetachCertificateFromDistributionCommand.js.map +0 -1
- package/dist-cjs/commands/DetachDiskCommand.js.map +0 -1
- package/dist-cjs/commands/DetachInstancesFromLoadBalancerCommand.js.map +0 -1
- package/dist-cjs/commands/DetachStaticIpCommand.js.map +0 -1
- package/dist-cjs/commands/DisableAddOnCommand.js.map +0 -1
- package/dist-cjs/commands/DownloadDefaultKeyPairCommand.js.map +0 -1
- package/dist-cjs/commands/EnableAddOnCommand.js.map +0 -1
- package/dist-cjs/commands/ExportSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/GetActiveNamesCommand.js.map +0 -1
- package/dist-cjs/commands/GetAlarmsCommand.js.map +0 -1
- package/dist-cjs/commands/GetAutoSnapshotsCommand.js.map +0 -1
- package/dist-cjs/commands/GetBlueprintsCommand.js.map +0 -1
- package/dist-cjs/commands/GetBucketAccessKeysCommand.js.map +0 -1
- package/dist-cjs/commands/GetBucketBundlesCommand.js.map +0 -1
- package/dist-cjs/commands/GetBucketMetricDataCommand.js.map +0 -1
- package/dist-cjs/commands/GetBucketsCommand.js.map +0 -1
- package/dist-cjs/commands/GetBundlesCommand.js.map +0 -1
- package/dist-cjs/commands/GetCertificatesCommand.js.map +0 -1
- package/dist-cjs/commands/GetCloudFormationStackRecordsCommand.js.map +0 -1
- package/dist-cjs/commands/GetContactMethodsCommand.js.map +0 -1
- package/dist-cjs/commands/GetContainerAPIMetadataCommand.js.map +0 -1
- package/dist-cjs/commands/GetContainerImagesCommand.js.map +0 -1
- package/dist-cjs/commands/GetContainerLogCommand.js.map +0 -1
- package/dist-cjs/commands/GetContainerServiceDeploymentsCommand.js.map +0 -1
- package/dist-cjs/commands/GetContainerServiceMetricDataCommand.js.map +0 -1
- package/dist-cjs/commands/GetContainerServicePowersCommand.js.map +0 -1
- package/dist-cjs/commands/GetContainerServicesCommand.js.map +0 -1
- package/dist-cjs/commands/GetDiskCommand.js.map +0 -1
- package/dist-cjs/commands/GetDiskSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/GetDiskSnapshotsCommand.js.map +0 -1
- package/dist-cjs/commands/GetDisksCommand.js.map +0 -1
- package/dist-cjs/commands/GetDistributionBundlesCommand.js.map +0 -1
- package/dist-cjs/commands/GetDistributionLatestCacheResetCommand.js.map +0 -1
- package/dist-cjs/commands/GetDistributionMetricDataCommand.js.map +0 -1
- package/dist-cjs/commands/GetDistributionsCommand.js.map +0 -1
- package/dist-cjs/commands/GetDomainCommand.js.map +0 -1
- package/dist-cjs/commands/GetDomainsCommand.js.map +0 -1
- package/dist-cjs/commands/GetExportSnapshotRecordsCommand.js.map +0 -1
- package/dist-cjs/commands/GetInstanceAccessDetailsCommand.js.map +0 -1
- package/dist-cjs/commands/GetInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/GetInstanceMetricDataCommand.js.map +0 -1
- package/dist-cjs/commands/GetInstancePortStatesCommand.js.map +0 -1
- package/dist-cjs/commands/GetInstanceSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/GetInstanceSnapshotsCommand.js.map +0 -1
- package/dist-cjs/commands/GetInstanceStateCommand.js.map +0 -1
- package/dist-cjs/commands/GetInstancesCommand.js.map +0 -1
- package/dist-cjs/commands/GetKeyPairCommand.js.map +0 -1
- package/dist-cjs/commands/GetKeyPairsCommand.js.map +0 -1
- package/dist-cjs/commands/GetLoadBalancerCommand.js.map +0 -1
- package/dist-cjs/commands/GetLoadBalancerMetricDataCommand.js.map +0 -1
- package/dist-cjs/commands/GetLoadBalancerTlsCertificatesCommand.js.map +0 -1
- package/dist-cjs/commands/GetLoadBalancersCommand.js.map +0 -1
- package/dist-cjs/commands/GetOperationCommand.js.map +0 -1
- package/dist-cjs/commands/GetOperationsCommand.js.map +0 -1
- package/dist-cjs/commands/GetOperationsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/GetRegionsCommand.js.map +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseBlueprintsCommand.js.map +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseBundlesCommand.js.map +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseCommand.js.map +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseEventsCommand.js.map +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseLogEventsCommand.js.map +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseLogStreamsCommand.js.map +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseMasterUserPasswordCommand.js.map +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseMetricDataCommand.js.map +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseParametersCommand.js.map +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/GetRelationalDatabaseSnapshotsCommand.js.map +0 -1
- package/dist-cjs/commands/GetRelationalDatabasesCommand.js.map +0 -1
- package/dist-cjs/commands/GetStaticIpCommand.js.map +0 -1
- package/dist-cjs/commands/GetStaticIpsCommand.js.map +0 -1
- package/dist-cjs/commands/ImportKeyPairCommand.js.map +0 -1
- package/dist-cjs/commands/IsVpcPeeredCommand.js.map +0 -1
- package/dist-cjs/commands/OpenInstancePublicPortsCommand.js.map +0 -1
- package/dist-cjs/commands/PeerVpcCommand.js.map +0 -1
- package/dist-cjs/commands/PutAlarmCommand.js.map +0 -1
- package/dist-cjs/commands/PutInstancePublicPortsCommand.js.map +0 -1
- package/dist-cjs/commands/RebootInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/RebootRelationalDatabaseCommand.js.map +0 -1
- package/dist-cjs/commands/RegisterContainerImageCommand.js.map +0 -1
- package/dist-cjs/commands/ReleaseStaticIpCommand.js.map +0 -1
- package/dist-cjs/commands/ResetDistributionCacheCommand.js.map +0 -1
- package/dist-cjs/commands/SendContactMethodVerificationCommand.js.map +0 -1
- package/dist-cjs/commands/SetIpAddressTypeCommand.js.map +0 -1
- package/dist-cjs/commands/SetResourceAccessForBucketCommand.js.map +0 -1
- package/dist-cjs/commands/StartInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/StartRelationalDatabaseCommand.js.map +0 -1
- package/dist-cjs/commands/StopInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/StopRelationalDatabaseCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/TestAlarmCommand.js.map +0 -1
- package/dist-cjs/commands/UnpeerVpcCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateBucketBundleCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateBucketCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateContainerServiceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateDistributionBundleCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateDistributionCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateDomainEntryCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateLoadBalancerAttributeCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRelationalDatabaseCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRelationalDatabaseParametersCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/models/models_1.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/Lightsail.js.map +0 -1
- package/dist-es/LightsailClient.js.map +0 -1
- package/dist-es/commands/AllocateStaticIpCommand.js.map +0 -1
- package/dist-es/commands/AttachCertificateToDistributionCommand.js.map +0 -1
- package/dist-es/commands/AttachDiskCommand.js.map +0 -1
- package/dist-es/commands/AttachInstancesToLoadBalancerCommand.js.map +0 -1
- package/dist-es/commands/AttachLoadBalancerTlsCertificateCommand.js.map +0 -1
- package/dist-es/commands/AttachStaticIpCommand.js.map +0 -1
- package/dist-es/commands/CloseInstancePublicPortsCommand.js.map +0 -1
- package/dist-es/commands/CopySnapshotCommand.js.map +0 -1
- package/dist-es/commands/CreateBucketAccessKeyCommand.js.map +0 -1
- package/dist-es/commands/CreateBucketCommand.js.map +0 -1
- package/dist-es/commands/CreateCertificateCommand.js.map +0 -1
- package/dist-es/commands/CreateCloudFormationStackCommand.js.map +0 -1
- package/dist-es/commands/CreateContactMethodCommand.js.map +0 -1
- package/dist-es/commands/CreateContainerServiceCommand.js.map +0 -1
- package/dist-es/commands/CreateContainerServiceDeploymentCommand.js.map +0 -1
- package/dist-es/commands/CreateContainerServiceRegistryLoginCommand.js.map +0 -1
- package/dist-es/commands/CreateDiskCommand.js.map +0 -1
- package/dist-es/commands/CreateDiskFromSnapshotCommand.js.map +0 -1
- package/dist-es/commands/CreateDiskSnapshotCommand.js.map +0 -1
- package/dist-es/commands/CreateDistributionCommand.js.map +0 -1
- package/dist-es/commands/CreateDomainCommand.js.map +0 -1
- package/dist-es/commands/CreateDomainEntryCommand.js.map +0 -1
- package/dist-es/commands/CreateInstanceSnapshotCommand.js.map +0 -1
- package/dist-es/commands/CreateInstancesCommand.js.map +0 -1
- package/dist-es/commands/CreateInstancesFromSnapshotCommand.js.map +0 -1
- package/dist-es/commands/CreateKeyPairCommand.js.map +0 -1
- package/dist-es/commands/CreateLoadBalancerCommand.js.map +0 -1
- package/dist-es/commands/CreateLoadBalancerTlsCertificateCommand.js.map +0 -1
- package/dist-es/commands/CreateRelationalDatabaseCommand.js.map +0 -1
- package/dist-es/commands/CreateRelationalDatabaseFromSnapshotCommand.js.map +0 -1
- package/dist-es/commands/CreateRelationalDatabaseSnapshotCommand.js.map +0 -1
- package/dist-es/commands/DeleteAlarmCommand.js.map +0 -1
- package/dist-es/commands/DeleteAutoSnapshotCommand.js.map +0 -1
- package/dist-es/commands/DeleteBucketAccessKeyCommand.js.map +0 -1
- package/dist-es/commands/DeleteBucketCommand.js.map +0 -1
- package/dist-es/commands/DeleteCertificateCommand.js.map +0 -1
- package/dist-es/commands/DeleteContactMethodCommand.js.map +0 -1
- package/dist-es/commands/DeleteContainerImageCommand.js.map +0 -1
- package/dist-es/commands/DeleteContainerServiceCommand.js.map +0 -1
- package/dist-es/commands/DeleteDiskCommand.js.map +0 -1
- package/dist-es/commands/DeleteDiskSnapshotCommand.js.map +0 -1
- package/dist-es/commands/DeleteDistributionCommand.js.map +0 -1
- package/dist-es/commands/DeleteDomainCommand.js.map +0 -1
- package/dist-es/commands/DeleteDomainEntryCommand.js.map +0 -1
- package/dist-es/commands/DeleteInstanceCommand.js.map +0 -1
- package/dist-es/commands/DeleteInstanceSnapshotCommand.js.map +0 -1
- package/dist-es/commands/DeleteKeyPairCommand.js.map +0 -1
- package/dist-es/commands/DeleteKnownHostKeysCommand.js.map +0 -1
- package/dist-es/commands/DeleteLoadBalancerCommand.js.map +0 -1
- package/dist-es/commands/DeleteLoadBalancerTlsCertificateCommand.js.map +0 -1
- package/dist-es/commands/DeleteRelationalDatabaseCommand.js.map +0 -1
- package/dist-es/commands/DeleteRelationalDatabaseSnapshotCommand.js.map +0 -1
- package/dist-es/commands/DetachCertificateFromDistributionCommand.js.map +0 -1
- package/dist-es/commands/DetachDiskCommand.js.map +0 -1
- package/dist-es/commands/DetachInstancesFromLoadBalancerCommand.js.map +0 -1
- package/dist-es/commands/DetachStaticIpCommand.js.map +0 -1
- package/dist-es/commands/DisableAddOnCommand.js.map +0 -1
- package/dist-es/commands/DownloadDefaultKeyPairCommand.js.map +0 -1
- package/dist-es/commands/EnableAddOnCommand.js.map +0 -1
- package/dist-es/commands/ExportSnapshotCommand.js.map +0 -1
- package/dist-es/commands/GetActiveNamesCommand.js.map +0 -1
- package/dist-es/commands/GetAlarmsCommand.js.map +0 -1
- package/dist-es/commands/GetAutoSnapshotsCommand.js.map +0 -1
- package/dist-es/commands/GetBlueprintsCommand.js.map +0 -1
- package/dist-es/commands/GetBucketAccessKeysCommand.js.map +0 -1
- package/dist-es/commands/GetBucketBundlesCommand.js.map +0 -1
- package/dist-es/commands/GetBucketMetricDataCommand.js.map +0 -1
- package/dist-es/commands/GetBucketsCommand.js.map +0 -1
- package/dist-es/commands/GetBundlesCommand.js.map +0 -1
- package/dist-es/commands/GetCertificatesCommand.js.map +0 -1
- package/dist-es/commands/GetCloudFormationStackRecordsCommand.js.map +0 -1
- package/dist-es/commands/GetContactMethodsCommand.js.map +0 -1
- package/dist-es/commands/GetContainerAPIMetadataCommand.js.map +0 -1
- package/dist-es/commands/GetContainerImagesCommand.js.map +0 -1
- package/dist-es/commands/GetContainerLogCommand.js.map +0 -1
- package/dist-es/commands/GetContainerServiceDeploymentsCommand.js.map +0 -1
- package/dist-es/commands/GetContainerServiceMetricDataCommand.js.map +0 -1
- package/dist-es/commands/GetContainerServicePowersCommand.js.map +0 -1
- package/dist-es/commands/GetContainerServicesCommand.js.map +0 -1
- package/dist-es/commands/GetDiskCommand.js.map +0 -1
- package/dist-es/commands/GetDiskSnapshotCommand.js.map +0 -1
- package/dist-es/commands/GetDiskSnapshotsCommand.js.map +0 -1
- package/dist-es/commands/GetDisksCommand.js.map +0 -1
- package/dist-es/commands/GetDistributionBundlesCommand.js.map +0 -1
- package/dist-es/commands/GetDistributionLatestCacheResetCommand.js.map +0 -1
- package/dist-es/commands/GetDistributionMetricDataCommand.js.map +0 -1
- package/dist-es/commands/GetDistributionsCommand.js.map +0 -1
- package/dist-es/commands/GetDomainCommand.js.map +0 -1
- package/dist-es/commands/GetDomainsCommand.js.map +0 -1
- package/dist-es/commands/GetExportSnapshotRecordsCommand.js.map +0 -1
- package/dist-es/commands/GetInstanceAccessDetailsCommand.js.map +0 -1
- package/dist-es/commands/GetInstanceCommand.js.map +0 -1
- package/dist-es/commands/GetInstanceMetricDataCommand.js.map +0 -1
- package/dist-es/commands/GetInstancePortStatesCommand.js.map +0 -1
- package/dist-es/commands/GetInstanceSnapshotCommand.js.map +0 -1
- package/dist-es/commands/GetInstanceSnapshotsCommand.js.map +0 -1
- package/dist-es/commands/GetInstanceStateCommand.js.map +0 -1
- package/dist-es/commands/GetInstancesCommand.js.map +0 -1
- package/dist-es/commands/GetKeyPairCommand.js.map +0 -1
- package/dist-es/commands/GetKeyPairsCommand.js.map +0 -1
- package/dist-es/commands/GetLoadBalancerCommand.js.map +0 -1
- package/dist-es/commands/GetLoadBalancerMetricDataCommand.js.map +0 -1
- package/dist-es/commands/GetLoadBalancerTlsCertificatesCommand.js.map +0 -1
- package/dist-es/commands/GetLoadBalancersCommand.js.map +0 -1
- package/dist-es/commands/GetOperationCommand.js.map +0 -1
- package/dist-es/commands/GetOperationsCommand.js.map +0 -1
- package/dist-es/commands/GetOperationsForResourceCommand.js.map +0 -1
- package/dist-es/commands/GetRegionsCommand.js.map +0 -1
- package/dist-es/commands/GetRelationalDatabaseBlueprintsCommand.js.map +0 -1
- package/dist-es/commands/GetRelationalDatabaseBundlesCommand.js.map +0 -1
- package/dist-es/commands/GetRelationalDatabaseCommand.js.map +0 -1
- package/dist-es/commands/GetRelationalDatabaseEventsCommand.js.map +0 -1
- package/dist-es/commands/GetRelationalDatabaseLogEventsCommand.js.map +0 -1
- package/dist-es/commands/GetRelationalDatabaseLogStreamsCommand.js.map +0 -1
- package/dist-es/commands/GetRelationalDatabaseMasterUserPasswordCommand.js.map +0 -1
- package/dist-es/commands/GetRelationalDatabaseMetricDataCommand.js.map +0 -1
- package/dist-es/commands/GetRelationalDatabaseParametersCommand.js.map +0 -1
- package/dist-es/commands/GetRelationalDatabaseSnapshotCommand.js.map +0 -1
- package/dist-es/commands/GetRelationalDatabaseSnapshotsCommand.js.map +0 -1
- package/dist-es/commands/GetRelationalDatabasesCommand.js.map +0 -1
- package/dist-es/commands/GetStaticIpCommand.js.map +0 -1
- package/dist-es/commands/GetStaticIpsCommand.js.map +0 -1
- package/dist-es/commands/ImportKeyPairCommand.js.map +0 -1
- package/dist-es/commands/IsVpcPeeredCommand.js.map +0 -1
- package/dist-es/commands/OpenInstancePublicPortsCommand.js.map +0 -1
- package/dist-es/commands/PeerVpcCommand.js.map +0 -1
- package/dist-es/commands/PutAlarmCommand.js.map +0 -1
- package/dist-es/commands/PutInstancePublicPortsCommand.js.map +0 -1
- package/dist-es/commands/RebootInstanceCommand.js.map +0 -1
- package/dist-es/commands/RebootRelationalDatabaseCommand.js.map +0 -1
- package/dist-es/commands/RegisterContainerImageCommand.js.map +0 -1
- package/dist-es/commands/ReleaseStaticIpCommand.js.map +0 -1
- package/dist-es/commands/ResetDistributionCacheCommand.js.map +0 -1
- package/dist-es/commands/SendContactMethodVerificationCommand.js.map +0 -1
- package/dist-es/commands/SetIpAddressTypeCommand.js.map +0 -1
- package/dist-es/commands/SetResourceAccessForBucketCommand.js.map +0 -1
- package/dist-es/commands/StartInstanceCommand.js.map +0 -1
- package/dist-es/commands/StartRelationalDatabaseCommand.js.map +0 -1
- package/dist-es/commands/StopInstanceCommand.js.map +0 -1
- package/dist-es/commands/StopRelationalDatabaseCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/TestAlarmCommand.js.map +0 -1
- package/dist-es/commands/UnpeerVpcCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateBucketBundleCommand.js.map +0 -1
- package/dist-es/commands/UpdateBucketCommand.js.map +0 -1
- package/dist-es/commands/UpdateContainerServiceCommand.js.map +0 -1
- package/dist-es/commands/UpdateDistributionBundleCommand.js.map +0 -1
- package/dist-es/commands/UpdateDistributionCommand.js.map +0 -1
- package/dist-es/commands/UpdateDomainEntryCommand.js.map +0 -1
- package/dist-es/commands/UpdateLoadBalancerAttributeCommand.js.map +0 -1
- package/dist-es/commands/UpdateRelationalDatabaseCommand.js.map +0 -1
- package/dist-es/commands/UpdateRelationalDatabaseParametersCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/models/models_1.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/Lightsail.ts +0 -5994
- package/src/LightsailClient.ts +0 -934
- package/src/commands/AllocateStaticIpCommand.ts +0 -95
- package/src/commands/AttachCertificateToDistributionCommand.ts +0 -114
- package/src/commands/AttachDiskCommand.ts +0 -99
- package/src/commands/AttachInstancesToLoadBalancerCommand.ts +0 -105
- package/src/commands/AttachLoadBalancerTlsCertificateCommand.ts +0 -111
- package/src/commands/AttachStaticIpCommand.ts +0 -95
- package/src/commands/CloseInstancePublicPortsCommand.ts +0 -98
- package/src/commands/CopySnapshotCommand.ts +0 -105
- package/src/commands/CreateBucketAccessKeyCommand.ts +0 -108
- package/src/commands/CreateBucketCommand.ts +0 -100
- package/src/commands/CreateCertificateCommand.ts +0 -106
- package/src/commands/CreateCloudFormationStackCommand.ts +0 -105
- package/src/commands/CreateContactMethodCommand.ts +0 -99
- package/src/commands/CreateContainerServiceCommand.ts +0 -99
- package/src/commands/CreateContainerServiceDeploymentCommand.ts +0 -113
- package/src/commands/CreateContainerServiceRegistryLoginCommand.ts +0 -128
- package/src/commands/CreateDiskCommand.ts +0 -98
- package/src/commands/CreateDiskFromSnapshotCommand.ts +0 -100
- package/src/commands/CreateDiskSnapshotCommand.ts +0 -114
- package/src/commands/CreateDistributionCommand.ts +0 -98
- package/src/commands/CreateDomainCommand.ts +0 -97
- package/src/commands/CreateDomainEntryCommand.ts +0 -103
- package/src/commands/CreateInstanceSnapshotCommand.ts +0 -98
- package/src/commands/CreateInstancesCommand.ts +0 -97
- package/src/commands/CreateInstancesFromSnapshotCommand.ts +0 -102
- package/src/commands/CreateKeyPairCommand.ts +0 -97
- package/src/commands/CreateLoadBalancerCommand.ts +0 -102
- package/src/commands/CreateLoadBalancerTlsCertificateCommand.ts +0 -107
- package/src/commands/CreateRelationalDatabaseCommand.ts +0 -97
- package/src/commands/CreateRelationalDatabaseFromSnapshotCommand.ts +0 -112
- package/src/commands/CreateRelationalDatabaseSnapshotCommand.ts +0 -106
- package/src/commands/DeleteAlarmCommand.ts +0 -99
- package/src/commands/DeleteAutoSnapshotCommand.ts +0 -95
- package/src/commands/DeleteBucketAccessKeyCommand.ts +0 -100
- package/src/commands/DeleteBucketCommand.ts +0 -100
- package/src/commands/DeleteCertificateCommand.ts +0 -99
- package/src/commands/DeleteContactMethodCommand.ts +0 -99
- package/src/commands/DeleteContainerImageCommand.ts +0 -96
- package/src/commands/DeleteContainerServiceCommand.ts +0 -95
- package/src/commands/DeleteDiskCommand.ts +0 -102
- package/src/commands/DeleteDiskSnapshotCommand.ts +0 -103
- package/src/commands/DeleteDistributionCommand.ts +0 -95
- package/src/commands/DeleteDomainCommand.ts +0 -98
- package/src/commands/DeleteDomainEntryCommand.ts +0 -98
- package/src/commands/DeleteInstanceCommand.ts +0 -98
- package/src/commands/DeleteInstanceSnapshotCommand.ts +0 -99
- package/src/commands/DeleteKeyPairCommand.ts +0 -98
- package/src/commands/DeleteKnownHostKeysCommand.ts +0 -103
- package/src/commands/DeleteLoadBalancerCommand.ts +0 -100
- package/src/commands/DeleteLoadBalancerTlsCertificateCommand.ts +0 -106
- package/src/commands/DeleteRelationalDatabaseCommand.ts +0 -98
- package/src/commands/DeleteRelationalDatabaseSnapshotCommand.ts +0 -106
- package/src/commands/DetachCertificateFromDistributionCommand.ts +0 -106
- package/src/commands/DetachDiskCommand.ts +0 -100
- package/src/commands/DetachInstancesFromLoadBalancerCommand.ts +0 -108
- package/src/commands/DetachStaticIpCommand.ts +0 -95
- package/src/commands/DisableAddOnCommand.ts +0 -95
- package/src/commands/DownloadDefaultKeyPairCommand.ts +0 -95
- package/src/commands/EnableAddOnCommand.ts +0 -96
- package/src/commands/ExportSnapshotCommand.ts +0 -109
- package/src/commands/GetActiveNamesCommand.ts +0 -95
- package/src/commands/GetAlarmsCommand.ts +0 -98
- package/src/commands/GetAutoSnapshotsCommand.ts +0 -96
- package/src/commands/GetBlueprintsCommand.ts +0 -104
- package/src/commands/GetBucketAccessKeysCommand.ts +0 -101
- package/src/commands/GetBucketBundlesCommand.ts +0 -101
- package/src/commands/GetBucketMetricDataCommand.ts +0 -99
- package/src/commands/GetBucketsCommand.ts +0 -98
- package/src/commands/GetBundlesCommand.ts +0 -96
- package/src/commands/GetCertificatesCommand.ts +0 -100
- package/src/commands/GetCloudFormationStackRecordsCommand.ts +0 -103
- package/src/commands/GetContactMethodsCommand.ts +0 -100
- package/src/commands/GetContainerAPIMetadataCommand.ts +0 -96
- package/src/commands/GetContainerImagesCommand.ts +0 -102
- package/src/commands/GetContainerLogCommand.ts +0 -105
- package/src/commands/GetContainerServiceDeploymentsCommand.ts +0 -115
- package/src/commands/GetContainerServiceMetricDataCommand.ts +0 -104
- package/src/commands/GetContainerServicePowersCommand.ts +0 -102
- package/src/commands/GetContainerServicesCommand.ts +0 -95
- package/src/commands/GetDiskCommand.ts +0 -88
- package/src/commands/GetDiskSnapshotCommand.ts +0 -95
- package/src/commands/GetDiskSnapshotsCommand.ts +0 -96
- package/src/commands/GetDisksCommand.ts +0 -92
- package/src/commands/GetDistributionBundlesCommand.ts +0 -98
- package/src/commands/GetDistributionLatestCacheResetCommand.ts +0 -104
- package/src/commands/GetDistributionMetricDataCommand.ts +0 -102
- package/src/commands/GetDistributionsCommand.ts +0 -96
- package/src/commands/GetDomainCommand.ts +0 -92
- package/src/commands/GetDomainsCommand.ts +0 -95
- package/src/commands/GetExportSnapshotRecordsCommand.ts +0 -98
- package/src/commands/GetInstanceAccessDetailsCommand.ts +0 -99
- package/src/commands/GetInstanceCommand.ts +0 -97
- package/src/commands/GetInstanceMetricDataCommand.ts +0 -99
- package/src/commands/GetInstancePortStatesCommand.ts +0 -96
- package/src/commands/GetInstanceSnapshotCommand.ts +0 -95
- package/src/commands/GetInstanceSnapshotsCommand.ts +0 -95
- package/src/commands/GetInstanceStateCommand.ts +0 -95
- package/src/commands/GetInstancesCommand.ts +0 -96
- package/src/commands/GetKeyPairCommand.ts +0 -95
- package/src/commands/GetKeyPairsCommand.ts +0 -95
- package/src/commands/GetLoadBalancerCommand.ts +0 -95
- package/src/commands/GetLoadBalancerMetricDataCommand.ts +0 -101
- package/src/commands/GetLoadBalancerTlsCertificatesCommand.ts +0 -107
- package/src/commands/GetLoadBalancersCommand.ts +0 -95
- package/src/commands/GetOperationCommand.ts +0 -96
- package/src/commands/GetOperationsCommand.ts +0 -98
- package/src/commands/GetOperationsForResourceCommand.ts +0 -95
- package/src/commands/GetRegionsCommand.ts +0 -97
- package/src/commands/GetRelationalDatabaseBlueprintsCommand.ts +0 -106
- package/src/commands/GetRelationalDatabaseBundlesCommand.ts +0 -103
- package/src/commands/GetRelationalDatabaseCommand.ts +0 -95
- package/src/commands/GetRelationalDatabaseEventsCommand.ts +0 -98
- package/src/commands/GetRelationalDatabaseLogEventsCommand.ts +0 -103
- package/src/commands/GetRelationalDatabaseLogStreamsCommand.ts +0 -103
- package/src/commands/GetRelationalDatabaseMasterUserPasswordCommand.ts +0 -114
- package/src/commands/GetRelationalDatabaseMetricDataCommand.ts +0 -106
- package/src/commands/GetRelationalDatabaseParametersCommand.ts +0 -107
- package/src/commands/GetRelationalDatabaseSnapshotCommand.ts +0 -100
- package/src/commands/GetRelationalDatabaseSnapshotsCommand.ts +0 -103
- package/src/commands/GetRelationalDatabasesCommand.ts +0 -95
- package/src/commands/GetStaticIpCommand.ts +0 -95
- package/src/commands/GetStaticIpsCommand.ts +0 -95
- package/src/commands/ImportKeyPairCommand.ts +0 -95
- package/src/commands/IsVpcPeeredCommand.ts +0 -95
- package/src/commands/OpenInstancePublicPortsCommand.ts +0 -99
- package/src/commands/PeerVpcCommand.ts +0 -88
- package/src/commands/PutAlarmCommand.ts +0 -102
- package/src/commands/PutInstancePublicPortsCommand.ts +0 -103
- package/src/commands/RebootInstanceCommand.ts +0 -98
- package/src/commands/RebootRelationalDatabaseCommand.ts +0 -98
- package/src/commands/RegisterContainerImageCommand.ts +0 -102
- package/src/commands/ReleaseStaticIpCommand.ts +0 -95
- package/src/commands/ResetDistributionCacheCommand.ts +0 -98
- package/src/commands/SendContactMethodVerificationCommand.ts +0 -112
- package/src/commands/SetIpAddressTypeCommand.ts +0 -99
- package/src/commands/SetResourceAccessForBucketCommand.ts +0 -102
- package/src/commands/StartInstanceCommand.ts +0 -104
- package/src/commands/StartRelationalDatabaseCommand.ts +0 -99
- package/src/commands/StopInstanceCommand.ts +0 -103
- package/src/commands/StopRelationalDatabaseCommand.ts +0 -98
- package/src/commands/TagResourceCommand.ts +0 -100
- package/src/commands/TestAlarmCommand.ts +0 -99
- package/src/commands/UnpeerVpcCommand.ts +0 -92
- package/src/commands/UntagResourceCommand.ts +0 -99
- package/src/commands/UpdateBucketBundleCommand.ts +0 -109
- package/src/commands/UpdateBucketCommand.ts +0 -98
- package/src/commands/UpdateContainerServiceCommand.ts +0 -96
- package/src/commands/UpdateDistributionBundleCommand.ts +0 -104
- package/src/commands/UpdateDistributionCommand.ts +0 -96
- package/src/commands/UpdateDomainEntryCommand.ts +0 -98
- package/src/commands/UpdateLoadBalancerAttributeCommand.ts +0 -102
- package/src/commands/UpdateRelationalDatabaseCommand.ts +0 -100
- package/src/commands/UpdateRelationalDatabaseParametersCommand.ts +0 -115
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -156
- package/src/models/index.ts +0 -2
- package/src/models/models_0.ts +0 -9672
- package/src/models/models_1.ts +0 -5731
- package/src/protocols/Aws_json1_1.ts +0 -24378
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient";
|
|
15
|
-
import { StartInstanceRequest, StartInstanceResult } from "../models/models_1";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1StartInstanceCommand,
|
|
18
|
-
serializeAws_json1_1StartInstanceCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface StartInstanceCommandInput extends StartInstanceRequest {}
|
|
22
|
-
export interface StartInstanceCommandOutput extends StartInstanceResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance,
|
|
26
|
-
* use the <code>reboot instance</code> operation.</p>
|
|
27
|
-
* <note>
|
|
28
|
-
* <p>When you start a stopped instance, Lightsail assigns a new public IP address to the
|
|
29
|
-
* instance. To use the same IP address after stopping and starting an instance, create a
|
|
30
|
-
* static IP address and attach it to the instance. For more information, see the <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-create-static-ip">Amazon Lightsail Developer Guide</a>.</p>
|
|
31
|
-
* </note>
|
|
32
|
-
* <p>The <code>start instance</code> operation supports tag-based access control via resource
|
|
33
|
-
* tags applied to the resource identified by <code>instance name</code>. For more information,
|
|
34
|
-
* see the <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-controlling-access-using-tags">Amazon Lightsail Developer Guide</a>.</p>
|
|
35
|
-
* @example
|
|
36
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
-
* ```javascript
|
|
38
|
-
* import { LightsailClient, StartInstanceCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
39
|
-
* // const { LightsailClient, StartInstanceCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
40
|
-
* const client = new LightsailClient(config);
|
|
41
|
-
* const command = new StartInstanceCommand(input);
|
|
42
|
-
* const response = await client.send(command);
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* @see {@link StartInstanceCommandInput} for command's `input` shape.
|
|
46
|
-
* @see {@link StartInstanceCommandOutput} for command's `response` shape.
|
|
47
|
-
* @see {@link LightsailClientResolvedConfig | config} for command's `input` shape.
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
export class StartInstanceCommand extends $Command<
|
|
51
|
-
StartInstanceCommandInput,
|
|
52
|
-
StartInstanceCommandOutput,
|
|
53
|
-
LightsailClientResolvedConfig
|
|
54
|
-
> {
|
|
55
|
-
// Start section: command_properties
|
|
56
|
-
// End section: command_properties
|
|
57
|
-
|
|
58
|
-
constructor(readonly input: StartInstanceCommandInput) {
|
|
59
|
-
// Start section: command_constructor
|
|
60
|
-
super();
|
|
61
|
-
// End section: command_constructor
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
67
|
-
resolveMiddleware(
|
|
68
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
69
|
-
configuration: LightsailClientResolvedConfig,
|
|
70
|
-
options?: __HttpHandlerOptions
|
|
71
|
-
): Handler<StartInstanceCommandInput, StartInstanceCommandOutput> {
|
|
72
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
73
|
-
|
|
74
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
75
|
-
|
|
76
|
-
const { logger } = configuration;
|
|
77
|
-
const clientName = "LightsailClient";
|
|
78
|
-
const commandName = "StartInstanceCommand";
|
|
79
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
80
|
-
logger,
|
|
81
|
-
clientName,
|
|
82
|
-
commandName,
|
|
83
|
-
inputFilterSensitiveLog: StartInstanceRequest.filterSensitiveLog,
|
|
84
|
-
outputFilterSensitiveLog: StartInstanceResult.filterSensitiveLog,
|
|
85
|
-
};
|
|
86
|
-
const { requestHandler } = configuration;
|
|
87
|
-
return stack.resolve(
|
|
88
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
89
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
90
|
-
handlerExecutionContext
|
|
91
|
-
);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private serialize(input: StartInstanceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
95
|
-
return serializeAws_json1_1StartInstanceCommand(input, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartInstanceCommandOutput> {
|
|
99
|
-
return deserializeAws_json1_1StartInstanceCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient";
|
|
15
|
-
import { StartRelationalDatabaseRequest, StartRelationalDatabaseResult } from "../models/models_1";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1StartRelationalDatabaseCommand,
|
|
18
|
-
serializeAws_json1_1StartRelationalDatabaseCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface StartRelationalDatabaseCommandInput extends StartRelationalDatabaseRequest {}
|
|
22
|
-
export interface StartRelationalDatabaseCommandOutput extends StartRelationalDatabaseResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Starts a specific database from a stopped state in Amazon Lightsail. To restart a database,
|
|
26
|
-
* use the <code>reboot relational database</code> operation.</p>
|
|
27
|
-
* <p>The <code>start relational database</code> operation supports tag-based access control via
|
|
28
|
-
* resource tags applied to the resource identified by relationalDatabaseName. For more
|
|
29
|
-
* information, see the <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-controlling-access-using-tags">Amazon Lightsail Developer Guide</a>.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { LightsailClient, StartRelationalDatabaseCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
34
|
-
* // const { LightsailClient, StartRelationalDatabaseCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
35
|
-
* const client = new LightsailClient(config);
|
|
36
|
-
* const command = new StartRelationalDatabaseCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link StartRelationalDatabaseCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link StartRelationalDatabaseCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link LightsailClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class StartRelationalDatabaseCommand extends $Command<
|
|
46
|
-
StartRelationalDatabaseCommandInput,
|
|
47
|
-
StartRelationalDatabaseCommandOutput,
|
|
48
|
-
LightsailClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: StartRelationalDatabaseCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: LightsailClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<StartRelationalDatabaseCommandInput, StartRelationalDatabaseCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "LightsailClient";
|
|
73
|
-
const commandName = "StartRelationalDatabaseCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: StartRelationalDatabaseRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: StartRelationalDatabaseResult.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: StartRelationalDatabaseCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_1StartRelationalDatabaseCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartRelationalDatabaseCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_1StartRelationalDatabaseCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient";
|
|
15
|
-
import { StopInstanceRequest, StopInstanceResult } from "../models/models_1";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1StopInstanceCommand,
|
|
18
|
-
serializeAws_json1_1StopInstanceCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface StopInstanceCommandInput extends StopInstanceRequest {}
|
|
22
|
-
export interface StopInstanceCommandOutput extends StopInstanceResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Stops a specific Amazon Lightsail instance that is currently running.</p>
|
|
26
|
-
* <note>
|
|
27
|
-
* <p>When you start a stopped instance, Lightsail assigns a new public IP address to the
|
|
28
|
-
* instance. To use the same IP address after stopping and starting an instance, create a
|
|
29
|
-
* static IP address and attach it to the instance. For more information, see the <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-create-static-ip">Amazon Lightsail Developer Guide</a>.</p>
|
|
30
|
-
* </note>
|
|
31
|
-
* <p>The <code>stop instance</code> operation supports tag-based access control via resource
|
|
32
|
-
* tags applied to the resource identified by <code>instance name</code>. For more information,
|
|
33
|
-
* see the <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-controlling-access-using-tags">Amazon Lightsail Developer Guide</a>.</p>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { LightsailClient, StopInstanceCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
38
|
-
* // const { LightsailClient, StopInstanceCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
39
|
-
* const client = new LightsailClient(config);
|
|
40
|
-
* const command = new StopInstanceCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link StopInstanceCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link StopInstanceCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link LightsailClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
export class StopInstanceCommand extends $Command<
|
|
50
|
-
StopInstanceCommandInput,
|
|
51
|
-
StopInstanceCommandOutput,
|
|
52
|
-
LightsailClientResolvedConfig
|
|
53
|
-
> {
|
|
54
|
-
// Start section: command_properties
|
|
55
|
-
// End section: command_properties
|
|
56
|
-
|
|
57
|
-
constructor(readonly input: StopInstanceCommandInput) {
|
|
58
|
-
// Start section: command_constructor
|
|
59
|
-
super();
|
|
60
|
-
// End section: command_constructor
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
resolveMiddleware(
|
|
67
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
68
|
-
configuration: LightsailClientResolvedConfig,
|
|
69
|
-
options?: __HttpHandlerOptions
|
|
70
|
-
): Handler<StopInstanceCommandInput, StopInstanceCommandOutput> {
|
|
71
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
72
|
-
|
|
73
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
74
|
-
|
|
75
|
-
const { logger } = configuration;
|
|
76
|
-
const clientName = "LightsailClient";
|
|
77
|
-
const commandName = "StopInstanceCommand";
|
|
78
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
79
|
-
logger,
|
|
80
|
-
clientName,
|
|
81
|
-
commandName,
|
|
82
|
-
inputFilterSensitiveLog: StopInstanceRequest.filterSensitiveLog,
|
|
83
|
-
outputFilterSensitiveLog: StopInstanceResult.filterSensitiveLog,
|
|
84
|
-
};
|
|
85
|
-
const { requestHandler } = configuration;
|
|
86
|
-
return stack.resolve(
|
|
87
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
88
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
89
|
-
handlerExecutionContext
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private serialize(input: StopInstanceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_json1_1StopInstanceCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StopInstanceCommandOutput> {
|
|
98
|
-
return deserializeAws_json1_1StopInstanceCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient";
|
|
15
|
-
import { StopRelationalDatabaseRequest, StopRelationalDatabaseResult } from "../models/models_1";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1StopRelationalDatabaseCommand,
|
|
18
|
-
serializeAws_json1_1StopRelationalDatabaseCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface StopRelationalDatabaseCommandInput extends StopRelationalDatabaseRequest {}
|
|
22
|
-
export interface StopRelationalDatabaseCommandOutput extends StopRelationalDatabaseResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Stops a specific database that is currently running in Amazon Lightsail.</p>
|
|
26
|
-
* <p>The <code>stop relational database</code> operation supports tag-based access control via
|
|
27
|
-
* resource tags applied to the resource identified by relationalDatabaseName. For more
|
|
28
|
-
* information, see the <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-controlling-access-using-tags">Amazon Lightsail Developer Guide</a>.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { LightsailClient, StopRelationalDatabaseCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
33
|
-
* // const { LightsailClient, StopRelationalDatabaseCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
34
|
-
* const client = new LightsailClient(config);
|
|
35
|
-
* const command = new StopRelationalDatabaseCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link StopRelationalDatabaseCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link StopRelationalDatabaseCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link LightsailClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class StopRelationalDatabaseCommand extends $Command<
|
|
45
|
-
StopRelationalDatabaseCommandInput,
|
|
46
|
-
StopRelationalDatabaseCommandOutput,
|
|
47
|
-
LightsailClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: StopRelationalDatabaseCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: LightsailClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<StopRelationalDatabaseCommandInput, StopRelationalDatabaseCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "LightsailClient";
|
|
72
|
-
const commandName = "StopRelationalDatabaseCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: StopRelationalDatabaseRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: StopRelationalDatabaseResult.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(input: StopRelationalDatabaseCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_json1_1StopRelationalDatabaseCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StopRelationalDatabaseCommandOutput> {
|
|
93
|
-
return deserializeAws_json1_1StopRelationalDatabaseCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient";
|
|
15
|
-
import { TagResourceRequest, TagResourceResult } from "../models/models_1";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1TagResourceCommand,
|
|
18
|
-
serializeAws_json1_1TagResourceCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
22
|
-
export interface TagResourceCommandOutput extends TagResourceResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Adds one or more tags to the specified Amazon Lightsail resource. Each resource can have a
|
|
26
|
-
* maximum of 50 tags. Each tag consists of a key and an optional value. Tag keys must be unique
|
|
27
|
-
* per resource. For more information about tags, see the <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags">Amazon Lightsail Developer Guide</a>.</p>
|
|
28
|
-
* <p>The <code>tag resource</code> operation supports tag-based access control via request tags
|
|
29
|
-
* and resource tags applied to the resource identified by <code>resource name</code>. For more
|
|
30
|
-
* information, see the <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-controlling-access-using-tags">Amazon Lightsail Developer Guide</a>.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { LightsailClient, TagResourceCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
35
|
-
* // const { LightsailClient, TagResourceCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
36
|
-
* const client = new LightsailClient(config);
|
|
37
|
-
* const command = new TagResourceCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link LightsailClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class TagResourceCommand extends $Command<
|
|
47
|
-
TagResourceCommandInput,
|
|
48
|
-
TagResourceCommandOutput,
|
|
49
|
-
LightsailClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: TagResourceCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: LightsailClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "LightsailClient";
|
|
74
|
-
const commandName = "TagResourceCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: TagResourceResult.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_json1_1TagResourceCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_1TagResourceCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient";
|
|
15
|
-
import { TestAlarmRequest, TestAlarmResult } from "../models/models_1";
|
|
16
|
-
import { deserializeAws_json1_1TestAlarmCommand, serializeAws_json1_1TestAlarmCommand } from "../protocols/Aws_json1_1";
|
|
17
|
-
|
|
18
|
-
export interface TestAlarmCommandInput extends TestAlarmRequest {}
|
|
19
|
-
export interface TestAlarmCommandOutput extends TestAlarmResult, __MetadataBearer {}
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* <p>Tests an alarm by displaying a banner on the Amazon Lightsail console. If a notification
|
|
23
|
-
* trigger is configured for the specified alarm, the test also sends a notification to the
|
|
24
|
-
* notification protocol (<code>Email</code> and/or <code>SMS</code>) configured for the
|
|
25
|
-
* alarm.</p>
|
|
26
|
-
* <p>An alarm is used to monitor a single metric for one of your resources. When a metric
|
|
27
|
-
* condition is met, the alarm can notify you by email, SMS text message, and a banner displayed
|
|
28
|
-
* on the Amazon Lightsail console. For more information, see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-alarms">Alarms
|
|
29
|
-
* in Amazon Lightsail</a>.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { LightsailClient, TestAlarmCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
34
|
-
* // const { LightsailClient, TestAlarmCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
35
|
-
* const client = new LightsailClient(config);
|
|
36
|
-
* const command = new TestAlarmCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link TestAlarmCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link TestAlarmCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link LightsailClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class TestAlarmCommand extends $Command<
|
|
46
|
-
TestAlarmCommandInput,
|
|
47
|
-
TestAlarmCommandOutput,
|
|
48
|
-
LightsailClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: TestAlarmCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: LightsailClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<TestAlarmCommandInput, TestAlarmCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "LightsailClient";
|
|
73
|
-
const commandName = "TestAlarmCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: TestAlarmRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: TestAlarmResult.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: TestAlarmCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_1TestAlarmCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TestAlarmCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_1TestAlarmCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|