@aws-sdk/client-route-53 3.35.0 → 3.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/dist-cjs/Route53.js +0 -4
- package/dist-cjs/Route53Client.js +0 -9
- package/dist-cjs/commands/ActivateKeySigningKeyCommand.js +0 -26
- package/dist-cjs/commands/AssociateVPCWithHostedZoneCommand.js +0 -35
- package/dist-cjs/commands/ChangeResourceRecordSetsCommand.js +0 -106
- package/dist-cjs/commands/ChangeTagsForResourceCommand.js +0 -28
- package/dist-cjs/commands/CreateHealthCheckCommand.js +0 -58
- package/dist-cjs/commands/CreateHostedZoneCommand.js +0 -57
- package/dist-cjs/commands/CreateKeySigningKeyCommand.js +0 -25
- package/dist-cjs/commands/CreateQueryLoggingConfigCommand.js +0 -141
- package/dist-cjs/commands/CreateReusableDelegationSetCommand.js +0 -75
- package/dist-cjs/commands/CreateTrafficPolicyCommand.js +0 -26
- package/dist-cjs/commands/CreateTrafficPolicyInstanceCommand.js +0 -28
- package/dist-cjs/commands/CreateTrafficPolicyVersionCommand.js +0 -29
- package/dist-cjs/commands/CreateVPCAssociationAuthorizationCommand.js +0 -33
- package/dist-cjs/commands/DeactivateKeySigningKeyCommand.js +0 -26
- package/dist-cjs/commands/DeleteHealthCheckCommand.js +0 -38
- package/dist-cjs/commands/DeleteHostedZoneCommand.js +0 -63
- package/dist-cjs/commands/DeleteKeySigningKeyCommand.js +0 -26
- package/dist-cjs/commands/DeleteQueryLoggingConfigCommand.js +0 -29
- package/dist-cjs/commands/DeleteReusableDelegationSetCommand.js +0 -31
- package/dist-cjs/commands/DeleteTrafficPolicyCommand.js +0 -39
- package/dist-cjs/commands/DeleteTrafficPolicyInstanceCommand.js +0 -28
- package/dist-cjs/commands/DeleteVPCAssociationAuthorizationCommand.js +0 -33
- package/dist-cjs/commands/DisableHostedZoneDNSSECCommand.js +0 -26
- package/dist-cjs/commands/DisassociateVPCFromHostedZoneCommand.js +0 -45
- package/dist-cjs/commands/EnableHostedZoneDNSSECCommand.js +0 -25
- package/dist-cjs/commands/GetAccountLimitCommand.js +0 -34
- package/dist-cjs/commands/GetChangeCommand.js +0 -37
- package/dist-cjs/commands/GetCheckerIpRangesCommand.js +0 -32
- package/dist-cjs/commands/GetDNSSECCommand.js +0 -25
- package/dist-cjs/commands/GetGeoLocationCommand.js +0 -45
- package/dist-cjs/commands/GetHealthCheckCommand.js +0 -25
- package/dist-cjs/commands/GetHealthCheckCountCommand.js +0 -25
- package/dist-cjs/commands/GetHealthCheckLastFailureReasonCommand.js +0 -25
- package/dist-cjs/commands/GetHealthCheckStatusCommand.js +0 -28
- package/dist-cjs/commands/GetHostedZoneCommand.js +0 -25
- package/dist-cjs/commands/GetHostedZoneCountCommand.js +0 -25
- package/dist-cjs/commands/GetHostedZoneLimitCommand.js +0 -29
- package/dist-cjs/commands/GetQueryLoggingConfigCommand.js +0 -30
- package/dist-cjs/commands/GetReusableDelegationSetCommand.js +0 -26
- package/dist-cjs/commands/GetReusableDelegationSetLimitCommand.js +0 -28
- package/dist-cjs/commands/GetTrafficPolicyCommand.js +0 -28
- package/dist-cjs/commands/GetTrafficPolicyInstanceCommand.js +0 -33
- package/dist-cjs/commands/GetTrafficPolicyInstanceCountCommand.js +0 -25
- package/dist-cjs/commands/ListGeoLocationsCommand.js +0 -30
- package/dist-cjs/commands/ListHealthChecksCommand.js +0 -25
- package/dist-cjs/commands/ListHostedZonesByNameCommand.js +0 -69
- package/dist-cjs/commands/ListHostedZonesByVPCCommand.js +0 -37
- package/dist-cjs/commands/ListHostedZonesCommand.js +0 -28
- package/dist-cjs/commands/ListQueryLoggingConfigsCommand.js +0 -32
- package/dist-cjs/commands/ListResourceRecordSetsCommand.js +0 -88
- package/dist-cjs/commands/ListReusableDelegationSetsCommand.js +0 -25
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -28
- package/dist-cjs/commands/ListTagsForResourcesCommand.js +0 -28
- package/dist-cjs/commands/ListTrafficPoliciesCommand.js +0 -31
- package/dist-cjs/commands/ListTrafficPolicyInstancesByHostedZoneCommand.js +0 -32
- package/dist-cjs/commands/ListTrafficPolicyInstancesByPolicyCommand.js +0 -32
- package/dist-cjs/commands/ListTrafficPolicyInstancesCommand.js +0 -31
- package/dist-cjs/commands/ListTrafficPolicyVersionsCommand.js +0 -26
- package/dist-cjs/commands/ListVPCAssociationAuthorizationsCommand.js +0 -28
- package/dist-cjs/commands/TestDNSAnswerCommand.js +0 -27
- package/dist-cjs/commands/UpdateHealthCheckCommand.js +0 -28
- package/dist-cjs/commands/UpdateHostedZoneCommentCommand.js +0 -25
- package/dist-cjs/commands/UpdateTrafficPolicyCommentCommand.js +0 -25
- package/dist-cjs/commands/UpdateTrafficPolicyInstanceCommand.js +0 -40
- package/dist-cjs/commands/index.js +67 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +5 -72
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -673
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListHealthChecksPaginator.js +0 -11
- package/dist-cjs/pagination/ListHostedZonesPaginator.js +0 -11
- package/dist-cjs/pagination/ListQueryLoggingConfigsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restXml.js +0 -3
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-cjs/waiters/index.js +4 -0
- package/dist-cjs/waiters/waitForResourceRecordSetsChanged.js +0 -10
- package/dist-es/Route53.js +0 -1
- package/dist-es/Route53Client.js +0 -1
- package/dist-es/commands/ActivateKeySigningKeyCommand.js +0 -1
- package/dist-es/commands/AssociateVPCWithHostedZoneCommand.js +0 -1
- package/dist-es/commands/ChangeResourceRecordSetsCommand.js +0 -1
- package/dist-es/commands/ChangeTagsForResourceCommand.js +0 -1
- package/dist-es/commands/CreateHealthCheckCommand.js +0 -1
- package/dist-es/commands/CreateHostedZoneCommand.js +0 -1
- package/dist-es/commands/CreateKeySigningKeyCommand.js +0 -1
- package/dist-es/commands/CreateQueryLoggingConfigCommand.js +0 -1
- package/dist-es/commands/CreateReusableDelegationSetCommand.js +0 -1
- package/dist-es/commands/CreateTrafficPolicyCommand.js +0 -1
- package/dist-es/commands/CreateTrafficPolicyInstanceCommand.js +0 -1
- package/dist-es/commands/CreateTrafficPolicyVersionCommand.js +0 -1
- package/dist-es/commands/CreateVPCAssociationAuthorizationCommand.js +0 -1
- package/dist-es/commands/DeactivateKeySigningKeyCommand.js +0 -1
- package/dist-es/commands/DeleteHealthCheckCommand.js +0 -1
- package/dist-es/commands/DeleteHostedZoneCommand.js +0 -1
- package/dist-es/commands/DeleteKeySigningKeyCommand.js +0 -1
- package/dist-es/commands/DeleteQueryLoggingConfigCommand.js +0 -1
- package/dist-es/commands/DeleteReusableDelegationSetCommand.js +0 -1
- package/dist-es/commands/DeleteTrafficPolicyCommand.js +0 -1
- package/dist-es/commands/DeleteTrafficPolicyInstanceCommand.js +0 -1
- package/dist-es/commands/DeleteVPCAssociationAuthorizationCommand.js +0 -1
- package/dist-es/commands/DisableHostedZoneDNSSECCommand.js +0 -1
- package/dist-es/commands/DisassociateVPCFromHostedZoneCommand.js +0 -1
- package/dist-es/commands/EnableHostedZoneDNSSECCommand.js +0 -1
- package/dist-es/commands/GetAccountLimitCommand.js +0 -1
- package/dist-es/commands/GetChangeCommand.js +0 -1
- package/dist-es/commands/GetCheckerIpRangesCommand.js +0 -1
- package/dist-es/commands/GetDNSSECCommand.js +0 -1
- package/dist-es/commands/GetGeoLocationCommand.js +0 -1
- package/dist-es/commands/GetHealthCheckCommand.js +0 -1
- package/dist-es/commands/GetHealthCheckCountCommand.js +0 -1
- package/dist-es/commands/GetHealthCheckLastFailureReasonCommand.js +0 -1
- package/dist-es/commands/GetHealthCheckStatusCommand.js +0 -1
- package/dist-es/commands/GetHostedZoneCommand.js +0 -1
- package/dist-es/commands/GetHostedZoneCountCommand.js +0 -1
- package/dist-es/commands/GetHostedZoneLimitCommand.js +0 -1
- package/dist-es/commands/GetQueryLoggingConfigCommand.js +0 -1
- package/dist-es/commands/GetReusableDelegationSetCommand.js +0 -1
- package/dist-es/commands/GetReusableDelegationSetLimitCommand.js +0 -1
- package/dist-es/commands/GetTrafficPolicyCommand.js +0 -1
- package/dist-es/commands/GetTrafficPolicyInstanceCommand.js +0 -1
- package/dist-es/commands/GetTrafficPolicyInstanceCountCommand.js +0 -1
- package/dist-es/commands/ListGeoLocationsCommand.js +0 -1
- package/dist-es/commands/ListHealthChecksCommand.js +0 -1
- package/dist-es/commands/ListHostedZonesByNameCommand.js +0 -1
- package/dist-es/commands/ListHostedZonesByVPCCommand.js +0 -1
- package/dist-es/commands/ListHostedZonesCommand.js +0 -1
- package/dist-es/commands/ListQueryLoggingConfigsCommand.js +0 -1
- package/dist-es/commands/ListResourceRecordSetsCommand.js +0 -1
- package/dist-es/commands/ListReusableDelegationSetsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourcesCommand.js +0 -1
- package/dist-es/commands/ListTrafficPoliciesCommand.js +0 -1
- package/dist-es/commands/ListTrafficPolicyInstancesByHostedZoneCommand.js +0 -1
- package/dist-es/commands/ListTrafficPolicyInstancesByPolicyCommand.js +0 -1
- package/dist-es/commands/ListTrafficPolicyInstancesCommand.js +0 -1
- package/dist-es/commands/ListTrafficPolicyVersionsCommand.js +0 -1
- package/dist-es/commands/ListVPCAssociationAuthorizationsCommand.js +0 -1
- package/dist-es/commands/TestDNSAnswerCommand.js +0 -1
- package/dist-es/commands/UpdateHealthCheckCommand.js +0 -1
- package/dist-es/commands/UpdateHostedZoneCommentCommand.js +0 -1
- package/dist-es/commands/UpdateTrafficPolicyCommentCommand.js +0 -1
- package/dist-es/commands/UpdateTrafficPolicyInstanceCommand.js +0 -1
- package/dist-es/commands/index.js +64 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +5 -72
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListHealthChecksPaginator.js +0 -1
- package/dist-es/pagination/ListHostedZonesPaginator.js +0 -1
- package/dist-es/pagination/ListQueryLoggingConfigsPaginator.js +0 -1
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restXml.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForResourceRecordSetsChanged.js +0 -1
- package/dist-types/commands/index.d.ts +64 -0
- package/dist-types/index.d.ts +5 -71
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/Route53.d.ts +9 -1083
- package/dist-types/ts3.4/Route53Client.d.ts +24 -89
- package/dist-types/ts3.4/commands/ActivateKeySigningKeyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/AssociateVPCWithHostedZoneCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/ChangeResourceRecordSetsCommand.d.ts +2 -101
- package/dist-types/ts3.4/commands/ChangeTagsForResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateHealthCheckCommand.d.ts +2 -53
- package/dist-types/ts3.4/commands/CreateHostedZoneCommand.d.ts +2 -52
- package/dist-types/ts3.4/commands/CreateKeySigningKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateQueryLoggingConfigCommand.d.ts +0 -143
- package/dist-types/ts3.4/commands/CreateReusableDelegationSetCommand.d.ts +2 -70
- package/dist-types/ts3.4/commands/CreateTrafficPolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateTrafficPolicyInstanceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateTrafficPolicyVersionCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/CreateVPCAssociationAuthorizationCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DeactivateKeySigningKeyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteHealthCheckCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/DeleteHostedZoneCommand.d.ts +2 -58
- package/dist-types/ts3.4/commands/DeleteKeySigningKeyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteQueryLoggingConfigCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteReusableDelegationSetCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteTrafficPolicyCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/DeleteTrafficPolicyInstanceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteVPCAssociationAuthorizationCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DisableHostedZoneDNSSECCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DisassociateVPCFromHostedZoneCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/EnableHostedZoneDNSSECCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetAccountLimitCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/GetChangeCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/GetCheckerIpRangesCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/GetDNSSECCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetGeoLocationCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/GetHealthCheckCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetHealthCheckCountCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetHealthCheckLastFailureReasonCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetHealthCheckStatusCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetHostedZoneCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetHostedZoneCountCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetHostedZoneLimitCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetQueryLoggingConfigCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/GetReusableDelegationSetCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetReusableDelegationSetLimitCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetTrafficPolicyCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetTrafficPolicyInstanceCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetTrafficPolicyInstanceCountCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListGeoLocationsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListHealthChecksCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListHostedZonesByNameCommand.d.ts +2 -64
- package/dist-types/ts3.4/commands/ListHostedZonesByVPCCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/ListHostedZonesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListQueryLoggingConfigsCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListResourceRecordSetsCommand.d.ts +2 -83
- package/dist-types/ts3.4/commands/ListReusableDelegationSetsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListTagsForResourcesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListTrafficPoliciesCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListTrafficPolicyInstancesByHostedZoneCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListTrafficPolicyInstancesByPolicyCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListTrafficPolicyInstancesCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListTrafficPolicyVersionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListVPCAssociationAuthorizationsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/TestDNSAnswerCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateHealthCheckCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UpdateHostedZoneCommentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateTrafficPolicyCommentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateTrafficPolicyInstanceCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/index.d.ts +64 -0
- package/dist-types/ts3.4/index.d.ts +5 -71
- package/dist-types/ts3.4/models/models_0.d.ts +903 -4956
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForResourceRecordSetsChanged.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +1 -0
- package/package.json +36 -33
- package/dist-cjs/Route53.js.map +0 -1
- package/dist-cjs/Route53Client.js.map +0 -1
- package/dist-cjs/commands/ActivateKeySigningKeyCommand.js.map +0 -1
- package/dist-cjs/commands/AssociateVPCWithHostedZoneCommand.js.map +0 -1
- package/dist-cjs/commands/ChangeResourceRecordSetsCommand.js.map +0 -1
- package/dist-cjs/commands/ChangeTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/CreateHealthCheckCommand.js.map +0 -1
- package/dist-cjs/commands/CreateHostedZoneCommand.js.map +0 -1
- package/dist-cjs/commands/CreateKeySigningKeyCommand.js.map +0 -1
- package/dist-cjs/commands/CreateQueryLoggingConfigCommand.js.map +0 -1
- package/dist-cjs/commands/CreateReusableDelegationSetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateTrafficPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/CreateTrafficPolicyInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/CreateTrafficPolicyVersionCommand.js.map +0 -1
- package/dist-cjs/commands/CreateVPCAssociationAuthorizationCommand.js.map +0 -1
- package/dist-cjs/commands/DeactivateKeySigningKeyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteHealthCheckCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteHostedZoneCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteKeySigningKeyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteQueryLoggingConfigCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteReusableDelegationSetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteTrafficPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteTrafficPolicyInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteVPCAssociationAuthorizationCommand.js.map +0 -1
- package/dist-cjs/commands/DisableHostedZoneDNSSECCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateVPCFromHostedZoneCommand.js.map +0 -1
- package/dist-cjs/commands/EnableHostedZoneDNSSECCommand.js.map +0 -1
- package/dist-cjs/commands/GetAccountLimitCommand.js.map +0 -1
- package/dist-cjs/commands/GetChangeCommand.js.map +0 -1
- package/dist-cjs/commands/GetCheckerIpRangesCommand.js.map +0 -1
- package/dist-cjs/commands/GetDNSSECCommand.js.map +0 -1
- package/dist-cjs/commands/GetGeoLocationCommand.js.map +0 -1
- package/dist-cjs/commands/GetHealthCheckCommand.js.map +0 -1
- package/dist-cjs/commands/GetHealthCheckCountCommand.js.map +0 -1
- package/dist-cjs/commands/GetHealthCheckLastFailureReasonCommand.js.map +0 -1
- package/dist-cjs/commands/GetHealthCheckStatusCommand.js.map +0 -1
- package/dist-cjs/commands/GetHostedZoneCommand.js.map +0 -1
- package/dist-cjs/commands/GetHostedZoneCountCommand.js.map +0 -1
- package/dist-cjs/commands/GetHostedZoneLimitCommand.js.map +0 -1
- package/dist-cjs/commands/GetQueryLoggingConfigCommand.js.map +0 -1
- package/dist-cjs/commands/GetReusableDelegationSetCommand.js.map +0 -1
- package/dist-cjs/commands/GetReusableDelegationSetLimitCommand.js.map +0 -1
- package/dist-cjs/commands/GetTrafficPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetTrafficPolicyInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/GetTrafficPolicyInstanceCountCommand.js.map +0 -1
- package/dist-cjs/commands/ListGeoLocationsCommand.js.map +0 -1
- package/dist-cjs/commands/ListHealthChecksCommand.js.map +0 -1
- package/dist-cjs/commands/ListHostedZonesByNameCommand.js.map +0 -1
- package/dist-cjs/commands/ListHostedZonesByVPCCommand.js.map +0 -1
- package/dist-cjs/commands/ListHostedZonesCommand.js.map +0 -1
- package/dist-cjs/commands/ListQueryLoggingConfigsCommand.js.map +0 -1
- package/dist-cjs/commands/ListResourceRecordSetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListReusableDelegationSetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourcesCommand.js.map +0 -1
- package/dist-cjs/commands/ListTrafficPoliciesCommand.js.map +0 -1
- package/dist-cjs/commands/ListTrafficPolicyInstancesByHostedZoneCommand.js.map +0 -1
- package/dist-cjs/commands/ListTrafficPolicyInstancesByPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/ListTrafficPolicyInstancesCommand.js.map +0 -1
- package/dist-cjs/commands/ListTrafficPolicyVersionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListVPCAssociationAuthorizationsCommand.js.map +0 -1
- package/dist-cjs/commands/TestDNSAnswerCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateHealthCheckCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateHostedZoneCommentCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateTrafficPolicyCommentCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateTrafficPolicyInstanceCommand.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/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListHealthChecksPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListHostedZonesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListQueryLoggingConfigsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restXml.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-cjs/waiters/waitForResourceRecordSetsChanged.js.map +0 -1
- package/dist-es/Route53.js.map +0 -1
- package/dist-es/Route53Client.js.map +0 -1
- package/dist-es/commands/ActivateKeySigningKeyCommand.js.map +0 -1
- package/dist-es/commands/AssociateVPCWithHostedZoneCommand.js.map +0 -1
- package/dist-es/commands/ChangeResourceRecordSetsCommand.js.map +0 -1
- package/dist-es/commands/ChangeTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/CreateHealthCheckCommand.js.map +0 -1
- package/dist-es/commands/CreateHostedZoneCommand.js.map +0 -1
- package/dist-es/commands/CreateKeySigningKeyCommand.js.map +0 -1
- package/dist-es/commands/CreateQueryLoggingConfigCommand.js.map +0 -1
- package/dist-es/commands/CreateReusableDelegationSetCommand.js.map +0 -1
- package/dist-es/commands/CreateTrafficPolicyCommand.js.map +0 -1
- package/dist-es/commands/CreateTrafficPolicyInstanceCommand.js.map +0 -1
- package/dist-es/commands/CreateTrafficPolicyVersionCommand.js.map +0 -1
- package/dist-es/commands/CreateVPCAssociationAuthorizationCommand.js.map +0 -1
- package/dist-es/commands/DeactivateKeySigningKeyCommand.js.map +0 -1
- package/dist-es/commands/DeleteHealthCheckCommand.js.map +0 -1
- package/dist-es/commands/DeleteHostedZoneCommand.js.map +0 -1
- package/dist-es/commands/DeleteKeySigningKeyCommand.js.map +0 -1
- package/dist-es/commands/DeleteQueryLoggingConfigCommand.js.map +0 -1
- package/dist-es/commands/DeleteReusableDelegationSetCommand.js.map +0 -1
- package/dist-es/commands/DeleteTrafficPolicyCommand.js.map +0 -1
- package/dist-es/commands/DeleteTrafficPolicyInstanceCommand.js.map +0 -1
- package/dist-es/commands/DeleteVPCAssociationAuthorizationCommand.js.map +0 -1
- package/dist-es/commands/DisableHostedZoneDNSSECCommand.js.map +0 -1
- package/dist-es/commands/DisassociateVPCFromHostedZoneCommand.js.map +0 -1
- package/dist-es/commands/EnableHostedZoneDNSSECCommand.js.map +0 -1
- package/dist-es/commands/GetAccountLimitCommand.js.map +0 -1
- package/dist-es/commands/GetChangeCommand.js.map +0 -1
- package/dist-es/commands/GetCheckerIpRangesCommand.js.map +0 -1
- package/dist-es/commands/GetDNSSECCommand.js.map +0 -1
- package/dist-es/commands/GetGeoLocationCommand.js.map +0 -1
- package/dist-es/commands/GetHealthCheckCommand.js.map +0 -1
- package/dist-es/commands/GetHealthCheckCountCommand.js.map +0 -1
- package/dist-es/commands/GetHealthCheckLastFailureReasonCommand.js.map +0 -1
- package/dist-es/commands/GetHealthCheckStatusCommand.js.map +0 -1
- package/dist-es/commands/GetHostedZoneCommand.js.map +0 -1
- package/dist-es/commands/GetHostedZoneCountCommand.js.map +0 -1
- package/dist-es/commands/GetHostedZoneLimitCommand.js.map +0 -1
- package/dist-es/commands/GetQueryLoggingConfigCommand.js.map +0 -1
- package/dist-es/commands/GetReusableDelegationSetCommand.js.map +0 -1
- package/dist-es/commands/GetReusableDelegationSetLimitCommand.js.map +0 -1
- package/dist-es/commands/GetTrafficPolicyCommand.js.map +0 -1
- package/dist-es/commands/GetTrafficPolicyInstanceCommand.js.map +0 -1
- package/dist-es/commands/GetTrafficPolicyInstanceCountCommand.js.map +0 -1
- package/dist-es/commands/ListGeoLocationsCommand.js.map +0 -1
- package/dist-es/commands/ListHealthChecksCommand.js.map +0 -1
- package/dist-es/commands/ListHostedZonesByNameCommand.js.map +0 -1
- package/dist-es/commands/ListHostedZonesByVPCCommand.js.map +0 -1
- package/dist-es/commands/ListHostedZonesCommand.js.map +0 -1
- package/dist-es/commands/ListQueryLoggingConfigsCommand.js.map +0 -1
- package/dist-es/commands/ListResourceRecordSetsCommand.js.map +0 -1
- package/dist-es/commands/ListReusableDelegationSetsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourcesCommand.js.map +0 -1
- package/dist-es/commands/ListTrafficPoliciesCommand.js.map +0 -1
- package/dist-es/commands/ListTrafficPolicyInstancesByHostedZoneCommand.js.map +0 -1
- package/dist-es/commands/ListTrafficPolicyInstancesByPolicyCommand.js.map +0 -1
- package/dist-es/commands/ListTrafficPolicyInstancesCommand.js.map +0 -1
- package/dist-es/commands/ListTrafficPolicyVersionsCommand.js.map +0 -1
- package/dist-es/commands/ListVPCAssociationAuthorizationsCommand.js.map +0 -1
- package/dist-es/commands/TestDNSAnswerCommand.js.map +0 -1
- package/dist-es/commands/UpdateHealthCheckCommand.js.map +0 -1
- package/dist-es/commands/UpdateHostedZoneCommentCommand.js.map +0 -1
- package/dist-es/commands/UpdateTrafficPolicyCommentCommand.js.map +0 -1
- package/dist-es/commands/UpdateTrafficPolicyInstanceCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListHealthChecksPaginator.js.map +0 -1
- package/dist-es/pagination/ListHostedZonesPaginator.js.map +0 -1
- package/dist-es/pagination/ListQueryLoggingConfigsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restXml.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-es/waiters/waitForResourceRecordSetsChanged.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/Route53.ts +0 -3074
- package/src/Route53Client.ts +0 -563
- package/src/commands/ActivateKeySigningKeyCommand.ts +0 -98
- package/src/commands/AssociateVPCWithHostedZoneCommand.ts +0 -110
- package/src/commands/ChangeResourceRecordSetsCommand.ts +0 -179
- package/src/commands/ChangeTagsForResourceCommand.ts +0 -98
- package/src/commands/CreateHealthCheckCommand.ts +0 -128
- package/src/commands/CreateHostedZoneCommand.ts +0 -129
- package/src/commands/CreateKeySigningKeyCommand.ts +0 -97
- package/src/commands/CreateQueryLoggingConfigCommand.ts +0 -213
- package/src/commands/CreateReusableDelegationSetCommand.ts +0 -152
- package/src/commands/CreateTrafficPolicyCommand.ts +0 -96
- package/src/commands/CreateTrafficPolicyInstanceCommand.ts +0 -105
- package/src/commands/CreateTrafficPolicyVersionCommand.ts +0 -104
- package/src/commands/CreateVPCAssociationAuthorizationCommand.ts +0 -116
- package/src/commands/DeactivateKeySigningKeyCommand.ts +0 -98
- package/src/commands/DeleteHealthCheckCommand.ts +0 -108
- package/src/commands/DeleteHostedZoneCommand.ts +0 -135
- package/src/commands/DeleteKeySigningKeyCommand.ts +0 -98
- package/src/commands/DeleteQueryLoggingConfigCommand.ts +0 -101
- package/src/commands/DeleteReusableDelegationSetCommand.ts +0 -108
- package/src/commands/DeleteTrafficPolicyCommand.ts +0 -111
- package/src/commands/DeleteTrafficPolicyInstanceCommand.ts +0 -105
- package/src/commands/DeleteVPCAssociationAuthorizationCommand.ts +0 -116
- package/src/commands/DisableHostedZoneDNSSECCommand.ts +0 -98
- package/src/commands/DisassociateVPCFromHostedZoneCommand.ts +0 -122
- package/src/commands/EnableHostedZoneDNSSECCommand.ts +0 -97
- package/src/commands/GetAccountLimitCommand.ts +0 -104
- package/src/commands/GetChangeCommand.ts +0 -106
- package/src/commands/GetCheckerIpRangesCommand.ts +0 -102
- package/src/commands/GetDNSSECCommand.ts +0 -94
- package/src/commands/GetGeoLocationCommand.ts +0 -115
- package/src/commands/GetHealthCheckCommand.ts +0 -95
- package/src/commands/GetHealthCheckCountCommand.ts +0 -95
- package/src/commands/GetHealthCheckLastFailureReasonCommand.ts +0 -103
- package/src/commands/GetHealthCheckStatusCommand.ts +0 -98
- package/src/commands/GetHostedZoneCommand.ts +0 -97
- package/src/commands/GetHostedZoneCountCommand.ts +0 -95
- package/src/commands/GetHostedZoneLimitCommand.ts +0 -101
- package/src/commands/GetQueryLoggingConfigCommand.ts +0 -102
- package/src/commands/GetReusableDelegationSetCommand.ts +0 -98
- package/src/commands/GetReusableDelegationSetLimitCommand.ts +0 -105
- package/src/commands/GetTrafficPolicyCommand.ts +0 -100
- package/src/commands/GetTrafficPolicyInstanceCommand.ts +0 -105
- package/src/commands/GetTrafficPolicyInstanceCountCommand.ts +0 -100
- package/src/commands/ListGeoLocationsCommand.ts +0 -100
- package/src/commands/ListHealthChecksCommand.ts +0 -95
- package/src/commands/ListHostedZonesByNameCommand.ts +0 -141
- package/src/commands/ListHostedZonesByVPCCommand.ts +0 -107
- package/src/commands/ListHostedZonesCommand.ts +0 -100
- package/src/commands/ListQueryLoggingConfigsCommand.ts +0 -104
- package/src/commands/ListResourceRecordSetsCommand.ts +0 -160
- package/src/commands/ListReusableDelegationSetsCommand.ts +0 -98
- package/src/commands/ListTagsForResourceCommand.ts +0 -98
- package/src/commands/ListTagsForResourcesCommand.ts +0 -98
- package/src/commands/ListTrafficPoliciesCommand.ts +0 -101
- package/src/commands/ListTrafficPolicyInstancesByHostedZoneCommand.ts +0 -116
- package/src/commands/ListTrafficPolicyInstancesByPolicyCommand.ts +0 -113
- package/src/commands/ListTrafficPolicyInstancesCommand.ts +0 -104
- package/src/commands/ListTrafficPolicyVersionsCommand.ts +0 -101
- package/src/commands/ListVPCAssociationAuthorizationsCommand.ts +0 -108
- package/src/commands/TestDNSAnswerCommand.ts +0 -99
- package/src/commands/UpdateHealthCheckCommand.ts +0 -98
- package/src/commands/UpdateHostedZoneCommentCommand.ts +0 -97
- package/src/commands/UpdateTrafficPolicyCommentCommand.ts +0 -100
- package/src/commands/UpdateTrafficPolicyInstanceCommand.ts +0 -117
- package/src/endpoints.ts +0 -88
- package/src/index.ts +0 -72
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -8036
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListHealthChecksPaginator.ts +0 -59
- package/src/pagination/ListHostedZonesPaginator.ts +0 -59
- package/src/pagination/ListQueryLoggingConfigsPaginator.ts +0 -59
- package/src/protocols/Aws_restXml.ts +0 -10458
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/src/waiters/waitForResourceRecordSetsChanged.ts +0 -47
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { GetGeoLocationRequest, GetGeoLocationResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restXmlGetGeoLocationCommand,
|
|
17
|
-
serializeAws_restXmlGetGeoLocationCommand,
|
|
18
|
-
} from "../protocols/Aws_restXml";
|
|
19
|
-
import { Route53ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53Client";
|
|
20
|
-
|
|
21
|
-
export interface GetGeoLocationCommandInput extends GetGeoLocationRequest {}
|
|
22
|
-
export interface GetGeoLocationCommandOutput extends GetGeoLocationResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Gets information about whether a specified geographic location is supported for Amazon Route 53 geolocation
|
|
26
|
-
* resource record sets.</p>
|
|
27
|
-
* <p>Route 53 does not perform authorization for this API because it retrieves information that is already available to the public.</p>
|
|
28
|
-
*
|
|
29
|
-
* <p>Use the following syntax to determine whether a continent is supported for geolocation:</p>
|
|
30
|
-
* <p>
|
|
31
|
-
* <code>GET /2013-04-01/geolocation?continentcode=<i>two-letter abbreviation for a continent</i>
|
|
32
|
-
* </code>
|
|
33
|
-
* </p>
|
|
34
|
-
*
|
|
35
|
-
* <p>Use the following syntax to determine whether a country is supported for geolocation:</p>
|
|
36
|
-
* <p>
|
|
37
|
-
* <code>GET /2013-04-01/geolocation?countrycode=<i>two-character country code</i>
|
|
38
|
-
* </code>
|
|
39
|
-
* </p>
|
|
40
|
-
*
|
|
41
|
-
* <p>Use the following syntax to determine whether a subdivision of a country is supported for geolocation:</p>
|
|
42
|
-
* <p>
|
|
43
|
-
* <code>GET /2013-04-01/geolocation?countrycode=<i>two-character country code</i>&subdivisioncode=<i>subdivision code</i>
|
|
44
|
-
* </code>
|
|
45
|
-
* </p>
|
|
46
|
-
* @example
|
|
47
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
48
|
-
* ```javascript
|
|
49
|
-
* import { Route53Client, GetGeoLocationCommand } from "@aws-sdk/client-route-53"; // ES Modules import
|
|
50
|
-
* // const { Route53Client, GetGeoLocationCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
|
|
51
|
-
* const client = new Route53Client(config);
|
|
52
|
-
* const command = new GetGeoLocationCommand(input);
|
|
53
|
-
* const response = await client.send(command);
|
|
54
|
-
* ```
|
|
55
|
-
*
|
|
56
|
-
* @see {@link GetGeoLocationCommandInput} for command's `input` shape.
|
|
57
|
-
* @see {@link GetGeoLocationCommandOutput} for command's `response` shape.
|
|
58
|
-
* @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
61
|
-
export class GetGeoLocationCommand extends $Command<
|
|
62
|
-
GetGeoLocationCommandInput,
|
|
63
|
-
GetGeoLocationCommandOutput,
|
|
64
|
-
Route53ClientResolvedConfig
|
|
65
|
-
> {
|
|
66
|
-
// Start section: command_properties
|
|
67
|
-
// End section: command_properties
|
|
68
|
-
|
|
69
|
-
constructor(readonly input: GetGeoLocationCommandInput) {
|
|
70
|
-
// Start section: command_constructor
|
|
71
|
-
super();
|
|
72
|
-
// End section: command_constructor
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
|
-
resolveMiddleware(
|
|
79
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
80
|
-
configuration: Route53ClientResolvedConfig,
|
|
81
|
-
options?: __HttpHandlerOptions
|
|
82
|
-
): Handler<GetGeoLocationCommandInput, GetGeoLocationCommandOutput> {
|
|
83
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
84
|
-
|
|
85
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
86
|
-
|
|
87
|
-
const { logger } = configuration;
|
|
88
|
-
const clientName = "Route53Client";
|
|
89
|
-
const commandName = "GetGeoLocationCommand";
|
|
90
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
91
|
-
logger,
|
|
92
|
-
clientName,
|
|
93
|
-
commandName,
|
|
94
|
-
inputFilterSensitiveLog: GetGeoLocationRequest.filterSensitiveLog,
|
|
95
|
-
outputFilterSensitiveLog: GetGeoLocationResponse.filterSensitiveLog,
|
|
96
|
-
};
|
|
97
|
-
const { requestHandler } = configuration;
|
|
98
|
-
return stack.resolve(
|
|
99
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
100
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
101
|
-
handlerExecutionContext
|
|
102
|
-
);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
private serialize(input: GetGeoLocationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
106
|
-
return serializeAws_restXmlGetGeoLocationCommand(input, context);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetGeoLocationCommandOutput> {
|
|
110
|
-
return deserializeAws_restXmlGetGeoLocationCommand(output, context);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
// Start section: command_body_extra
|
|
114
|
-
// End section: command_body_extra
|
|
115
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { GetHealthCheckRequest, GetHealthCheckResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restXmlGetHealthCheckCommand,
|
|
17
|
-
serializeAws_restXmlGetHealthCheckCommand,
|
|
18
|
-
} from "../protocols/Aws_restXml";
|
|
19
|
-
import { Route53ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53Client";
|
|
20
|
-
|
|
21
|
-
export interface GetHealthCheckCommandInput extends GetHealthCheckRequest {}
|
|
22
|
-
export interface GetHealthCheckCommandOutput extends GetHealthCheckResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Gets information about a specified health check.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { Route53Client, GetHealthCheckCommand } from "@aws-sdk/client-route-53"; // ES Modules import
|
|
30
|
-
* // const { Route53Client, GetHealthCheckCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
|
|
31
|
-
* const client = new Route53Client(config);
|
|
32
|
-
* const command = new GetHealthCheckCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetHealthCheckCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetHealthCheckCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetHealthCheckCommand extends $Command<
|
|
42
|
-
GetHealthCheckCommandInput,
|
|
43
|
-
GetHealthCheckCommandOutput,
|
|
44
|
-
Route53ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetHealthCheckCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: Route53ClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetHealthCheckCommandInput, GetHealthCheckCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "Route53Client";
|
|
69
|
-
const commandName = "GetHealthCheckCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetHealthCheckRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetHealthCheckResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: GetHealthCheckCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restXmlGetHealthCheckCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetHealthCheckCommandOutput> {
|
|
90
|
-
return deserializeAws_restXmlGetHealthCheckCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { GetHealthCheckCountRequest, GetHealthCheckCountResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restXmlGetHealthCheckCountCommand,
|
|
17
|
-
serializeAws_restXmlGetHealthCheckCountCommand,
|
|
18
|
-
} from "../protocols/Aws_restXml";
|
|
19
|
-
import { Route53ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53Client";
|
|
20
|
-
|
|
21
|
-
export interface GetHealthCheckCountCommandInput extends GetHealthCheckCountRequest {}
|
|
22
|
-
export interface GetHealthCheckCountCommandOutput extends GetHealthCheckCountResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves the number of health checks that are associated with the current Amazon Web Services account.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { Route53Client, GetHealthCheckCountCommand } from "@aws-sdk/client-route-53"; // ES Modules import
|
|
30
|
-
* // const { Route53Client, GetHealthCheckCountCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
|
|
31
|
-
* const client = new Route53Client(config);
|
|
32
|
-
* const command = new GetHealthCheckCountCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetHealthCheckCountCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetHealthCheckCountCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetHealthCheckCountCommand extends $Command<
|
|
42
|
-
GetHealthCheckCountCommandInput,
|
|
43
|
-
GetHealthCheckCountCommandOutput,
|
|
44
|
-
Route53ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetHealthCheckCountCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: Route53ClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetHealthCheckCountCommandInput, GetHealthCheckCountCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "Route53Client";
|
|
69
|
-
const commandName = "GetHealthCheckCountCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetHealthCheckCountRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetHealthCheckCountResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: GetHealthCheckCountCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restXmlGetHealthCheckCountCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetHealthCheckCountCommandOutput> {
|
|
90
|
-
return deserializeAws_restXmlGetHealthCheckCountCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { GetHealthCheckLastFailureReasonRequest, GetHealthCheckLastFailureReasonResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restXmlGetHealthCheckLastFailureReasonCommand,
|
|
17
|
-
serializeAws_restXmlGetHealthCheckLastFailureReasonCommand,
|
|
18
|
-
} from "../protocols/Aws_restXml";
|
|
19
|
-
import { Route53ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53Client";
|
|
20
|
-
|
|
21
|
-
export interface GetHealthCheckLastFailureReasonCommandInput extends GetHealthCheckLastFailureReasonRequest {}
|
|
22
|
-
export interface GetHealthCheckLastFailureReasonCommandOutput
|
|
23
|
-
extends GetHealthCheckLastFailureReasonResponse,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p>Gets the reason that a specified health check failed most recently.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { Route53Client, GetHealthCheckLastFailureReasonCommand } from "@aws-sdk/client-route-53"; // ES Modules import
|
|
32
|
-
* // const { Route53Client, GetHealthCheckLastFailureReasonCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
|
|
33
|
-
* const client = new Route53Client(config);
|
|
34
|
-
* const command = new GetHealthCheckLastFailureReasonCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link GetHealthCheckLastFailureReasonCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link GetHealthCheckLastFailureReasonCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class GetHealthCheckLastFailureReasonCommand extends $Command<
|
|
44
|
-
GetHealthCheckLastFailureReasonCommandInput,
|
|
45
|
-
GetHealthCheckLastFailureReasonCommandOutput,
|
|
46
|
-
Route53ClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: GetHealthCheckLastFailureReasonCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: Route53ClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<GetHealthCheckLastFailureReasonCommandInput, GetHealthCheckLastFailureReasonCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "Route53Client";
|
|
71
|
-
const commandName = "GetHealthCheckLastFailureReasonCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: GetHealthCheckLastFailureReasonRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: GetHealthCheckLastFailureReasonResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(
|
|
88
|
-
input: GetHealthCheckLastFailureReasonCommandInput,
|
|
89
|
-
context: __SerdeContext
|
|
90
|
-
): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_restXmlGetHealthCheckLastFailureReasonCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(
|
|
95
|
-
output: __HttpResponse,
|
|
96
|
-
context: __SerdeContext
|
|
97
|
-
): Promise<GetHealthCheckLastFailureReasonCommandOutput> {
|
|
98
|
-
return deserializeAws_restXmlGetHealthCheckLastFailureReasonCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { GetHealthCheckStatusRequest, GetHealthCheckStatusResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restXmlGetHealthCheckStatusCommand,
|
|
17
|
-
serializeAws_restXmlGetHealthCheckStatusCommand,
|
|
18
|
-
} from "../protocols/Aws_restXml";
|
|
19
|
-
import { Route53ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53Client";
|
|
20
|
-
|
|
21
|
-
export interface GetHealthCheckStatusCommandInput extends GetHealthCheckStatusRequest {}
|
|
22
|
-
export interface GetHealthCheckStatusCommandOutput extends GetHealthCheckStatusResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Gets status of a specified health check. </p>
|
|
26
|
-
* <important>
|
|
27
|
-
* <p>This API is intended for use during development to diagnose behavior. It doesn’t support production use-cases with high query rates that require immediate and actionable responses.</p>
|
|
28
|
-
* </important>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { Route53Client, GetHealthCheckStatusCommand } from "@aws-sdk/client-route-53"; // ES Modules import
|
|
33
|
-
* // const { Route53Client, GetHealthCheckStatusCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
|
|
34
|
-
* const client = new Route53Client(config);
|
|
35
|
-
* const command = new GetHealthCheckStatusCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link GetHealthCheckStatusCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link GetHealthCheckStatusCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class GetHealthCheckStatusCommand extends $Command<
|
|
45
|
-
GetHealthCheckStatusCommandInput,
|
|
46
|
-
GetHealthCheckStatusCommandOutput,
|
|
47
|
-
Route53ClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: GetHealthCheckStatusCommandInput) {
|
|
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: Route53ClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<GetHealthCheckStatusCommandInput, GetHealthCheckStatusCommandOutput> {
|
|
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 = "Route53Client";
|
|
72
|
-
const commandName = "GetHealthCheckStatusCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: GetHealthCheckStatusRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: GetHealthCheckStatusResponse.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: GetHealthCheckStatusCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_restXmlGetHealthCheckStatusCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetHealthCheckStatusCommandOutput> {
|
|
93
|
-
return deserializeAws_restXmlGetHealthCheckStatusCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { getIdNormalizerPlugin } from "@aws-sdk/middleware-sdk-route53";
|
|
2
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
4
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
-
import {
|
|
6
|
-
FinalizeHandlerArguments,
|
|
7
|
-
Handler,
|
|
8
|
-
HandlerExecutionContext,
|
|
9
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
10
|
-
MetadataBearer as __MetadataBearer,
|
|
11
|
-
MiddlewareStack,
|
|
12
|
-
SerdeContext as __SerdeContext,
|
|
13
|
-
} from "@aws-sdk/types";
|
|
14
|
-
|
|
15
|
-
import { GetHostedZoneRequest, GetHostedZoneResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restXmlGetHostedZoneCommand,
|
|
18
|
-
serializeAws_restXmlGetHostedZoneCommand,
|
|
19
|
-
} from "../protocols/Aws_restXml";
|
|
20
|
-
import { Route53ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53Client";
|
|
21
|
-
|
|
22
|
-
export interface GetHostedZoneCommandInput extends GetHostedZoneRequest {}
|
|
23
|
-
export interface GetHostedZoneCommandOutput extends GetHostedZoneResponse, __MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>Gets information about a specified hosted zone including the four name servers assigned to the hosted zone.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { Route53Client, GetHostedZoneCommand } from "@aws-sdk/client-route-53"; // ES Modules import
|
|
31
|
-
* // const { Route53Client, GetHostedZoneCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
|
|
32
|
-
* const client = new Route53Client(config);
|
|
33
|
-
* const command = new GetHostedZoneCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link GetHostedZoneCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link GetHostedZoneCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class GetHostedZoneCommand extends $Command<
|
|
43
|
-
GetHostedZoneCommandInput,
|
|
44
|
-
GetHostedZoneCommandOutput,
|
|
45
|
-
Route53ClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: GetHostedZoneCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: Route53ClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<GetHostedZoneCommandInput, GetHostedZoneCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
this.middlewareStack.use(getIdNormalizerPlugin(configuration));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "Route53Client";
|
|
71
|
-
const commandName = "GetHostedZoneCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: GetHostedZoneRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: GetHostedZoneResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: GetHostedZoneCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restXmlGetHostedZoneCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetHostedZoneCommandOutput> {
|
|
92
|
-
return deserializeAws_restXmlGetHostedZoneCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|