@aws-sdk/client-opensearch 3.34.0 → 3.37.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 +47 -0
- package/{dist/cjs → dist-cjs}/OpenSearch.js +1 -16
- package/dist-cjs/OpenSearchClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/AcceptInboundConnectionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/AddTagsCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/AssociatePackageCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CancelServiceSoftwareUpdateCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/CreateDomainCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/CreateOutboundConnectionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreatePackageCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteDomainCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DeleteInboundConnectionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteOutboundConnectionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeletePackageCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeDomainAutoTunesCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DescribeDomainCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DescribeDomainConfigCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DescribeDomainsCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DescribeInboundConnectionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeInstanceTypeLimitsCommand.js +2 -34
- package/{dist/cjs → dist-cjs}/commands/DescribeOutboundConnectionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribePackagesCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DescribeReservedInstanceOfferingsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeReservedInstancesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DissociatePackageCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetCompatibleVersionsCommand.js +2 -34
- package/{dist/cjs → dist-cjs}/commands/GetPackageVersionHistoryCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetUpgradeHistoryCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetUpgradeStatusCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListDomainNamesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListDomainsForPackageCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListInstanceTypeDetailsCommand.js +2 -10
- package/{dist/cjs → dist-cjs}/commands/ListPackagesForDomainCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTagsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListVersionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/PurchaseReservedInstanceOfferingCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/RejectInboundConnectionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/RemoveTagsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StartServiceSoftwareUpdateCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateDomainConfigCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/UpdatePackageCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpgradeDomainCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -481
- package/{dist/cjs → dist-cjs}/pagination/DescribeDomainAutoTunesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/DescribeInboundConnectionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/DescribeOutboundConnectionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/DescribePackagesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/DescribeReservedInstanceOfferingsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/DescribeReservedInstancesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetPackageVersionHistoryPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetUpgradeHistoryPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListDomainsForPackagePaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListInstanceTypeDetailsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListPackagesForDomainPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListVersionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +20 -26
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/OpenSearch.js +1 -2
- package/{dist/es → dist-es}/OpenSearchClient.js +1 -2
- package/{dist/es → dist-es}/commands/AcceptInboundConnectionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/AddTagsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/AssociatePackageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CancelServiceSoftwareUpdateCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateDomainCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateOutboundConnectionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreatePackageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteDomainCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteInboundConnectionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteOutboundConnectionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeletePackageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeDomainAutoTunesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeDomainCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeDomainConfigCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeDomainsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeInboundConnectionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeInstanceTypeLimitsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeOutboundConnectionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribePackagesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeReservedInstanceOfferingsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeReservedInstancesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DissociatePackageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetCompatibleVersionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetPackageVersionHistoryCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetUpgradeHistoryCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetUpgradeStatusCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListDomainNamesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListDomainsForPackageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListInstanceTypeDetailsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListPackagesForDomainCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListVersionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PurchaseReservedInstanceOfferingCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RejectInboundConnectionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RemoveTagsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartServiceSoftwareUpdateCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateDomainConfigCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdatePackageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpgradeDomainCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/{dist/es → dist-es}/pagination/DescribeDomainAutoTunesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/DescribeInboundConnectionsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/DescribeOutboundConnectionsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/DescribePackagesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/DescribeReservedInstanceOfferingsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/DescribeReservedInstancesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetPackageVersionHistoryPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetUpgradeHistoryPaginator.js +1 -2
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListDomainsForPackagePaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListInstanceTypeDetailsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListPackagesForDomainPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListVersionsPaginator.js +1 -2
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/OpenSearch.d.ts +2 -2
- package/{dist/types → dist-types}/OpenSearchClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AcceptInboundConnectionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/AddTagsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/AssociatePackageCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CancelServiceSoftwareUpdateCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateDomainCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateOutboundConnectionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreatePackageCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteDomainCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteInboundConnectionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteOutboundConnectionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeletePackageCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeDomainAutoTunesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeDomainCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeDomainConfigCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeDomainsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeInboundConnectionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeInstanceTypeLimitsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeOutboundConnectionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribePackagesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeReservedInstanceOfferingsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeReservedInstancesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DissociatePackageCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetCompatibleVersionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetPackageVersionHistoryCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetUpgradeHistoryCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetUpgradeStatusCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListDomainNamesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListDomainsForPackageCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListInstanceTypeDetailsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListPackagesForDomainCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListTagsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListVersionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PurchaseReservedInstanceOfferingCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RejectInboundConnectionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RemoveTagsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/StartServiceSoftwareUpdateCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateDomainConfigCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdatePackageCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpgradeDomainCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/DescribeDomainAutoTunesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/DescribeInboundConnectionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/DescribeOutboundConnectionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/DescribePackagesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/DescribeReservedInstanceOfferingsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/DescribeReservedInstancesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetPackageVersionHistoryPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetUpgradeHistoryPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListDomainsForPackagePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListInstanceTypeDetailsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListPackagesForDomainPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/OpenSearch.d.ts +41 -169
- package/{dist/types → dist-types}/ts3.4/OpenSearchClient.d.ts +32 -108
- package/{dist/types → dist-types}/ts3.4/commands/AcceptInboundConnectionCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssociatePackageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CancelServiceSoftwareUpdateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateOutboundConnectionCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/CreatePackageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteInboundConnectionCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/DeleteOutboundConnectionCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/DeletePackageCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/DescribeDomainAutoTunesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDomainConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDomainsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DescribeInboundConnectionsCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/DescribeInstanceTypeLimitsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DescribeOutboundConnectionsCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/DescribePackagesCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DescribeReservedInstanceOfferingsCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/DissociatePackageCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/GetCompatibleVersionsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetPackageVersionHistoryCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/GetUpgradeHistoryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUpgradeStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListDomainsForPackageCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/ListInstanceTypeDetailsCommand.d.ts +4 -6
- package/{dist/types → dist-types}/ts3.4/commands/ListPackagesForDomainCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListVersionsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/PurchaseReservedInstanceOfferingCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/RejectInboundConnectionCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/StartServiceSoftwareUpdateCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/UpdateDomainConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdatePackageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpgradeDomainCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2269 -0
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeDomainAutoTunesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeInboundConnectionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeOutboundConnectionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/DescribePackagesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeReservedInstanceOfferingsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeReservedInstancesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetPackageVersionHistoryPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetUpgradeHistoryPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListDomainsForPackagePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListInstanceTypeDetailsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListPackagesForDomainPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/OpenSearch.ts +0 -1458
- package/OpenSearchClient.ts +0 -423
- package/commands/AcceptInboundConnectionCommand.ts +0 -94
- package/commands/AddTagsCommand.ts +0 -98
- package/commands/AssociatePackageCommand.ts +0 -94
- package/commands/CancelServiceSoftwareUpdateCommand.ts +0 -101
- package/commands/CreateDomainCommand.ts +0 -97
- package/commands/CreateOutboundConnectionCommand.ts +0 -94
- package/commands/CreatePackageCommand.ts +0 -94
- package/commands/DeleteDomainCommand.ts +0 -96
- package/commands/DeleteInboundConnectionCommand.ts +0 -94
- package/commands/DeleteOutboundConnectionCommand.ts +0 -94
- package/commands/DeletePackageCommand.ts +0 -94
- package/commands/DescribeDomainAutoTunesCommand.ts +0 -96
- package/commands/DescribeDomainCommand.ts +0 -96
- package/commands/DescribeDomainConfigCommand.ts +0 -96
- package/commands/DescribeDomainsCommand.ts +0 -96
- package/commands/DescribeInboundConnectionsCommand.ts +0 -97
- package/commands/DescribeInstanceTypeLimitsCommand.ts +0 -104
- package/commands/DescribeOutboundConnectionsCommand.ts +0 -99
- package/commands/DescribePackagesCommand.ts +0 -96
- package/commands/DescribeReservedInstanceOfferingsCommand.ts +0 -105
- package/commands/DescribeReservedInstancesCommand.ts +0 -97
- package/commands/DissociatePackageCommand.ts +0 -94
- package/commands/GetCompatibleVersionsCommand.ts +0 -101
- package/commands/GetPackageVersionHistoryCommand.ts +0 -94
- package/commands/GetUpgradeHistoryCommand.ts +0 -94
- package/commands/GetUpgradeStatusCommand.ts +0 -95
- package/commands/ListDomainNamesCommand.ts +0 -94
- package/commands/ListDomainsForPackageCommand.ts +0 -94
- package/commands/ListInstanceTypeDetailsCommand.ts +0 -77
- package/commands/ListPackagesForDomainCommand.ts +0 -94
- package/commands/ListTagsCommand.ts +0 -94
- package/commands/ListVersionsCommand.ts +0 -94
- package/commands/PurchaseReservedInstanceOfferingCommand.ts +0 -102
- package/commands/RejectInboundConnectionCommand.ts +0 -94
- package/commands/RemoveTagsCommand.ts +0 -94
- package/commands/StartServiceSoftwareUpdateCommand.ts +0 -97
- package/commands/UpdateDomainConfigCommand.ts +0 -96
- package/commands/UpdatePackageCommand.ts +0 -94
- package/commands/UpgradeDomainCommand.ts +0 -95
- package/dist/cjs/OpenSearch.js.map +0 -1
- package/dist/cjs/OpenSearchClient.js +0 -55
- package/dist/cjs/OpenSearchClient.js.map +0 -1
- package/dist/cjs/commands/AcceptInboundConnectionCommand.js.map +0 -1
- package/dist/cjs/commands/AddTagsCommand.js.map +0 -1
- package/dist/cjs/commands/AssociatePackageCommand.js.map +0 -1
- package/dist/cjs/commands/CancelServiceSoftwareUpdateCommand.js.map +0 -1
- package/dist/cjs/commands/CreateDomainCommand.js.map +0 -1
- package/dist/cjs/commands/CreateOutboundConnectionCommand.js.map +0 -1
- package/dist/cjs/commands/CreatePackageCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteDomainCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteInboundConnectionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteOutboundConnectionCommand.js.map +0 -1
- package/dist/cjs/commands/DeletePackageCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeDomainAutoTunesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeDomainCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeDomainConfigCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeDomainsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeInboundConnectionsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeInstanceTypeLimitsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeOutboundConnectionsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribePackagesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeReservedInstanceOfferingsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeReservedInstancesCommand.js.map +0 -1
- package/dist/cjs/commands/DissociatePackageCommand.js.map +0 -1
- package/dist/cjs/commands/GetCompatibleVersionsCommand.js.map +0 -1
- package/dist/cjs/commands/GetPackageVersionHistoryCommand.js.map +0 -1
- package/dist/cjs/commands/GetUpgradeHistoryCommand.js.map +0 -1
- package/dist/cjs/commands/GetUpgradeStatusCommand.js.map +0 -1
- package/dist/cjs/commands/ListDomainNamesCommand.js.map +0 -1
- package/dist/cjs/commands/ListDomainsForPackageCommand.js.map +0 -1
- package/dist/cjs/commands/ListInstanceTypeDetailsCommand.js.map +0 -1
- package/dist/cjs/commands/ListPackagesForDomainCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsCommand.js.map +0 -1
- package/dist/cjs/commands/ListVersionsCommand.js.map +0 -1
- package/dist/cjs/commands/PurchaseReservedInstanceOfferingCommand.js.map +0 -1
- package/dist/cjs/commands/RejectInboundConnectionCommand.js.map +0 -1
- package/dist/cjs/commands/RemoveTagsCommand.js.map +0 -1
- package/dist/cjs/commands/StartServiceSoftwareUpdateCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateDomainConfigCommand.js.map +0 -1
- package/dist/cjs/commands/UpdatePackageCommand.js.map +0 -1
- package/dist/cjs/commands/UpgradeDomainCommand.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/package.json +0 -91
- package/dist/cjs/pagination/DescribeDomainAutoTunesPaginator.js.map +0 -1
- package/dist/cjs/pagination/DescribeInboundConnectionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/DescribeOutboundConnectionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/DescribePackagesPaginator.js.map +0 -1
- package/dist/cjs/pagination/DescribeReservedInstanceOfferingsPaginator.js.map +0 -1
- package/dist/cjs/pagination/DescribeReservedInstancesPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetPackageVersionHistoryPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetUpgradeHistoryPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListDomainsForPackagePaginator.js.map +0 -1
- package/dist/cjs/pagination/ListInstanceTypeDetailsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListPackagesForDomainPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListVersionsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.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/OpenSearch.js.map +0 -1
- package/dist/es/OpenSearchClient.js.map +0 -1
- package/dist/es/commands/AcceptInboundConnectionCommand.js.map +0 -1
- package/dist/es/commands/AddTagsCommand.js.map +0 -1
- package/dist/es/commands/AssociatePackageCommand.js.map +0 -1
- package/dist/es/commands/CancelServiceSoftwareUpdateCommand.js.map +0 -1
- package/dist/es/commands/CreateDomainCommand.js.map +0 -1
- package/dist/es/commands/CreateOutboundConnectionCommand.js.map +0 -1
- package/dist/es/commands/CreatePackageCommand.js.map +0 -1
- package/dist/es/commands/DeleteDomainCommand.js.map +0 -1
- package/dist/es/commands/DeleteInboundConnectionCommand.js.map +0 -1
- package/dist/es/commands/DeleteOutboundConnectionCommand.js.map +0 -1
- package/dist/es/commands/DeletePackageCommand.js.map +0 -1
- package/dist/es/commands/DescribeDomainAutoTunesCommand.js.map +0 -1
- package/dist/es/commands/DescribeDomainCommand.js.map +0 -1
- package/dist/es/commands/DescribeDomainConfigCommand.js.map +0 -1
- package/dist/es/commands/DescribeDomainsCommand.js.map +0 -1
- package/dist/es/commands/DescribeInboundConnectionsCommand.js.map +0 -1
- package/dist/es/commands/DescribeInstanceTypeLimitsCommand.js.map +0 -1
- package/dist/es/commands/DescribeOutboundConnectionsCommand.js.map +0 -1
- package/dist/es/commands/DescribePackagesCommand.js.map +0 -1
- package/dist/es/commands/DescribeReservedInstanceOfferingsCommand.js.map +0 -1
- package/dist/es/commands/DescribeReservedInstancesCommand.js.map +0 -1
- package/dist/es/commands/DissociatePackageCommand.js.map +0 -1
- package/dist/es/commands/GetCompatibleVersionsCommand.js.map +0 -1
- package/dist/es/commands/GetPackageVersionHistoryCommand.js.map +0 -1
- package/dist/es/commands/GetUpgradeHistoryCommand.js.map +0 -1
- package/dist/es/commands/GetUpgradeStatusCommand.js.map +0 -1
- package/dist/es/commands/ListDomainNamesCommand.js.map +0 -1
- package/dist/es/commands/ListDomainsForPackageCommand.js.map +0 -1
- package/dist/es/commands/ListInstanceTypeDetailsCommand.js.map +0 -1
- package/dist/es/commands/ListPackagesForDomainCommand.js.map +0 -1
- package/dist/es/commands/ListTagsCommand.js.map +0 -1
- package/dist/es/commands/ListVersionsCommand.js.map +0 -1
- package/dist/es/commands/PurchaseReservedInstanceOfferingCommand.js.map +0 -1
- package/dist/es/commands/RejectInboundConnectionCommand.js.map +0 -1
- package/dist/es/commands/RemoveTagsCommand.js.map +0 -1
- package/dist/es/commands/StartServiceSoftwareUpdateCommand.js.map +0 -1
- package/dist/es/commands/UpdateDomainConfigCommand.js.map +0 -1
- package/dist/es/commands/UpdatePackageCommand.js.map +0 -1
- package/dist/es/commands/UpgradeDomainCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -56
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/DescribeDomainAutoTunesPaginator.js.map +0 -1
- package/dist/es/pagination/DescribeInboundConnectionsPaginator.js.map +0 -1
- package/dist/es/pagination/DescribeOutboundConnectionsPaginator.js.map +0 -1
- package/dist/es/pagination/DescribePackagesPaginator.js.map +0 -1
- package/dist/es/pagination/DescribeReservedInstanceOfferingsPaginator.js.map +0 -1
- package/dist/es/pagination/DescribeReservedInstancesPaginator.js.map +0 -1
- package/dist/es/pagination/GetPackageVersionHistoryPaginator.js.map +0 -1
- package/dist/es/pagination/GetUpgradeHistoryPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListDomainsForPackagePaginator.js.map +0 -1
- package/dist/es/pagination/ListInstanceTypeDetailsPaginator.js.map +0 -1
- package/dist/es/pagination/ListPackagesForDomainPaginator.js.map +0 -1
- package/dist/es/pagination/ListVersionsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.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/dist/types/ts3.4/commands/AddTagsCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/AssociatePackageCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CancelServiceSoftwareUpdateCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/CreateDomainCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/CreatePackageCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteDomainCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DescribeDomainAutoTunesCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DescribeDomainCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DescribeDomainConfigCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DescribeDomainsCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DescribeInstanceTypeLimitsCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/DescribePackagesCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/GetCompatibleVersionsCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/GetUpgradeHistoryCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetUpgradeStatusCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListDomainNamesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListTagsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListVersionsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/RemoveTagsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateDomainConfigCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/UpdatePackageCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpgradeDomainCommand.d.ts +0 -36
- package/dist/types/ts3.4/models/models_0.d.ts +0 -4813
- package/endpoints.ts +0 -63
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -5740
- package/pagination/DescribeDomainAutoTunesPaginator.ts +0 -58
- package/pagination/DescribeInboundConnectionsPaginator.ts +0 -58
- package/pagination/DescribeOutboundConnectionsPaginator.ts +0 -58
- package/pagination/DescribePackagesPaginator.ts +0 -58
- package/pagination/DescribeReservedInstanceOfferingsPaginator.ts +0 -58
- package/pagination/DescribeReservedInstancesPaginator.ts +0 -58
- package/pagination/GetPackageVersionHistoryPaginator.ts +0 -58
- package/pagination/GetUpgradeHistoryPaginator.ts +0 -58
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListDomainsForPackagePaginator.ts +0 -58
- package/pagination/ListInstanceTypeDetailsPaginator.ts +0 -58
- package/pagination/ListPackagesForDomainPaginator.ts +0 -58
- package/pagination/ListVersionsPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -6702
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import { GetCompatibleVersionsRequest, GetCompatibleVersionsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1GetCompatibleVersionsCommand,
|
|
5
|
-
serializeAws_restJson1GetCompatibleVersionsCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface GetCompatibleVersionsCommandInput extends GetCompatibleVersionsRequest {}
|
|
21
|
-
export interface GetCompatibleVersionsCommandOutput extends GetCompatibleVersionsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>
|
|
25
|
-
* Returns a list of upgrade-compatible versions of OpenSearch/Elasticsearch.
|
|
26
|
-
* You can optionally pass a
|
|
27
|
-
* <code>
|
|
28
|
-
* <a>DomainName</a>
|
|
29
|
-
* </code>
|
|
30
|
-
* to get all upgrade-compatible versions of OpenSearch/Elasticsearch for that specific domain.
|
|
31
|
-
* </p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { OpenSearchClient, GetCompatibleVersionsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
36
|
-
* // const { OpenSearchClient, GetCompatibleVersionsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
37
|
-
* const client = new OpenSearchClient(config);
|
|
38
|
-
* const command = new GetCompatibleVersionsCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link GetCompatibleVersionsCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link GetCompatibleVersionsCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class GetCompatibleVersionsCommand extends $Command<
|
|
48
|
-
GetCompatibleVersionsCommandInput,
|
|
49
|
-
GetCompatibleVersionsCommandOutput,
|
|
50
|
-
OpenSearchClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: GetCompatibleVersionsCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: OpenSearchClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<GetCompatibleVersionsCommandInput, GetCompatibleVersionsCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
|
|
73
|
-
const { logger } = configuration;
|
|
74
|
-
const clientName = "OpenSearchClient";
|
|
75
|
-
const commandName = "GetCompatibleVersionsCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: GetCompatibleVersionsRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: GetCompatibleVersionsResponse.filterSensitiveLog,
|
|
82
|
-
};
|
|
83
|
-
const { requestHandler } = configuration;
|
|
84
|
-
return stack.resolve(
|
|
85
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
86
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
87
|
-
handlerExecutionContext
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private serialize(input: GetCompatibleVersionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_restJson1GetCompatibleVersionsCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetCompatibleVersionsCommandOutput> {
|
|
96
|
-
return deserializeAws_restJson1GetCompatibleVersionsCommand(output, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Start section: command_body_extra
|
|
100
|
-
// End section: command_body_extra
|
|
101
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import { GetPackageVersionHistoryRequest, GetPackageVersionHistoryResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1GetPackageVersionHistoryCommand,
|
|
5
|
-
serializeAws_restJson1GetPackageVersionHistoryCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface GetPackageVersionHistoryCommandInput extends GetPackageVersionHistoryRequest {}
|
|
21
|
-
export interface GetPackageVersionHistoryCommandOutput extends GetPackageVersionHistoryResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Returns a list of package versions, along with their creation time and commit message.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { OpenSearchClient, GetPackageVersionHistoryCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
|
-
* // const { OpenSearchClient, GetPackageVersionHistoryCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
|
-
* const client = new OpenSearchClient(config);
|
|
31
|
-
* const command = new GetPackageVersionHistoryCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link GetPackageVersionHistoryCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link GetPackageVersionHistoryCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class GetPackageVersionHistoryCommand extends $Command<
|
|
41
|
-
GetPackageVersionHistoryCommandInput,
|
|
42
|
-
GetPackageVersionHistoryCommandOutput,
|
|
43
|
-
OpenSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: GetPackageVersionHistoryCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: OpenSearchClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<GetPackageVersionHistoryCommandInput, GetPackageVersionHistoryCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "OpenSearchClient";
|
|
68
|
-
const commandName = "GetPackageVersionHistoryCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: GetPackageVersionHistoryRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: GetPackageVersionHistoryResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: GetPackageVersionHistoryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1GetPackageVersionHistoryCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetPackageVersionHistoryCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1GetPackageVersionHistoryCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import { GetUpgradeHistoryRequest, GetUpgradeHistoryResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1GetUpgradeHistoryCommand,
|
|
5
|
-
serializeAws_restJson1GetUpgradeHistoryCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface GetUpgradeHistoryCommandInput extends GetUpgradeHistoryRequest {}
|
|
21
|
-
export interface GetUpgradeHistoryCommandOutput extends GetUpgradeHistoryResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Retrieves the complete history of the last 10 upgrades performed on the domain.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { OpenSearchClient, GetUpgradeHistoryCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
|
-
* // const { OpenSearchClient, GetUpgradeHistoryCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
|
-
* const client = new OpenSearchClient(config);
|
|
31
|
-
* const command = new GetUpgradeHistoryCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link GetUpgradeHistoryCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link GetUpgradeHistoryCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class GetUpgradeHistoryCommand extends $Command<
|
|
41
|
-
GetUpgradeHistoryCommandInput,
|
|
42
|
-
GetUpgradeHistoryCommandOutput,
|
|
43
|
-
OpenSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: GetUpgradeHistoryCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: OpenSearchClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<GetUpgradeHistoryCommandInput, GetUpgradeHistoryCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "OpenSearchClient";
|
|
68
|
-
const commandName = "GetUpgradeHistoryCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: GetUpgradeHistoryRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: GetUpgradeHistoryResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: GetUpgradeHistoryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1GetUpgradeHistoryCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetUpgradeHistoryCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1GetUpgradeHistoryCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import { GetUpgradeStatusRequest, GetUpgradeStatusResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1GetUpgradeStatusCommand,
|
|
5
|
-
serializeAws_restJson1GetUpgradeStatusCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface GetUpgradeStatusCommandInput extends GetUpgradeStatusRequest {}
|
|
21
|
-
export interface GetUpgradeStatusCommandOutput extends GetUpgradeStatusResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Retrieves the latest status of the last upgrade or upgrade eligibility check performed on the domain.
|
|
25
|
-
* </p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { OpenSearchClient, GetUpgradeStatusCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
30
|
-
* // const { OpenSearchClient, GetUpgradeStatusCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
31
|
-
* const client = new OpenSearchClient(config);
|
|
32
|
-
* const command = new GetUpgradeStatusCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetUpgradeStatusCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetUpgradeStatusCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetUpgradeStatusCommand extends $Command<
|
|
42
|
-
GetUpgradeStatusCommandInput,
|
|
43
|
-
GetUpgradeStatusCommandOutput,
|
|
44
|
-
OpenSearchClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetUpgradeStatusCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: OpenSearchClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetUpgradeStatusCommandInput, GetUpgradeStatusCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "OpenSearchClient";
|
|
69
|
-
const commandName = "GetUpgradeStatusCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetUpgradeStatusRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetUpgradeStatusResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: GetUpgradeStatusCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetUpgradeStatusCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetUpgradeStatusCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetUpgradeStatusCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import { ListDomainNamesRequest, ListDomainNamesResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListDomainNamesCommand,
|
|
5
|
-
serializeAws_restJson1ListDomainNamesCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListDomainNamesCommandInput extends ListDomainNamesRequest {}
|
|
21
|
-
export interface ListDomainNamesCommandOutput extends ListDomainNamesResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Returns the names of all domains owned by the current user's account.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { OpenSearchClient, ListDomainNamesCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
|
-
* // const { OpenSearchClient, ListDomainNamesCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
|
-
* const client = new OpenSearchClient(config);
|
|
31
|
-
* const command = new ListDomainNamesCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ListDomainNamesCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ListDomainNamesCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ListDomainNamesCommand extends $Command<
|
|
41
|
-
ListDomainNamesCommandInput,
|
|
42
|
-
ListDomainNamesCommandOutput,
|
|
43
|
-
OpenSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ListDomainNamesCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: OpenSearchClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<ListDomainNamesCommandInput, ListDomainNamesCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "OpenSearchClient";
|
|
68
|
-
const commandName = "ListDomainNamesCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: ListDomainNamesRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ListDomainNamesResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: ListDomainNamesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1ListDomainNamesCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListDomainNamesCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1ListDomainNamesCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import { ListDomainsForPackageRequest, ListDomainsForPackageResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListDomainsForPackageCommand,
|
|
5
|
-
serializeAws_restJson1ListDomainsForPackageCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListDomainsForPackageCommandInput extends ListDomainsForPackageRequest {}
|
|
21
|
-
export interface ListDomainsForPackageCommandOutput extends ListDomainsForPackageResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Lists all Amazon OpenSearch Service domains associated with the package.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { OpenSearchClient, ListDomainsForPackageCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
|
-
* // const { OpenSearchClient, ListDomainsForPackageCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
|
-
* const client = new OpenSearchClient(config);
|
|
31
|
-
* const command = new ListDomainsForPackageCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ListDomainsForPackageCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ListDomainsForPackageCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ListDomainsForPackageCommand extends $Command<
|
|
41
|
-
ListDomainsForPackageCommandInput,
|
|
42
|
-
ListDomainsForPackageCommandOutput,
|
|
43
|
-
OpenSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ListDomainsForPackageCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: OpenSearchClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<ListDomainsForPackageCommandInput, ListDomainsForPackageCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "OpenSearchClient";
|
|
68
|
-
const commandName = "ListDomainsForPackageCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: ListDomainsForPackageRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ListDomainsForPackageResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: ListDomainsForPackageCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1ListDomainsForPackageCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListDomainsForPackageCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1ListDomainsForPackageCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import { ListInstanceTypeDetailsRequest, ListInstanceTypeDetailsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListInstanceTypeDetailsCommand,
|
|
5
|
-
serializeAws_restJson1ListInstanceTypeDetailsCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListInstanceTypeDetailsCommandInput extends ListInstanceTypeDetailsRequest {}
|
|
21
|
-
export interface ListInstanceTypeDetailsCommandOutput extends ListInstanceTypeDetailsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
export class ListInstanceTypeDetailsCommand extends $Command<
|
|
24
|
-
ListInstanceTypeDetailsCommandInput,
|
|
25
|
-
ListInstanceTypeDetailsCommandOutput,
|
|
26
|
-
OpenSearchClientResolvedConfig
|
|
27
|
-
> {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
|
-
|
|
31
|
-
constructor(readonly input: ListInstanceTypeDetailsCommandInput) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
|
-
super();
|
|
34
|
-
// End section: command_constructor
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
|
-
resolveMiddleware(
|
|
41
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
42
|
-
configuration: OpenSearchClientResolvedConfig,
|
|
43
|
-
options?: __HttpHandlerOptions
|
|
44
|
-
): Handler<ListInstanceTypeDetailsCommandInput, ListInstanceTypeDetailsCommandOutput> {
|
|
45
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
|
-
|
|
47
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
48
|
-
|
|
49
|
-
const { logger } = configuration;
|
|
50
|
-
const clientName = "OpenSearchClient";
|
|
51
|
-
const commandName = "ListInstanceTypeDetailsCommand";
|
|
52
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
53
|
-
logger,
|
|
54
|
-
clientName,
|
|
55
|
-
commandName,
|
|
56
|
-
inputFilterSensitiveLog: ListInstanceTypeDetailsRequest.filterSensitiveLog,
|
|
57
|
-
outputFilterSensitiveLog: ListInstanceTypeDetailsResponse.filterSensitiveLog,
|
|
58
|
-
};
|
|
59
|
-
const { requestHandler } = configuration;
|
|
60
|
-
return stack.resolve(
|
|
61
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
62
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
63
|
-
handlerExecutionContext
|
|
64
|
-
);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
private serialize(input: ListInstanceTypeDetailsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
68
|
-
return serializeAws_restJson1ListInstanceTypeDetailsCommand(input, context);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListInstanceTypeDetailsCommandOutput> {
|
|
72
|
-
return deserializeAws_restJson1ListInstanceTypeDetailsCommand(output, context);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
// Start section: command_body_extra
|
|
76
|
-
// End section: command_body_extra
|
|
77
|
-
}
|