@aws-sdk/client-global-accelerator 3.34.0 → 3.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/GlobalAccelerator.js +1 -152
- package/dist-cjs/GlobalAcceleratorClient.js +35 -0
- package/dist-cjs/commands/AddCustomRoutingEndpointsCommand.js +36 -0
- package/dist-cjs/commands/AdvertiseByoipCidrCommand.js +36 -0
- package/dist-cjs/commands/AllowCustomRoutingTrafficCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/CreateAcceleratorCommand.js +2 -32
- package/dist-cjs/commands/CreateCustomRoutingAcceleratorCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/CreateCustomRoutingEndpointGroupCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/CreateCustomRoutingListenerCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreateEndpointGroupCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreateListenerCommand.js +2 -28
- package/dist-cjs/commands/DeleteAcceleratorCommand.js +36 -0
- package/dist-cjs/commands/DeleteCustomRoutingAcceleratorCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteCustomRoutingEndpointGroupCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteCustomRoutingListenerCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteEndpointGroupCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteListenerCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DenyCustomRoutingTrafficCommand.js +2 -32
- package/dist-cjs/commands/DeprovisionByoipCidrCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeAcceleratorAttributesCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DescribeAcceleratorCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeCustomRoutingAcceleratorCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeCustomRoutingEndpointGroupCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeCustomRoutingListenerCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeEndpointGroupCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeListenerCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListAcceleratorsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListByoipCidrsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListCustomRoutingAcceleratorsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListCustomRoutingEndpointGroupsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListCustomRoutingListenersCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListCustomRoutingPortMappingsByDestinationCommand.js +2 -30
- package/dist-cjs/commands/ListCustomRoutingPortMappingsCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/ListEndpointGroupsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListListenersCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/ProvisionByoipCidrCommand.js +2 -32
- package/{dist/cjs → dist-cjs}/commands/RemoveCustomRoutingEndpointsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/UpdateAcceleratorAttributesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateAcceleratorCommand.js +2 -32
- package/{dist/cjs → dist-cjs}/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateCustomRoutingAcceleratorCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateCustomRoutingListenerCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateEndpointGroupCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateListenerCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/WithdrawByoipCidrCommand.js +2 -33
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -382
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListAcceleratorsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListByoipCidrsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListCustomRoutingAcceleratorsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListCustomRoutingEndpointGroupsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListCustomRoutingListenersPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListCustomRoutingPortMappingsByDestinationPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListCustomRoutingPortMappingsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListEndpointGroupsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListListenersPaginator.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}/GlobalAccelerator.js +1 -2
- package/{dist/es → dist-es}/GlobalAcceleratorClient.js +1 -2
- package/{dist/es → dist-es}/commands/AddCustomRoutingEndpointsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/AdvertiseByoipCidrCommand.js +2 -3
- package/{dist/es → dist-es}/commands/AllowCustomRoutingTrafficCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateAcceleratorCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateCustomRoutingAcceleratorCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateCustomRoutingEndpointGroupCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateCustomRoutingListenerCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateEndpointGroupCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateListenerCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteAcceleratorCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteCustomRoutingAcceleratorCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteCustomRoutingEndpointGroupCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteCustomRoutingListenerCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteEndpointGroupCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteListenerCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DenyCustomRoutingTrafficCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeprovisionByoipCidrCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeAcceleratorAttributesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeAcceleratorCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeCustomRoutingAcceleratorCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeCustomRoutingEndpointGroupCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeCustomRoutingListenerCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeEndpointGroupCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeListenerCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListAcceleratorsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListByoipCidrsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListCustomRoutingAcceleratorsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListCustomRoutingEndpointGroupsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListCustomRoutingListenersCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListCustomRoutingPortMappingsByDestinationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListCustomRoutingPortMappingsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListEndpointGroupsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListListenersCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ProvisionByoipCidrCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RemoveCustomRoutingEndpointsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateAcceleratorAttributesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateAcceleratorCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateCustomRoutingAcceleratorCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateCustomRoutingListenerCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateEndpointGroupCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateListenerCommand.js +2 -3
- package/{dist/es → dist-es}/commands/WithdrawByoipCidrCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListAcceleratorsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListByoipCidrsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListCustomRoutingAcceleratorsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListCustomRoutingEndpointGroupsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListCustomRoutingListenersPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListCustomRoutingPortMappingsByDestinationPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListCustomRoutingPortMappingsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListEndpointGroupsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListListenersPaginator.js +1 -2
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/GlobalAccelerator.d.ts +2 -2
- package/{dist/types → dist-types}/GlobalAcceleratorClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AddCustomRoutingEndpointsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/AdvertiseByoipCidrCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/AllowCustomRoutingTrafficCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateAcceleratorCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateCustomRoutingAcceleratorCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateCustomRoutingEndpointGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateCustomRoutingListenerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateEndpointGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateListenerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteAcceleratorCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteCustomRoutingAcceleratorCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteCustomRoutingEndpointGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteCustomRoutingListenerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteEndpointGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteListenerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DenyCustomRoutingTrafficCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeprovisionByoipCidrCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeAcceleratorAttributesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeAcceleratorCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeCustomRoutingAcceleratorAttributesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeCustomRoutingAcceleratorCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeCustomRoutingEndpointGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeCustomRoutingListenerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeEndpointGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeListenerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAcceleratorsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListByoipCidrsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListCustomRoutingAcceleratorsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListCustomRoutingEndpointGroupsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListCustomRoutingListenersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListCustomRoutingPortMappingsByDestinationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListCustomRoutingPortMappingsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListEndpointGroupsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListListenersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ProvisionByoipCidrCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RemoveCustomRoutingEndpointsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateAcceleratorAttributesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateAcceleratorCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateCustomRoutingAcceleratorAttributesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateCustomRoutingAcceleratorCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateCustomRoutingListenerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateEndpointGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateListenerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/WithdrawByoipCidrCommand.d.ts +2 -2
- 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/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListAcceleratorsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListByoipCidrsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListCustomRoutingAcceleratorsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListCustomRoutingEndpointGroupsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListCustomRoutingListenersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListCustomRoutingPortMappingsByDestinationPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListCustomRoutingPortMappingsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListEndpointGroupsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListListenersPaginator.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 +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/GlobalAccelerator.d.ts +50 -406
- package/dist-types/ts3.4/GlobalAcceleratorClient.d.ts +114 -0
- package/dist-types/ts3.4/commands/AddCustomRoutingEndpointsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdvertiseByoipCidrCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AllowCustomRoutingTrafficCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateAcceleratorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateCustomRoutingAcceleratorCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateCustomRoutingEndpointGroupCommand.d.ts +4 -24
- package/dist-types/ts3.4/commands/CreateCustomRoutingListenerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateEndpointGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAcceleratorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteCustomRoutingAcceleratorCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteCustomRoutingEndpointGroupCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DeleteCustomRoutingListenerCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DeleteEndpointGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DenyCustomRoutingTrafficCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeprovisionByoipCidrCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DescribeAcceleratorAttributesCommand.d.ts +4 -23
- package/{dist/types → dist-types}/ts3.4/commands/DescribeAcceleratorCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeCustomRoutingAcceleratorAttributesCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeCustomRoutingAcceleratorCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeCustomRoutingEndpointGroupCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeCustomRoutingListenerCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeEndpointGroupCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeListenerCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListAcceleratorsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListByoipCidrsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListCustomRoutingAcceleratorsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListCustomRoutingEndpointGroupsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListCustomRoutingListenersCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListCustomRoutingPortMappingsByDestinationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCustomRoutingPortMappingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEndpointGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListListenersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ProvisionByoipCidrCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/RemoveCustomRoutingEndpointsCommand.d.ts +4 -22
- 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/UpdateAcceleratorAttributesCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/UpdateAcceleratorCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/UpdateCustomRoutingAcceleratorAttributesCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/UpdateCustomRoutingAcceleratorCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/UpdateCustomRoutingListenerCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/UpdateEndpointGroupCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/UpdateListenerCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/WithdrawByoipCidrCommand.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 +1430 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListAcceleratorsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListByoipCidrsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListCustomRoutingAcceleratorsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListCustomRoutingEndpointGroupsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListCustomRoutingListenersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListCustomRoutingPortMappingsByDestinationPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListCustomRoutingPortMappingsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListEndpointGroupsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListListenersPaginator.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 +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/GlobalAccelerator.ts +0 -2002
- package/GlobalAcceleratorClient.ts +0 -616
- package/commands/AddCustomRoutingEndpointsCommand.ts +0 -111
- package/commands/AdvertiseByoipCidrCommand.ts +0 -104
- package/commands/AllowCustomRoutingTrafficCommand.ts +0 -106
- package/commands/CreateAcceleratorCommand.ts +0 -103
- package/commands/CreateCustomRoutingAcceleratorCommand.ts +0 -115
- package/commands/CreateCustomRoutingEndpointGroupCommand.ts +0 -108
- package/commands/CreateCustomRoutingListenerCommand.ts +0 -104
- package/commands/CreateEndpointGroupCommand.ts +0 -99
- package/commands/CreateListenerCommand.ts +0 -99
- package/commands/DeleteAcceleratorCommand.ts +0 -111
- package/commands/DeleteCustomRoutingAcceleratorCommand.ts +0 -117
- package/commands/DeleteCustomRoutingEndpointGroupCommand.ts +0 -104
- package/commands/DeleteCustomRoutingListenerCommand.ts +0 -101
- package/commands/DeleteEndpointGroupCommand.ts +0 -98
- package/commands/DeleteListenerCommand.ts +0 -98
- package/commands/DenyCustomRoutingTrafficCommand.ts +0 -103
- package/commands/DeprovisionByoipCidrCommand.ts +0 -104
- package/commands/DescribeAcceleratorAttributesCommand.ts +0 -104
- package/commands/DescribeAcceleratorCommand.ts +0 -98
- package/commands/DescribeCustomRoutingAcceleratorAttributesCommand.ts +0 -113
- package/commands/DescribeCustomRoutingAcceleratorCommand.ts +0 -106
- package/commands/DescribeCustomRoutingEndpointGroupCommand.ts +0 -109
- package/commands/DescribeCustomRoutingListenerCommand.ts +0 -103
- package/commands/DescribeEndpointGroupCommand.ts +0 -98
- package/commands/DescribeListenerCommand.ts +0 -98
- package/commands/ListAcceleratorsCommand.ts +0 -98
- package/commands/ListByoipCidrsCommand.ts +0 -99
- package/commands/ListCustomRoutingAcceleratorsCommand.ts +0 -103
- package/commands/ListCustomRoutingEndpointGroupsCommand.ts +0 -106
- package/commands/ListCustomRoutingListenersCommand.ts +0 -101
- package/commands/ListCustomRoutingPortMappingsByDestinationCommand.ts +0 -116
- package/commands/ListCustomRoutingPortMappingsCommand.ts +0 -111
- package/commands/ListEndpointGroupsCommand.ts +0 -98
- package/commands/ListListenersCommand.ts +0 -98
- package/commands/ListTagsForResourceCommand.ts +0 -100
- package/commands/ProvisionByoipCidrCommand.ts +0 -103
- package/commands/RemoveCustomRoutingEndpointsCommand.ts +0 -101
- package/commands/TagResourceCommand.ts +0 -100
- package/commands/UntagResourceCommand.ts +0 -101
- package/commands/UpdateAcceleratorAttributesCommand.ts +0 -103
- package/commands/UpdateAcceleratorCommand.ts +0 -103
- package/commands/UpdateCustomRoutingAcceleratorAttributesCommand.ts +0 -113
- package/commands/UpdateCustomRoutingAcceleratorCommand.ts +0 -106
- package/commands/UpdateCustomRoutingListenerCommand.ts +0 -103
- package/commands/UpdateEndpointGroupCommand.ts +0 -98
- package/commands/UpdateListenerCommand.ts +0 -98
- package/commands/WithdrawByoipCidrCommand.ts +0 -104
- package/dist/cjs/GlobalAccelerator.js.map +0 -1
- package/dist/cjs/GlobalAcceleratorClient.js +0 -191
- package/dist/cjs/GlobalAcceleratorClient.js.map +0 -1
- package/dist/cjs/commands/AddCustomRoutingEndpointsCommand.js +0 -71
- package/dist/cjs/commands/AddCustomRoutingEndpointsCommand.js.map +0 -1
- package/dist/cjs/commands/AdvertiseByoipCidrCommand.js +0 -67
- package/dist/cjs/commands/AdvertiseByoipCidrCommand.js.map +0 -1
- package/dist/cjs/commands/AllowCustomRoutingTrafficCommand.js +0 -66
- package/dist/cjs/commands/AllowCustomRoutingTrafficCommand.js.map +0 -1
- package/dist/cjs/commands/CreateAcceleratorCommand.js.map +0 -1
- package/dist/cjs/commands/CreateCustomRoutingAcceleratorCommand.js +0 -70
- package/dist/cjs/commands/CreateCustomRoutingAcceleratorCommand.js.map +0 -1
- package/dist/cjs/commands/CreateCustomRoutingEndpointGroupCommand.js.map +0 -1
- package/dist/cjs/commands/CreateCustomRoutingListenerCommand.js.map +0 -1
- package/dist/cjs/commands/CreateEndpointGroupCommand.js.map +0 -1
- package/dist/cjs/commands/CreateListenerCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteAcceleratorCommand.js +0 -74
- package/dist/cjs/commands/DeleteAcceleratorCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteCustomRoutingAcceleratorCommand.js +0 -74
- package/dist/cjs/commands/DeleteCustomRoutingAcceleratorCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteCustomRoutingEndpointGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteCustomRoutingListenerCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteEndpointGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteListenerCommand.js.map +0 -1
- package/dist/cjs/commands/DenyCustomRoutingTrafficCommand.js.map +0 -1
- package/dist/cjs/commands/DeprovisionByoipCidrCommand.js +0 -67
- package/dist/cjs/commands/DeprovisionByoipCidrCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeAcceleratorAttributesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeAcceleratorCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeCustomRoutingAcceleratorCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeCustomRoutingEndpointGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeCustomRoutingListenerCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeEndpointGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeListenerCommand.js.map +0 -1
- package/dist/cjs/commands/ListAcceleratorsCommand.js.map +0 -1
- package/dist/cjs/commands/ListByoipCidrsCommand.js.map +0 -1
- package/dist/cjs/commands/ListCustomRoutingAcceleratorsCommand.js.map +0 -1
- package/dist/cjs/commands/ListCustomRoutingEndpointGroupsCommand.js.map +0 -1
- package/dist/cjs/commands/ListCustomRoutingListenersCommand.js.map +0 -1
- package/dist/cjs/commands/ListCustomRoutingPortMappingsByDestinationCommand.js.map +0 -1
- package/dist/cjs/commands/ListCustomRoutingPortMappingsCommand.js +0 -69
- package/dist/cjs/commands/ListCustomRoutingPortMappingsCommand.js.map +0 -1
- package/dist/cjs/commands/ListEndpointGroupsCommand.js.map +0 -1
- package/dist/cjs/commands/ListListenersCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ProvisionByoipCidrCommand.js.map +0 -1
- package/dist/cjs/commands/RemoveCustomRoutingEndpointsCommand.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/UpdateAcceleratorAttributesCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateAcceleratorCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateCustomRoutingAcceleratorCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateCustomRoutingListenerCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateEndpointGroupCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateListenerCommand.js.map +0 -1
- package/dist/cjs/commands/WithdrawByoipCidrCommand.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/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListAcceleratorsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListByoipCidrsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListCustomRoutingAcceleratorsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListCustomRoutingEndpointGroupsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListCustomRoutingListenersPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListCustomRoutingPortMappingsByDestinationPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListCustomRoutingPortMappingsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListEndpointGroupsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListListenersPaginator.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/GlobalAccelerator.js.map +0 -1
- package/dist/es/GlobalAcceleratorClient.js.map +0 -1
- package/dist/es/commands/AddCustomRoutingEndpointsCommand.js.map +0 -1
- package/dist/es/commands/AdvertiseByoipCidrCommand.js.map +0 -1
- package/dist/es/commands/AllowCustomRoutingTrafficCommand.js.map +0 -1
- package/dist/es/commands/CreateAcceleratorCommand.js.map +0 -1
- package/dist/es/commands/CreateCustomRoutingAcceleratorCommand.js.map +0 -1
- package/dist/es/commands/CreateCustomRoutingEndpointGroupCommand.js.map +0 -1
- package/dist/es/commands/CreateCustomRoutingListenerCommand.js.map +0 -1
- package/dist/es/commands/CreateEndpointGroupCommand.js.map +0 -1
- package/dist/es/commands/CreateListenerCommand.js.map +0 -1
- package/dist/es/commands/DeleteAcceleratorCommand.js.map +0 -1
- package/dist/es/commands/DeleteCustomRoutingAcceleratorCommand.js.map +0 -1
- package/dist/es/commands/DeleteCustomRoutingEndpointGroupCommand.js.map +0 -1
- package/dist/es/commands/DeleteCustomRoutingListenerCommand.js.map +0 -1
- package/dist/es/commands/DeleteEndpointGroupCommand.js.map +0 -1
- package/dist/es/commands/DeleteListenerCommand.js.map +0 -1
- package/dist/es/commands/DenyCustomRoutingTrafficCommand.js.map +0 -1
- package/dist/es/commands/DeprovisionByoipCidrCommand.js.map +0 -1
- package/dist/es/commands/DescribeAcceleratorAttributesCommand.js.map +0 -1
- package/dist/es/commands/DescribeAcceleratorCommand.js.map +0 -1
- package/dist/es/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js.map +0 -1
- package/dist/es/commands/DescribeCustomRoutingAcceleratorCommand.js.map +0 -1
- package/dist/es/commands/DescribeCustomRoutingEndpointGroupCommand.js.map +0 -1
- package/dist/es/commands/DescribeCustomRoutingListenerCommand.js.map +0 -1
- package/dist/es/commands/DescribeEndpointGroupCommand.js.map +0 -1
- package/dist/es/commands/DescribeListenerCommand.js.map +0 -1
- package/dist/es/commands/ListAcceleratorsCommand.js.map +0 -1
- package/dist/es/commands/ListByoipCidrsCommand.js.map +0 -1
- package/dist/es/commands/ListCustomRoutingAcceleratorsCommand.js.map +0 -1
- package/dist/es/commands/ListCustomRoutingEndpointGroupsCommand.js.map +0 -1
- package/dist/es/commands/ListCustomRoutingListenersCommand.js.map +0 -1
- package/dist/es/commands/ListCustomRoutingPortMappingsByDestinationCommand.js.map +0 -1
- package/dist/es/commands/ListCustomRoutingPortMappingsCommand.js.map +0 -1
- package/dist/es/commands/ListEndpointGroupsCommand.js.map +0 -1
- package/dist/es/commands/ListListenersCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ProvisionByoipCidrCommand.js.map +0 -1
- package/dist/es/commands/RemoveCustomRoutingEndpointsCommand.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/UpdateAcceleratorAttributesCommand.js.map +0 -1
- package/dist/es/commands/UpdateAcceleratorCommand.js.map +0 -1
- package/dist/es/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js.map +0 -1
- package/dist/es/commands/UpdateCustomRoutingAcceleratorCommand.js.map +0 -1
- package/dist/es/commands/UpdateCustomRoutingListenerCommand.js.map +0 -1
- package/dist/es/commands/UpdateEndpointGroupCommand.js.map +0 -1
- package/dist/es/commands/UpdateListenerCommand.js.map +0 -1
- package/dist/es/commands/WithdrawByoipCidrCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -61
- 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/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListAcceleratorsPaginator.js.map +0 -1
- package/dist/es/pagination/ListByoipCidrsPaginator.js.map +0 -1
- package/dist/es/pagination/ListCustomRoutingAcceleratorsPaginator.js.map +0 -1
- package/dist/es/pagination/ListCustomRoutingEndpointGroupsPaginator.js.map +0 -1
- package/dist/es/pagination/ListCustomRoutingListenersPaginator.js.map +0 -1
- package/dist/es/pagination/ListCustomRoutingPortMappingsByDestinationPaginator.js.map +0 -1
- package/dist/es/pagination/ListCustomRoutingPortMappingsPaginator.js.map +0 -1
- package/dist/es/pagination/ListEndpointGroupsPaginator.js.map +0 -1
- package/dist/es/pagination/ListListenersPaginator.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/GlobalAcceleratorClient.d.ts +0 -326
- package/dist/types/ts3.4/commands/AddCustomRoutingEndpointsCommand.d.ts +0 -45
- package/dist/types/ts3.4/commands/AdvertiseByoipCidrCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/AllowCustomRoutingTrafficCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/CreateAcceleratorCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/CreateCustomRoutingAcceleratorCommand.d.ts +0 -44
- package/dist/types/ts3.4/commands/CreateCustomRoutingListenerCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateEndpointGroupCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateListenerCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DeleteAcceleratorCommand.d.ts +0 -48
- package/dist/types/ts3.4/commands/DeleteCustomRoutingAcceleratorCommand.d.ts +0 -48
- package/dist/types/ts3.4/commands/DeleteEndpointGroupCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteListenerCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DenyCustomRoutingTrafficCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/DeprovisionByoipCidrCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/ListByoipCidrsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListCustomRoutingPortMappingsByDestinationCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/ListCustomRoutingPortMappingsCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/ListEndpointGroupsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListListenersCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/ProvisionByoipCidrCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/UpdateAcceleratorCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/UpdateEndpointGroupCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/WithdrawByoipCidrCommand.d.ts +0 -41
- package/dist/types/ts3.4/models/models_0.d.ts +0 -2633
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -3309
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListAcceleratorsPaginator.ts +0 -58
- package/pagination/ListByoipCidrsPaginator.ts +0 -58
- package/pagination/ListCustomRoutingAcceleratorsPaginator.ts +0 -58
- package/pagination/ListCustomRoutingEndpointGroupsPaginator.ts +0 -58
- package/pagination/ListCustomRoutingListenersPaginator.ts +0 -58
- package/pagination/ListCustomRoutingPortMappingsByDestinationPaginator.ts +0 -58
- package/pagination/ListCustomRoutingPortMappingsPaginator.ts +0 -58
- package/pagination/ListEndpointGroupsPaginator.ts +0 -58
- package/pagination/ListListenersPaginator.ts +0 -58
- package/protocols/Aws_json1_1.ts +0 -6788
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
package/pagination/Interfaces.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { GlobalAccelerator } from "../GlobalAccelerator";
|
|
2
|
-
import { GlobalAcceleratorClient } from "../GlobalAcceleratorClient";
|
|
3
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
4
|
-
|
|
5
|
-
export interface GlobalAcceleratorPaginationConfiguration extends PaginationConfiguration {
|
|
6
|
-
client: GlobalAccelerator | GlobalAcceleratorClient;
|
|
7
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { GlobalAccelerator } from "../GlobalAccelerator";
|
|
2
|
-
import { GlobalAcceleratorClient } from "../GlobalAcceleratorClient";
|
|
3
|
-
import {
|
|
4
|
-
ListAcceleratorsCommand,
|
|
5
|
-
ListAcceleratorsCommandInput,
|
|
6
|
-
ListAcceleratorsCommandOutput,
|
|
7
|
-
} from "../commands/ListAcceleratorsCommand";
|
|
8
|
-
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: GlobalAcceleratorClient,
|
|
16
|
-
input: ListAcceleratorsCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListAcceleratorsCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListAcceleratorsCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: GlobalAccelerator,
|
|
27
|
-
input: ListAcceleratorsCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListAcceleratorsCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listAccelerators(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListAccelerators(
|
|
34
|
-
config: GlobalAcceleratorPaginationConfiguration,
|
|
35
|
-
input: ListAcceleratorsCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListAcceleratorsCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
39
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListAcceleratorsCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.NextToken = token;
|
|
44
|
-
input["MaxResults"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof GlobalAccelerator) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof GlobalAcceleratorClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.NextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { GlobalAccelerator } from "../GlobalAccelerator";
|
|
2
|
-
import { GlobalAcceleratorClient } from "../GlobalAcceleratorClient";
|
|
3
|
-
import {
|
|
4
|
-
ListByoipCidrsCommand,
|
|
5
|
-
ListByoipCidrsCommandInput,
|
|
6
|
-
ListByoipCidrsCommandOutput,
|
|
7
|
-
} from "../commands/ListByoipCidrsCommand";
|
|
8
|
-
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: GlobalAcceleratorClient,
|
|
16
|
-
input: ListByoipCidrsCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListByoipCidrsCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListByoipCidrsCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: GlobalAccelerator,
|
|
27
|
-
input: ListByoipCidrsCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListByoipCidrsCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listByoipCidrs(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListByoipCidrs(
|
|
34
|
-
config: GlobalAcceleratorPaginationConfiguration,
|
|
35
|
-
input: ListByoipCidrsCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListByoipCidrsCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
39
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListByoipCidrsCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.NextToken = token;
|
|
44
|
-
input["MaxResults"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof GlobalAccelerator) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof GlobalAcceleratorClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.NextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { GlobalAccelerator } from "../GlobalAccelerator";
|
|
2
|
-
import { GlobalAcceleratorClient } from "../GlobalAcceleratorClient";
|
|
3
|
-
import {
|
|
4
|
-
ListCustomRoutingAcceleratorsCommand,
|
|
5
|
-
ListCustomRoutingAcceleratorsCommandInput,
|
|
6
|
-
ListCustomRoutingAcceleratorsCommandOutput,
|
|
7
|
-
} from "../commands/ListCustomRoutingAcceleratorsCommand";
|
|
8
|
-
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: GlobalAcceleratorClient,
|
|
16
|
-
input: ListCustomRoutingAcceleratorsCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListCustomRoutingAcceleratorsCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListCustomRoutingAcceleratorsCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: GlobalAccelerator,
|
|
27
|
-
input: ListCustomRoutingAcceleratorsCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListCustomRoutingAcceleratorsCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listCustomRoutingAccelerators(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListCustomRoutingAccelerators(
|
|
34
|
-
config: GlobalAcceleratorPaginationConfiguration,
|
|
35
|
-
input: ListCustomRoutingAcceleratorsCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListCustomRoutingAcceleratorsCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
39
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListCustomRoutingAcceleratorsCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.NextToken = token;
|
|
44
|
-
input["MaxResults"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof GlobalAccelerator) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof GlobalAcceleratorClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.NextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { GlobalAccelerator } from "../GlobalAccelerator";
|
|
2
|
-
import { GlobalAcceleratorClient } from "../GlobalAcceleratorClient";
|
|
3
|
-
import {
|
|
4
|
-
ListCustomRoutingEndpointGroupsCommand,
|
|
5
|
-
ListCustomRoutingEndpointGroupsCommandInput,
|
|
6
|
-
ListCustomRoutingEndpointGroupsCommandOutput,
|
|
7
|
-
} from "../commands/ListCustomRoutingEndpointGroupsCommand";
|
|
8
|
-
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: GlobalAcceleratorClient,
|
|
16
|
-
input: ListCustomRoutingEndpointGroupsCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListCustomRoutingEndpointGroupsCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListCustomRoutingEndpointGroupsCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: GlobalAccelerator,
|
|
27
|
-
input: ListCustomRoutingEndpointGroupsCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListCustomRoutingEndpointGroupsCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listCustomRoutingEndpointGroups(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListCustomRoutingEndpointGroups(
|
|
34
|
-
config: GlobalAcceleratorPaginationConfiguration,
|
|
35
|
-
input: ListCustomRoutingEndpointGroupsCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListCustomRoutingEndpointGroupsCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
39
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListCustomRoutingEndpointGroupsCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.NextToken = token;
|
|
44
|
-
input["MaxResults"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof GlobalAccelerator) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof GlobalAcceleratorClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.NextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { GlobalAccelerator } from "../GlobalAccelerator";
|
|
2
|
-
import { GlobalAcceleratorClient } from "../GlobalAcceleratorClient";
|
|
3
|
-
import {
|
|
4
|
-
ListCustomRoutingListenersCommand,
|
|
5
|
-
ListCustomRoutingListenersCommandInput,
|
|
6
|
-
ListCustomRoutingListenersCommandOutput,
|
|
7
|
-
} from "../commands/ListCustomRoutingListenersCommand";
|
|
8
|
-
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: GlobalAcceleratorClient,
|
|
16
|
-
input: ListCustomRoutingListenersCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListCustomRoutingListenersCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListCustomRoutingListenersCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: GlobalAccelerator,
|
|
27
|
-
input: ListCustomRoutingListenersCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListCustomRoutingListenersCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listCustomRoutingListeners(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListCustomRoutingListeners(
|
|
34
|
-
config: GlobalAcceleratorPaginationConfiguration,
|
|
35
|
-
input: ListCustomRoutingListenersCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListCustomRoutingListenersCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
39
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListCustomRoutingListenersCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.NextToken = token;
|
|
44
|
-
input["MaxResults"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof GlobalAccelerator) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof GlobalAcceleratorClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.NextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { GlobalAccelerator } from "../GlobalAccelerator";
|
|
2
|
-
import { GlobalAcceleratorClient } from "../GlobalAcceleratorClient";
|
|
3
|
-
import {
|
|
4
|
-
ListCustomRoutingPortMappingsByDestinationCommand,
|
|
5
|
-
ListCustomRoutingPortMappingsByDestinationCommandInput,
|
|
6
|
-
ListCustomRoutingPortMappingsByDestinationCommandOutput,
|
|
7
|
-
} from "../commands/ListCustomRoutingPortMappingsByDestinationCommand";
|
|
8
|
-
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: GlobalAcceleratorClient,
|
|
16
|
-
input: ListCustomRoutingPortMappingsByDestinationCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListCustomRoutingPortMappingsByDestinationCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListCustomRoutingPortMappingsByDestinationCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: GlobalAccelerator,
|
|
27
|
-
input: ListCustomRoutingPortMappingsByDestinationCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListCustomRoutingPortMappingsByDestinationCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listCustomRoutingPortMappingsByDestination(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListCustomRoutingPortMappingsByDestination(
|
|
34
|
-
config: GlobalAcceleratorPaginationConfiguration,
|
|
35
|
-
input: ListCustomRoutingPortMappingsByDestinationCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListCustomRoutingPortMappingsByDestinationCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
39
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListCustomRoutingPortMappingsByDestinationCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.NextToken = token;
|
|
44
|
-
input["MaxResults"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof GlobalAccelerator) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof GlobalAcceleratorClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.NextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { GlobalAccelerator } from "../GlobalAccelerator";
|
|
2
|
-
import { GlobalAcceleratorClient } from "../GlobalAcceleratorClient";
|
|
3
|
-
import {
|
|
4
|
-
ListCustomRoutingPortMappingsCommand,
|
|
5
|
-
ListCustomRoutingPortMappingsCommandInput,
|
|
6
|
-
ListCustomRoutingPortMappingsCommandOutput,
|
|
7
|
-
} from "../commands/ListCustomRoutingPortMappingsCommand";
|
|
8
|
-
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: GlobalAcceleratorClient,
|
|
16
|
-
input: ListCustomRoutingPortMappingsCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListCustomRoutingPortMappingsCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListCustomRoutingPortMappingsCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: GlobalAccelerator,
|
|
27
|
-
input: ListCustomRoutingPortMappingsCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListCustomRoutingPortMappingsCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listCustomRoutingPortMappings(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListCustomRoutingPortMappings(
|
|
34
|
-
config: GlobalAcceleratorPaginationConfiguration,
|
|
35
|
-
input: ListCustomRoutingPortMappingsCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListCustomRoutingPortMappingsCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
39
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListCustomRoutingPortMappingsCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.NextToken = token;
|
|
44
|
-
input["MaxResults"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof GlobalAccelerator) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof GlobalAcceleratorClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.NextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { GlobalAccelerator } from "../GlobalAccelerator";
|
|
2
|
-
import { GlobalAcceleratorClient } from "../GlobalAcceleratorClient";
|
|
3
|
-
import {
|
|
4
|
-
ListEndpointGroupsCommand,
|
|
5
|
-
ListEndpointGroupsCommandInput,
|
|
6
|
-
ListEndpointGroupsCommandOutput,
|
|
7
|
-
} from "../commands/ListEndpointGroupsCommand";
|
|
8
|
-
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: GlobalAcceleratorClient,
|
|
16
|
-
input: ListEndpointGroupsCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListEndpointGroupsCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListEndpointGroupsCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: GlobalAccelerator,
|
|
27
|
-
input: ListEndpointGroupsCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListEndpointGroupsCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listEndpointGroups(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListEndpointGroups(
|
|
34
|
-
config: GlobalAcceleratorPaginationConfiguration,
|
|
35
|
-
input: ListEndpointGroupsCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListEndpointGroupsCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
39
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListEndpointGroupsCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.NextToken = token;
|
|
44
|
-
input["MaxResults"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof GlobalAccelerator) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof GlobalAcceleratorClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.NextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { GlobalAccelerator } from "../GlobalAccelerator";
|
|
2
|
-
import { GlobalAcceleratorClient } from "../GlobalAcceleratorClient";
|
|
3
|
-
import {
|
|
4
|
-
ListListenersCommand,
|
|
5
|
-
ListListenersCommandInput,
|
|
6
|
-
ListListenersCommandOutput,
|
|
7
|
-
} from "../commands/ListListenersCommand";
|
|
8
|
-
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: GlobalAcceleratorClient,
|
|
16
|
-
input: ListListenersCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListListenersCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListListenersCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: GlobalAccelerator,
|
|
27
|
-
input: ListListenersCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListListenersCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listListeners(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListListeners(
|
|
34
|
-
config: GlobalAcceleratorPaginationConfiguration,
|
|
35
|
-
input: ListListenersCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListListenersCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
39
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListListenersCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.NextToken = token;
|
|
44
|
-
input["MaxResults"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof GlobalAccelerator) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof GlobalAcceleratorClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.NextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|