@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 { DeleteOutboundConnectionRequest, DeleteOutboundConnectionResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DeleteOutboundConnectionCommand,
|
|
5
|
-
serializeAws_restJson1DeleteOutboundConnectionCommand,
|
|
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 DeleteOutboundConnectionCommandInput extends DeleteOutboundConnectionRequest {}
|
|
21
|
-
export interface DeleteOutboundConnectionCommandOutput extends DeleteOutboundConnectionResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Allows the local domain owner to delete an existing outbound cross-cluster connection.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { OpenSearchClient, DeleteOutboundConnectionCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
|
-
* // const { OpenSearchClient, DeleteOutboundConnectionCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
|
-
* const client = new OpenSearchClient(config);
|
|
31
|
-
* const command = new DeleteOutboundConnectionCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DeleteOutboundConnectionCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DeleteOutboundConnectionCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DeleteOutboundConnectionCommand extends $Command<
|
|
41
|
-
DeleteOutboundConnectionCommandInput,
|
|
42
|
-
DeleteOutboundConnectionCommandOutput,
|
|
43
|
-
OpenSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DeleteOutboundConnectionCommandInput) {
|
|
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<DeleteOutboundConnectionCommandInput, DeleteOutboundConnectionCommandOutput> {
|
|
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 = "DeleteOutboundConnectionCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DeleteOutboundConnectionRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DeleteOutboundConnectionResponse.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: DeleteOutboundConnectionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DeleteOutboundConnectionCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteOutboundConnectionCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1DeleteOutboundConnectionCommand(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 { DeletePackageRequest, DeletePackageResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DeletePackageCommand,
|
|
5
|
-
serializeAws_restJson1DeletePackageCommand,
|
|
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 DeletePackageCommandInput extends DeletePackageRequest {}
|
|
21
|
-
export interface DeletePackageCommandOutput extends DeletePackageResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes the package.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { OpenSearchClient, DeletePackageCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
|
-
* // const { OpenSearchClient, DeletePackageCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
|
-
* const client = new OpenSearchClient(config);
|
|
31
|
-
* const command = new DeletePackageCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DeletePackageCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DeletePackageCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DeletePackageCommand extends $Command<
|
|
41
|
-
DeletePackageCommandInput,
|
|
42
|
-
DeletePackageCommandOutput,
|
|
43
|
-
OpenSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DeletePackageCommandInput) {
|
|
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<DeletePackageCommandInput, DeletePackageCommandOutput> {
|
|
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 = "DeletePackageCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DeletePackageRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DeletePackageResponse.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: DeletePackageCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DeletePackageCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeletePackageCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1DeletePackageCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import { DescribeDomainAutoTunesRequest, DescribeDomainAutoTunesResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DescribeDomainAutoTunesCommand,
|
|
5
|
-
serializeAws_restJson1DescribeDomainAutoTunesCommand,
|
|
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 DescribeDomainAutoTunesCommandInput extends DescribeDomainAutoTunesRequest {}
|
|
21
|
-
export interface DescribeDomainAutoTunesCommandOutput extends DescribeDomainAutoTunesResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Provides scheduled Auto-Tune action details for the domain, such as Auto-Tune action type,
|
|
25
|
-
* description, severity, and scheduled date.
|
|
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, DescribeDomainAutoTunesCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
31
|
-
* // const { OpenSearchClient, DescribeDomainAutoTunesCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
32
|
-
* const client = new OpenSearchClient(config);
|
|
33
|
-
* const command = new DescribeDomainAutoTunesCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DescribeDomainAutoTunesCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DescribeDomainAutoTunesCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DescribeDomainAutoTunesCommand extends $Command<
|
|
43
|
-
DescribeDomainAutoTunesCommandInput,
|
|
44
|
-
DescribeDomainAutoTunesCommandOutput,
|
|
45
|
-
OpenSearchClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DescribeDomainAutoTunesCommandInput) {
|
|
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<DescribeDomainAutoTunesCommandInput, DescribeDomainAutoTunesCommandOutput> {
|
|
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 = "DescribeDomainAutoTunesCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DescribeDomainAutoTunesRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DescribeDomainAutoTunesResponse.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: DescribeDomainAutoTunesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1DescribeDomainAutoTunesCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeDomainAutoTunesCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1DescribeDomainAutoTunesCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import { DescribeDomainRequest, DescribeDomainResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DescribeDomainCommand,
|
|
5
|
-
serializeAws_restJson1DescribeDomainCommand,
|
|
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 DescribeDomainCommandInput extends DescribeDomainRequest {}
|
|
21
|
-
export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Returns domain configuration information about the specified domain, including the domain ID,
|
|
25
|
-
* domain endpoint, and domain ARN.
|
|
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, DescribeDomainCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
31
|
-
* // const { OpenSearchClient, DescribeDomainCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
32
|
-
* const client = new OpenSearchClient(config);
|
|
33
|
-
* const command = new DescribeDomainCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DescribeDomainCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DescribeDomainCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DescribeDomainCommand extends $Command<
|
|
43
|
-
DescribeDomainCommandInput,
|
|
44
|
-
DescribeDomainCommandOutput,
|
|
45
|
-
OpenSearchClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DescribeDomainCommandInput) {
|
|
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<DescribeDomainCommandInput, DescribeDomainCommandOutput> {
|
|
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 = "DescribeDomainCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DescribeDomainRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DescribeDomainResponse.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: DescribeDomainCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1DescribeDomainCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeDomainCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1DescribeDomainCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import { DescribeDomainConfigRequest, DescribeDomainConfigResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DescribeDomainConfigCommand,
|
|
5
|
-
serializeAws_restJson1DescribeDomainConfigCommand,
|
|
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 DescribeDomainConfigCommandInput extends DescribeDomainConfigRequest {}
|
|
21
|
-
export interface DescribeDomainConfigCommandOutput extends DescribeDomainConfigResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Provides cluster configuration information about the specified domain, such as the state, creation
|
|
25
|
-
* date, update version, and update date for cluster options.
|
|
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, DescribeDomainConfigCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
31
|
-
* // const { OpenSearchClient, DescribeDomainConfigCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
32
|
-
* const client = new OpenSearchClient(config);
|
|
33
|
-
* const command = new DescribeDomainConfigCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DescribeDomainConfigCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DescribeDomainConfigCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DescribeDomainConfigCommand extends $Command<
|
|
43
|
-
DescribeDomainConfigCommandInput,
|
|
44
|
-
DescribeDomainConfigCommandOutput,
|
|
45
|
-
OpenSearchClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DescribeDomainConfigCommandInput) {
|
|
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<DescribeDomainConfigCommandInput, DescribeDomainConfigCommandOutput> {
|
|
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 = "DescribeDomainConfigCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DescribeDomainConfigRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DescribeDomainConfigResponse.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: DescribeDomainConfigCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1DescribeDomainConfigCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeDomainConfigCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1DescribeDomainConfigCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import { DescribeDomainsRequest, DescribeDomainsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DescribeDomainsCommand,
|
|
5
|
-
serializeAws_restJson1DescribeDomainsCommand,
|
|
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 DescribeDomainsCommandInput extends DescribeDomainsRequest {}
|
|
21
|
-
export interface DescribeDomainsCommandOutput extends DescribeDomainsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Returns domain configuration information about the specified domains, including the domain ID,
|
|
25
|
-
* domain endpoint, and domain ARN.
|
|
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, DescribeDomainsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
31
|
-
* // const { OpenSearchClient, DescribeDomainsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
32
|
-
* const client = new OpenSearchClient(config);
|
|
33
|
-
* const command = new DescribeDomainsCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DescribeDomainsCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DescribeDomainsCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DescribeDomainsCommand extends $Command<
|
|
43
|
-
DescribeDomainsCommandInput,
|
|
44
|
-
DescribeDomainsCommandOutput,
|
|
45
|
-
OpenSearchClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DescribeDomainsCommandInput) {
|
|
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<DescribeDomainsCommandInput, DescribeDomainsCommandOutput> {
|
|
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 = "DescribeDomainsCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DescribeDomainsRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DescribeDomainsResponse.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: DescribeDomainsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1DescribeDomainsCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeDomainsCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1DescribeDomainsCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
2
|
-
import { DescribeInboundConnectionsRequest, DescribeInboundConnectionsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DescribeInboundConnectionsCommand,
|
|
5
|
-
serializeAws_restJson1DescribeInboundConnectionsCommand,
|
|
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 DescribeInboundConnectionsCommandInput extends DescribeInboundConnectionsRequest {}
|
|
21
|
-
export interface DescribeInboundConnectionsCommandOutput extends DescribeInboundConnectionsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Lists all the inbound cross-cluster connections for a remote 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, DescribeInboundConnectionsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
|
-
* // const { OpenSearchClient, DescribeInboundConnectionsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
|
-
* const client = new OpenSearchClient(config);
|
|
31
|
-
* const command = new DescribeInboundConnectionsCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DescribeInboundConnectionsCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DescribeInboundConnectionsCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DescribeInboundConnectionsCommand extends $Command<
|
|
41
|
-
DescribeInboundConnectionsCommandInput,
|
|
42
|
-
DescribeInboundConnectionsCommandOutput,
|
|
43
|
-
OpenSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DescribeInboundConnectionsCommandInput) {
|
|
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<DescribeInboundConnectionsCommandInput, DescribeInboundConnectionsCommandOutput> {
|
|
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 = "DescribeInboundConnectionsCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DescribeInboundConnectionsRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DescribeInboundConnectionsResponse.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: DescribeInboundConnectionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DescribeInboundConnectionsCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(
|
|
89
|
-
output: __HttpResponse,
|
|
90
|
-
context: __SerdeContext
|
|
91
|
-
): Promise<DescribeInboundConnectionsCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1DescribeInboundConnectionsCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|