@aws-sdk/client-servicediscovery 3.33.0 → 3.36.1
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}/ServiceDiscovery.js +1 -10
- package/{dist/cjs → dist-cjs}/ServiceDiscoveryClient.js +8 -22
- package/{dist/cjs → dist-cjs}/commands/CreateHttpNamespaceCommand.js +2 -31
- package/dist-cjs/commands/CreatePrivateDnsNamespaceCommand.js +36 -0
- package/dist-cjs/commands/CreatePublicDnsNamespaceCommand.js +36 -0
- package/dist-cjs/commands/CreateServiceCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteNamespaceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DeleteServiceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DeregisterInstanceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DiscoverInstancesCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/GetInstanceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetInstancesHealthStatusCommand.js +2 -32
- package/{dist/cjs → dist-cjs}/commands/GetNamespaceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetOperationCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/GetServiceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListInstancesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListNamespacesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListOperationsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListServicesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
- package/dist-cjs/commands/RegisterInstanceCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateHttpNamespaceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/UpdateInstanceCustomHealthStatusCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/UpdatePrivateDnsNamespaceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/UpdatePublicDnsNamespaceCommand.js +2 -28
- package/dist-cjs/commands/UpdateServiceCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- 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 -301
- package/{dist/cjs → dist-cjs}/pagination/GetInstancesHealthStatusPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListInstancesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListNamespacesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListOperationsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListServicesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
- 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}/ServiceDiscovery.js +2 -11
- package/{dist/es → dist-es}/ServiceDiscoveryClient.js +2 -16
- package/{dist/es → dist-es}/commands/CreateHttpNamespaceCommand.js +4 -34
- package/{dist/es → dist-es}/commands/CreatePrivateDnsNamespaceCommand.js +4 -36
- package/{dist/es → dist-es}/commands/CreatePublicDnsNamespaceCommand.js +4 -35
- package/dist-es/commands/CreateServiceCommand.js +39 -0
- package/{dist/es → dist-es}/commands/DeleteNamespaceCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DeleteServiceCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DeregisterInstanceCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DiscoverInstancesCommand.js +4 -32
- package/{dist/es → dist-es}/commands/GetInstanceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetInstancesHealthStatusCommand.js +4 -35
- package/{dist/es → dist-es}/commands/GetNamespaceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetOperationCommand.js +4 -34
- package/{dist/es → dist-es}/commands/GetServiceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListInstancesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListNamespacesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListOperationsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListServicesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
- package/dist-es/commands/RegisterInstanceCommand.js +39 -0
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateHttpNamespaceCommand.js +4 -31
- package/{dist/es → dist-es}/commands/UpdateInstanceCustomHealthStatusCommand.js +4 -34
- package/{dist/es → dist-es}/commands/UpdatePrivateDnsNamespaceCommand.js +4 -31
- package/{dist/es → dist-es}/commands/UpdatePublicDnsNamespaceCommand.js +4 -31
- package/dist-es/commands/UpdateServiceCommand.js +39 -0
- 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 -301
- package/{dist/es → dist-es}/pagination/GetInstancesHealthStatusPaginator.js +17 -30
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListInstancesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListNamespacesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListOperationsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListServicesPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +535 -541
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/ServiceDiscovery.d.ts +2 -2
- package/{dist/types → dist-types}/ServiceDiscoveryClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CreateHttpNamespaceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreatePrivateDnsNamespaceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreatePublicDnsNamespaceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateServiceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteNamespaceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteServiceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeregisterInstanceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DiscoverInstancesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetInstanceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetInstancesHealthStatusCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetNamespaceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetOperationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetServiceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListInstancesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListNamespacesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListOperationsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListServicesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RegisterInstanceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateHttpNamespaceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdatePrivateDnsNamespaceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdatePublicDnsNamespaceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateServiceCommand.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/GetInstancesHealthStatusPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListInstancesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListNamespacesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListOperationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListServicesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -4
- 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/ServiceDiscovery.d.ts +29 -227
- package/{dist/types → dist-types}/ts3.4/ServiceDiscoveryClient.d.ts +32 -102
- package/dist-types/ts3.4/commands/CreateHttpNamespaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePrivateDnsNamespaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePublicDnsNamespaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteNamespaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeregisterInstanceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DiscoverInstancesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetInstanceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetInstancesHealthStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetNamespaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetOperationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListNamespacesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListOperationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/RegisterInstanceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/UpdateHttpNamespaceCommand.d.ts +5 -24
- package/dist-types/ts3.4/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/UpdatePrivateDnsNamespaceCommand.d.ts +5 -24
- package/{dist/types → dist-types}/ts3.4/commands/UpdatePublicDnsNamespaceCommand.d.ts +5 -24
- package/dist-types/ts3.4/commands/UpdateServiceCommand.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 +1216 -0
- package/{dist/types → dist-types}/ts3.4/pagination/GetInstancesHealthStatusPaginator.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/ListInstancesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListNamespacesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListOperationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListServicesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.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 +3 -7
- 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 +52 -49
- package/ServiceDiscovery.ts +0 -1074
- package/ServiceDiscoveryClient.ts +0 -345
- package/commands/CreateHttpNamespaceCommand.ts +0 -98
- package/commands/CreatePrivateDnsNamespaceCommand.ts +0 -103
- package/commands/CreatePublicDnsNamespaceCommand.ts +0 -99
- package/commands/CreateServiceCommand.ts +0 -134
- package/commands/DeleteNamespaceCommand.ts +0 -95
- package/commands/DeleteServiceCommand.ts +0 -95
- package/commands/DeregisterInstanceCommand.ts +0 -95
- package/commands/DiscoverInstancesCommand.ts +0 -96
- package/commands/GetInstanceCommand.ts +0 -94
- package/commands/GetInstancesHealthStatusCommand.ts +0 -99
- package/commands/GetNamespaceCommand.ts +0 -94
- package/commands/GetOperationCommand.ts +0 -98
- package/commands/GetServiceCommand.ts +0 -94
- package/commands/ListInstancesCommand.ts +0 -94
- package/commands/ListNamespacesCommand.ts +0 -94
- package/commands/ListOperationsCommand.ts +0 -94
- package/commands/ListServicesCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/RegisterInstanceCommand.ts +0 -133
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateHttpNamespaceCommand.ts +0 -95
- package/commands/UpdateInstanceCustomHealthStatusCommand.ts +0 -104
- package/commands/UpdatePrivateDnsNamespaceCommand.ts +0 -98
- package/commands/UpdatePublicDnsNamespaceCommand.ts +0 -95
- package/commands/UpdateServiceCommand.ts +0 -118
- package/dist/cjs/ServiceDiscovery.js.map +0 -1
- package/dist/cjs/ServiceDiscoveryClient.js.map +0 -1
- package/dist/cjs/commands/CreateHttpNamespaceCommand.js.map +0 -1
- package/dist/cjs/commands/CreatePrivateDnsNamespaceCommand.js +0 -67
- package/dist/cjs/commands/CreatePrivateDnsNamespaceCommand.js.map +0 -1
- package/dist/cjs/commands/CreatePublicDnsNamespaceCommand.js +0 -66
- package/dist/cjs/commands/CreatePublicDnsNamespaceCommand.js.map +0 -1
- package/dist/cjs/commands/CreateServiceCommand.js +0 -101
- package/dist/cjs/commands/CreateServiceCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteNamespaceCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteServiceCommand.js.map +0 -1
- package/dist/cjs/commands/DeregisterInstanceCommand.js.map +0 -1
- package/dist/cjs/commands/DiscoverInstancesCommand.js.map +0 -1
- package/dist/cjs/commands/GetInstanceCommand.js.map +0 -1
- package/dist/cjs/commands/GetInstancesHealthStatusCommand.js.map +0 -1
- package/dist/cjs/commands/GetNamespaceCommand.js.map +0 -1
- package/dist/cjs/commands/GetOperationCommand.js.map +0 -1
- package/dist/cjs/commands/GetServiceCommand.js.map +0 -1
- package/dist/cjs/commands/ListInstancesCommand.js.map +0 -1
- package/dist/cjs/commands/ListNamespacesCommand.js.map +0 -1
- package/dist/cjs/commands/ListOperationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListServicesCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/RegisterInstanceCommand.js +0 -100
- package/dist/cjs/commands/RegisterInstanceCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateHttpNamespaceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateInstanceCustomHealthStatusCommand.js.map +0 -1
- package/dist/cjs/commands/UpdatePrivateDnsNamespaceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdatePublicDnsNamespaceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateServiceCommand.js +0 -85
- package/dist/cjs/commands/UpdateServiceCommand.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 -93
- package/dist/cjs/pagination/GetInstancesHealthStatusPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListInstancesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListNamespacesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListOperationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListServicesPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/ServiceDiscovery.js.map +0 -1
- package/dist/es/ServiceDiscoveryClient.js.map +0 -1
- package/dist/es/commands/CreateHttpNamespaceCommand.js.map +0 -1
- package/dist/es/commands/CreatePrivateDnsNamespaceCommand.js.map +0 -1
- package/dist/es/commands/CreatePublicDnsNamespaceCommand.js.map +0 -1
- package/dist/es/commands/CreateServiceCommand.js +0 -105
- package/dist/es/commands/CreateServiceCommand.js.map +0 -1
- package/dist/es/commands/DeleteNamespaceCommand.js.map +0 -1
- package/dist/es/commands/DeleteServiceCommand.js.map +0 -1
- package/dist/es/commands/DeregisterInstanceCommand.js.map +0 -1
- package/dist/es/commands/DiscoverInstancesCommand.js.map +0 -1
- package/dist/es/commands/GetInstanceCommand.js.map +0 -1
- package/dist/es/commands/GetInstancesHealthStatusCommand.js.map +0 -1
- package/dist/es/commands/GetNamespaceCommand.js.map +0 -1
- package/dist/es/commands/GetOperationCommand.js.map +0 -1
- package/dist/es/commands/GetServiceCommand.js.map +0 -1
- package/dist/es/commands/ListInstancesCommand.js.map +0 -1
- package/dist/es/commands/ListNamespacesCommand.js.map +0 -1
- package/dist/es/commands/ListOperationsCommand.js.map +0 -1
- package/dist/es/commands/ListServicesCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/RegisterInstanceCommand.js +0 -104
- package/dist/es/commands/RegisterInstanceCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateHttpNamespaceCommand.js.map +0 -1
- package/dist/es/commands/UpdateInstanceCustomHealthStatusCommand.js.map +0 -1
- package/dist/es/commands/UpdatePrivateDnsNamespaceCommand.js.map +0 -1
- package/dist/es/commands/UpdatePublicDnsNamespaceCommand.js.map +0 -1
- package/dist/es/commands/UpdateServiceCommand.js +0 -89
- package/dist/es/commands/UpdateServiceCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -36
- 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 -93
- package/dist/es/pagination/GetInstancesHealthStatusPaginator.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/ListInstancesPaginator.js.map +0 -1
- package/dist/es/pagination/ListNamespacesPaginator.js.map +0 -1
- package/dist/es/pagination/ListOperationsPaginator.js.map +0 -1
- package/dist/es/pagination/ListServicesPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/CreateHttpNamespaceCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/CreatePrivateDnsNamespaceCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/CreatePublicDnsNamespaceCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/CreateServiceCommand.d.ts +0 -75
- package/dist/types/ts3.4/commands/DeleteNamespaceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DeleteServiceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DeregisterInstanceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DiscoverInstancesCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/GetInstanceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetInstancesHealthStatusCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/GetNamespaceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetOperationCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/GetServiceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListInstancesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListNamespacesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListOperationsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListServicesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/RegisterInstanceCommand.d.ts +0 -74
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/UpdateServiceCommand.d.ts +0 -59
- package/dist/types/ts3.4/models/models_0.d.ts +0 -3082
- package/endpoints.ts +0 -63
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -3606
- package/pagination/GetInstancesHealthStatusPaginator.ts +0 -58
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListInstancesPaginator.ts +0 -58
- package/pagination/ListNamespacesPaginator.ts +0 -58
- package/pagination/ListOperationsPaginator.ts +0 -58
- package/pagination/ListServicesPaginator.ts +0 -58
- package/protocols/Aws_json1_1.ts +0 -3936
- 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 -12
- package/tsconfig.json +0 -32
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { ServiceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceDiscoveryClient";
|
|
2
|
-
import { GetInstancesHealthStatusRequest, GetInstancesHealthStatusResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetInstancesHealthStatusCommand,
|
|
5
|
-
serializeAws_json1_1GetInstancesHealthStatusCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
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 GetInstancesHealthStatusCommandInput extends GetInstancesHealthStatusRequest {}
|
|
21
|
-
export interface GetInstancesHealthStatusCommandOutput extends GetInstancesHealthStatusResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Gets the current health status (<code>Healthy</code>, <code>Unhealthy</code>, or <code>Unknown</code>) of one or
|
|
25
|
-
* more instances that are associated with a specified service.</p>
|
|
26
|
-
* <note>
|
|
27
|
-
* <p>There's a brief delay between when you register an instance and when the health status for the instance is
|
|
28
|
-
* available. </p>
|
|
29
|
-
* </note>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { ServiceDiscoveryClient, GetInstancesHealthStatusCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
34
|
-
* // const { ServiceDiscoveryClient, GetInstancesHealthStatusCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
35
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
36
|
-
* const command = new GetInstancesHealthStatusCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link GetInstancesHealthStatusCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link GetInstancesHealthStatusCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class GetInstancesHealthStatusCommand extends $Command<
|
|
46
|
-
GetInstancesHealthStatusCommandInput,
|
|
47
|
-
GetInstancesHealthStatusCommandOutput,
|
|
48
|
-
ServiceDiscoveryClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: GetInstancesHealthStatusCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: ServiceDiscoveryClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<GetInstancesHealthStatusCommandInput, GetInstancesHealthStatusCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "ServiceDiscoveryClient";
|
|
73
|
-
const commandName = "GetInstancesHealthStatusCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: GetInstancesHealthStatusRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: GetInstancesHealthStatusResponse.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: GetInstancesHealthStatusCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_1GetInstancesHealthStatusCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetInstancesHealthStatusCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_1GetInstancesHealthStatusCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { ServiceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceDiscoveryClient";
|
|
2
|
-
import { GetNamespaceRequest, GetNamespaceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetNamespaceCommand,
|
|
5
|
-
serializeAws_json1_1GetNamespaceCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
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 GetNamespaceCommandInput extends GetNamespaceRequest {}
|
|
21
|
-
export interface GetNamespaceCommandOutput extends GetNamespaceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Gets information about a namespace.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { ServiceDiscoveryClient, GetNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
29
|
-
* // const { ServiceDiscoveryClient, GetNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
30
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
31
|
-
* const command = new GetNamespaceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link GetNamespaceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link GetNamespaceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class GetNamespaceCommand extends $Command<
|
|
41
|
-
GetNamespaceCommandInput,
|
|
42
|
-
GetNamespaceCommandOutput,
|
|
43
|
-
ServiceDiscoveryClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: GetNamespaceCommandInput) {
|
|
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: ServiceDiscoveryClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<GetNamespaceCommandInput, GetNamespaceCommandOutput> {
|
|
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 = "ServiceDiscoveryClient";
|
|
68
|
-
const commandName = "GetNamespaceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: GetNamespaceRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: GetNamespaceResponse.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: GetNamespaceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1GetNamespaceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetNamespaceCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1GetNamespaceCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { ServiceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceDiscoveryClient";
|
|
2
|
-
import { GetOperationRequest, GetOperationResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetOperationCommand,
|
|
5
|
-
serializeAws_json1_1GetOperationCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
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 GetOperationCommandInput extends GetOperationRequest {}
|
|
21
|
-
export interface GetOperationCommandOutput extends GetOperationResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Gets information about any operation that returns an operation ID in the response, such as a
|
|
25
|
-
* <code>CreateService</code> request.</p>
|
|
26
|
-
* <note>
|
|
27
|
-
* <p>To get a list of operations that match specified criteria, see <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_ListOperations.html">ListOperations</a>.</p>
|
|
28
|
-
* </note>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { ServiceDiscoveryClient, GetOperationCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
33
|
-
* // const { ServiceDiscoveryClient, GetOperationCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
34
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
35
|
-
* const command = new GetOperationCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link GetOperationCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link GetOperationCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class GetOperationCommand extends $Command<
|
|
45
|
-
GetOperationCommandInput,
|
|
46
|
-
GetOperationCommandOutput,
|
|
47
|
-
ServiceDiscoveryClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: GetOperationCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: ServiceDiscoveryClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<GetOperationCommandInput, GetOperationCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "ServiceDiscoveryClient";
|
|
72
|
-
const commandName = "GetOperationCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: GetOperationRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: GetOperationResponse.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(input: GetOperationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_json1_1GetOperationCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetOperationCommandOutput> {
|
|
93
|
-
return deserializeAws_json1_1GetOperationCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { ServiceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceDiscoveryClient";
|
|
2
|
-
import { GetServiceRequest, GetServiceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetServiceCommand,
|
|
5
|
-
serializeAws_json1_1GetServiceCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
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 GetServiceCommandInput extends GetServiceRequest {}
|
|
21
|
-
export interface GetServiceCommandOutput extends GetServiceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Gets the settings for a specified service.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { ServiceDiscoveryClient, GetServiceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
29
|
-
* // const { ServiceDiscoveryClient, GetServiceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
30
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
31
|
-
* const command = new GetServiceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link GetServiceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link GetServiceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class GetServiceCommand extends $Command<
|
|
41
|
-
GetServiceCommandInput,
|
|
42
|
-
GetServiceCommandOutput,
|
|
43
|
-
ServiceDiscoveryClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: GetServiceCommandInput) {
|
|
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: ServiceDiscoveryClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<GetServiceCommandInput, GetServiceCommandOutput> {
|
|
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 = "ServiceDiscoveryClient";
|
|
68
|
-
const commandName = "GetServiceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: GetServiceRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: GetServiceResponse.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: GetServiceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1GetServiceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetServiceCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1GetServiceCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { ServiceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceDiscoveryClient";
|
|
2
|
-
import { ListInstancesRequest, ListInstancesResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListInstancesCommand,
|
|
5
|
-
serializeAws_json1_1ListInstancesCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
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 ListInstancesCommandInput extends ListInstancesRequest {}
|
|
21
|
-
export interface ListInstancesCommandOutput extends ListInstancesResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Lists summary information about the instances that you registered by using a specified service.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { ServiceDiscoveryClient, ListInstancesCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
29
|
-
* // const { ServiceDiscoveryClient, ListInstancesCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
30
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
31
|
-
* const command = new ListInstancesCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ListInstancesCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ListInstancesCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ListInstancesCommand extends $Command<
|
|
41
|
-
ListInstancesCommandInput,
|
|
42
|
-
ListInstancesCommandOutput,
|
|
43
|
-
ServiceDiscoveryClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ListInstancesCommandInput) {
|
|
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: ServiceDiscoveryClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<ListInstancesCommandInput, ListInstancesCommandOutput> {
|
|
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 = "ServiceDiscoveryClient";
|
|
68
|
-
const commandName = "ListInstancesCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: ListInstancesRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ListInstancesResponse.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: ListInstancesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1ListInstancesCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListInstancesCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1ListInstancesCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { ServiceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceDiscoveryClient";
|
|
2
|
-
import { ListNamespacesRequest, ListNamespacesResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListNamespacesCommand,
|
|
5
|
-
serializeAws_json1_1ListNamespacesCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
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 ListNamespacesCommandInput extends ListNamespacesRequest {}
|
|
21
|
-
export interface ListNamespacesCommandOutput extends ListNamespacesResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Lists summary information about the namespaces that were created by the current account.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { ServiceDiscoveryClient, ListNamespacesCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
29
|
-
* // const { ServiceDiscoveryClient, ListNamespacesCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
30
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
31
|
-
* const command = new ListNamespacesCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ListNamespacesCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ListNamespacesCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ListNamespacesCommand extends $Command<
|
|
41
|
-
ListNamespacesCommandInput,
|
|
42
|
-
ListNamespacesCommandOutput,
|
|
43
|
-
ServiceDiscoveryClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ListNamespacesCommandInput) {
|
|
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: ServiceDiscoveryClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<ListNamespacesCommandInput, ListNamespacesCommandOutput> {
|
|
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 = "ServiceDiscoveryClient";
|
|
68
|
-
const commandName = "ListNamespacesCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: ListNamespacesRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ListNamespacesResponse.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: ListNamespacesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1ListNamespacesCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListNamespacesCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1ListNamespacesCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { ServiceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceDiscoveryClient";
|
|
2
|
-
import { ListOperationsRequest, ListOperationsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListOperationsCommand,
|
|
5
|
-
serializeAws_json1_1ListOperationsCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
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 ListOperationsCommandInput extends ListOperationsRequest {}
|
|
21
|
-
export interface ListOperationsCommandOutput extends ListOperationsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Lists operations that match the criteria that you specify.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { ServiceDiscoveryClient, ListOperationsCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
29
|
-
* // const { ServiceDiscoveryClient, ListOperationsCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
30
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
31
|
-
* const command = new ListOperationsCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ListOperationsCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ListOperationsCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ListOperationsCommand extends $Command<
|
|
41
|
-
ListOperationsCommandInput,
|
|
42
|
-
ListOperationsCommandOutput,
|
|
43
|
-
ServiceDiscoveryClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ListOperationsCommandInput) {
|
|
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: ServiceDiscoveryClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<ListOperationsCommandInput, ListOperationsCommandOutput> {
|
|
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 = "ServiceDiscoveryClient";
|
|
68
|
-
const commandName = "ListOperationsCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: ListOperationsRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ListOperationsResponse.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: ListOperationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1ListOperationsCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListOperationsCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1ListOperationsCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|