@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
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
23
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
24
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
|
|
36
|
+
* **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
# [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Features
|
|
46
|
+
|
|
47
|
+
* **clients:** remove comments from transpiled JS files ([#2817](https://github.com/aws/aws-sdk-js-v3/issues/2817)) ([d01420b](https://github.com/aws/aws-sdk-js-v3/commit/d01420b247966c8ec84c1dd0a1b42512ede10c90))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.33.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.32.0...v3.33.0) (2021-09-21)
|
|
7
54
|
|
|
8
55
|
**Note:** Version bump only for package @aws-sdk/client-servicediscovery
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ServiceDiscovery = void 0;
|
|
4
|
-
const ServiceDiscoveryClient_1 = require("./ServiceDiscoveryClient");
|
|
5
4
|
const CreateHttpNamespaceCommand_1 = require("./commands/CreateHttpNamespaceCommand");
|
|
6
5
|
const CreatePrivateDnsNamespaceCommand_1 = require("./commands/CreatePrivateDnsNamespaceCommand");
|
|
7
6
|
const CreatePublicDnsNamespaceCommand_1 = require("./commands/CreatePublicDnsNamespaceCommand");
|
|
@@ -28,14 +27,7 @@ const UpdateInstanceCustomHealthStatusCommand_1 = require("./commands/UpdateInst
|
|
|
28
27
|
const UpdatePrivateDnsNamespaceCommand_1 = require("./commands/UpdatePrivateDnsNamespaceCommand");
|
|
29
28
|
const UpdatePublicDnsNamespaceCommand_1 = require("./commands/UpdatePublicDnsNamespaceCommand");
|
|
30
29
|
const UpdateServiceCommand_1 = require("./commands/UpdateServiceCommand");
|
|
31
|
-
|
|
32
|
-
* <fullname>Cloud Map</fullname>
|
|
33
|
-
* <p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your microservice
|
|
34
|
-
* applications run in. When an instance becomes available, you can call the Cloud Map API to register the instance
|
|
35
|
-
* with Cloud Map. For public or private DNS namespaces, Cloud Map automatically creates DNS records and an optional
|
|
36
|
-
* health check. Clients that submit public or private DNS queries, or HTTP requests, for the service receive an answer
|
|
37
|
-
* that contains up to eight healthy records. </p>
|
|
38
|
-
*/
|
|
30
|
+
const ServiceDiscoveryClient_1 = require("./ServiceDiscoveryClient");
|
|
39
31
|
class ServiceDiscovery extends ServiceDiscoveryClient_1.ServiceDiscoveryClient {
|
|
40
32
|
createHttpNamespace(args, optionsOrCb, cb) {
|
|
41
33
|
const command = new CreateHttpNamespaceCommand_1.CreateHttpNamespaceCommand(args);
|
|
@@ -403,4 +395,3 @@ class ServiceDiscovery extends ServiceDiscoveryClient_1.ServiceDiscoveryClient {
|
|
|
403
395
|
}
|
|
404
396
|
}
|
|
405
397
|
exports.ServiceDiscovery = ServiceDiscovery;
|
|
406
|
-
//# sourceMappingURL=ServiceDiscovery.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ServiceDiscoveryClient = void 0;
|
|
4
|
-
const runtimeConfig_1 = require("./runtimeConfig");
|
|
5
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
6
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
7
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
@@ -10,23 +9,16 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
|
10
9
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
11
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
12
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
13
|
-
|
|
14
|
-
* <fullname>Cloud Map</fullname>
|
|
15
|
-
* <p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your microservice
|
|
16
|
-
* applications run in. When an instance becomes available, you can call the Cloud Map API to register the instance
|
|
17
|
-
* with Cloud Map. For public or private DNS namespaces, Cloud Map automatically creates DNS records and an optional
|
|
18
|
-
* health check. Clients that submit public or private DNS queries, or HTTP requests, for the service receive an answer
|
|
19
|
-
* that contains up to eight healthy records. </p>
|
|
20
|
-
*/
|
|
12
|
+
const runtimeConfig_1 = require("./runtimeConfig");
|
|
21
13
|
class ServiceDiscoveryClient extends smithy_client_1.Client {
|
|
22
14
|
constructor(configuration) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
15
|
+
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
16
|
+
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
17
|
+
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
18
|
+
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
19
|
+
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
20
|
+
const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
21
|
+
const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
30
22
|
super(_config_6);
|
|
31
23
|
this.config = _config_6;
|
|
32
24
|
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
@@ -36,14 +28,8 @@ class ServiceDiscoveryClient extends smithy_client_1.Client {
|
|
|
36
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
37
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
38
30
|
}
|
|
39
|
-
/**
|
|
40
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
41
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
42
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
43
|
-
*/
|
|
44
31
|
destroy() {
|
|
45
32
|
super.destroy();
|
|
46
33
|
}
|
|
47
34
|
}
|
|
48
35
|
exports.ServiceDiscoveryClient = ServiceDiscoveryClient;
|
|
49
|
-
//# sourceMappingURL=ServiceDiscoveryClient.js.map
|
|
@@ -1,43 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateHttpNamespaceCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* <code>DiscoverInstances</code> request but can't be discovered using DNS.</p>
|
|
11
|
-
* <p>For the current quota on the number of namespaces that you can create using the same account,
|
|
12
|
-
* see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map quotas</a> in the
|
|
13
|
-
* <i>Cloud Map Developer Guide</i>.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { ServiceDiscoveryClient, CreateHttpNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
18
|
-
* // const { ServiceDiscoveryClient, CreateHttpNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
19
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
20
|
-
* const command = new CreateHttpNamespaceCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link CreateHttpNamespaceCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link CreateHttpNamespaceCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
29
8
|
class CreateHttpNamespaceCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +34,3 @@ class CreateHttpNamespaceCommand extends smithy_client_1.Command {
|
|
|
62
34
|
}
|
|
63
35
|
}
|
|
64
36
|
exports.CreateHttpNamespaceCommand = CreateHttpNamespaceCommand;
|
|
65
|
-
//# sourceMappingURL=CreateHttpNamespaceCommand.js.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreatePrivateDnsNamespaceCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class CreatePrivateDnsNamespaceCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ServiceDiscoveryClient";
|
|
18
|
+
const commandName = "CreatePrivateDnsNamespaceCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreatePrivateDnsNamespaceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreatePrivateDnsNamespaceResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1CreatePrivateDnsNamespaceCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1CreatePrivateDnsNamespaceCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreatePrivateDnsNamespaceCommand = CreatePrivateDnsNamespaceCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreatePublicDnsNamespaceCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class CreatePublicDnsNamespaceCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ServiceDiscoveryClient";
|
|
18
|
+
const commandName = "CreatePublicDnsNamespaceCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreatePublicDnsNamespaceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreatePublicDnsNamespaceResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1CreatePublicDnsNamespaceCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1CreatePublicDnsNamespaceCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreatePublicDnsNamespaceCommand = CreatePublicDnsNamespaceCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateServiceCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class CreateServiceCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ServiceDiscoveryClient";
|
|
18
|
+
const commandName = "CreateServiceCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateServiceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateServiceResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1CreateServiceCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1CreateServiceCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateServiceCommand = CreateServiceCommand;
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteNamespaceCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* fails.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { ServiceDiscoveryClient, DeleteNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
15
|
-
* // const { ServiceDiscoveryClient, DeleteNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
16
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
17
|
-
* const command = new DeleteNamespaceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DeleteNamespaceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DeleteNamespaceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
26
8
|
class DeleteNamespaceCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class DeleteNamespaceCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.DeleteNamespaceCommand = DeleteNamespaceCommand;
|
|
62
|
-
//# sourceMappingURL=DeleteNamespaceCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteServiceCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* fails.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { ServiceDiscoveryClient, DeleteServiceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
15
|
-
* // const { ServiceDiscoveryClient, DeleteServiceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
16
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
17
|
-
* const command = new DeleteServiceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DeleteServiceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DeleteServiceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
26
8
|
class DeleteServiceCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class DeleteServiceCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.DeleteServiceCommand = DeleteServiceCommand;
|
|
62
|
-
//# sourceMappingURL=DeleteServiceCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeregisterInstanceCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* instance.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { ServiceDiscoveryClient, DeregisterInstanceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
15
|
-
* // const { ServiceDiscoveryClient, DeregisterInstanceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
16
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
17
|
-
* const command = new DeregisterInstanceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DeregisterInstanceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DeregisterInstanceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
26
8
|
class DeregisterInstanceCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class DeregisterInstanceCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.DeregisterInstanceCommand = DeregisterInstanceCommand;
|
|
62
|
-
//# sourceMappingURL=DeregisterInstanceCommand.js.map
|
|
@@ -1,41 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DiscoverInstancesCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* to discover instances for any type of namespace. For public and private DNS namespaces, you can also use DNS queries
|
|
11
|
-
* to discover instances.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { ServiceDiscoveryClient, DiscoverInstancesCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
16
|
-
* // const { ServiceDiscoveryClient, DiscoverInstancesCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
17
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
18
|
-
* const command = new DiscoverInstancesCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DiscoverInstancesCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DiscoverInstancesCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
27
8
|
class DiscoverInstancesCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -60,4 +34,3 @@ class DiscoverInstancesCommand extends smithy_client_1.Command {
|
|
|
60
34
|
}
|
|
61
35
|
}
|
|
62
36
|
exports.DiscoverInstancesCommand = DiscoverInstancesCommand;
|
|
63
|
-
//# sourceMappingURL=DiscoverInstancesCommand.js.map
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetInstanceCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ServiceDiscoveryClient, GetInstanceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
14
|
-
* // const { ServiceDiscoveryClient, GetInstanceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
15
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
16
|
-
* const command = new GetInstanceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetInstanceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetInstanceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
25
8
|
class GetInstanceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class GetInstanceCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.GetInstanceCommand = GetInstanceCommand;
|
|
61
|
-
//# sourceMappingURL=GetInstanceCommand.js.map
|
|
@@ -1,44 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetInstancesHealthStatusCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* more instances that are associated with a specified service.</p>
|
|
11
|
-
* <note>
|
|
12
|
-
* <p>There's a brief delay between when you register an instance and when the health status for the instance is
|
|
13
|
-
* available. </p>
|
|
14
|
-
* </note>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { ServiceDiscoveryClient, GetInstancesHealthStatusCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
19
|
-
* // const { ServiceDiscoveryClient, GetInstancesHealthStatusCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
20
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
21
|
-
* const command = new GetInstancesHealthStatusCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link GetInstancesHealthStatusCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link GetInstancesHealthStatusCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
30
8
|
class GetInstancesHealthStatusCommand extends smithy_client_1.Command {
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
9
|
constructor(input) {
|
|
34
|
-
// Start section: command_constructor
|
|
35
10
|
super();
|
|
36
11
|
this.input = input;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -63,4 +34,3 @@ class GetInstancesHealthStatusCommand extends smithy_client_1.Command {
|
|
|
63
34
|
}
|
|
64
35
|
}
|
|
65
36
|
exports.GetInstancesHealthStatusCommand = GetInstancesHealthStatusCommand;
|
|
66
|
-
//# sourceMappingURL=GetInstancesHealthStatusCommand.js.map
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetNamespaceCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ServiceDiscoveryClient, GetNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
14
|
-
* // const { ServiceDiscoveryClient, GetNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
15
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
16
|
-
* const command = new GetNamespaceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetNamespaceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetNamespaceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
25
8
|
class GetNamespaceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class GetNamespaceCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.GetNamespaceCommand = GetNamespaceCommand;
|
|
61
|
-
//# sourceMappingURL=GetNamespaceCommand.js.map
|