@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,104 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import { DescribeInstanceTypeLimitsRequest, DescribeInstanceTypeLimitsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DescribeInstanceTypeLimitsCommand,
|
|
5
|
-
serializeAws_restJson1DescribeInstanceTypeLimitsCommand,
|
|
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 DescribeInstanceTypeLimitsCommandInput extends DescribeInstanceTypeLimitsRequest {}
|
|
21
|
-
export interface DescribeInstanceTypeLimitsCommandOutput extends DescribeInstanceTypeLimitsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>
|
|
25
|
-
* Describe the limits for a given instance type and OpenSearch or Elasticsearch version.
|
|
26
|
-
* When modifying an existing domain, specify the
|
|
27
|
-
* <code>
|
|
28
|
-
* <a>DomainName</a>
|
|
29
|
-
* </code>
|
|
30
|
-
* to see which limits you can modify.
|
|
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, DescribeInstanceTypeLimitsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
36
|
-
* // const { OpenSearchClient, DescribeInstanceTypeLimitsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
37
|
-
* const client = new OpenSearchClient(config);
|
|
38
|
-
* const command = new DescribeInstanceTypeLimitsCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link DescribeInstanceTypeLimitsCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link DescribeInstanceTypeLimitsCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class DescribeInstanceTypeLimitsCommand extends $Command<
|
|
48
|
-
DescribeInstanceTypeLimitsCommandInput,
|
|
49
|
-
DescribeInstanceTypeLimitsCommandOutput,
|
|
50
|
-
OpenSearchClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: DescribeInstanceTypeLimitsCommandInput) {
|
|
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<DescribeInstanceTypeLimitsCommandInput, DescribeInstanceTypeLimitsCommandOutput> {
|
|
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 = "DescribeInstanceTypeLimitsCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: DescribeInstanceTypeLimitsRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: DescribeInstanceTypeLimitsResponse.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: DescribeInstanceTypeLimitsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_restJson1DescribeInstanceTypeLimitsCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(
|
|
96
|
-
output: __HttpResponse,
|
|
97
|
-
context: __SerdeContext
|
|
98
|
-
): Promise<DescribeInstanceTypeLimitsCommandOutput> {
|
|
99
|
-
return deserializeAws_restJson1DescribeInstanceTypeLimitsCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import { DescribeOutboundConnectionsRequest, DescribeOutboundConnectionsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DescribeOutboundConnectionsCommand,
|
|
5
|
-
serializeAws_restJson1DescribeOutboundConnectionsCommand,
|
|
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 DescribeOutboundConnectionsCommandInput extends DescribeOutboundConnectionsRequest {}
|
|
21
|
-
export interface DescribeOutboundConnectionsCommandOutput
|
|
22
|
-
extends DescribeOutboundConnectionsResponse,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>Lists all the outbound cross-cluster connections for a local domain.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { OpenSearchClient, DescribeOutboundConnectionsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
31
|
-
* // const { OpenSearchClient, DescribeOutboundConnectionsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
32
|
-
* const client = new OpenSearchClient(config);
|
|
33
|
-
* const command = new DescribeOutboundConnectionsCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DescribeOutboundConnectionsCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DescribeOutboundConnectionsCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DescribeOutboundConnectionsCommand extends $Command<
|
|
43
|
-
DescribeOutboundConnectionsCommandInput,
|
|
44
|
-
DescribeOutboundConnectionsCommandOutput,
|
|
45
|
-
OpenSearchClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DescribeOutboundConnectionsCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: OpenSearchClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DescribeOutboundConnectionsCommandInput, DescribeOutboundConnectionsCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "OpenSearchClient";
|
|
70
|
-
const commandName = "DescribeOutboundConnectionsCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DescribeOutboundConnectionsRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DescribeOutboundConnectionsResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: DescribeOutboundConnectionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1DescribeOutboundConnectionsCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(
|
|
91
|
-
output: __HttpResponse,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<DescribeOutboundConnectionsCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1DescribeOutboundConnectionsCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import { DescribePackagesRequest, DescribePackagesResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DescribePackagesCommand,
|
|
5
|
-
serializeAws_restJson1DescribePackagesCommand,
|
|
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 DescribePackagesCommandInput extends DescribePackagesRequest {}
|
|
21
|
-
export interface DescribePackagesCommandOutput extends DescribePackagesResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Describes all packages available to Amazon OpenSearch Service domains. Includes options for filtering, limiting the number of results,
|
|
25
|
-
* and pagination.
|
|
26
|
-
* </p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { OpenSearchClient, DescribePackagesCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
31
|
-
* // const { OpenSearchClient, DescribePackagesCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
32
|
-
* const client = new OpenSearchClient(config);
|
|
33
|
-
* const command = new DescribePackagesCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DescribePackagesCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DescribePackagesCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DescribePackagesCommand extends $Command<
|
|
43
|
-
DescribePackagesCommandInput,
|
|
44
|
-
DescribePackagesCommandOutput,
|
|
45
|
-
OpenSearchClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DescribePackagesCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: OpenSearchClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DescribePackagesCommandInput, DescribePackagesCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "OpenSearchClient";
|
|
70
|
-
const commandName = "DescribePackagesCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DescribePackagesRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DescribePackagesResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: DescribePackagesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1DescribePackagesCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribePackagesCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1DescribePackagesCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import {
|
|
3
|
-
DescribeReservedInstanceOfferingsRequest,
|
|
4
|
-
DescribeReservedInstanceOfferingsResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
6
|
-
import {
|
|
7
|
-
deserializeAws_restJson1DescribeReservedInstanceOfferingsCommand,
|
|
8
|
-
serializeAws_restJson1DescribeReservedInstanceOfferingsCommand,
|
|
9
|
-
} from "../protocols/Aws_restJson1";
|
|
10
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
11
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
12
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
13
|
-
import {
|
|
14
|
-
FinalizeHandlerArguments,
|
|
15
|
-
Handler,
|
|
16
|
-
HandlerExecutionContext,
|
|
17
|
-
MiddlewareStack,
|
|
18
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
19
|
-
MetadataBearer as __MetadataBearer,
|
|
20
|
-
SerdeContext as __SerdeContext,
|
|
21
|
-
} from "@aws-sdk/types";
|
|
22
|
-
|
|
23
|
-
export interface DescribeReservedInstanceOfferingsCommandInput extends DescribeReservedInstanceOfferingsRequest {}
|
|
24
|
-
export interface DescribeReservedInstanceOfferingsCommandOutput
|
|
25
|
-
extends DescribeReservedInstanceOfferingsResponse,
|
|
26
|
-
__MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Lists available reserved OpenSearch instance offerings.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { OpenSearchClient, DescribeReservedInstanceOfferingsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
34
|
-
* // const { OpenSearchClient, DescribeReservedInstanceOfferingsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
35
|
-
* const client = new OpenSearchClient(config);
|
|
36
|
-
* const command = new DescribeReservedInstanceOfferingsCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link DescribeReservedInstanceOfferingsCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link DescribeReservedInstanceOfferingsCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class DescribeReservedInstanceOfferingsCommand extends $Command<
|
|
46
|
-
DescribeReservedInstanceOfferingsCommandInput,
|
|
47
|
-
DescribeReservedInstanceOfferingsCommandOutput,
|
|
48
|
-
OpenSearchClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: DescribeReservedInstanceOfferingsCommandInput) {
|
|
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: OpenSearchClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<DescribeReservedInstanceOfferingsCommandInput, DescribeReservedInstanceOfferingsCommandOutput> {
|
|
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 = "OpenSearchClient";
|
|
73
|
-
const commandName = "DescribeReservedInstanceOfferingsCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: DescribeReservedInstanceOfferingsRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: DescribeReservedInstanceOfferingsResponse.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(
|
|
90
|
-
input: DescribeReservedInstanceOfferingsCommandInput,
|
|
91
|
-
context: __SerdeContext
|
|
92
|
-
): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_restJson1DescribeReservedInstanceOfferingsCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(
|
|
97
|
-
output: __HttpResponse,
|
|
98
|
-
context: __SerdeContext
|
|
99
|
-
): Promise<DescribeReservedInstanceOfferingsCommandOutput> {
|
|
100
|
-
return deserializeAws_restJson1DescribeReservedInstanceOfferingsCommand(output, context);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// Start section: command_body_extra
|
|
104
|
-
// End section: command_body_extra
|
|
105
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import { DescribeReservedInstancesRequest, DescribeReservedInstancesResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DescribeReservedInstancesCommand,
|
|
5
|
-
serializeAws_restJson1DescribeReservedInstancesCommand,
|
|
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 DescribeReservedInstancesCommandInput extends DescribeReservedInstancesRequest {}
|
|
21
|
-
export interface DescribeReservedInstancesCommandOutput extends DescribeReservedInstancesResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Returns information about reserved OpenSearch instances for this 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, DescribeReservedInstancesCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
|
-
* // const { OpenSearchClient, DescribeReservedInstancesCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
|
-
* const client = new OpenSearchClient(config);
|
|
31
|
-
* const command = new DescribeReservedInstancesCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DescribeReservedInstancesCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DescribeReservedInstancesCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DescribeReservedInstancesCommand extends $Command<
|
|
41
|
-
DescribeReservedInstancesCommandInput,
|
|
42
|
-
DescribeReservedInstancesCommandOutput,
|
|
43
|
-
OpenSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DescribeReservedInstancesCommandInput) {
|
|
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<DescribeReservedInstancesCommandInput, DescribeReservedInstancesCommandOutput> {
|
|
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 = "DescribeReservedInstancesCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DescribeReservedInstancesRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DescribeReservedInstancesResponse.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: DescribeReservedInstancesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DescribeReservedInstancesCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(
|
|
89
|
-
output: __HttpResponse,
|
|
90
|
-
context: __SerdeContext
|
|
91
|
-
): Promise<DescribeReservedInstancesCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1DescribeReservedInstancesCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import { DissociatePackageRequest, DissociatePackageResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DissociatePackageCommand,
|
|
5
|
-
serializeAws_restJson1DissociatePackageCommand,
|
|
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 DissociatePackageCommandInput extends DissociatePackageRequest {}
|
|
21
|
-
export interface DissociatePackageCommandOutput extends DissociatePackageResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Dissociates a package from the Amazon OpenSearch Service 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, DissociatePackageCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
|
-
* // const { OpenSearchClient, DissociatePackageCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
|
-
* const client = new OpenSearchClient(config);
|
|
31
|
-
* const command = new DissociatePackageCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DissociatePackageCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DissociatePackageCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DissociatePackageCommand extends $Command<
|
|
41
|
-
DissociatePackageCommandInput,
|
|
42
|
-
DissociatePackageCommandOutput,
|
|
43
|
-
OpenSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DissociatePackageCommandInput) {
|
|
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<DissociatePackageCommandInput, DissociatePackageCommandOutput> {
|
|
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 = "DissociatePackageCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DissociatePackageRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DissociatePackageResponse.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: DissociatePackageCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DissociatePackageCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DissociatePackageCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1DissociatePackageCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|