@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,345 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CreateHttpNamespaceCommandInput,
|
|
3
|
-
CreateHttpNamespaceCommandOutput,
|
|
4
|
-
} from "./commands/CreateHttpNamespaceCommand";
|
|
5
|
-
import {
|
|
6
|
-
CreatePrivateDnsNamespaceCommandInput,
|
|
7
|
-
CreatePrivateDnsNamespaceCommandOutput,
|
|
8
|
-
} from "./commands/CreatePrivateDnsNamespaceCommand";
|
|
9
|
-
import {
|
|
10
|
-
CreatePublicDnsNamespaceCommandInput,
|
|
11
|
-
CreatePublicDnsNamespaceCommandOutput,
|
|
12
|
-
} from "./commands/CreatePublicDnsNamespaceCommand";
|
|
13
|
-
import { CreateServiceCommandInput, CreateServiceCommandOutput } from "./commands/CreateServiceCommand";
|
|
14
|
-
import { DeleteNamespaceCommandInput, DeleteNamespaceCommandOutput } from "./commands/DeleteNamespaceCommand";
|
|
15
|
-
import { DeleteServiceCommandInput, DeleteServiceCommandOutput } from "./commands/DeleteServiceCommand";
|
|
16
|
-
import { DeregisterInstanceCommandInput, DeregisterInstanceCommandOutput } from "./commands/DeregisterInstanceCommand";
|
|
17
|
-
import { DiscoverInstancesCommandInput, DiscoverInstancesCommandOutput } from "./commands/DiscoverInstancesCommand";
|
|
18
|
-
import { GetInstanceCommandInput, GetInstanceCommandOutput } from "./commands/GetInstanceCommand";
|
|
19
|
-
import {
|
|
20
|
-
GetInstancesHealthStatusCommandInput,
|
|
21
|
-
GetInstancesHealthStatusCommandOutput,
|
|
22
|
-
} from "./commands/GetInstancesHealthStatusCommand";
|
|
23
|
-
import { GetNamespaceCommandInput, GetNamespaceCommandOutput } from "./commands/GetNamespaceCommand";
|
|
24
|
-
import { GetOperationCommandInput, GetOperationCommandOutput } from "./commands/GetOperationCommand";
|
|
25
|
-
import { GetServiceCommandInput, GetServiceCommandOutput } from "./commands/GetServiceCommand";
|
|
26
|
-
import { ListInstancesCommandInput, ListInstancesCommandOutput } from "./commands/ListInstancesCommand";
|
|
27
|
-
import { ListNamespacesCommandInput, ListNamespacesCommandOutput } from "./commands/ListNamespacesCommand";
|
|
28
|
-
import { ListOperationsCommandInput, ListOperationsCommandOutput } from "./commands/ListOperationsCommand";
|
|
29
|
-
import { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
|
|
30
|
-
import {
|
|
31
|
-
ListTagsForResourceCommandInput,
|
|
32
|
-
ListTagsForResourceCommandOutput,
|
|
33
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
34
|
-
import { RegisterInstanceCommandInput, RegisterInstanceCommandOutput } from "./commands/RegisterInstanceCommand";
|
|
35
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
36
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
37
|
-
import {
|
|
38
|
-
UpdateHttpNamespaceCommandInput,
|
|
39
|
-
UpdateHttpNamespaceCommandOutput,
|
|
40
|
-
} from "./commands/UpdateHttpNamespaceCommand";
|
|
41
|
-
import {
|
|
42
|
-
UpdateInstanceCustomHealthStatusCommandInput,
|
|
43
|
-
UpdateInstanceCustomHealthStatusCommandOutput,
|
|
44
|
-
} from "./commands/UpdateInstanceCustomHealthStatusCommand";
|
|
45
|
-
import {
|
|
46
|
-
UpdatePrivateDnsNamespaceCommandInput,
|
|
47
|
-
UpdatePrivateDnsNamespaceCommandOutput,
|
|
48
|
-
} from "./commands/UpdatePrivateDnsNamespaceCommand";
|
|
49
|
-
import {
|
|
50
|
-
UpdatePublicDnsNamespaceCommandInput,
|
|
51
|
-
UpdatePublicDnsNamespaceCommandOutput,
|
|
52
|
-
} from "./commands/UpdatePublicDnsNamespaceCommand";
|
|
53
|
-
import { UpdateServiceCommandInput, UpdateServiceCommandOutput } from "./commands/UpdateServiceCommand";
|
|
54
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
55
|
-
import {
|
|
56
|
-
EndpointsInputConfig,
|
|
57
|
-
EndpointsResolvedConfig,
|
|
58
|
-
RegionInputConfig,
|
|
59
|
-
RegionResolvedConfig,
|
|
60
|
-
resolveEndpointsConfig,
|
|
61
|
-
resolveRegionConfig,
|
|
62
|
-
} from "@aws-sdk/config-resolver";
|
|
63
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
64
|
-
import {
|
|
65
|
-
HostHeaderInputConfig,
|
|
66
|
-
HostHeaderResolvedConfig,
|
|
67
|
-
getHostHeaderPlugin,
|
|
68
|
-
resolveHostHeaderConfig,
|
|
69
|
-
} from "@aws-sdk/middleware-host-header";
|
|
70
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
71
|
-
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
72
|
-
import {
|
|
73
|
-
AwsAuthInputConfig,
|
|
74
|
-
AwsAuthResolvedConfig,
|
|
75
|
-
getAwsAuthPlugin,
|
|
76
|
-
resolveAwsAuthConfig,
|
|
77
|
-
} from "@aws-sdk/middleware-signing";
|
|
78
|
-
import {
|
|
79
|
-
UserAgentInputConfig,
|
|
80
|
-
UserAgentResolvedConfig,
|
|
81
|
-
getUserAgentPlugin,
|
|
82
|
-
resolveUserAgentConfig,
|
|
83
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
84
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
85
|
-
import {
|
|
86
|
-
Client as __Client,
|
|
87
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
88
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
89
|
-
} from "@aws-sdk/smithy-client";
|
|
90
|
-
import {
|
|
91
|
-
Provider,
|
|
92
|
-
RegionInfoProvider,
|
|
93
|
-
Credentials as __Credentials,
|
|
94
|
-
Decoder as __Decoder,
|
|
95
|
-
Encoder as __Encoder,
|
|
96
|
-
Hash as __Hash,
|
|
97
|
-
HashConstructor as __HashConstructor,
|
|
98
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
99
|
-
Logger as __Logger,
|
|
100
|
-
Provider as __Provider,
|
|
101
|
-
StreamCollector as __StreamCollector,
|
|
102
|
-
UrlParser as __UrlParser,
|
|
103
|
-
UserAgent as __UserAgent,
|
|
104
|
-
} from "@aws-sdk/types";
|
|
105
|
-
|
|
106
|
-
export type ServiceInputTypes =
|
|
107
|
-
| CreateHttpNamespaceCommandInput
|
|
108
|
-
| CreatePrivateDnsNamespaceCommandInput
|
|
109
|
-
| CreatePublicDnsNamespaceCommandInput
|
|
110
|
-
| CreateServiceCommandInput
|
|
111
|
-
| DeleteNamespaceCommandInput
|
|
112
|
-
| DeleteServiceCommandInput
|
|
113
|
-
| DeregisterInstanceCommandInput
|
|
114
|
-
| DiscoverInstancesCommandInput
|
|
115
|
-
| GetInstanceCommandInput
|
|
116
|
-
| GetInstancesHealthStatusCommandInput
|
|
117
|
-
| GetNamespaceCommandInput
|
|
118
|
-
| GetOperationCommandInput
|
|
119
|
-
| GetServiceCommandInput
|
|
120
|
-
| ListInstancesCommandInput
|
|
121
|
-
| ListNamespacesCommandInput
|
|
122
|
-
| ListOperationsCommandInput
|
|
123
|
-
| ListServicesCommandInput
|
|
124
|
-
| ListTagsForResourceCommandInput
|
|
125
|
-
| RegisterInstanceCommandInput
|
|
126
|
-
| TagResourceCommandInput
|
|
127
|
-
| UntagResourceCommandInput
|
|
128
|
-
| UpdateHttpNamespaceCommandInput
|
|
129
|
-
| UpdateInstanceCustomHealthStatusCommandInput
|
|
130
|
-
| UpdatePrivateDnsNamespaceCommandInput
|
|
131
|
-
| UpdatePublicDnsNamespaceCommandInput
|
|
132
|
-
| UpdateServiceCommandInput;
|
|
133
|
-
|
|
134
|
-
export type ServiceOutputTypes =
|
|
135
|
-
| CreateHttpNamespaceCommandOutput
|
|
136
|
-
| CreatePrivateDnsNamespaceCommandOutput
|
|
137
|
-
| CreatePublicDnsNamespaceCommandOutput
|
|
138
|
-
| CreateServiceCommandOutput
|
|
139
|
-
| DeleteNamespaceCommandOutput
|
|
140
|
-
| DeleteServiceCommandOutput
|
|
141
|
-
| DeregisterInstanceCommandOutput
|
|
142
|
-
| DiscoverInstancesCommandOutput
|
|
143
|
-
| GetInstanceCommandOutput
|
|
144
|
-
| GetInstancesHealthStatusCommandOutput
|
|
145
|
-
| GetNamespaceCommandOutput
|
|
146
|
-
| GetOperationCommandOutput
|
|
147
|
-
| GetServiceCommandOutput
|
|
148
|
-
| ListInstancesCommandOutput
|
|
149
|
-
| ListNamespacesCommandOutput
|
|
150
|
-
| ListOperationsCommandOutput
|
|
151
|
-
| ListServicesCommandOutput
|
|
152
|
-
| ListTagsForResourceCommandOutput
|
|
153
|
-
| RegisterInstanceCommandOutput
|
|
154
|
-
| TagResourceCommandOutput
|
|
155
|
-
| UntagResourceCommandOutput
|
|
156
|
-
| UpdateHttpNamespaceCommandOutput
|
|
157
|
-
| UpdateInstanceCustomHealthStatusCommandOutput
|
|
158
|
-
| UpdatePrivateDnsNamespaceCommandOutput
|
|
159
|
-
| UpdatePublicDnsNamespaceCommandOutput
|
|
160
|
-
| UpdateServiceCommandOutput;
|
|
161
|
-
|
|
162
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
163
|
-
/**
|
|
164
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
165
|
-
*/
|
|
166
|
-
requestHandler?: __HttpHandler;
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
170
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
171
|
-
* @internal
|
|
172
|
-
*/
|
|
173
|
-
sha256?: __HashConstructor;
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
177
|
-
* @internal
|
|
178
|
-
*/
|
|
179
|
-
urlParser?: __UrlParser;
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* A function that can calculate the length of a request body.
|
|
183
|
-
* @internal
|
|
184
|
-
*/
|
|
185
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* A function that converts a stream into an array of bytes.
|
|
189
|
-
* @internal
|
|
190
|
-
*/
|
|
191
|
-
streamCollector?: __StreamCollector;
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
195
|
-
* @internal
|
|
196
|
-
*/
|
|
197
|
-
base64Decoder?: __Decoder;
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
201
|
-
* @internal
|
|
202
|
-
*/
|
|
203
|
-
base64Encoder?: __Encoder;
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
207
|
-
* @internal
|
|
208
|
-
*/
|
|
209
|
-
utf8Decoder?: __Decoder;
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
213
|
-
* @internal
|
|
214
|
-
*/
|
|
215
|
-
utf8Encoder?: __Encoder;
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* The runtime environment.
|
|
219
|
-
* @internal
|
|
220
|
-
*/
|
|
221
|
-
runtime?: string;
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
225
|
-
* trait of an operation.
|
|
226
|
-
*/
|
|
227
|
-
disableHostPrefix?: boolean;
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
231
|
-
*/
|
|
232
|
-
maxAttempts?: number | __Provider<number>;
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* Specifies which retry algorithm to use.
|
|
236
|
-
*/
|
|
237
|
-
retryMode?: string | __Provider<string>;
|
|
238
|
-
|
|
239
|
-
/**
|
|
240
|
-
* Optional logger for logging debug/info/warn/error.
|
|
241
|
-
*/
|
|
242
|
-
logger?: __Logger;
|
|
243
|
-
|
|
244
|
-
/**
|
|
245
|
-
* Unique service identifier.
|
|
246
|
-
* @internal
|
|
247
|
-
*/
|
|
248
|
-
serviceId?: string;
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* The AWS region to which this client will send requests
|
|
252
|
-
*/
|
|
253
|
-
region?: string | __Provider<string>;
|
|
254
|
-
|
|
255
|
-
/**
|
|
256
|
-
* Default credentials provider; Not available in browser runtime.
|
|
257
|
-
* @internal
|
|
258
|
-
*/
|
|
259
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
263
|
-
* @internal
|
|
264
|
-
*/
|
|
265
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
269
|
-
* @internal
|
|
270
|
-
*/
|
|
271
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
type ServiceDiscoveryClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
275
|
-
ClientDefaults &
|
|
276
|
-
RegionInputConfig &
|
|
277
|
-
EndpointsInputConfig &
|
|
278
|
-
RetryInputConfig &
|
|
279
|
-
HostHeaderInputConfig &
|
|
280
|
-
AwsAuthInputConfig &
|
|
281
|
-
UserAgentInputConfig;
|
|
282
|
-
/**
|
|
283
|
-
* The configuration interface of ServiceDiscoveryClient class constructor that set the region, credentials and other options.
|
|
284
|
-
*/
|
|
285
|
-
export interface ServiceDiscoveryClientConfig extends ServiceDiscoveryClientConfigType {}
|
|
286
|
-
|
|
287
|
-
type ServiceDiscoveryClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
288
|
-
Required<ClientDefaults> &
|
|
289
|
-
RegionResolvedConfig &
|
|
290
|
-
EndpointsResolvedConfig &
|
|
291
|
-
RetryResolvedConfig &
|
|
292
|
-
HostHeaderResolvedConfig &
|
|
293
|
-
AwsAuthResolvedConfig &
|
|
294
|
-
UserAgentResolvedConfig;
|
|
295
|
-
/**
|
|
296
|
-
* The resolved configuration interface of ServiceDiscoveryClient class. This is resolved and normalized from the {@link ServiceDiscoveryClientConfig | constructor configuration interface}.
|
|
297
|
-
*/
|
|
298
|
-
export interface ServiceDiscoveryClientResolvedConfig extends ServiceDiscoveryClientResolvedConfigType {}
|
|
299
|
-
|
|
300
|
-
/**
|
|
301
|
-
* <fullname>Cloud Map</fullname>
|
|
302
|
-
* <p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your microservice
|
|
303
|
-
* applications run in. When an instance becomes available, you can call the Cloud Map API to register the instance
|
|
304
|
-
* with Cloud Map. For public or private DNS namespaces, Cloud Map automatically creates DNS records and an optional
|
|
305
|
-
* health check. Clients that submit public or private DNS queries, or HTTP requests, for the service receive an answer
|
|
306
|
-
* that contains up to eight healthy records. </p>
|
|
307
|
-
*/
|
|
308
|
-
export class ServiceDiscoveryClient extends __Client<
|
|
309
|
-
__HttpHandlerOptions,
|
|
310
|
-
ServiceInputTypes,
|
|
311
|
-
ServiceOutputTypes,
|
|
312
|
-
ServiceDiscoveryClientResolvedConfig
|
|
313
|
-
> {
|
|
314
|
-
/**
|
|
315
|
-
* The resolved configuration of ServiceDiscoveryClient class. This is resolved and normalized from the {@link ServiceDiscoveryClientConfig | constructor configuration interface}.
|
|
316
|
-
*/
|
|
317
|
-
readonly config: ServiceDiscoveryClientResolvedConfig;
|
|
318
|
-
|
|
319
|
-
constructor(configuration: ServiceDiscoveryClientConfig) {
|
|
320
|
-
let _config_0 = __getRuntimeConfig(configuration);
|
|
321
|
-
let _config_1 = resolveRegionConfig(_config_0);
|
|
322
|
-
let _config_2 = resolveEndpointsConfig(_config_1);
|
|
323
|
-
let _config_3 = resolveRetryConfig(_config_2);
|
|
324
|
-
let _config_4 = resolveHostHeaderConfig(_config_3);
|
|
325
|
-
let _config_5 = resolveAwsAuthConfig(_config_4);
|
|
326
|
-
let _config_6 = resolveUserAgentConfig(_config_5);
|
|
327
|
-
super(_config_6);
|
|
328
|
-
this.config = _config_6;
|
|
329
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
330
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
331
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
332
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
333
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
334
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
339
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
340
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
341
|
-
*/
|
|
342
|
-
destroy(): void {
|
|
343
|
-
super.destroy();
|
|
344
|
-
}
|
|
345
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { ServiceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceDiscoveryClient";
|
|
2
|
-
import { CreateHttpNamespaceRequest, CreateHttpNamespaceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreateHttpNamespaceCommand,
|
|
5
|
-
serializeAws_json1_1CreateHttpNamespaceCommand,
|
|
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 CreateHttpNamespaceCommandInput extends CreateHttpNamespaceRequest {}
|
|
21
|
-
export interface CreateHttpNamespaceCommandOutput extends CreateHttpNamespaceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates an HTTP namespace. Service instances registered using an HTTP namespace can be discovered using a
|
|
25
|
-
* <code>DiscoverInstances</code> request but can't be discovered using DNS.</p>
|
|
26
|
-
* <p>For the current quota on the number of namespaces that you can create using the same account,
|
|
27
|
-
* see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map quotas</a> in the
|
|
28
|
-
* <i>Cloud Map Developer Guide</i>.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { ServiceDiscoveryClient, CreateHttpNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
33
|
-
* // const { ServiceDiscoveryClient, CreateHttpNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
34
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
35
|
-
* const command = new CreateHttpNamespaceCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link CreateHttpNamespaceCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link CreateHttpNamespaceCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class CreateHttpNamespaceCommand extends $Command<
|
|
45
|
-
CreateHttpNamespaceCommandInput,
|
|
46
|
-
CreateHttpNamespaceCommandOutput,
|
|
47
|
-
ServiceDiscoveryClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: CreateHttpNamespaceCommandInput) {
|
|
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<CreateHttpNamespaceCommandInput, CreateHttpNamespaceCommandOutput> {
|
|
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 = "CreateHttpNamespaceCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: CreateHttpNamespaceRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: CreateHttpNamespaceResponse.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: CreateHttpNamespaceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_json1_1CreateHttpNamespaceCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateHttpNamespaceCommandOutput> {
|
|
93
|
-
return deserializeAws_json1_1CreateHttpNamespaceCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { ServiceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceDiscoveryClient";
|
|
2
|
-
import { CreatePrivateDnsNamespaceRequest, CreatePrivateDnsNamespaceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreatePrivateDnsNamespaceCommand,
|
|
5
|
-
serializeAws_json1_1CreatePrivateDnsNamespaceCommand,
|
|
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 CreatePrivateDnsNamespaceCommandInput extends CreatePrivateDnsNamespaceRequest {}
|
|
21
|
-
export interface CreatePrivateDnsNamespaceCommandOutput extends CreatePrivateDnsNamespaceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates a private namespace based on DNS, which is visible only inside a specified Amazon VPC. The namespace
|
|
25
|
-
* defines your service naming scheme. For example, if you name your namespace <code>example.com</code> and name your
|
|
26
|
-
* service <code>backend</code>, the resulting DNS name for the service is <code>backend.example.com</code>. Service
|
|
27
|
-
* instances that are registered using a private DNS namespace can be discovered using either a
|
|
28
|
-
* <code>DiscoverInstances</code> request or using DNS. For the current quota on the number of namespaces that you can
|
|
29
|
-
* create using the same account, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map quotas</a> in the
|
|
30
|
-
* <i>Cloud Map Developer Guide</i>.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { ServiceDiscoveryClient, CreatePrivateDnsNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
35
|
-
* // const { ServiceDiscoveryClient, CreatePrivateDnsNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
36
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
37
|
-
* const command = new CreatePrivateDnsNamespaceCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link CreatePrivateDnsNamespaceCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link CreatePrivateDnsNamespaceCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class CreatePrivateDnsNamespaceCommand extends $Command<
|
|
47
|
-
CreatePrivateDnsNamespaceCommandInput,
|
|
48
|
-
CreatePrivateDnsNamespaceCommandOutput,
|
|
49
|
-
ServiceDiscoveryClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: CreatePrivateDnsNamespaceCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: ServiceDiscoveryClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<CreatePrivateDnsNamespaceCommandInput, CreatePrivateDnsNamespaceCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "ServiceDiscoveryClient";
|
|
74
|
-
const commandName = "CreatePrivateDnsNamespaceCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: CreatePrivateDnsNamespaceRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: CreatePrivateDnsNamespaceResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: CreatePrivateDnsNamespaceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_json1_1CreatePrivateDnsNamespaceCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(
|
|
95
|
-
output: __HttpResponse,
|
|
96
|
-
context: __SerdeContext
|
|
97
|
-
): Promise<CreatePrivateDnsNamespaceCommandOutput> {
|
|
98
|
-
return deserializeAws_json1_1CreatePrivateDnsNamespaceCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { ServiceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceDiscoveryClient";
|
|
2
|
-
import { CreatePublicDnsNamespaceRequest, CreatePublicDnsNamespaceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreatePublicDnsNamespaceCommand,
|
|
5
|
-
serializeAws_json1_1CreatePublicDnsNamespaceCommand,
|
|
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 CreatePublicDnsNamespaceCommandInput extends CreatePublicDnsNamespaceRequest {}
|
|
21
|
-
export interface CreatePublicDnsNamespaceCommandOutput extends CreatePublicDnsNamespaceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates a public namespace based on DNS, which is visible on the internet. The namespace defines your service
|
|
25
|
-
* naming scheme. For example, if you name your namespace <code>example.com</code> and name your service
|
|
26
|
-
* <code>backend</code>, the resulting DNS name for the service is <code>backend.example.com</code>. You can discover
|
|
27
|
-
* instances that were registered with a public DNS namespace by using either a <code>DiscoverInstances</code> request
|
|
28
|
-
* or using DNS. For the current quota on the number of namespaces that you can create using the same account, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map
|
|
29
|
-
* quotas</a> in the <i>Cloud Map Developer Guide</i>.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { ServiceDiscoveryClient, CreatePublicDnsNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
34
|
-
* // const { ServiceDiscoveryClient, CreatePublicDnsNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
35
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
36
|
-
* const command = new CreatePublicDnsNamespaceCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link CreatePublicDnsNamespaceCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link CreatePublicDnsNamespaceCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class CreatePublicDnsNamespaceCommand extends $Command<
|
|
46
|
-
CreatePublicDnsNamespaceCommandInput,
|
|
47
|
-
CreatePublicDnsNamespaceCommandOutput,
|
|
48
|
-
ServiceDiscoveryClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: CreatePublicDnsNamespaceCommandInput) {
|
|
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<CreatePublicDnsNamespaceCommandInput, CreatePublicDnsNamespaceCommandOutput> {
|
|
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 = "CreatePublicDnsNamespaceCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: CreatePublicDnsNamespaceRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: CreatePublicDnsNamespaceResponse.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: CreatePublicDnsNamespaceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_1CreatePublicDnsNamespaceCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreatePublicDnsNamespaceCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_1CreatePublicDnsNamespaceCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|