@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,94 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import { ListPackagesForDomainRequest, ListPackagesForDomainResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListPackagesForDomainCommand,
|
|
5
|
-
serializeAws_restJson1ListPackagesForDomainCommand,
|
|
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 ListPackagesForDomainCommandInput extends ListPackagesForDomainRequest {}
|
|
21
|
-
export interface ListPackagesForDomainCommandOutput extends ListPackagesForDomainResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Lists all packages associated with 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, ListPackagesForDomainCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
|
-
* // const { OpenSearchClient, ListPackagesForDomainCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
|
-
* const client = new OpenSearchClient(config);
|
|
31
|
-
* const command = new ListPackagesForDomainCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ListPackagesForDomainCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ListPackagesForDomainCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ListPackagesForDomainCommand extends $Command<
|
|
41
|
-
ListPackagesForDomainCommandInput,
|
|
42
|
-
ListPackagesForDomainCommandOutput,
|
|
43
|
-
OpenSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ListPackagesForDomainCommandInput) {
|
|
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<ListPackagesForDomainCommandInput, ListPackagesForDomainCommandOutput> {
|
|
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 = "ListPackagesForDomainCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: ListPackagesForDomainRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ListPackagesForDomainResponse.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: ListPackagesForDomainCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1ListPackagesForDomainCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListPackagesForDomainCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1ListPackagesForDomainCommand(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 { ListTagsRequest, ListTagsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListTagsCommand,
|
|
5
|
-
serializeAws_restJson1ListTagsCommand,
|
|
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 ListTagsCommandInput extends ListTagsRequest {}
|
|
21
|
-
export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Returns all tags for the given 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, ListTagsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
|
-
* // const { OpenSearchClient, ListTagsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
|
-
* const client = new OpenSearchClient(config);
|
|
31
|
-
* const command = new ListTagsCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ListTagsCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ListTagsCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ListTagsCommand extends $Command<
|
|
41
|
-
ListTagsCommandInput,
|
|
42
|
-
ListTagsCommandOutput,
|
|
43
|
-
OpenSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ListTagsCommandInput) {
|
|
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<ListTagsCommandInput, ListTagsCommandOutput> {
|
|
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 = "ListTagsCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: ListTagsRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ListTagsResponse.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: ListTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1ListTagsCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1ListTagsCommand(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 { ListVersionsRequest, ListVersionsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListVersionsCommand,
|
|
5
|
-
serializeAws_restJson1ListVersionsCommand,
|
|
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 ListVersionsCommandInput extends ListVersionsRequest {}
|
|
21
|
-
export interface ListVersionsCommandOutput extends ListVersionsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>List all supported versions of OpenSearch and Elasticsearch.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { OpenSearchClient, ListVersionsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
|
-
* // const { OpenSearchClient, ListVersionsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
|
-
* const client = new OpenSearchClient(config);
|
|
31
|
-
* const command = new ListVersionsCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ListVersionsCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ListVersionsCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ListVersionsCommand extends $Command<
|
|
41
|
-
ListVersionsCommandInput,
|
|
42
|
-
ListVersionsCommandOutput,
|
|
43
|
-
OpenSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ListVersionsCommandInput) {
|
|
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<ListVersionsCommandInput, ListVersionsCommandOutput> {
|
|
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 = "ListVersionsCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: ListVersionsRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ListVersionsResponse.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: ListVersionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1ListVersionsCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListVersionsCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1ListVersionsCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import { PurchaseReservedInstanceOfferingRequest, PurchaseReservedInstanceOfferingResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1PurchaseReservedInstanceOfferingCommand,
|
|
5
|
-
serializeAws_restJson1PurchaseReservedInstanceOfferingCommand,
|
|
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 PurchaseReservedInstanceOfferingCommandInput extends PurchaseReservedInstanceOfferingRequest {}
|
|
21
|
-
export interface PurchaseReservedInstanceOfferingCommandOutput
|
|
22
|
-
extends PurchaseReservedInstanceOfferingResponse,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>Allows you to purchase reserved OpenSearch instances.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { OpenSearchClient, PurchaseReservedInstanceOfferingCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
31
|
-
* // const { OpenSearchClient, PurchaseReservedInstanceOfferingCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
32
|
-
* const client = new OpenSearchClient(config);
|
|
33
|
-
* const command = new PurchaseReservedInstanceOfferingCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link PurchaseReservedInstanceOfferingCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link PurchaseReservedInstanceOfferingCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class PurchaseReservedInstanceOfferingCommand extends $Command<
|
|
43
|
-
PurchaseReservedInstanceOfferingCommandInput,
|
|
44
|
-
PurchaseReservedInstanceOfferingCommandOutput,
|
|
45
|
-
OpenSearchClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: PurchaseReservedInstanceOfferingCommandInput) {
|
|
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<PurchaseReservedInstanceOfferingCommandInput, PurchaseReservedInstanceOfferingCommandOutput> {
|
|
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 = "PurchaseReservedInstanceOfferingCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: PurchaseReservedInstanceOfferingRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: PurchaseReservedInstanceOfferingResponse.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(
|
|
87
|
-
input: PurchaseReservedInstanceOfferingCommandInput,
|
|
88
|
-
context: __SerdeContext
|
|
89
|
-
): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restJson1PurchaseReservedInstanceOfferingCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(
|
|
94
|
-
output: __HttpResponse,
|
|
95
|
-
context: __SerdeContext
|
|
96
|
-
): Promise<PurchaseReservedInstanceOfferingCommandOutput> {
|
|
97
|
-
return deserializeAws_restJson1PurchaseReservedInstanceOfferingCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import { RejectInboundConnectionRequest, RejectInboundConnectionResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1RejectInboundConnectionCommand,
|
|
5
|
-
serializeAws_restJson1RejectInboundConnectionCommand,
|
|
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 RejectInboundConnectionCommandInput extends RejectInboundConnectionRequest {}
|
|
21
|
-
export interface RejectInboundConnectionCommandOutput extends RejectInboundConnectionResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Allows the remote domain owner to reject an inbound cross-cluster connection request.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { OpenSearchClient, RejectInboundConnectionCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
|
-
* // const { OpenSearchClient, RejectInboundConnectionCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
|
-
* const client = new OpenSearchClient(config);
|
|
31
|
-
* const command = new RejectInboundConnectionCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link RejectInboundConnectionCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link RejectInboundConnectionCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class RejectInboundConnectionCommand extends $Command<
|
|
41
|
-
RejectInboundConnectionCommandInput,
|
|
42
|
-
RejectInboundConnectionCommandOutput,
|
|
43
|
-
OpenSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: RejectInboundConnectionCommandInput) {
|
|
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<RejectInboundConnectionCommandInput, RejectInboundConnectionCommandOutput> {
|
|
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 = "RejectInboundConnectionCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: RejectInboundConnectionRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: RejectInboundConnectionResponse.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: RejectInboundConnectionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1RejectInboundConnectionCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RejectInboundConnectionCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1RejectInboundConnectionCommand(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 { RemoveTagsRequest } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1RemoveTagsCommand,
|
|
5
|
-
serializeAws_restJson1RemoveTagsCommand,
|
|
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 RemoveTagsCommandInput extends RemoveTagsRequest {}
|
|
21
|
-
export interface RemoveTagsCommandOutput extends __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Removes the specified set of tags from the given 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, RemoveTagsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
|
-
* // const { OpenSearchClient, RemoveTagsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
|
-
* const client = new OpenSearchClient(config);
|
|
31
|
-
* const command = new RemoveTagsCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link RemoveTagsCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link RemoveTagsCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class RemoveTagsCommand extends $Command<
|
|
41
|
-
RemoveTagsCommandInput,
|
|
42
|
-
RemoveTagsCommandOutput,
|
|
43
|
-
OpenSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: RemoveTagsCommandInput) {
|
|
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<RemoveTagsCommandInput, RemoveTagsCommandOutput> {
|
|
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 = "RemoveTagsCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: RemoveTagsRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
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: RemoveTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1RemoveTagsCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RemoveTagsCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1RemoveTagsCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import { StartServiceSoftwareUpdateRequest, StartServiceSoftwareUpdateResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1StartServiceSoftwareUpdateCommand,
|
|
5
|
-
serializeAws_restJson1StartServiceSoftwareUpdateCommand,
|
|
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 StartServiceSoftwareUpdateCommandInput extends StartServiceSoftwareUpdateRequest {}
|
|
21
|
-
export interface StartServiceSoftwareUpdateCommandOutput extends StartServiceSoftwareUpdateResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Schedules a service software update for an 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, StartServiceSoftwareUpdateCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
|
-
* // const { OpenSearchClient, StartServiceSoftwareUpdateCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
|
-
* const client = new OpenSearchClient(config);
|
|
31
|
-
* const command = new StartServiceSoftwareUpdateCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link StartServiceSoftwareUpdateCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link StartServiceSoftwareUpdateCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class StartServiceSoftwareUpdateCommand extends $Command<
|
|
41
|
-
StartServiceSoftwareUpdateCommandInput,
|
|
42
|
-
StartServiceSoftwareUpdateCommandOutput,
|
|
43
|
-
OpenSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: StartServiceSoftwareUpdateCommandInput) {
|
|
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<StartServiceSoftwareUpdateCommandInput, StartServiceSoftwareUpdateCommandOutput> {
|
|
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 = "StartServiceSoftwareUpdateCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: StartServiceSoftwareUpdateRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: StartServiceSoftwareUpdateResponse.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: StartServiceSoftwareUpdateCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1StartServiceSoftwareUpdateCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(
|
|
89
|
-
output: __HttpResponse,
|
|
90
|
-
context: __SerdeContext
|
|
91
|
-
): Promise<StartServiceSoftwareUpdateCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1StartServiceSoftwareUpdateCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|