@aws-sdk/client-elastic-load-balancing 3.31.0 → 3.35.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 +39 -0
- package/{dist/cjs → dist-cjs}/ElasticLoadBalancing.js +1 -1
- package/dist-cjs/ElasticLoadBalancing.js.map +1 -0
- package/{dist/cjs → dist-cjs}/ElasticLoadBalancingClient.js +14 -14
- package/dist-cjs/ElasticLoadBalancingClient.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/AddTagsCommand.js +5 -5
- package/dist-cjs/commands/AddTagsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ApplySecurityGroupsToLoadBalancerCommand.js +5 -5
- package/dist-cjs/commands/ApplySecurityGroupsToLoadBalancerCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/AttachLoadBalancerToSubnetsCommand.js +5 -5
- package/dist-cjs/commands/AttachLoadBalancerToSubnetsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ConfigureHealthCheckCommand.js +5 -5
- package/dist-cjs/commands/ConfigureHealthCheckCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateAppCookieStickinessPolicyCommand.js +5 -5
- package/dist-cjs/commands/CreateAppCookieStickinessPolicyCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateLBCookieStickinessPolicyCommand.js +5 -5
- package/dist-cjs/commands/CreateLBCookieStickinessPolicyCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateLoadBalancerCommand.js +5 -5
- package/dist-cjs/commands/CreateLoadBalancerCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateLoadBalancerListenersCommand.js +5 -5
- package/dist-cjs/commands/CreateLoadBalancerListenersCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateLoadBalancerPolicyCommand.js +5 -5
- package/dist-cjs/commands/CreateLoadBalancerPolicyCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteLoadBalancerCommand.js +5 -5
- package/dist-cjs/commands/DeleteLoadBalancerCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteLoadBalancerListenersCommand.js +5 -5
- package/dist-cjs/commands/DeleteLoadBalancerListenersCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteLoadBalancerPolicyCommand.js +5 -5
- package/dist-cjs/commands/DeleteLoadBalancerPolicyCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeregisterInstancesFromLoadBalancerCommand.js +5 -5
- package/dist-cjs/commands/DeregisterInstancesFromLoadBalancerCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeAccountLimitsCommand.js +5 -5
- package/dist-cjs/commands/DescribeAccountLimitsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeInstanceHealthCommand.js +5 -5
- package/dist-cjs/commands/DescribeInstanceHealthCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeLoadBalancerAttributesCommand.js +5 -5
- package/dist-cjs/commands/DescribeLoadBalancerAttributesCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeLoadBalancerPoliciesCommand.js +5 -5
- package/dist-cjs/commands/DescribeLoadBalancerPoliciesCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeLoadBalancerPolicyTypesCommand.js +5 -5
- package/dist-cjs/commands/DescribeLoadBalancerPolicyTypesCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeLoadBalancersCommand.js +5 -5
- package/dist-cjs/commands/DescribeLoadBalancersCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeTagsCommand.js +5 -5
- package/dist-cjs/commands/DescribeTagsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DetachLoadBalancerFromSubnetsCommand.js +5 -5
- package/dist-cjs/commands/DetachLoadBalancerFromSubnetsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +5 -5
- package/dist-cjs/commands/DisableAvailabilityZonesForLoadBalancerCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +5 -5
- package/dist-cjs/commands/EnableAvailabilityZonesForLoadBalancerCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ModifyLoadBalancerAttributesCommand.js +5 -5
- package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/RegisterInstancesWithLoadBalancerCommand.js +5 -5
- package/dist-cjs/commands/RegisterInstancesWithLoadBalancerCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/RemoveTagsCommand.js +5 -5
- package/dist-cjs/commands/RemoveTagsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/SetLoadBalancerListenerSSLCertificateCommand.js +5 -5
- package/dist-cjs/commands/SetLoadBalancerListenerSSLCertificateCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +5 -5
- package/dist-cjs/commands/SetLoadBalancerPoliciesForBackendServerCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/SetLoadBalancerPoliciesOfListenerCommand.js +5 -5
- package/dist-cjs/commands/SetLoadBalancerPoliciesOfListenerCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
- package/dist-cjs/endpoints.js.map +1 -0
- package/dist-cjs/index.js +39 -0
- package/dist-cjs/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/index.js +1 -1
- package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
- package/dist-cjs/models/models_0.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/DescribeLoadBalancersPaginator.js +1 -1
- package/dist-cjs/pagination/DescribeLoadBalancersPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
- package/{dist/cjs → dist-cjs}/protocols/Aws_query.js +206 -206
- package/dist-cjs/protocols/Aws_query.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
- package/dist-cjs/runtimeConfig.browser.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +10 -9
- package/dist-cjs/runtimeConfig.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
- package/dist-cjs/runtimeConfig.native.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
- package/dist-cjs/runtimeConfig.shared.js.map +1 -0
- package/{dist/cjs → dist-cjs}/waiters/waitForAnyInstanceInService.js +9 -9
- package/dist-cjs/waiters/waitForAnyInstanceInService.js.map +1 -0
- package/{dist/es → dist-es}/ElasticLoadBalancing.js +2 -25
- package/dist-es/ElasticLoadBalancing.js.map +1 -0
- package/dist-es/ElasticLoadBalancingClient.js +38 -0
- package/dist-es/ElasticLoadBalancingClient.js.map +1 -0
- package/{dist/es → dist-es}/commands/AddTagsCommand.js +4 -35
- package/dist-es/commands/AddTagsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ApplySecurityGroupsToLoadBalancerCommand.js +4 -31
- package/dist-es/commands/ApplySecurityGroupsToLoadBalancerCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/AttachLoadBalancerToSubnetsCommand.js +4 -32
- package/dist-es/commands/AttachLoadBalancerToSubnetsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ConfigureHealthCheckCommand.js +4 -31
- package/dist-es/commands/ConfigureHealthCheckCommand.js.map +1 -0
- package/dist-es/commands/CreateAppCookieStickinessPolicyCommand.js +40 -0
- package/dist-es/commands/CreateAppCookieStickinessPolicyCommand.js.map +1 -0
- package/dist-es/commands/CreateLBCookieStickinessPolicyCommand.js +40 -0
- package/dist-es/commands/CreateLBCookieStickinessPolicyCommand.js.map +1 -0
- package/dist-es/commands/CreateLoadBalancerCommand.js +40 -0
- package/dist-es/commands/CreateLoadBalancerCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateLoadBalancerListenersCommand.js +4 -31
- package/dist-es/commands/CreateLoadBalancerListenersCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateLoadBalancerPolicyCommand.js +4 -30
- package/dist-es/commands/CreateLoadBalancerPolicyCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteLoadBalancerCommand.js +4 -32
- package/dist-es/commands/DeleteLoadBalancerCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteLoadBalancerListenersCommand.js +4 -29
- package/dist-es/commands/DeleteLoadBalancerListenersCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteLoadBalancerPolicyCommand.js +4 -29
- package/dist-es/commands/DeleteLoadBalancerPolicyCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeregisterInstancesFromLoadBalancerCommand.js +4 -34
- package/dist-es/commands/DeregisterInstancesFromLoadBalancerCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeAccountLimitsCommand.js +4 -31
- package/dist-es/commands/DescribeAccountLimitsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeInstanceHealthCommand.js +4 -29
- package/dist-es/commands/DescribeInstanceHealthCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeLoadBalancerAttributesCommand.js +4 -29
- package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeLoadBalancerPoliciesCommand.js +4 -33
- package/dist-es/commands/DescribeLoadBalancerPoliciesCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeLoadBalancerPolicyTypesCommand.js +4 -36
- package/dist-es/commands/DescribeLoadBalancerPolicyTypesCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeLoadBalancersCommand.js +4 -29
- package/dist-es/commands/DescribeLoadBalancersCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeTagsCommand.js +4 -29
- package/dist-es/commands/DescribeTagsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DetachLoadBalancerFromSubnetsCommand.js +4 -32
- package/dist-es/commands/DetachLoadBalancerFromSubnetsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +4 -37
- package/dist-es/commands/DisableAvailabilityZonesForLoadBalancerCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +4 -34
- package/dist-es/commands/EnableAvailabilityZonesForLoadBalancerCommand.js.map +1 -0
- package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js +40 -0
- package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js.map +1 -0
- package/dist-es/commands/RegisterInstancesWithLoadBalancerCommand.js +40 -0
- package/dist-es/commands/RegisterInstancesWithLoadBalancerCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/RemoveTagsCommand.js +4 -29
- package/dist-es/commands/RemoveTagsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/SetLoadBalancerListenerSSLCertificateCommand.js +4 -33
- package/dist-es/commands/SetLoadBalancerListenerSSLCertificateCommand.js.map +1 -0
- package/dist-es/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +40 -0
- package/dist-es/commands/SetLoadBalancerPoliciesForBackendServerCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/SetLoadBalancerPoliciesOfListenerCommand.js +4 -35
- package/dist-es/commands/SetLoadBalancerPoliciesOfListenerCommand.js.map +1 -0
- package/{dist/es → dist-es}/endpoints.js +1 -1
- package/dist-es/endpoints.js.map +1 -0
- package/{dist/es → dist-es}/index.js +0 -0
- package/dist-es/index.js.map +1 -0
- package/{dist/es → dist-es}/models/index.js +0 -0
- package/dist-es/models/index.js.map +1 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -318
- package/dist-es/models/models_0.js.map +1 -0
- package/{dist/es → dist-es}/pagination/DescribeLoadBalancersPaginator.js +17 -29
- package/dist-es/pagination/DescribeLoadBalancersPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
- package/{dist/es → dist-es}/protocols/Aws_query.js +541 -543
- package/dist-es/protocols/Aws_query.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
- package/dist-es/runtimeConfig.browser.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.js +2 -5
- package/dist-es/runtimeConfig.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
- package/dist-es/runtimeConfig.native.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
- package/dist-es/runtimeConfig.shared.js.map +1 -0
- package/{dist/es → dist-es}/waiters/waitForAnyInstanceInService.js +10 -19
- package/dist-es/waiters/waitForAnyInstanceInService.js.map +1 -0
- package/{dist/types → dist-types}/ElasticLoadBalancing.d.ts +2 -2
- package/{dist/types → dist-types}/ElasticLoadBalancingClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AddTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ApplySecurityGroupsToLoadBalancerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/AttachLoadBalancerToSubnetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ConfigureHealthCheckCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateAppCookieStickinessPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateLBCookieStickinessPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateLoadBalancerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateLoadBalancerListenersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateLoadBalancerPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteLoadBalancerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteLoadBalancerListenersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteLoadBalancerPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeregisterInstancesFromLoadBalancerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeAccountLimitsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeInstanceHealthCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeLoadBalancerAttributesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeLoadBalancerPoliciesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeLoadBalancerPolicyTypesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeLoadBalancersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DetachLoadBalancerFromSubnetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DisableAvailabilityZonesForLoadBalancerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/EnableAvailabilityZonesForLoadBalancerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ModifyLoadBalancerAttributesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RegisterInstancesWithLoadBalancerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RemoveTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SetLoadBalancerListenerSSLCertificateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SetLoadBalancerPoliciesForBackendServerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SetLoadBalancerPoliciesOfListenerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/index.d.ts +0 -0
- package/{dist/types → 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/DescribeLoadBalancersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_query.d.ts +2 -2
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/ElasticLoadBalancing.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/ElasticLoadBalancingClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/AddTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ApplySecurityGroupsToLoadBalancerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/AttachLoadBalancerToSubnetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ConfigureHealthCheckCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateAppCookieStickinessPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateLBCookieStickinessPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateLoadBalancerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateLoadBalancerListenersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateLoadBalancerPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteLoadBalancerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteLoadBalancerListenersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteLoadBalancerPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeregisterInstancesFromLoadBalancerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeInstanceHealthCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLoadBalancerAttributesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLoadBalancerPoliciesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLoadBalancerPolicyTypesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DetachLoadBalancerFromSubnetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DisableAvailabilityZonesForLoadBalancerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/EnableAvailabilityZonesForLoadBalancerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ModifyLoadBalancerAttributesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/RegisterInstancesWithLoadBalancerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/RemoveTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/SetLoadBalancerListenerSSLCertificateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/SetLoadBalancerPoliciesForBackendServerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/SetLoadBalancerPoliciesOfListenerCommand.d.ts +2 -2
- 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 → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeLoadBalancersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_query.d.ts +2 -2
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/waiters/waitForAnyInstanceInService.d.ts +2 -2
- package/{dist/types → dist-types}/waiters/waitForAnyInstanceInService.d.ts +2 -2
- package/package.json +51 -51
- package/{ElasticLoadBalancing.ts → src/ElasticLoadBalancing.ts} +3 -2
- package/{ElasticLoadBalancingClient.ts → src/ElasticLoadBalancingClient.ts} +58 -57
- package/{commands → src/commands}/AddTagsCommand.ts +9 -8
- package/{commands → src/commands}/ApplySecurityGroupsToLoadBalancerCommand.ts +12 -11
- package/{commands → src/commands}/AttachLoadBalancerToSubnetsCommand.ts +12 -11
- package/{commands → src/commands}/ConfigureHealthCheckCommand.ts +12 -11
- package/{commands → src/commands}/CreateAppCookieStickinessPolicyCommand.ts +12 -11
- package/{commands → src/commands}/CreateLBCookieStickinessPolicyCommand.ts +12 -11
- package/{commands → src/commands}/CreateLoadBalancerCommand.ts +12 -11
- package/{commands → src/commands}/CreateLoadBalancerListenersCommand.ts +12 -11
- package/{commands → src/commands}/CreateLoadBalancerPolicyCommand.ts +12 -11
- package/{commands → src/commands}/DeleteLoadBalancerCommand.ts +12 -11
- package/{commands → src/commands}/DeleteLoadBalancerListenersCommand.ts +12 -11
- package/{commands → src/commands}/DeleteLoadBalancerPolicyCommand.ts +12 -11
- package/{commands → src/commands}/DeregisterInstancesFromLoadBalancerCommand.ts +12 -11
- package/{commands → src/commands}/DescribeAccountLimitsCommand.ts +12 -11
- package/{commands → src/commands}/DescribeInstanceHealthCommand.ts +12 -11
- package/{commands → src/commands}/DescribeLoadBalancerAttributesCommand.ts +12 -11
- package/{commands → src/commands}/DescribeLoadBalancerPoliciesCommand.ts +12 -11
- package/{commands → src/commands}/DescribeLoadBalancerPolicyTypesCommand.ts +12 -11
- package/{commands → src/commands}/DescribeLoadBalancersCommand.ts +12 -11
- package/{commands → src/commands}/DescribeTagsCommand.ts +9 -8
- package/{commands → src/commands}/DetachLoadBalancerFromSubnetsCommand.ts +12 -11
- package/{commands → src/commands}/DisableAvailabilityZonesForLoadBalancerCommand.ts +12 -11
- package/{commands → src/commands}/EnableAvailabilityZonesForLoadBalancerCommand.ts +12 -11
- package/{commands → src/commands}/ModifyLoadBalancerAttributesCommand.ts +12 -11
- package/{commands → src/commands}/RegisterInstancesWithLoadBalancerCommand.ts +12 -11
- package/{commands → src/commands}/RemoveTagsCommand.ts +9 -8
- package/{commands → src/commands}/SetLoadBalancerListenerSSLCertificateCommand.ts +13 -12
- package/{commands → src/commands}/SetLoadBalancerPoliciesForBackendServerCommand.ts +13 -12
- package/{commands → src/commands}/SetLoadBalancerPoliciesOfListenerCommand.ts +12 -11
- package/{endpoints.ts → src/endpoints.ts} +1 -1
- package/{index.ts → src/index.ts} +0 -0
- package/{models → src/models}/index.ts +0 -0
- package/{models → src/models}/models_0.ts +0 -0
- package/{pagination → src/pagination}/DescribeLoadBalancersPaginator.ts +4 -3
- package/{pagination → src/pagination}/Interfaces.ts +2 -1
- package/{protocols → src/protocols}/Aws_query.ts +142 -141
- package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
- package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
- package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
- package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
- package/{waiters → src/waiters}/waitForAnyInstanceInService.ts +8 -7
- package/tsconfig.es.json +1 -3
- package/tsconfig.json +7 -7
- package/tsconfig.types.json +9 -0
- package/dist/cjs/ElasticLoadBalancing.js.map +0 -1
- package/dist/cjs/ElasticLoadBalancingClient.js.map +0 -1
- package/dist/cjs/commands/AddTagsCommand.js.map +0 -1
- package/dist/cjs/commands/ApplySecurityGroupsToLoadBalancerCommand.js.map +0 -1
- package/dist/cjs/commands/AttachLoadBalancerToSubnetsCommand.js.map +0 -1
- package/dist/cjs/commands/ConfigureHealthCheckCommand.js.map +0 -1
- package/dist/cjs/commands/CreateAppCookieStickinessPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/CreateLBCookieStickinessPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/CreateLoadBalancerCommand.js.map +0 -1
- package/dist/cjs/commands/CreateLoadBalancerListenersCommand.js.map +0 -1
- package/dist/cjs/commands/CreateLoadBalancerPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteLoadBalancerCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteLoadBalancerListenersCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteLoadBalancerPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DeregisterInstancesFromLoadBalancerCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeAccountLimitsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeInstanceHealthCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeLoadBalancerAttributesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeLoadBalancerPoliciesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeLoadBalancerPolicyTypesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeLoadBalancersCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeTagsCommand.js.map +0 -1
- package/dist/cjs/commands/DetachLoadBalancerFromSubnetsCommand.js.map +0 -1
- package/dist/cjs/commands/DisableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
- package/dist/cjs/commands/EnableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
- package/dist/cjs/commands/ModifyLoadBalancerAttributesCommand.js.map +0 -1
- package/dist/cjs/commands/RegisterInstancesWithLoadBalancerCommand.js.map +0 -1
- package/dist/cjs/commands/RemoveTagsCommand.js.map +0 -1
- package/dist/cjs/commands/SetLoadBalancerListenerSSLCertificateCommand.js.map +0 -1
- package/dist/cjs/commands/SetLoadBalancerPoliciesForBackendServerCommand.js.map +0 -1
- package/dist/cjs/commands/SetLoadBalancerPoliciesOfListenerCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js +0 -39
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -94
- package/dist/cjs/pagination/DescribeLoadBalancersPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_query.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/waitForAnyInstanceInService.js.map +0 -1
- package/dist/es/ElasticLoadBalancing.js.map +0 -1
- package/dist/es/ElasticLoadBalancingClient.js +0 -66
- package/dist/es/ElasticLoadBalancingClient.js.map +0 -1
- package/dist/es/commands/AddTagsCommand.js.map +0 -1
- package/dist/es/commands/ApplySecurityGroupsToLoadBalancerCommand.js.map +0 -1
- package/dist/es/commands/AttachLoadBalancerToSubnetsCommand.js.map +0 -1
- package/dist/es/commands/ConfigureHealthCheckCommand.js.map +0 -1
- package/dist/es/commands/CreateAppCookieStickinessPolicyCommand.js +0 -73
- package/dist/es/commands/CreateAppCookieStickinessPolicyCommand.js.map +0 -1
- package/dist/es/commands/CreateLBCookieStickinessPolicyCommand.js +0 -71
- package/dist/es/commands/CreateLBCookieStickinessPolicyCommand.js.map +0 -1
- package/dist/es/commands/CreateLoadBalancerCommand.js +0 -78
- package/dist/es/commands/CreateLoadBalancerCommand.js.map +0 -1
- package/dist/es/commands/CreateLoadBalancerListenersCommand.js.map +0 -1
- package/dist/es/commands/CreateLoadBalancerPolicyCommand.js.map +0 -1
- package/dist/es/commands/DeleteLoadBalancerCommand.js.map +0 -1
- package/dist/es/commands/DeleteLoadBalancerListenersCommand.js.map +0 -1
- package/dist/es/commands/DeleteLoadBalancerPolicyCommand.js.map +0 -1
- package/dist/es/commands/DeregisterInstancesFromLoadBalancerCommand.js.map +0 -1
- package/dist/es/commands/DescribeAccountLimitsCommand.js.map +0 -1
- package/dist/es/commands/DescribeInstanceHealthCommand.js.map +0 -1
- package/dist/es/commands/DescribeLoadBalancerAttributesCommand.js.map +0 -1
- package/dist/es/commands/DescribeLoadBalancerPoliciesCommand.js.map +0 -1
- package/dist/es/commands/DescribeLoadBalancerPolicyTypesCommand.js.map +0 -1
- package/dist/es/commands/DescribeLoadBalancersCommand.js.map +0 -1
- package/dist/es/commands/DescribeTagsCommand.js.map +0 -1
- package/dist/es/commands/DetachLoadBalancerFromSubnetsCommand.js.map +0 -1
- package/dist/es/commands/DisableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
- package/dist/es/commands/EnableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
- package/dist/es/commands/ModifyLoadBalancerAttributesCommand.js +0 -91
- package/dist/es/commands/ModifyLoadBalancerAttributesCommand.js.map +0 -1
- package/dist/es/commands/RegisterInstancesWithLoadBalancerCommand.js +0 -83
- package/dist/es/commands/RegisterInstancesWithLoadBalancerCommand.js.map +0 -1
- package/dist/es/commands/RemoveTagsCommand.js.map +0 -1
- package/dist/es/commands/SetLoadBalancerListenerSSLCertificateCommand.js.map +0 -1
- package/dist/es/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +0 -75
- package/dist/es/commands/SetLoadBalancerPoliciesForBackendServerCommand.js.map +0 -1
- package/dist/es/commands/SetLoadBalancerPoliciesOfListenerCommand.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/package.json +0 -94
- package/dist/es/pagination/DescribeLoadBalancersPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_query.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/waitForAnyInstanceInService.js.map +0 -1
|
@@ -10,7 +10,7 @@ export var serializeAws_queryAddTagsCommand = function (input, context) { return
|
|
|
10
10
|
"content-type": "application/x-www-form-urlencoded",
|
|
11
11
|
};
|
|
12
12
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryAddTagsInput(input, context)), { Action: "AddTags", Version: "2012-06-01" }));
|
|
13
|
-
return [2
|
|
13
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
14
14
|
});
|
|
15
15
|
}); };
|
|
16
16
|
export var serializeAws_queryApplySecurityGroupsToLoadBalancerCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -20,7 +20,7 @@ export var serializeAws_queryApplySecurityGroupsToLoadBalancerCommand = function
|
|
|
20
20
|
"content-type": "application/x-www-form-urlencoded",
|
|
21
21
|
};
|
|
22
22
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryApplySecurityGroupsToLoadBalancerInput(input, context)), { Action: "ApplySecurityGroupsToLoadBalancer", Version: "2012-06-01" }));
|
|
23
|
-
return [2
|
|
23
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
24
24
|
});
|
|
25
25
|
}); };
|
|
26
26
|
export var serializeAws_queryAttachLoadBalancerToSubnetsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -30,7 +30,7 @@ export var serializeAws_queryAttachLoadBalancerToSubnetsCommand = function (inpu
|
|
|
30
30
|
"content-type": "application/x-www-form-urlencoded",
|
|
31
31
|
};
|
|
32
32
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryAttachLoadBalancerToSubnetsInput(input, context)), { Action: "AttachLoadBalancerToSubnets", Version: "2012-06-01" }));
|
|
33
|
-
return [2
|
|
33
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
34
34
|
});
|
|
35
35
|
}); };
|
|
36
36
|
export var serializeAws_queryConfigureHealthCheckCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -40,7 +40,7 @@ export var serializeAws_queryConfigureHealthCheckCommand = function (input, cont
|
|
|
40
40
|
"content-type": "application/x-www-form-urlencoded",
|
|
41
41
|
};
|
|
42
42
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryConfigureHealthCheckInput(input, context)), { Action: "ConfigureHealthCheck", Version: "2012-06-01" }));
|
|
43
|
-
return [2
|
|
43
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
44
44
|
});
|
|
45
45
|
}); };
|
|
46
46
|
export var serializeAws_queryCreateAppCookieStickinessPolicyCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -50,7 +50,7 @@ export var serializeAws_queryCreateAppCookieStickinessPolicyCommand = function (
|
|
|
50
50
|
"content-type": "application/x-www-form-urlencoded",
|
|
51
51
|
};
|
|
52
52
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryCreateAppCookieStickinessPolicyInput(input, context)), { Action: "CreateAppCookieStickinessPolicy", Version: "2012-06-01" }));
|
|
53
|
-
return [2
|
|
53
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
54
54
|
});
|
|
55
55
|
}); };
|
|
56
56
|
export var serializeAws_queryCreateLBCookieStickinessPolicyCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -60,7 +60,7 @@ export var serializeAws_queryCreateLBCookieStickinessPolicyCommand = function (i
|
|
|
60
60
|
"content-type": "application/x-www-form-urlencoded",
|
|
61
61
|
};
|
|
62
62
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryCreateLBCookieStickinessPolicyInput(input, context)), { Action: "CreateLBCookieStickinessPolicy", Version: "2012-06-01" }));
|
|
63
|
-
return [2
|
|
63
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
64
64
|
});
|
|
65
65
|
}); };
|
|
66
66
|
export var serializeAws_queryCreateLoadBalancerCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -70,7 +70,7 @@ export var serializeAws_queryCreateLoadBalancerCommand = function (input, contex
|
|
|
70
70
|
"content-type": "application/x-www-form-urlencoded",
|
|
71
71
|
};
|
|
72
72
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryCreateAccessPointInput(input, context)), { Action: "CreateLoadBalancer", Version: "2012-06-01" }));
|
|
73
|
-
return [2
|
|
73
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
74
74
|
});
|
|
75
75
|
}); };
|
|
76
76
|
export var serializeAws_queryCreateLoadBalancerListenersCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -80,7 +80,7 @@ export var serializeAws_queryCreateLoadBalancerListenersCommand = function (inpu
|
|
|
80
80
|
"content-type": "application/x-www-form-urlencoded",
|
|
81
81
|
};
|
|
82
82
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryCreateLoadBalancerListenerInput(input, context)), { Action: "CreateLoadBalancerListeners", Version: "2012-06-01" }));
|
|
83
|
-
return [2
|
|
83
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
84
84
|
});
|
|
85
85
|
}); };
|
|
86
86
|
export var serializeAws_queryCreateLoadBalancerPolicyCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -90,7 +90,7 @@ export var serializeAws_queryCreateLoadBalancerPolicyCommand = function (input,
|
|
|
90
90
|
"content-type": "application/x-www-form-urlencoded",
|
|
91
91
|
};
|
|
92
92
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryCreateLoadBalancerPolicyInput(input, context)), { Action: "CreateLoadBalancerPolicy", Version: "2012-06-01" }));
|
|
93
|
-
return [2
|
|
93
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
94
94
|
});
|
|
95
95
|
}); };
|
|
96
96
|
export var serializeAws_queryDeleteLoadBalancerCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -100,7 +100,7 @@ export var serializeAws_queryDeleteLoadBalancerCommand = function (input, contex
|
|
|
100
100
|
"content-type": "application/x-www-form-urlencoded",
|
|
101
101
|
};
|
|
102
102
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryDeleteAccessPointInput(input, context)), { Action: "DeleteLoadBalancer", Version: "2012-06-01" }));
|
|
103
|
-
return [2
|
|
103
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
104
104
|
});
|
|
105
105
|
}); };
|
|
106
106
|
export var serializeAws_queryDeleteLoadBalancerListenersCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -110,7 +110,7 @@ export var serializeAws_queryDeleteLoadBalancerListenersCommand = function (inpu
|
|
|
110
110
|
"content-type": "application/x-www-form-urlencoded",
|
|
111
111
|
};
|
|
112
112
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryDeleteLoadBalancerListenerInput(input, context)), { Action: "DeleteLoadBalancerListeners", Version: "2012-06-01" }));
|
|
113
|
-
return [2
|
|
113
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
114
114
|
});
|
|
115
115
|
}); };
|
|
116
116
|
export var serializeAws_queryDeleteLoadBalancerPolicyCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -120,7 +120,7 @@ export var serializeAws_queryDeleteLoadBalancerPolicyCommand = function (input,
|
|
|
120
120
|
"content-type": "application/x-www-form-urlencoded",
|
|
121
121
|
};
|
|
122
122
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryDeleteLoadBalancerPolicyInput(input, context)), { Action: "DeleteLoadBalancerPolicy", Version: "2012-06-01" }));
|
|
123
|
-
return [2
|
|
123
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
124
124
|
});
|
|
125
125
|
}); };
|
|
126
126
|
export var serializeAws_queryDeregisterInstancesFromLoadBalancerCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -130,7 +130,7 @@ export var serializeAws_queryDeregisterInstancesFromLoadBalancerCommand = functi
|
|
|
130
130
|
"content-type": "application/x-www-form-urlencoded",
|
|
131
131
|
};
|
|
132
132
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryDeregisterEndPointsInput(input, context)), { Action: "DeregisterInstancesFromLoadBalancer", Version: "2012-06-01" }));
|
|
133
|
-
return [2
|
|
133
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
134
134
|
});
|
|
135
135
|
}); };
|
|
136
136
|
export var serializeAws_queryDescribeAccountLimitsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -140,7 +140,7 @@ export var serializeAws_queryDescribeAccountLimitsCommand = function (input, con
|
|
|
140
140
|
"content-type": "application/x-www-form-urlencoded",
|
|
141
141
|
};
|
|
142
142
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryDescribeAccountLimitsInput(input, context)), { Action: "DescribeAccountLimits", Version: "2012-06-01" }));
|
|
143
|
-
return [2
|
|
143
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
144
144
|
});
|
|
145
145
|
}); };
|
|
146
146
|
export var serializeAws_queryDescribeInstanceHealthCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -150,7 +150,7 @@ export var serializeAws_queryDescribeInstanceHealthCommand = function (input, co
|
|
|
150
150
|
"content-type": "application/x-www-form-urlencoded",
|
|
151
151
|
};
|
|
152
152
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryDescribeEndPointStateInput(input, context)), { Action: "DescribeInstanceHealth", Version: "2012-06-01" }));
|
|
153
|
-
return [2
|
|
153
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
154
154
|
});
|
|
155
155
|
}); };
|
|
156
156
|
export var serializeAws_queryDescribeLoadBalancerAttributesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -160,7 +160,7 @@ export var serializeAws_queryDescribeLoadBalancerAttributesCommand = function (i
|
|
|
160
160
|
"content-type": "application/x-www-form-urlencoded",
|
|
161
161
|
};
|
|
162
162
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryDescribeLoadBalancerAttributesInput(input, context)), { Action: "DescribeLoadBalancerAttributes", Version: "2012-06-01" }));
|
|
163
|
-
return [2
|
|
163
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
164
164
|
});
|
|
165
165
|
}); };
|
|
166
166
|
export var serializeAws_queryDescribeLoadBalancerPoliciesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -170,7 +170,7 @@ export var serializeAws_queryDescribeLoadBalancerPoliciesCommand = function (inp
|
|
|
170
170
|
"content-type": "application/x-www-form-urlencoded",
|
|
171
171
|
};
|
|
172
172
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryDescribeLoadBalancerPoliciesInput(input, context)), { Action: "DescribeLoadBalancerPolicies", Version: "2012-06-01" }));
|
|
173
|
-
return [2
|
|
173
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
174
174
|
});
|
|
175
175
|
}); };
|
|
176
176
|
export var serializeAws_queryDescribeLoadBalancerPolicyTypesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -180,7 +180,7 @@ export var serializeAws_queryDescribeLoadBalancerPolicyTypesCommand = function (
|
|
|
180
180
|
"content-type": "application/x-www-form-urlencoded",
|
|
181
181
|
};
|
|
182
182
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryDescribeLoadBalancerPolicyTypesInput(input, context)), { Action: "DescribeLoadBalancerPolicyTypes", Version: "2012-06-01" }));
|
|
183
|
-
return [2
|
|
183
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
184
184
|
});
|
|
185
185
|
}); };
|
|
186
186
|
export var serializeAws_queryDescribeLoadBalancersCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -190,7 +190,7 @@ export var serializeAws_queryDescribeLoadBalancersCommand = function (input, con
|
|
|
190
190
|
"content-type": "application/x-www-form-urlencoded",
|
|
191
191
|
};
|
|
192
192
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryDescribeAccessPointsInput(input, context)), { Action: "DescribeLoadBalancers", Version: "2012-06-01" }));
|
|
193
|
-
return [2
|
|
193
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
194
194
|
});
|
|
195
195
|
}); };
|
|
196
196
|
export var serializeAws_queryDescribeTagsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -200,7 +200,7 @@ export var serializeAws_queryDescribeTagsCommand = function (input, context) { r
|
|
|
200
200
|
"content-type": "application/x-www-form-urlencoded",
|
|
201
201
|
};
|
|
202
202
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryDescribeTagsInput(input, context)), { Action: "DescribeTags", Version: "2012-06-01" }));
|
|
203
|
-
return [2
|
|
203
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
204
204
|
});
|
|
205
205
|
}); };
|
|
206
206
|
export var serializeAws_queryDetachLoadBalancerFromSubnetsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -210,7 +210,7 @@ export var serializeAws_queryDetachLoadBalancerFromSubnetsCommand = function (in
|
|
|
210
210
|
"content-type": "application/x-www-form-urlencoded",
|
|
211
211
|
};
|
|
212
212
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryDetachLoadBalancerFromSubnetsInput(input, context)), { Action: "DetachLoadBalancerFromSubnets", Version: "2012-06-01" }));
|
|
213
|
-
return [2
|
|
213
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
214
214
|
});
|
|
215
215
|
}); };
|
|
216
216
|
export var serializeAws_queryDisableAvailabilityZonesForLoadBalancerCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -220,7 +220,7 @@ export var serializeAws_queryDisableAvailabilityZonesForLoadBalancerCommand = fu
|
|
|
220
220
|
"content-type": "application/x-www-form-urlencoded",
|
|
221
221
|
};
|
|
222
222
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryRemoveAvailabilityZonesInput(input, context)), { Action: "DisableAvailabilityZonesForLoadBalancer", Version: "2012-06-01" }));
|
|
223
|
-
return [2
|
|
223
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
224
224
|
});
|
|
225
225
|
}); };
|
|
226
226
|
export var serializeAws_queryEnableAvailabilityZonesForLoadBalancerCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -230,7 +230,7 @@ export var serializeAws_queryEnableAvailabilityZonesForLoadBalancerCommand = fun
|
|
|
230
230
|
"content-type": "application/x-www-form-urlencoded",
|
|
231
231
|
};
|
|
232
232
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryAddAvailabilityZonesInput(input, context)), { Action: "EnableAvailabilityZonesForLoadBalancer", Version: "2012-06-01" }));
|
|
233
|
-
return [2
|
|
233
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
234
234
|
});
|
|
235
235
|
}); };
|
|
236
236
|
export var serializeAws_queryModifyLoadBalancerAttributesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -240,7 +240,7 @@ export var serializeAws_queryModifyLoadBalancerAttributesCommand = function (inp
|
|
|
240
240
|
"content-type": "application/x-www-form-urlencoded",
|
|
241
241
|
};
|
|
242
242
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryModifyLoadBalancerAttributesInput(input, context)), { Action: "ModifyLoadBalancerAttributes", Version: "2012-06-01" }));
|
|
243
|
-
return [2
|
|
243
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
244
244
|
});
|
|
245
245
|
}); };
|
|
246
246
|
export var serializeAws_queryRegisterInstancesWithLoadBalancerCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -250,7 +250,7 @@ export var serializeAws_queryRegisterInstancesWithLoadBalancerCommand = function
|
|
|
250
250
|
"content-type": "application/x-www-form-urlencoded",
|
|
251
251
|
};
|
|
252
252
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryRegisterEndPointsInput(input, context)), { Action: "RegisterInstancesWithLoadBalancer", Version: "2012-06-01" }));
|
|
253
|
-
return [2
|
|
253
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
254
254
|
});
|
|
255
255
|
}); };
|
|
256
256
|
export var serializeAws_queryRemoveTagsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -260,7 +260,7 @@ export var serializeAws_queryRemoveTagsCommand = function (input, context) { ret
|
|
|
260
260
|
"content-type": "application/x-www-form-urlencoded",
|
|
261
261
|
};
|
|
262
262
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryRemoveTagsInput(input, context)), { Action: "RemoveTags", Version: "2012-06-01" }));
|
|
263
|
-
return [2
|
|
263
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
264
264
|
});
|
|
265
265
|
}); };
|
|
266
266
|
export var serializeAws_querySetLoadBalancerListenerSSLCertificateCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -270,7 +270,7 @@ export var serializeAws_querySetLoadBalancerListenerSSLCertificateCommand = func
|
|
|
270
270
|
"content-type": "application/x-www-form-urlencoded",
|
|
271
271
|
};
|
|
272
272
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_querySetLoadBalancerListenerSSLCertificateInput(input, context)), { Action: "SetLoadBalancerListenerSSLCertificate", Version: "2012-06-01" }));
|
|
273
|
-
return [2
|
|
273
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
274
274
|
});
|
|
275
275
|
}); };
|
|
276
276
|
export var serializeAws_querySetLoadBalancerPoliciesForBackendServerCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -280,7 +280,7 @@ export var serializeAws_querySetLoadBalancerPoliciesForBackendServerCommand = fu
|
|
|
280
280
|
"content-type": "application/x-www-form-urlencoded",
|
|
281
281
|
};
|
|
282
282
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_querySetLoadBalancerPoliciesForBackendServerInput(input, context)), { Action: "SetLoadBalancerPoliciesForBackendServer", Version: "2012-06-01" }));
|
|
283
|
-
return [2
|
|
283
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
284
284
|
});
|
|
285
285
|
}); };
|
|
286
286
|
export var serializeAws_querySetLoadBalancerPoliciesOfListenerCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -290,7 +290,7 @@ export var serializeAws_querySetLoadBalancerPoliciesOfListenerCommand = function
|
|
|
290
290
|
"content-type": "application/x-www-form-urlencoded",
|
|
291
291
|
};
|
|
292
292
|
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_querySetLoadBalancerPoliciesOfListenerInput(input, context)), { Action: "SetLoadBalancerPoliciesOfListener", Version: "2012-06-01" }));
|
|
293
|
-
return [2
|
|
293
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
294
294
|
});
|
|
295
295
|
}); };
|
|
296
296
|
export var deserializeAws_queryAddTagsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -299,15 +299,15 @@ export var deserializeAws_queryAddTagsCommand = function (output, context) { ret
|
|
|
299
299
|
switch (_a.label) {
|
|
300
300
|
case 0:
|
|
301
301
|
if (output.statusCode >= 300) {
|
|
302
|
-
return [2
|
|
302
|
+
return [2, deserializeAws_queryAddTagsCommandError(output, context)];
|
|
303
303
|
}
|
|
304
|
-
return [4
|
|
304
|
+
return [4, parseBody(output.body, context)];
|
|
305
305
|
case 1:
|
|
306
306
|
data = _a.sent();
|
|
307
307
|
contents = {};
|
|
308
308
|
contents = deserializeAws_queryAddTagsOutput(data.AddTagsResult, context);
|
|
309
309
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
310
|
-
return [2
|
|
310
|
+
return [2, Promise.resolve(response)];
|
|
311
311
|
}
|
|
312
312
|
});
|
|
313
313
|
}); };
|
|
@@ -319,39 +319,39 @@ var deserializeAws_queryAddTagsCommandError = function (output, context) { retur
|
|
|
319
319
|
case 0:
|
|
320
320
|
_a = [__assign({}, output)];
|
|
321
321
|
_f = {};
|
|
322
|
-
return [4
|
|
322
|
+
return [4, parseBody(output.body, context)];
|
|
323
323
|
case 1:
|
|
324
324
|
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
325
325
|
errorCode = "UnknownError";
|
|
326
326
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
327
327
|
_b = errorCode;
|
|
328
328
|
switch (_b) {
|
|
329
|
-
case "AccessPointNotFoundException": return [3
|
|
330
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
331
|
-
case "DuplicateTagKeysException": return [3
|
|
332
|
-
case "com.amazonaws.elasticloadbalancing#DuplicateTagKeysException": return [3
|
|
333
|
-
case "TooManyTagsException": return [3
|
|
334
|
-
case "com.amazonaws.elasticloadbalancing#TooManyTagsException": return [3
|
|
329
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
330
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
331
|
+
case "DuplicateTagKeysException": return [3, 4];
|
|
332
|
+
case "com.amazonaws.elasticloadbalancing#DuplicateTagKeysException": return [3, 4];
|
|
333
|
+
case "TooManyTagsException": return [3, 6];
|
|
334
|
+
case "com.amazonaws.elasticloadbalancing#TooManyTagsException": return [3, 6];
|
|
335
335
|
}
|
|
336
|
-
return [3
|
|
336
|
+
return [3, 8];
|
|
337
337
|
case 2:
|
|
338
338
|
_c = [{}];
|
|
339
|
-
return [4
|
|
339
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
340
340
|
case 3:
|
|
341
341
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
342
|
-
return [3
|
|
342
|
+
return [3, 9];
|
|
343
343
|
case 4:
|
|
344
344
|
_d = [{}];
|
|
345
|
-
return [4
|
|
345
|
+
return [4, deserializeAws_queryDuplicateTagKeysExceptionResponse(parsedOutput, context)];
|
|
346
346
|
case 5:
|
|
347
347
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
348
|
-
return [3
|
|
348
|
+
return [3, 9];
|
|
349
349
|
case 6:
|
|
350
350
|
_e = [{}];
|
|
351
|
-
return [4
|
|
351
|
+
return [4, deserializeAws_queryTooManyTagsExceptionResponse(parsedOutput, context)];
|
|
352
352
|
case 7:
|
|
353
353
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
354
|
-
return [3
|
|
354
|
+
return [3, 9];
|
|
355
355
|
case 8:
|
|
356
356
|
parsedBody = parsedOutput.body;
|
|
357
357
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -361,7 +361,7 @@ var deserializeAws_queryAddTagsCommandError = function (output, context) { retur
|
|
|
361
361
|
message = response.message || response.Message || errorCode;
|
|
362
362
|
response.message = message;
|
|
363
363
|
delete response.Message;
|
|
364
|
-
return [2
|
|
364
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
365
365
|
}
|
|
366
366
|
});
|
|
367
367
|
}); };
|
|
@@ -371,15 +371,15 @@ export var deserializeAws_queryApplySecurityGroupsToLoadBalancerCommand = functi
|
|
|
371
371
|
switch (_a.label) {
|
|
372
372
|
case 0:
|
|
373
373
|
if (output.statusCode >= 300) {
|
|
374
|
-
return [2
|
|
374
|
+
return [2, deserializeAws_queryApplySecurityGroupsToLoadBalancerCommandError(output, context)];
|
|
375
375
|
}
|
|
376
|
-
return [4
|
|
376
|
+
return [4, parseBody(output.body, context)];
|
|
377
377
|
case 1:
|
|
378
378
|
data = _a.sent();
|
|
379
379
|
contents = {};
|
|
380
380
|
contents = deserializeAws_queryApplySecurityGroupsToLoadBalancerOutput(data.ApplySecurityGroupsToLoadBalancerResult, context);
|
|
381
381
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
382
|
-
return [2
|
|
382
|
+
return [2, Promise.resolve(response)];
|
|
383
383
|
}
|
|
384
384
|
});
|
|
385
385
|
}); };
|
|
@@ -391,39 +391,39 @@ var deserializeAws_queryApplySecurityGroupsToLoadBalancerCommandError = function
|
|
|
391
391
|
case 0:
|
|
392
392
|
_a = [__assign({}, output)];
|
|
393
393
|
_f = {};
|
|
394
|
-
return [4
|
|
394
|
+
return [4, parseBody(output.body, context)];
|
|
395
395
|
case 1:
|
|
396
396
|
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
397
397
|
errorCode = "UnknownError";
|
|
398
398
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
399
399
|
_b = errorCode;
|
|
400
400
|
switch (_b) {
|
|
401
|
-
case "AccessPointNotFoundException": return [3
|
|
402
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
403
|
-
case "InvalidConfigurationRequestException": return [3
|
|
404
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3
|
|
405
|
-
case "InvalidSecurityGroupException": return [3
|
|
406
|
-
case "com.amazonaws.elasticloadbalancing#InvalidSecurityGroupException": return [3
|
|
401
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
402
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
403
|
+
case "InvalidConfigurationRequestException": return [3, 4];
|
|
404
|
+
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3, 4];
|
|
405
|
+
case "InvalidSecurityGroupException": return [3, 6];
|
|
406
|
+
case "com.amazonaws.elasticloadbalancing#InvalidSecurityGroupException": return [3, 6];
|
|
407
407
|
}
|
|
408
|
-
return [3
|
|
408
|
+
return [3, 8];
|
|
409
409
|
case 2:
|
|
410
410
|
_c = [{}];
|
|
411
|
-
return [4
|
|
411
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
412
412
|
case 3:
|
|
413
413
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
414
|
-
return [3
|
|
414
|
+
return [3, 9];
|
|
415
415
|
case 4:
|
|
416
416
|
_d = [{}];
|
|
417
|
-
return [4
|
|
417
|
+
return [4, deserializeAws_queryInvalidConfigurationRequestExceptionResponse(parsedOutput, context)];
|
|
418
418
|
case 5:
|
|
419
419
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
420
|
-
return [3
|
|
420
|
+
return [3, 9];
|
|
421
421
|
case 6:
|
|
422
422
|
_e = [{}];
|
|
423
|
-
return [4
|
|
423
|
+
return [4, deserializeAws_queryInvalidSecurityGroupExceptionResponse(parsedOutput, context)];
|
|
424
424
|
case 7:
|
|
425
425
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
426
|
-
return [3
|
|
426
|
+
return [3, 9];
|
|
427
427
|
case 8:
|
|
428
428
|
parsedBody = parsedOutput.body;
|
|
429
429
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -433,7 +433,7 @@ var deserializeAws_queryApplySecurityGroupsToLoadBalancerCommandError = function
|
|
|
433
433
|
message = response.message || response.Message || errorCode;
|
|
434
434
|
response.message = message;
|
|
435
435
|
delete response.Message;
|
|
436
|
-
return [2
|
|
436
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
437
437
|
}
|
|
438
438
|
});
|
|
439
439
|
}); };
|
|
@@ -443,15 +443,15 @@ export var deserializeAws_queryAttachLoadBalancerToSubnetsCommand = function (ou
|
|
|
443
443
|
switch (_a.label) {
|
|
444
444
|
case 0:
|
|
445
445
|
if (output.statusCode >= 300) {
|
|
446
|
-
return [2
|
|
446
|
+
return [2, deserializeAws_queryAttachLoadBalancerToSubnetsCommandError(output, context)];
|
|
447
447
|
}
|
|
448
|
-
return [4
|
|
448
|
+
return [4, parseBody(output.body, context)];
|
|
449
449
|
case 1:
|
|
450
450
|
data = _a.sent();
|
|
451
451
|
contents = {};
|
|
452
452
|
contents = deserializeAws_queryAttachLoadBalancerToSubnetsOutput(data.AttachLoadBalancerToSubnetsResult, context);
|
|
453
453
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
454
|
-
return [2
|
|
454
|
+
return [2, Promise.resolve(response)];
|
|
455
455
|
}
|
|
456
456
|
});
|
|
457
457
|
}); };
|
|
@@ -463,47 +463,47 @@ var deserializeAws_queryAttachLoadBalancerToSubnetsCommandError = function (outp
|
|
|
463
463
|
case 0:
|
|
464
464
|
_a = [__assign({}, output)];
|
|
465
465
|
_g = {};
|
|
466
|
-
return [4
|
|
466
|
+
return [4, parseBody(output.body, context)];
|
|
467
467
|
case 1:
|
|
468
468
|
parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
|
|
469
469
|
errorCode = "UnknownError";
|
|
470
470
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
471
471
|
_b = errorCode;
|
|
472
472
|
switch (_b) {
|
|
473
|
-
case "AccessPointNotFoundException": return [3
|
|
474
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
475
|
-
case "InvalidConfigurationRequestException": return [3
|
|
476
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3
|
|
477
|
-
case "InvalidSubnetException": return [3
|
|
478
|
-
case "com.amazonaws.elasticloadbalancing#InvalidSubnetException": return [3
|
|
479
|
-
case "SubnetNotFoundException": return [3
|
|
480
|
-
case "com.amazonaws.elasticloadbalancing#SubnetNotFoundException": return [3
|
|
473
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
474
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
475
|
+
case "InvalidConfigurationRequestException": return [3, 4];
|
|
476
|
+
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3, 4];
|
|
477
|
+
case "InvalidSubnetException": return [3, 6];
|
|
478
|
+
case "com.amazonaws.elasticloadbalancing#InvalidSubnetException": return [3, 6];
|
|
479
|
+
case "SubnetNotFoundException": return [3, 8];
|
|
480
|
+
case "com.amazonaws.elasticloadbalancing#SubnetNotFoundException": return [3, 8];
|
|
481
481
|
}
|
|
482
|
-
return [3
|
|
482
|
+
return [3, 10];
|
|
483
483
|
case 2:
|
|
484
484
|
_c = [{}];
|
|
485
|
-
return [4
|
|
485
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
486
486
|
case 3:
|
|
487
487
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
488
|
-
return [3
|
|
488
|
+
return [3, 11];
|
|
489
489
|
case 4:
|
|
490
490
|
_d = [{}];
|
|
491
|
-
return [4
|
|
491
|
+
return [4, deserializeAws_queryInvalidConfigurationRequestExceptionResponse(parsedOutput, context)];
|
|
492
492
|
case 5:
|
|
493
493
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
494
|
-
return [3
|
|
494
|
+
return [3, 11];
|
|
495
495
|
case 6:
|
|
496
496
|
_e = [{}];
|
|
497
|
-
return [4
|
|
497
|
+
return [4, deserializeAws_queryInvalidSubnetExceptionResponse(parsedOutput, context)];
|
|
498
498
|
case 7:
|
|
499
499
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
500
|
-
return [3
|
|
500
|
+
return [3, 11];
|
|
501
501
|
case 8:
|
|
502
502
|
_f = [{}];
|
|
503
|
-
return [4
|
|
503
|
+
return [4, deserializeAws_querySubnetNotFoundExceptionResponse(parsedOutput, context)];
|
|
504
504
|
case 9:
|
|
505
505
|
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
506
|
-
return [3
|
|
506
|
+
return [3, 11];
|
|
507
507
|
case 10:
|
|
508
508
|
parsedBody = parsedOutput.body;
|
|
509
509
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -513,7 +513,7 @@ var deserializeAws_queryAttachLoadBalancerToSubnetsCommandError = function (outp
|
|
|
513
513
|
message = response.message || response.Message || errorCode;
|
|
514
514
|
response.message = message;
|
|
515
515
|
delete response.Message;
|
|
516
|
-
return [2
|
|
516
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
517
517
|
}
|
|
518
518
|
});
|
|
519
519
|
}); };
|
|
@@ -523,15 +523,15 @@ export var deserializeAws_queryConfigureHealthCheckCommand = function (output, c
|
|
|
523
523
|
switch (_a.label) {
|
|
524
524
|
case 0:
|
|
525
525
|
if (output.statusCode >= 300) {
|
|
526
|
-
return [2
|
|
526
|
+
return [2, deserializeAws_queryConfigureHealthCheckCommandError(output, context)];
|
|
527
527
|
}
|
|
528
|
-
return [4
|
|
528
|
+
return [4, parseBody(output.body, context)];
|
|
529
529
|
case 1:
|
|
530
530
|
data = _a.sent();
|
|
531
531
|
contents = {};
|
|
532
532
|
contents = deserializeAws_queryConfigureHealthCheckOutput(data.ConfigureHealthCheckResult, context);
|
|
533
533
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
534
|
-
return [2
|
|
534
|
+
return [2, Promise.resolve(response)];
|
|
535
535
|
}
|
|
536
536
|
});
|
|
537
537
|
}); };
|
|
@@ -543,23 +543,23 @@ var deserializeAws_queryConfigureHealthCheckCommandError = function (output, con
|
|
|
543
543
|
case 0:
|
|
544
544
|
_a = [__assign({}, output)];
|
|
545
545
|
_d = {};
|
|
546
|
-
return [4
|
|
546
|
+
return [4, parseBody(output.body, context)];
|
|
547
547
|
case 1:
|
|
548
548
|
parsedOutput = __assign.apply(void 0, _a.concat([(_d.body = _e.sent(), _d)]));
|
|
549
549
|
errorCode = "UnknownError";
|
|
550
550
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
551
551
|
_b = errorCode;
|
|
552
552
|
switch (_b) {
|
|
553
|
-
case "AccessPointNotFoundException": return [3
|
|
554
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
553
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
554
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
555
555
|
}
|
|
556
|
-
return [3
|
|
556
|
+
return [3, 4];
|
|
557
557
|
case 2:
|
|
558
558
|
_c = [{}];
|
|
559
|
-
return [4
|
|
559
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
560
560
|
case 3:
|
|
561
561
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
562
|
-
return [3
|
|
562
|
+
return [3, 5];
|
|
563
563
|
case 4:
|
|
564
564
|
parsedBody = parsedOutput.body;
|
|
565
565
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -569,7 +569,7 @@ var deserializeAws_queryConfigureHealthCheckCommandError = function (output, con
|
|
|
569
569
|
message = response.message || response.Message || errorCode;
|
|
570
570
|
response.message = message;
|
|
571
571
|
delete response.Message;
|
|
572
|
-
return [2
|
|
572
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
573
573
|
}
|
|
574
574
|
});
|
|
575
575
|
}); };
|
|
@@ -579,15 +579,15 @@ export var deserializeAws_queryCreateAppCookieStickinessPolicyCommand = function
|
|
|
579
579
|
switch (_a.label) {
|
|
580
580
|
case 0:
|
|
581
581
|
if (output.statusCode >= 300) {
|
|
582
|
-
return [2
|
|
582
|
+
return [2, deserializeAws_queryCreateAppCookieStickinessPolicyCommandError(output, context)];
|
|
583
583
|
}
|
|
584
|
-
return [4
|
|
584
|
+
return [4, parseBody(output.body, context)];
|
|
585
585
|
case 1:
|
|
586
586
|
data = _a.sent();
|
|
587
587
|
contents = {};
|
|
588
588
|
contents = deserializeAws_queryCreateAppCookieStickinessPolicyOutput(data.CreateAppCookieStickinessPolicyResult, context);
|
|
589
589
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
590
|
-
return [2
|
|
590
|
+
return [2, Promise.resolve(response)];
|
|
591
591
|
}
|
|
592
592
|
});
|
|
593
593
|
}); };
|
|
@@ -599,47 +599,47 @@ var deserializeAws_queryCreateAppCookieStickinessPolicyCommandError = function (
|
|
|
599
599
|
case 0:
|
|
600
600
|
_a = [__assign({}, output)];
|
|
601
601
|
_g = {};
|
|
602
|
-
return [4
|
|
602
|
+
return [4, parseBody(output.body, context)];
|
|
603
603
|
case 1:
|
|
604
604
|
parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
|
|
605
605
|
errorCode = "UnknownError";
|
|
606
606
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
607
607
|
_b = errorCode;
|
|
608
608
|
switch (_b) {
|
|
609
|
-
case "AccessPointNotFoundException": return [3
|
|
610
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
611
|
-
case "DuplicatePolicyNameException": return [3
|
|
612
|
-
case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException": return [3
|
|
613
|
-
case "InvalidConfigurationRequestException": return [3
|
|
614
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3
|
|
615
|
-
case "TooManyPoliciesException": return [3
|
|
616
|
-
case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException": return [3
|
|
609
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
610
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
611
|
+
case "DuplicatePolicyNameException": return [3, 4];
|
|
612
|
+
case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException": return [3, 4];
|
|
613
|
+
case "InvalidConfigurationRequestException": return [3, 6];
|
|
614
|
+
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3, 6];
|
|
615
|
+
case "TooManyPoliciesException": return [3, 8];
|
|
616
|
+
case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException": return [3, 8];
|
|
617
617
|
}
|
|
618
|
-
return [3
|
|
618
|
+
return [3, 10];
|
|
619
619
|
case 2:
|
|
620
620
|
_c = [{}];
|
|
621
|
-
return [4
|
|
621
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
622
622
|
case 3:
|
|
623
623
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
624
|
-
return [3
|
|
624
|
+
return [3, 11];
|
|
625
625
|
case 4:
|
|
626
626
|
_d = [{}];
|
|
627
|
-
return [4
|
|
627
|
+
return [4, deserializeAws_queryDuplicatePolicyNameExceptionResponse(parsedOutput, context)];
|
|
628
628
|
case 5:
|
|
629
629
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
630
|
-
return [3
|
|
630
|
+
return [3, 11];
|
|
631
631
|
case 6:
|
|
632
632
|
_e = [{}];
|
|
633
|
-
return [4
|
|
633
|
+
return [4, deserializeAws_queryInvalidConfigurationRequestExceptionResponse(parsedOutput, context)];
|
|
634
634
|
case 7:
|
|
635
635
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
636
|
-
return [3
|
|
636
|
+
return [3, 11];
|
|
637
637
|
case 8:
|
|
638
638
|
_f = [{}];
|
|
639
|
-
return [4
|
|
639
|
+
return [4, deserializeAws_queryTooManyPoliciesExceptionResponse(parsedOutput, context)];
|
|
640
640
|
case 9:
|
|
641
641
|
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
642
|
-
return [3
|
|
642
|
+
return [3, 11];
|
|
643
643
|
case 10:
|
|
644
644
|
parsedBody = parsedOutput.body;
|
|
645
645
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -649,7 +649,7 @@ var deserializeAws_queryCreateAppCookieStickinessPolicyCommandError = function (
|
|
|
649
649
|
message = response.message || response.Message || errorCode;
|
|
650
650
|
response.message = message;
|
|
651
651
|
delete response.Message;
|
|
652
|
-
return [2
|
|
652
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
653
653
|
}
|
|
654
654
|
});
|
|
655
655
|
}); };
|
|
@@ -659,15 +659,15 @@ export var deserializeAws_queryCreateLBCookieStickinessPolicyCommand = function
|
|
|
659
659
|
switch (_a.label) {
|
|
660
660
|
case 0:
|
|
661
661
|
if (output.statusCode >= 300) {
|
|
662
|
-
return [2
|
|
662
|
+
return [2, deserializeAws_queryCreateLBCookieStickinessPolicyCommandError(output, context)];
|
|
663
663
|
}
|
|
664
|
-
return [4
|
|
664
|
+
return [4, parseBody(output.body, context)];
|
|
665
665
|
case 1:
|
|
666
666
|
data = _a.sent();
|
|
667
667
|
contents = {};
|
|
668
668
|
contents = deserializeAws_queryCreateLBCookieStickinessPolicyOutput(data.CreateLBCookieStickinessPolicyResult, context);
|
|
669
669
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
670
|
-
return [2
|
|
670
|
+
return [2, Promise.resolve(response)];
|
|
671
671
|
}
|
|
672
672
|
});
|
|
673
673
|
}); };
|
|
@@ -679,47 +679,47 @@ var deserializeAws_queryCreateLBCookieStickinessPolicyCommandError = function (o
|
|
|
679
679
|
case 0:
|
|
680
680
|
_a = [__assign({}, output)];
|
|
681
681
|
_g = {};
|
|
682
|
-
return [4
|
|
682
|
+
return [4, parseBody(output.body, context)];
|
|
683
683
|
case 1:
|
|
684
684
|
parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
|
|
685
685
|
errorCode = "UnknownError";
|
|
686
686
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
687
687
|
_b = errorCode;
|
|
688
688
|
switch (_b) {
|
|
689
|
-
case "AccessPointNotFoundException": return [3
|
|
690
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
691
|
-
case "DuplicatePolicyNameException": return [3
|
|
692
|
-
case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException": return [3
|
|
693
|
-
case "InvalidConfigurationRequestException": return [3
|
|
694
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3
|
|
695
|
-
case "TooManyPoliciesException": return [3
|
|
696
|
-
case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException": return [3
|
|
689
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
690
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
691
|
+
case "DuplicatePolicyNameException": return [3, 4];
|
|
692
|
+
case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException": return [3, 4];
|
|
693
|
+
case "InvalidConfigurationRequestException": return [3, 6];
|
|
694
|
+
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3, 6];
|
|
695
|
+
case "TooManyPoliciesException": return [3, 8];
|
|
696
|
+
case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException": return [3, 8];
|
|
697
697
|
}
|
|
698
|
-
return [3
|
|
698
|
+
return [3, 10];
|
|
699
699
|
case 2:
|
|
700
700
|
_c = [{}];
|
|
701
|
-
return [4
|
|
701
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
702
702
|
case 3:
|
|
703
703
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
704
|
-
return [3
|
|
704
|
+
return [3, 11];
|
|
705
705
|
case 4:
|
|
706
706
|
_d = [{}];
|
|
707
|
-
return [4
|
|
707
|
+
return [4, deserializeAws_queryDuplicatePolicyNameExceptionResponse(parsedOutput, context)];
|
|
708
708
|
case 5:
|
|
709
709
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
710
|
-
return [3
|
|
710
|
+
return [3, 11];
|
|
711
711
|
case 6:
|
|
712
712
|
_e = [{}];
|
|
713
|
-
return [4
|
|
713
|
+
return [4, deserializeAws_queryInvalidConfigurationRequestExceptionResponse(parsedOutput, context)];
|
|
714
714
|
case 7:
|
|
715
715
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
716
|
-
return [3
|
|
716
|
+
return [3, 11];
|
|
717
717
|
case 8:
|
|
718
718
|
_f = [{}];
|
|
719
|
-
return [4
|
|
719
|
+
return [4, deserializeAws_queryTooManyPoliciesExceptionResponse(parsedOutput, context)];
|
|
720
720
|
case 9:
|
|
721
721
|
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
722
|
-
return [3
|
|
722
|
+
return [3, 11];
|
|
723
723
|
case 10:
|
|
724
724
|
parsedBody = parsedOutput.body;
|
|
725
725
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -729,7 +729,7 @@ var deserializeAws_queryCreateLBCookieStickinessPolicyCommandError = function (o
|
|
|
729
729
|
message = response.message || response.Message || errorCode;
|
|
730
730
|
response.message = message;
|
|
731
731
|
delete response.Message;
|
|
732
|
-
return [2
|
|
732
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
733
733
|
}
|
|
734
734
|
});
|
|
735
735
|
}); };
|
|
@@ -739,15 +739,15 @@ export var deserializeAws_queryCreateLoadBalancerCommand = function (output, con
|
|
|
739
739
|
switch (_a.label) {
|
|
740
740
|
case 0:
|
|
741
741
|
if (output.statusCode >= 300) {
|
|
742
|
-
return [2
|
|
742
|
+
return [2, deserializeAws_queryCreateLoadBalancerCommandError(output, context)];
|
|
743
743
|
}
|
|
744
|
-
return [4
|
|
744
|
+
return [4, parseBody(output.body, context)];
|
|
745
745
|
case 1:
|
|
746
746
|
data = _a.sent();
|
|
747
747
|
contents = {};
|
|
748
748
|
contents = deserializeAws_queryCreateAccessPointOutput(data.CreateLoadBalancerResult, context);
|
|
749
749
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
750
|
-
return [2
|
|
750
|
+
return [2, Promise.resolve(response)];
|
|
751
751
|
}
|
|
752
752
|
});
|
|
753
753
|
}); };
|
|
@@ -759,111 +759,111 @@ var deserializeAws_queryCreateLoadBalancerCommandError = function (output, conte
|
|
|
759
759
|
case 0:
|
|
760
760
|
_a = [__assign({}, output)];
|
|
761
761
|
_q = {};
|
|
762
|
-
return [4
|
|
762
|
+
return [4, parseBody(output.body, context)];
|
|
763
763
|
case 1:
|
|
764
764
|
parsedOutput = __assign.apply(void 0, _a.concat([(_q.body = _r.sent(), _q)]));
|
|
765
765
|
errorCode = "UnknownError";
|
|
766
766
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
767
767
|
_b = errorCode;
|
|
768
768
|
switch (_b) {
|
|
769
|
-
case "CertificateNotFoundException": return [3
|
|
770
|
-
case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException": return [3
|
|
771
|
-
case "DuplicateAccessPointNameException": return [3
|
|
772
|
-
case "com.amazonaws.elasticloadbalancing#DuplicateAccessPointNameException": return [3
|
|
773
|
-
case "DuplicateTagKeysException": return [3
|
|
774
|
-
case "com.amazonaws.elasticloadbalancing#DuplicateTagKeysException": return [3
|
|
775
|
-
case "InvalidConfigurationRequestException": return [3
|
|
776
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3
|
|
777
|
-
case "InvalidSchemeException": return [3
|
|
778
|
-
case "com.amazonaws.elasticloadbalancing#InvalidSchemeException": return [3
|
|
779
|
-
case "InvalidSecurityGroupException": return [3
|
|
780
|
-
case "com.amazonaws.elasticloadbalancing#InvalidSecurityGroupException": return [3
|
|
781
|
-
case "InvalidSubnetException": return [3
|
|
782
|
-
case "com.amazonaws.elasticloadbalancing#InvalidSubnetException": return [3
|
|
783
|
-
case "OperationNotPermittedException": return [3
|
|
784
|
-
case "com.amazonaws.elasticloadbalancing#OperationNotPermittedException": return [3
|
|
785
|
-
case "SubnetNotFoundException": return [3
|
|
786
|
-
case "com.amazonaws.elasticloadbalancing#SubnetNotFoundException": return [3
|
|
787
|
-
case "TooManyAccessPointsException": return [3
|
|
788
|
-
case "com.amazonaws.elasticloadbalancing#TooManyAccessPointsException": return [3
|
|
789
|
-
case "TooManyTagsException": return [3
|
|
790
|
-
case "com.amazonaws.elasticloadbalancing#TooManyTagsException": return [3
|
|
791
|
-
case "UnsupportedProtocolException": return [3
|
|
792
|
-
case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException": return [3
|
|
769
|
+
case "CertificateNotFoundException": return [3, 2];
|
|
770
|
+
case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException": return [3, 2];
|
|
771
|
+
case "DuplicateAccessPointNameException": return [3, 4];
|
|
772
|
+
case "com.amazonaws.elasticloadbalancing#DuplicateAccessPointNameException": return [3, 4];
|
|
773
|
+
case "DuplicateTagKeysException": return [3, 6];
|
|
774
|
+
case "com.amazonaws.elasticloadbalancing#DuplicateTagKeysException": return [3, 6];
|
|
775
|
+
case "InvalidConfigurationRequestException": return [3, 8];
|
|
776
|
+
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3, 8];
|
|
777
|
+
case "InvalidSchemeException": return [3, 10];
|
|
778
|
+
case "com.amazonaws.elasticloadbalancing#InvalidSchemeException": return [3, 10];
|
|
779
|
+
case "InvalidSecurityGroupException": return [3, 12];
|
|
780
|
+
case "com.amazonaws.elasticloadbalancing#InvalidSecurityGroupException": return [3, 12];
|
|
781
|
+
case "InvalidSubnetException": return [3, 14];
|
|
782
|
+
case "com.amazonaws.elasticloadbalancing#InvalidSubnetException": return [3, 14];
|
|
783
|
+
case "OperationNotPermittedException": return [3, 16];
|
|
784
|
+
case "com.amazonaws.elasticloadbalancing#OperationNotPermittedException": return [3, 16];
|
|
785
|
+
case "SubnetNotFoundException": return [3, 18];
|
|
786
|
+
case "com.amazonaws.elasticloadbalancing#SubnetNotFoundException": return [3, 18];
|
|
787
|
+
case "TooManyAccessPointsException": return [3, 20];
|
|
788
|
+
case "com.amazonaws.elasticloadbalancing#TooManyAccessPointsException": return [3, 20];
|
|
789
|
+
case "TooManyTagsException": return [3, 22];
|
|
790
|
+
case "com.amazonaws.elasticloadbalancing#TooManyTagsException": return [3, 22];
|
|
791
|
+
case "UnsupportedProtocolException": return [3, 24];
|
|
792
|
+
case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException": return [3, 24];
|
|
793
793
|
}
|
|
794
|
-
return [3
|
|
794
|
+
return [3, 26];
|
|
795
795
|
case 2:
|
|
796
796
|
_c = [{}];
|
|
797
|
-
return [4
|
|
797
|
+
return [4, deserializeAws_queryCertificateNotFoundExceptionResponse(parsedOutput, context)];
|
|
798
798
|
case 3:
|
|
799
799
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_r.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
800
|
-
return [3
|
|
800
|
+
return [3, 27];
|
|
801
801
|
case 4:
|
|
802
802
|
_d = [{}];
|
|
803
|
-
return [4
|
|
803
|
+
return [4, deserializeAws_queryDuplicateAccessPointNameExceptionResponse(parsedOutput, context)];
|
|
804
804
|
case 5:
|
|
805
805
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_r.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
806
|
-
return [3
|
|
806
|
+
return [3, 27];
|
|
807
807
|
case 6:
|
|
808
808
|
_e = [{}];
|
|
809
|
-
return [4
|
|
809
|
+
return [4, deserializeAws_queryDuplicateTagKeysExceptionResponse(parsedOutput, context)];
|
|
810
810
|
case 7:
|
|
811
811
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_r.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
812
|
-
return [3
|
|
812
|
+
return [3, 27];
|
|
813
813
|
case 8:
|
|
814
814
|
_f = [{}];
|
|
815
|
-
return [4
|
|
815
|
+
return [4, deserializeAws_queryInvalidConfigurationRequestExceptionResponse(parsedOutput, context)];
|
|
816
816
|
case 9:
|
|
817
817
|
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_r.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
818
|
-
return [3
|
|
818
|
+
return [3, 27];
|
|
819
819
|
case 10:
|
|
820
820
|
_g = [{}];
|
|
821
|
-
return [4
|
|
821
|
+
return [4, deserializeAws_queryInvalidSchemeExceptionResponse(parsedOutput, context)];
|
|
822
822
|
case 11:
|
|
823
823
|
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_r.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
824
|
-
return [3
|
|
824
|
+
return [3, 27];
|
|
825
825
|
case 12:
|
|
826
826
|
_h = [{}];
|
|
827
|
-
return [4
|
|
827
|
+
return [4, deserializeAws_queryInvalidSecurityGroupExceptionResponse(parsedOutput, context)];
|
|
828
828
|
case 13:
|
|
829
829
|
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_r.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
830
|
-
return [3
|
|
830
|
+
return [3, 27];
|
|
831
831
|
case 14:
|
|
832
832
|
_j = [{}];
|
|
833
|
-
return [4
|
|
833
|
+
return [4, deserializeAws_queryInvalidSubnetExceptionResponse(parsedOutput, context)];
|
|
834
834
|
case 15:
|
|
835
835
|
response = __assign.apply(void 0, [__assign.apply(void 0, _j.concat([(_r.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
836
|
-
return [3
|
|
836
|
+
return [3, 27];
|
|
837
837
|
case 16:
|
|
838
838
|
_k = [{}];
|
|
839
|
-
return [4
|
|
839
|
+
return [4, deserializeAws_queryOperationNotPermittedExceptionResponse(parsedOutput, context)];
|
|
840
840
|
case 17:
|
|
841
841
|
response = __assign.apply(void 0, [__assign.apply(void 0, _k.concat([(_r.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
842
|
-
return [3
|
|
842
|
+
return [3, 27];
|
|
843
843
|
case 18:
|
|
844
844
|
_l = [{}];
|
|
845
|
-
return [4
|
|
845
|
+
return [4, deserializeAws_querySubnetNotFoundExceptionResponse(parsedOutput, context)];
|
|
846
846
|
case 19:
|
|
847
847
|
response = __assign.apply(void 0, [__assign.apply(void 0, _l.concat([(_r.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
848
|
-
return [3
|
|
848
|
+
return [3, 27];
|
|
849
849
|
case 20:
|
|
850
850
|
_m = [{}];
|
|
851
|
-
return [4
|
|
851
|
+
return [4, deserializeAws_queryTooManyAccessPointsExceptionResponse(parsedOutput, context)];
|
|
852
852
|
case 21:
|
|
853
853
|
response = __assign.apply(void 0, [__assign.apply(void 0, _m.concat([(_r.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
854
|
-
return [3
|
|
854
|
+
return [3, 27];
|
|
855
855
|
case 22:
|
|
856
856
|
_o = [{}];
|
|
857
|
-
return [4
|
|
857
|
+
return [4, deserializeAws_queryTooManyTagsExceptionResponse(parsedOutput, context)];
|
|
858
858
|
case 23:
|
|
859
859
|
response = __assign.apply(void 0, [__assign.apply(void 0, _o.concat([(_r.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
860
|
-
return [3
|
|
860
|
+
return [3, 27];
|
|
861
861
|
case 24:
|
|
862
862
|
_p = [{}];
|
|
863
|
-
return [4
|
|
863
|
+
return [4, deserializeAws_queryUnsupportedProtocolExceptionResponse(parsedOutput, context)];
|
|
864
864
|
case 25:
|
|
865
865
|
response = __assign.apply(void 0, [__assign.apply(void 0, _p.concat([(_r.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
866
|
-
return [3
|
|
866
|
+
return [3, 27];
|
|
867
867
|
case 26:
|
|
868
868
|
parsedBody = parsedOutput.body;
|
|
869
869
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -873,7 +873,7 @@ var deserializeAws_queryCreateLoadBalancerCommandError = function (output, conte
|
|
|
873
873
|
message = response.message || response.Message || errorCode;
|
|
874
874
|
response.message = message;
|
|
875
875
|
delete response.Message;
|
|
876
|
-
return [2
|
|
876
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
877
877
|
}
|
|
878
878
|
});
|
|
879
879
|
}); };
|
|
@@ -883,15 +883,15 @@ export var deserializeAws_queryCreateLoadBalancerListenersCommand = function (ou
|
|
|
883
883
|
switch (_a.label) {
|
|
884
884
|
case 0:
|
|
885
885
|
if (output.statusCode >= 300) {
|
|
886
|
-
return [2
|
|
886
|
+
return [2, deserializeAws_queryCreateLoadBalancerListenersCommandError(output, context)];
|
|
887
887
|
}
|
|
888
|
-
return [4
|
|
888
|
+
return [4, parseBody(output.body, context)];
|
|
889
889
|
case 1:
|
|
890
890
|
data = _a.sent();
|
|
891
891
|
contents = {};
|
|
892
892
|
contents = deserializeAws_queryCreateLoadBalancerListenerOutput(data.CreateLoadBalancerListenersResult, context);
|
|
893
893
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
894
|
-
return [2
|
|
894
|
+
return [2, Promise.resolve(response)];
|
|
895
895
|
}
|
|
896
896
|
});
|
|
897
897
|
}); };
|
|
@@ -903,55 +903,55 @@ var deserializeAws_queryCreateLoadBalancerListenersCommandError = function (outp
|
|
|
903
903
|
case 0:
|
|
904
904
|
_a = [__assign({}, output)];
|
|
905
905
|
_h = {};
|
|
906
|
-
return [4
|
|
906
|
+
return [4, parseBody(output.body, context)];
|
|
907
907
|
case 1:
|
|
908
908
|
parsedOutput = __assign.apply(void 0, _a.concat([(_h.body = _j.sent(), _h)]));
|
|
909
909
|
errorCode = "UnknownError";
|
|
910
910
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
911
911
|
_b = errorCode;
|
|
912
912
|
switch (_b) {
|
|
913
|
-
case "AccessPointNotFoundException": return [3
|
|
914
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
915
|
-
case "CertificateNotFoundException": return [3
|
|
916
|
-
case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException": return [3
|
|
917
|
-
case "DuplicateListenerException": return [3
|
|
918
|
-
case "com.amazonaws.elasticloadbalancing#DuplicateListenerException": return [3
|
|
919
|
-
case "InvalidConfigurationRequestException": return [3
|
|
920
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3
|
|
921
|
-
case "UnsupportedProtocolException": return [3
|
|
922
|
-
case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException": return [3
|
|
913
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
914
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
915
|
+
case "CertificateNotFoundException": return [3, 4];
|
|
916
|
+
case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException": return [3, 4];
|
|
917
|
+
case "DuplicateListenerException": return [3, 6];
|
|
918
|
+
case "com.amazonaws.elasticloadbalancing#DuplicateListenerException": return [3, 6];
|
|
919
|
+
case "InvalidConfigurationRequestException": return [3, 8];
|
|
920
|
+
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3, 8];
|
|
921
|
+
case "UnsupportedProtocolException": return [3, 10];
|
|
922
|
+
case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException": return [3, 10];
|
|
923
923
|
}
|
|
924
|
-
return [3
|
|
924
|
+
return [3, 12];
|
|
925
925
|
case 2:
|
|
926
926
|
_c = [{}];
|
|
927
|
-
return [4
|
|
927
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
928
928
|
case 3:
|
|
929
929
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
930
|
-
return [3
|
|
930
|
+
return [3, 13];
|
|
931
931
|
case 4:
|
|
932
932
|
_d = [{}];
|
|
933
|
-
return [4
|
|
933
|
+
return [4, deserializeAws_queryCertificateNotFoundExceptionResponse(parsedOutput, context)];
|
|
934
934
|
case 5:
|
|
935
935
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
936
|
-
return [3
|
|
936
|
+
return [3, 13];
|
|
937
937
|
case 6:
|
|
938
938
|
_e = [{}];
|
|
939
|
-
return [4
|
|
939
|
+
return [4, deserializeAws_queryDuplicateListenerExceptionResponse(parsedOutput, context)];
|
|
940
940
|
case 7:
|
|
941
941
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
942
|
-
return [3
|
|
942
|
+
return [3, 13];
|
|
943
943
|
case 8:
|
|
944
944
|
_f = [{}];
|
|
945
|
-
return [4
|
|
945
|
+
return [4, deserializeAws_queryInvalidConfigurationRequestExceptionResponse(parsedOutput, context)];
|
|
946
946
|
case 9:
|
|
947
947
|
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
948
|
-
return [3
|
|
948
|
+
return [3, 13];
|
|
949
949
|
case 10:
|
|
950
950
|
_g = [{}];
|
|
951
|
-
return [4
|
|
951
|
+
return [4, deserializeAws_queryUnsupportedProtocolExceptionResponse(parsedOutput, context)];
|
|
952
952
|
case 11:
|
|
953
953
|
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
954
|
-
return [3
|
|
954
|
+
return [3, 13];
|
|
955
955
|
case 12:
|
|
956
956
|
parsedBody = parsedOutput.body;
|
|
957
957
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -961,7 +961,7 @@ var deserializeAws_queryCreateLoadBalancerListenersCommandError = function (outp
|
|
|
961
961
|
message = response.message || response.Message || errorCode;
|
|
962
962
|
response.message = message;
|
|
963
963
|
delete response.Message;
|
|
964
|
-
return [2
|
|
964
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
965
965
|
}
|
|
966
966
|
});
|
|
967
967
|
}); };
|
|
@@ -971,15 +971,15 @@ export var deserializeAws_queryCreateLoadBalancerPolicyCommand = function (outpu
|
|
|
971
971
|
switch (_a.label) {
|
|
972
972
|
case 0:
|
|
973
973
|
if (output.statusCode >= 300) {
|
|
974
|
-
return [2
|
|
974
|
+
return [2, deserializeAws_queryCreateLoadBalancerPolicyCommandError(output, context)];
|
|
975
975
|
}
|
|
976
|
-
return [4
|
|
976
|
+
return [4, parseBody(output.body, context)];
|
|
977
977
|
case 1:
|
|
978
978
|
data = _a.sent();
|
|
979
979
|
contents = {};
|
|
980
980
|
contents = deserializeAws_queryCreateLoadBalancerPolicyOutput(data.CreateLoadBalancerPolicyResult, context);
|
|
981
981
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
982
|
-
return [2
|
|
982
|
+
return [2, Promise.resolve(response)];
|
|
983
983
|
}
|
|
984
984
|
});
|
|
985
985
|
}); };
|
|
@@ -991,55 +991,55 @@ var deserializeAws_queryCreateLoadBalancerPolicyCommandError = function (output,
|
|
|
991
991
|
case 0:
|
|
992
992
|
_a = [__assign({}, output)];
|
|
993
993
|
_h = {};
|
|
994
|
-
return [4
|
|
994
|
+
return [4, parseBody(output.body, context)];
|
|
995
995
|
case 1:
|
|
996
996
|
parsedOutput = __assign.apply(void 0, _a.concat([(_h.body = _j.sent(), _h)]));
|
|
997
997
|
errorCode = "UnknownError";
|
|
998
998
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
999
999
|
_b = errorCode;
|
|
1000
1000
|
switch (_b) {
|
|
1001
|
-
case "AccessPointNotFoundException": return [3
|
|
1002
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
1003
|
-
case "DuplicatePolicyNameException": return [3
|
|
1004
|
-
case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException": return [3
|
|
1005
|
-
case "InvalidConfigurationRequestException": return [3
|
|
1006
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3
|
|
1007
|
-
case "PolicyTypeNotFoundException": return [3
|
|
1008
|
-
case "com.amazonaws.elasticloadbalancing#PolicyTypeNotFoundException": return [3
|
|
1009
|
-
case "TooManyPoliciesException": return [3
|
|
1010
|
-
case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException": return [3
|
|
1001
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
1002
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
1003
|
+
case "DuplicatePolicyNameException": return [3, 4];
|
|
1004
|
+
case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException": return [3, 4];
|
|
1005
|
+
case "InvalidConfigurationRequestException": return [3, 6];
|
|
1006
|
+
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3, 6];
|
|
1007
|
+
case "PolicyTypeNotFoundException": return [3, 8];
|
|
1008
|
+
case "com.amazonaws.elasticloadbalancing#PolicyTypeNotFoundException": return [3, 8];
|
|
1009
|
+
case "TooManyPoliciesException": return [3, 10];
|
|
1010
|
+
case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException": return [3, 10];
|
|
1011
1011
|
}
|
|
1012
|
-
return [3
|
|
1012
|
+
return [3, 12];
|
|
1013
1013
|
case 2:
|
|
1014
1014
|
_c = [{}];
|
|
1015
|
-
return [4
|
|
1015
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
1016
1016
|
case 3:
|
|
1017
1017
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1018
|
-
return [3
|
|
1018
|
+
return [3, 13];
|
|
1019
1019
|
case 4:
|
|
1020
1020
|
_d = [{}];
|
|
1021
|
-
return [4
|
|
1021
|
+
return [4, deserializeAws_queryDuplicatePolicyNameExceptionResponse(parsedOutput, context)];
|
|
1022
1022
|
case 5:
|
|
1023
1023
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1024
|
-
return [3
|
|
1024
|
+
return [3, 13];
|
|
1025
1025
|
case 6:
|
|
1026
1026
|
_e = [{}];
|
|
1027
|
-
return [4
|
|
1027
|
+
return [4, deserializeAws_queryInvalidConfigurationRequestExceptionResponse(parsedOutput, context)];
|
|
1028
1028
|
case 7:
|
|
1029
1029
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1030
|
-
return [3
|
|
1030
|
+
return [3, 13];
|
|
1031
1031
|
case 8:
|
|
1032
1032
|
_f = [{}];
|
|
1033
|
-
return [4
|
|
1033
|
+
return [4, deserializeAws_queryPolicyTypeNotFoundExceptionResponse(parsedOutput, context)];
|
|
1034
1034
|
case 9:
|
|
1035
1035
|
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1036
|
-
return [3
|
|
1036
|
+
return [3, 13];
|
|
1037
1037
|
case 10:
|
|
1038
1038
|
_g = [{}];
|
|
1039
|
-
return [4
|
|
1039
|
+
return [4, deserializeAws_queryTooManyPoliciesExceptionResponse(parsedOutput, context)];
|
|
1040
1040
|
case 11:
|
|
1041
1041
|
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1042
|
-
return [3
|
|
1042
|
+
return [3, 13];
|
|
1043
1043
|
case 12:
|
|
1044
1044
|
parsedBody = parsedOutput.body;
|
|
1045
1045
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -1049,7 +1049,7 @@ var deserializeAws_queryCreateLoadBalancerPolicyCommandError = function (output,
|
|
|
1049
1049
|
message = response.message || response.Message || errorCode;
|
|
1050
1050
|
response.message = message;
|
|
1051
1051
|
delete response.Message;
|
|
1052
|
-
return [2
|
|
1052
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1053
1053
|
}
|
|
1054
1054
|
});
|
|
1055
1055
|
}); };
|
|
@@ -1059,15 +1059,15 @@ export var deserializeAws_queryDeleteLoadBalancerCommand = function (output, con
|
|
|
1059
1059
|
switch (_a.label) {
|
|
1060
1060
|
case 0:
|
|
1061
1061
|
if (output.statusCode >= 300) {
|
|
1062
|
-
return [2
|
|
1062
|
+
return [2, deserializeAws_queryDeleteLoadBalancerCommandError(output, context)];
|
|
1063
1063
|
}
|
|
1064
|
-
return [4
|
|
1064
|
+
return [4, parseBody(output.body, context)];
|
|
1065
1065
|
case 1:
|
|
1066
1066
|
data = _a.sent();
|
|
1067
1067
|
contents = {};
|
|
1068
1068
|
contents = deserializeAws_queryDeleteAccessPointOutput(data.DeleteLoadBalancerResult, context);
|
|
1069
1069
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1070
|
-
return [2
|
|
1070
|
+
return [2, Promise.resolve(response)];
|
|
1071
1071
|
}
|
|
1072
1072
|
});
|
|
1073
1073
|
}); };
|
|
@@ -1079,7 +1079,7 @@ var deserializeAws_queryDeleteLoadBalancerCommandError = function (output, conte
|
|
|
1079
1079
|
case 0:
|
|
1080
1080
|
_a = [__assign({}, output)];
|
|
1081
1081
|
_b = {};
|
|
1082
|
-
return [4
|
|
1082
|
+
return [4, parseBody(output.body, context)];
|
|
1083
1083
|
case 1:
|
|
1084
1084
|
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
1085
1085
|
errorCode = "UnknownError";
|
|
@@ -1093,7 +1093,7 @@ var deserializeAws_queryDeleteLoadBalancerCommandError = function (output, conte
|
|
|
1093
1093
|
message = response.message || response.Message || errorCode;
|
|
1094
1094
|
response.message = message;
|
|
1095
1095
|
delete response.Message;
|
|
1096
|
-
return [2
|
|
1096
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1097
1097
|
}
|
|
1098
1098
|
});
|
|
1099
1099
|
}); };
|
|
@@ -1103,15 +1103,15 @@ export var deserializeAws_queryDeleteLoadBalancerListenersCommand = function (ou
|
|
|
1103
1103
|
switch (_a.label) {
|
|
1104
1104
|
case 0:
|
|
1105
1105
|
if (output.statusCode >= 300) {
|
|
1106
|
-
return [2
|
|
1106
|
+
return [2, deserializeAws_queryDeleteLoadBalancerListenersCommandError(output, context)];
|
|
1107
1107
|
}
|
|
1108
|
-
return [4
|
|
1108
|
+
return [4, parseBody(output.body, context)];
|
|
1109
1109
|
case 1:
|
|
1110
1110
|
data = _a.sent();
|
|
1111
1111
|
contents = {};
|
|
1112
1112
|
contents = deserializeAws_queryDeleteLoadBalancerListenerOutput(data.DeleteLoadBalancerListenersResult, context);
|
|
1113
1113
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1114
|
-
return [2
|
|
1114
|
+
return [2, Promise.resolve(response)];
|
|
1115
1115
|
}
|
|
1116
1116
|
});
|
|
1117
1117
|
}); };
|
|
@@ -1123,23 +1123,23 @@ var deserializeAws_queryDeleteLoadBalancerListenersCommandError = function (outp
|
|
|
1123
1123
|
case 0:
|
|
1124
1124
|
_a = [__assign({}, output)];
|
|
1125
1125
|
_d = {};
|
|
1126
|
-
return [4
|
|
1126
|
+
return [4, parseBody(output.body, context)];
|
|
1127
1127
|
case 1:
|
|
1128
1128
|
parsedOutput = __assign.apply(void 0, _a.concat([(_d.body = _e.sent(), _d)]));
|
|
1129
1129
|
errorCode = "UnknownError";
|
|
1130
1130
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1131
1131
|
_b = errorCode;
|
|
1132
1132
|
switch (_b) {
|
|
1133
|
-
case "AccessPointNotFoundException": return [3
|
|
1134
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
1133
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
1134
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
1135
1135
|
}
|
|
1136
|
-
return [3
|
|
1136
|
+
return [3, 4];
|
|
1137
1137
|
case 2:
|
|
1138
1138
|
_c = [{}];
|
|
1139
|
-
return [4
|
|
1139
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
1140
1140
|
case 3:
|
|
1141
1141
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1142
|
-
return [3
|
|
1142
|
+
return [3, 5];
|
|
1143
1143
|
case 4:
|
|
1144
1144
|
parsedBody = parsedOutput.body;
|
|
1145
1145
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -1149,7 +1149,7 @@ var deserializeAws_queryDeleteLoadBalancerListenersCommandError = function (outp
|
|
|
1149
1149
|
message = response.message || response.Message || errorCode;
|
|
1150
1150
|
response.message = message;
|
|
1151
1151
|
delete response.Message;
|
|
1152
|
-
return [2
|
|
1152
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1153
1153
|
}
|
|
1154
1154
|
});
|
|
1155
1155
|
}); };
|
|
@@ -1159,15 +1159,15 @@ export var deserializeAws_queryDeleteLoadBalancerPolicyCommand = function (outpu
|
|
|
1159
1159
|
switch (_a.label) {
|
|
1160
1160
|
case 0:
|
|
1161
1161
|
if (output.statusCode >= 300) {
|
|
1162
|
-
return [2
|
|
1162
|
+
return [2, deserializeAws_queryDeleteLoadBalancerPolicyCommandError(output, context)];
|
|
1163
1163
|
}
|
|
1164
|
-
return [4
|
|
1164
|
+
return [4, parseBody(output.body, context)];
|
|
1165
1165
|
case 1:
|
|
1166
1166
|
data = _a.sent();
|
|
1167
1167
|
contents = {};
|
|
1168
1168
|
contents = deserializeAws_queryDeleteLoadBalancerPolicyOutput(data.DeleteLoadBalancerPolicyResult, context);
|
|
1169
1169
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1170
|
-
return [2
|
|
1170
|
+
return [2, Promise.resolve(response)];
|
|
1171
1171
|
}
|
|
1172
1172
|
});
|
|
1173
1173
|
}); };
|
|
@@ -1179,31 +1179,31 @@ var deserializeAws_queryDeleteLoadBalancerPolicyCommandError = function (output,
|
|
|
1179
1179
|
case 0:
|
|
1180
1180
|
_a = [__assign({}, output)];
|
|
1181
1181
|
_e = {};
|
|
1182
|
-
return [4
|
|
1182
|
+
return [4, parseBody(output.body, context)];
|
|
1183
1183
|
case 1:
|
|
1184
1184
|
parsedOutput = __assign.apply(void 0, _a.concat([(_e.body = _f.sent(), _e)]));
|
|
1185
1185
|
errorCode = "UnknownError";
|
|
1186
1186
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1187
1187
|
_b = errorCode;
|
|
1188
1188
|
switch (_b) {
|
|
1189
|
-
case "AccessPointNotFoundException": return [3
|
|
1190
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
1191
|
-
case "InvalidConfigurationRequestException": return [3
|
|
1192
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3
|
|
1189
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
1190
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
1191
|
+
case "InvalidConfigurationRequestException": return [3, 4];
|
|
1192
|
+
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3, 4];
|
|
1193
1193
|
}
|
|
1194
|
-
return [3
|
|
1194
|
+
return [3, 6];
|
|
1195
1195
|
case 2:
|
|
1196
1196
|
_c = [{}];
|
|
1197
|
-
return [4
|
|
1197
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
1198
1198
|
case 3:
|
|
1199
1199
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1200
|
-
return [3
|
|
1200
|
+
return [3, 7];
|
|
1201
1201
|
case 4:
|
|
1202
1202
|
_d = [{}];
|
|
1203
|
-
return [4
|
|
1203
|
+
return [4, deserializeAws_queryInvalidConfigurationRequestExceptionResponse(parsedOutput, context)];
|
|
1204
1204
|
case 5:
|
|
1205
1205
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1206
|
-
return [3
|
|
1206
|
+
return [3, 7];
|
|
1207
1207
|
case 6:
|
|
1208
1208
|
parsedBody = parsedOutput.body;
|
|
1209
1209
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -1213,7 +1213,7 @@ var deserializeAws_queryDeleteLoadBalancerPolicyCommandError = function (output,
|
|
|
1213
1213
|
message = response.message || response.Message || errorCode;
|
|
1214
1214
|
response.message = message;
|
|
1215
1215
|
delete response.Message;
|
|
1216
|
-
return [2
|
|
1216
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1217
1217
|
}
|
|
1218
1218
|
});
|
|
1219
1219
|
}); };
|
|
@@ -1223,15 +1223,15 @@ export var deserializeAws_queryDeregisterInstancesFromLoadBalancerCommand = func
|
|
|
1223
1223
|
switch (_a.label) {
|
|
1224
1224
|
case 0:
|
|
1225
1225
|
if (output.statusCode >= 300) {
|
|
1226
|
-
return [2
|
|
1226
|
+
return [2, deserializeAws_queryDeregisterInstancesFromLoadBalancerCommandError(output, context)];
|
|
1227
1227
|
}
|
|
1228
|
-
return [4
|
|
1228
|
+
return [4, parseBody(output.body, context)];
|
|
1229
1229
|
case 1:
|
|
1230
1230
|
data = _a.sent();
|
|
1231
1231
|
contents = {};
|
|
1232
1232
|
contents = deserializeAws_queryDeregisterEndPointsOutput(data.DeregisterInstancesFromLoadBalancerResult, context);
|
|
1233
1233
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1234
|
-
return [2
|
|
1234
|
+
return [2, Promise.resolve(response)];
|
|
1235
1235
|
}
|
|
1236
1236
|
});
|
|
1237
1237
|
}); };
|
|
@@ -1243,31 +1243,31 @@ var deserializeAws_queryDeregisterInstancesFromLoadBalancerCommandError = functi
|
|
|
1243
1243
|
case 0:
|
|
1244
1244
|
_a = [__assign({}, output)];
|
|
1245
1245
|
_e = {};
|
|
1246
|
-
return [4
|
|
1246
|
+
return [4, parseBody(output.body, context)];
|
|
1247
1247
|
case 1:
|
|
1248
1248
|
parsedOutput = __assign.apply(void 0, _a.concat([(_e.body = _f.sent(), _e)]));
|
|
1249
1249
|
errorCode = "UnknownError";
|
|
1250
1250
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1251
1251
|
_b = errorCode;
|
|
1252
1252
|
switch (_b) {
|
|
1253
|
-
case "AccessPointNotFoundException": return [3
|
|
1254
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
1255
|
-
case "InvalidEndPointException": return [3
|
|
1256
|
-
case "com.amazonaws.elasticloadbalancing#InvalidEndPointException": return [3
|
|
1253
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
1254
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
1255
|
+
case "InvalidEndPointException": return [3, 4];
|
|
1256
|
+
case "com.amazonaws.elasticloadbalancing#InvalidEndPointException": return [3, 4];
|
|
1257
1257
|
}
|
|
1258
|
-
return [3
|
|
1258
|
+
return [3, 6];
|
|
1259
1259
|
case 2:
|
|
1260
1260
|
_c = [{}];
|
|
1261
|
-
return [4
|
|
1261
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
1262
1262
|
case 3:
|
|
1263
1263
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1264
|
-
return [3
|
|
1264
|
+
return [3, 7];
|
|
1265
1265
|
case 4:
|
|
1266
1266
|
_d = [{}];
|
|
1267
|
-
return [4
|
|
1267
|
+
return [4, deserializeAws_queryInvalidEndPointExceptionResponse(parsedOutput, context)];
|
|
1268
1268
|
case 5:
|
|
1269
1269
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1270
|
-
return [3
|
|
1270
|
+
return [3, 7];
|
|
1271
1271
|
case 6:
|
|
1272
1272
|
parsedBody = parsedOutput.body;
|
|
1273
1273
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -1277,7 +1277,7 @@ var deserializeAws_queryDeregisterInstancesFromLoadBalancerCommandError = functi
|
|
|
1277
1277
|
message = response.message || response.Message || errorCode;
|
|
1278
1278
|
response.message = message;
|
|
1279
1279
|
delete response.Message;
|
|
1280
|
-
return [2
|
|
1280
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1281
1281
|
}
|
|
1282
1282
|
});
|
|
1283
1283
|
}); };
|
|
@@ -1287,15 +1287,15 @@ export var deserializeAws_queryDescribeAccountLimitsCommand = function (output,
|
|
|
1287
1287
|
switch (_a.label) {
|
|
1288
1288
|
case 0:
|
|
1289
1289
|
if (output.statusCode >= 300) {
|
|
1290
|
-
return [2
|
|
1290
|
+
return [2, deserializeAws_queryDescribeAccountLimitsCommandError(output, context)];
|
|
1291
1291
|
}
|
|
1292
|
-
return [4
|
|
1292
|
+
return [4, parseBody(output.body, context)];
|
|
1293
1293
|
case 1:
|
|
1294
1294
|
data = _a.sent();
|
|
1295
1295
|
contents = {};
|
|
1296
1296
|
contents = deserializeAws_queryDescribeAccountLimitsOutput(data.DescribeAccountLimitsResult, context);
|
|
1297
1297
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1298
|
-
return [2
|
|
1298
|
+
return [2, Promise.resolve(response)];
|
|
1299
1299
|
}
|
|
1300
1300
|
});
|
|
1301
1301
|
}); };
|
|
@@ -1307,7 +1307,7 @@ var deserializeAws_queryDescribeAccountLimitsCommandError = function (output, co
|
|
|
1307
1307
|
case 0:
|
|
1308
1308
|
_a = [__assign({}, output)];
|
|
1309
1309
|
_b = {};
|
|
1310
|
-
return [4
|
|
1310
|
+
return [4, parseBody(output.body, context)];
|
|
1311
1311
|
case 1:
|
|
1312
1312
|
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
1313
1313
|
errorCode = "UnknownError";
|
|
@@ -1321,7 +1321,7 @@ var deserializeAws_queryDescribeAccountLimitsCommandError = function (output, co
|
|
|
1321
1321
|
message = response.message || response.Message || errorCode;
|
|
1322
1322
|
response.message = message;
|
|
1323
1323
|
delete response.Message;
|
|
1324
|
-
return [2
|
|
1324
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1325
1325
|
}
|
|
1326
1326
|
});
|
|
1327
1327
|
}); };
|
|
@@ -1331,15 +1331,15 @@ export var deserializeAws_queryDescribeInstanceHealthCommand = function (output,
|
|
|
1331
1331
|
switch (_a.label) {
|
|
1332
1332
|
case 0:
|
|
1333
1333
|
if (output.statusCode >= 300) {
|
|
1334
|
-
return [2
|
|
1334
|
+
return [2, deserializeAws_queryDescribeInstanceHealthCommandError(output, context)];
|
|
1335
1335
|
}
|
|
1336
|
-
return [4
|
|
1336
|
+
return [4, parseBody(output.body, context)];
|
|
1337
1337
|
case 1:
|
|
1338
1338
|
data = _a.sent();
|
|
1339
1339
|
contents = {};
|
|
1340
1340
|
contents = deserializeAws_queryDescribeEndPointStateOutput(data.DescribeInstanceHealthResult, context);
|
|
1341
1341
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1342
|
-
return [2
|
|
1342
|
+
return [2, Promise.resolve(response)];
|
|
1343
1343
|
}
|
|
1344
1344
|
});
|
|
1345
1345
|
}); };
|
|
@@ -1351,31 +1351,31 @@ var deserializeAws_queryDescribeInstanceHealthCommandError = function (output, c
|
|
|
1351
1351
|
case 0:
|
|
1352
1352
|
_a = [__assign({}, output)];
|
|
1353
1353
|
_e = {};
|
|
1354
|
-
return [4
|
|
1354
|
+
return [4, parseBody(output.body, context)];
|
|
1355
1355
|
case 1:
|
|
1356
1356
|
parsedOutput = __assign.apply(void 0, _a.concat([(_e.body = _f.sent(), _e)]));
|
|
1357
1357
|
errorCode = "UnknownError";
|
|
1358
1358
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1359
1359
|
_b = errorCode;
|
|
1360
1360
|
switch (_b) {
|
|
1361
|
-
case "AccessPointNotFoundException": return [3
|
|
1362
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
1363
|
-
case "InvalidEndPointException": return [3
|
|
1364
|
-
case "com.amazonaws.elasticloadbalancing#InvalidEndPointException": return [3
|
|
1361
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
1362
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
1363
|
+
case "InvalidEndPointException": return [3, 4];
|
|
1364
|
+
case "com.amazonaws.elasticloadbalancing#InvalidEndPointException": return [3, 4];
|
|
1365
1365
|
}
|
|
1366
|
-
return [3
|
|
1366
|
+
return [3, 6];
|
|
1367
1367
|
case 2:
|
|
1368
1368
|
_c = [{}];
|
|
1369
|
-
return [4
|
|
1369
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
1370
1370
|
case 3:
|
|
1371
1371
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1372
|
-
return [3
|
|
1372
|
+
return [3, 7];
|
|
1373
1373
|
case 4:
|
|
1374
1374
|
_d = [{}];
|
|
1375
|
-
return [4
|
|
1375
|
+
return [4, deserializeAws_queryInvalidEndPointExceptionResponse(parsedOutput, context)];
|
|
1376
1376
|
case 5:
|
|
1377
1377
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1378
|
-
return [3
|
|
1378
|
+
return [3, 7];
|
|
1379
1379
|
case 6:
|
|
1380
1380
|
parsedBody = parsedOutput.body;
|
|
1381
1381
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -1385,7 +1385,7 @@ var deserializeAws_queryDescribeInstanceHealthCommandError = function (output, c
|
|
|
1385
1385
|
message = response.message || response.Message || errorCode;
|
|
1386
1386
|
response.message = message;
|
|
1387
1387
|
delete response.Message;
|
|
1388
|
-
return [2
|
|
1388
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1389
1389
|
}
|
|
1390
1390
|
});
|
|
1391
1391
|
}); };
|
|
@@ -1395,15 +1395,15 @@ export var deserializeAws_queryDescribeLoadBalancerAttributesCommand = function
|
|
|
1395
1395
|
switch (_a.label) {
|
|
1396
1396
|
case 0:
|
|
1397
1397
|
if (output.statusCode >= 300) {
|
|
1398
|
-
return [2
|
|
1398
|
+
return [2, deserializeAws_queryDescribeLoadBalancerAttributesCommandError(output, context)];
|
|
1399
1399
|
}
|
|
1400
|
-
return [4
|
|
1400
|
+
return [4, parseBody(output.body, context)];
|
|
1401
1401
|
case 1:
|
|
1402
1402
|
data = _a.sent();
|
|
1403
1403
|
contents = {};
|
|
1404
1404
|
contents = deserializeAws_queryDescribeLoadBalancerAttributesOutput(data.DescribeLoadBalancerAttributesResult, context);
|
|
1405
1405
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1406
|
-
return [2
|
|
1406
|
+
return [2, Promise.resolve(response)];
|
|
1407
1407
|
}
|
|
1408
1408
|
});
|
|
1409
1409
|
}); };
|
|
@@ -1415,31 +1415,31 @@ var deserializeAws_queryDescribeLoadBalancerAttributesCommandError = function (o
|
|
|
1415
1415
|
case 0:
|
|
1416
1416
|
_a = [__assign({}, output)];
|
|
1417
1417
|
_e = {};
|
|
1418
|
-
return [4
|
|
1418
|
+
return [4, parseBody(output.body, context)];
|
|
1419
1419
|
case 1:
|
|
1420
1420
|
parsedOutput = __assign.apply(void 0, _a.concat([(_e.body = _f.sent(), _e)]));
|
|
1421
1421
|
errorCode = "UnknownError";
|
|
1422
1422
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1423
1423
|
_b = errorCode;
|
|
1424
1424
|
switch (_b) {
|
|
1425
|
-
case "AccessPointNotFoundException": return [3
|
|
1426
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
1427
|
-
case "LoadBalancerAttributeNotFoundException": return [3
|
|
1428
|
-
case "com.amazonaws.elasticloadbalancing#LoadBalancerAttributeNotFoundException": return [3
|
|
1425
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
1426
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
1427
|
+
case "LoadBalancerAttributeNotFoundException": return [3, 4];
|
|
1428
|
+
case "com.amazonaws.elasticloadbalancing#LoadBalancerAttributeNotFoundException": return [3, 4];
|
|
1429
1429
|
}
|
|
1430
|
-
return [3
|
|
1430
|
+
return [3, 6];
|
|
1431
1431
|
case 2:
|
|
1432
1432
|
_c = [{}];
|
|
1433
|
-
return [4
|
|
1433
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
1434
1434
|
case 3:
|
|
1435
1435
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1436
|
-
return [3
|
|
1436
|
+
return [3, 7];
|
|
1437
1437
|
case 4:
|
|
1438
1438
|
_d = [{}];
|
|
1439
|
-
return [4
|
|
1439
|
+
return [4, deserializeAws_queryLoadBalancerAttributeNotFoundExceptionResponse(parsedOutput, context)];
|
|
1440
1440
|
case 5:
|
|
1441
1441
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1442
|
-
return [3
|
|
1442
|
+
return [3, 7];
|
|
1443
1443
|
case 6:
|
|
1444
1444
|
parsedBody = parsedOutput.body;
|
|
1445
1445
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -1449,7 +1449,7 @@ var deserializeAws_queryDescribeLoadBalancerAttributesCommandError = function (o
|
|
|
1449
1449
|
message = response.message || response.Message || errorCode;
|
|
1450
1450
|
response.message = message;
|
|
1451
1451
|
delete response.Message;
|
|
1452
|
-
return [2
|
|
1452
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1453
1453
|
}
|
|
1454
1454
|
});
|
|
1455
1455
|
}); };
|
|
@@ -1459,15 +1459,15 @@ export var deserializeAws_queryDescribeLoadBalancerPoliciesCommand = function (o
|
|
|
1459
1459
|
switch (_a.label) {
|
|
1460
1460
|
case 0:
|
|
1461
1461
|
if (output.statusCode >= 300) {
|
|
1462
|
-
return [2
|
|
1462
|
+
return [2, deserializeAws_queryDescribeLoadBalancerPoliciesCommandError(output, context)];
|
|
1463
1463
|
}
|
|
1464
|
-
return [4
|
|
1464
|
+
return [4, parseBody(output.body, context)];
|
|
1465
1465
|
case 1:
|
|
1466
1466
|
data = _a.sent();
|
|
1467
1467
|
contents = {};
|
|
1468
1468
|
contents = deserializeAws_queryDescribeLoadBalancerPoliciesOutput(data.DescribeLoadBalancerPoliciesResult, context);
|
|
1469
1469
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1470
|
-
return [2
|
|
1470
|
+
return [2, Promise.resolve(response)];
|
|
1471
1471
|
}
|
|
1472
1472
|
});
|
|
1473
1473
|
}); };
|
|
@@ -1479,31 +1479,31 @@ var deserializeAws_queryDescribeLoadBalancerPoliciesCommandError = function (out
|
|
|
1479
1479
|
case 0:
|
|
1480
1480
|
_a = [__assign({}, output)];
|
|
1481
1481
|
_e = {};
|
|
1482
|
-
return [4
|
|
1482
|
+
return [4, parseBody(output.body, context)];
|
|
1483
1483
|
case 1:
|
|
1484
1484
|
parsedOutput = __assign.apply(void 0, _a.concat([(_e.body = _f.sent(), _e)]));
|
|
1485
1485
|
errorCode = "UnknownError";
|
|
1486
1486
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1487
1487
|
_b = errorCode;
|
|
1488
1488
|
switch (_b) {
|
|
1489
|
-
case "AccessPointNotFoundException": return [3
|
|
1490
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
1491
|
-
case "PolicyNotFoundException": return [3
|
|
1492
|
-
case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException": return [3
|
|
1489
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
1490
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
1491
|
+
case "PolicyNotFoundException": return [3, 4];
|
|
1492
|
+
case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException": return [3, 4];
|
|
1493
1493
|
}
|
|
1494
|
-
return [3
|
|
1494
|
+
return [3, 6];
|
|
1495
1495
|
case 2:
|
|
1496
1496
|
_c = [{}];
|
|
1497
|
-
return [4
|
|
1497
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
1498
1498
|
case 3:
|
|
1499
1499
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1500
|
-
return [3
|
|
1500
|
+
return [3, 7];
|
|
1501
1501
|
case 4:
|
|
1502
1502
|
_d = [{}];
|
|
1503
|
-
return [4
|
|
1503
|
+
return [4, deserializeAws_queryPolicyNotFoundExceptionResponse(parsedOutput, context)];
|
|
1504
1504
|
case 5:
|
|
1505
1505
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1506
|
-
return [3
|
|
1506
|
+
return [3, 7];
|
|
1507
1507
|
case 6:
|
|
1508
1508
|
parsedBody = parsedOutput.body;
|
|
1509
1509
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -1513,7 +1513,7 @@ var deserializeAws_queryDescribeLoadBalancerPoliciesCommandError = function (out
|
|
|
1513
1513
|
message = response.message || response.Message || errorCode;
|
|
1514
1514
|
response.message = message;
|
|
1515
1515
|
delete response.Message;
|
|
1516
|
-
return [2
|
|
1516
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1517
1517
|
}
|
|
1518
1518
|
});
|
|
1519
1519
|
}); };
|
|
@@ -1523,15 +1523,15 @@ export var deserializeAws_queryDescribeLoadBalancerPolicyTypesCommand = function
|
|
|
1523
1523
|
switch (_a.label) {
|
|
1524
1524
|
case 0:
|
|
1525
1525
|
if (output.statusCode >= 300) {
|
|
1526
|
-
return [2
|
|
1526
|
+
return [2, deserializeAws_queryDescribeLoadBalancerPolicyTypesCommandError(output, context)];
|
|
1527
1527
|
}
|
|
1528
|
-
return [4
|
|
1528
|
+
return [4, parseBody(output.body, context)];
|
|
1529
1529
|
case 1:
|
|
1530
1530
|
data = _a.sent();
|
|
1531
1531
|
contents = {};
|
|
1532
1532
|
contents = deserializeAws_queryDescribeLoadBalancerPolicyTypesOutput(data.DescribeLoadBalancerPolicyTypesResult, context);
|
|
1533
1533
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1534
|
-
return [2
|
|
1534
|
+
return [2, Promise.resolve(response)];
|
|
1535
1535
|
}
|
|
1536
1536
|
});
|
|
1537
1537
|
}); };
|
|
@@ -1543,23 +1543,23 @@ var deserializeAws_queryDescribeLoadBalancerPolicyTypesCommandError = function (
|
|
|
1543
1543
|
case 0:
|
|
1544
1544
|
_a = [__assign({}, output)];
|
|
1545
1545
|
_d = {};
|
|
1546
|
-
return [4
|
|
1546
|
+
return [4, parseBody(output.body, context)];
|
|
1547
1547
|
case 1:
|
|
1548
1548
|
parsedOutput = __assign.apply(void 0, _a.concat([(_d.body = _e.sent(), _d)]));
|
|
1549
1549
|
errorCode = "UnknownError";
|
|
1550
1550
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1551
1551
|
_b = errorCode;
|
|
1552
1552
|
switch (_b) {
|
|
1553
|
-
case "PolicyTypeNotFoundException": return [3
|
|
1554
|
-
case "com.amazonaws.elasticloadbalancing#PolicyTypeNotFoundException": return [3
|
|
1553
|
+
case "PolicyTypeNotFoundException": return [3, 2];
|
|
1554
|
+
case "com.amazonaws.elasticloadbalancing#PolicyTypeNotFoundException": return [3, 2];
|
|
1555
1555
|
}
|
|
1556
|
-
return [3
|
|
1556
|
+
return [3, 4];
|
|
1557
1557
|
case 2:
|
|
1558
1558
|
_c = [{}];
|
|
1559
|
-
return [4
|
|
1559
|
+
return [4, deserializeAws_queryPolicyTypeNotFoundExceptionResponse(parsedOutput, context)];
|
|
1560
1560
|
case 3:
|
|
1561
1561
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1562
|
-
return [3
|
|
1562
|
+
return [3, 5];
|
|
1563
1563
|
case 4:
|
|
1564
1564
|
parsedBody = parsedOutput.body;
|
|
1565
1565
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -1569,7 +1569,7 @@ var deserializeAws_queryDescribeLoadBalancerPolicyTypesCommandError = function (
|
|
|
1569
1569
|
message = response.message || response.Message || errorCode;
|
|
1570
1570
|
response.message = message;
|
|
1571
1571
|
delete response.Message;
|
|
1572
|
-
return [2
|
|
1572
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1573
1573
|
}
|
|
1574
1574
|
});
|
|
1575
1575
|
}); };
|
|
@@ -1579,15 +1579,15 @@ export var deserializeAws_queryDescribeLoadBalancersCommand = function (output,
|
|
|
1579
1579
|
switch (_a.label) {
|
|
1580
1580
|
case 0:
|
|
1581
1581
|
if (output.statusCode >= 300) {
|
|
1582
|
-
return [2
|
|
1582
|
+
return [2, deserializeAws_queryDescribeLoadBalancersCommandError(output, context)];
|
|
1583
1583
|
}
|
|
1584
|
-
return [4
|
|
1584
|
+
return [4, parseBody(output.body, context)];
|
|
1585
1585
|
case 1:
|
|
1586
1586
|
data = _a.sent();
|
|
1587
1587
|
contents = {};
|
|
1588
1588
|
contents = deserializeAws_queryDescribeAccessPointsOutput(data.DescribeLoadBalancersResult, context);
|
|
1589
1589
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1590
|
-
return [2
|
|
1590
|
+
return [2, Promise.resolve(response)];
|
|
1591
1591
|
}
|
|
1592
1592
|
});
|
|
1593
1593
|
}); };
|
|
@@ -1599,31 +1599,31 @@ var deserializeAws_queryDescribeLoadBalancersCommandError = function (output, co
|
|
|
1599
1599
|
case 0:
|
|
1600
1600
|
_a = [__assign({}, output)];
|
|
1601
1601
|
_e = {};
|
|
1602
|
-
return [4
|
|
1602
|
+
return [4, parseBody(output.body, context)];
|
|
1603
1603
|
case 1:
|
|
1604
1604
|
parsedOutput = __assign.apply(void 0, _a.concat([(_e.body = _f.sent(), _e)]));
|
|
1605
1605
|
errorCode = "UnknownError";
|
|
1606
1606
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1607
1607
|
_b = errorCode;
|
|
1608
1608
|
switch (_b) {
|
|
1609
|
-
case "AccessPointNotFoundException": return [3
|
|
1610
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
1611
|
-
case "DependencyThrottleException": return [3
|
|
1612
|
-
case "com.amazonaws.elasticloadbalancing#DependencyThrottleException": return [3
|
|
1609
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
1610
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
1611
|
+
case "DependencyThrottleException": return [3, 4];
|
|
1612
|
+
case "com.amazonaws.elasticloadbalancing#DependencyThrottleException": return [3, 4];
|
|
1613
1613
|
}
|
|
1614
|
-
return [3
|
|
1614
|
+
return [3, 6];
|
|
1615
1615
|
case 2:
|
|
1616
1616
|
_c = [{}];
|
|
1617
|
-
return [4
|
|
1617
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
1618
1618
|
case 3:
|
|
1619
1619
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1620
|
-
return [3
|
|
1620
|
+
return [3, 7];
|
|
1621
1621
|
case 4:
|
|
1622
1622
|
_d = [{}];
|
|
1623
|
-
return [4
|
|
1623
|
+
return [4, deserializeAws_queryDependencyThrottleExceptionResponse(parsedOutput, context)];
|
|
1624
1624
|
case 5:
|
|
1625
1625
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1626
|
-
return [3
|
|
1626
|
+
return [3, 7];
|
|
1627
1627
|
case 6:
|
|
1628
1628
|
parsedBody = parsedOutput.body;
|
|
1629
1629
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -1633,7 +1633,7 @@ var deserializeAws_queryDescribeLoadBalancersCommandError = function (output, co
|
|
|
1633
1633
|
message = response.message || response.Message || errorCode;
|
|
1634
1634
|
response.message = message;
|
|
1635
1635
|
delete response.Message;
|
|
1636
|
-
return [2
|
|
1636
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1637
1637
|
}
|
|
1638
1638
|
});
|
|
1639
1639
|
}); };
|
|
@@ -1643,15 +1643,15 @@ export var deserializeAws_queryDescribeTagsCommand = function (output, context)
|
|
|
1643
1643
|
switch (_a.label) {
|
|
1644
1644
|
case 0:
|
|
1645
1645
|
if (output.statusCode >= 300) {
|
|
1646
|
-
return [2
|
|
1646
|
+
return [2, deserializeAws_queryDescribeTagsCommandError(output, context)];
|
|
1647
1647
|
}
|
|
1648
|
-
return [4
|
|
1648
|
+
return [4, parseBody(output.body, context)];
|
|
1649
1649
|
case 1:
|
|
1650
1650
|
data = _a.sent();
|
|
1651
1651
|
contents = {};
|
|
1652
1652
|
contents = deserializeAws_queryDescribeTagsOutput(data.DescribeTagsResult, context);
|
|
1653
1653
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1654
|
-
return [2
|
|
1654
|
+
return [2, Promise.resolve(response)];
|
|
1655
1655
|
}
|
|
1656
1656
|
});
|
|
1657
1657
|
}); };
|
|
@@ -1663,23 +1663,23 @@ var deserializeAws_queryDescribeTagsCommandError = function (output, context) {
|
|
|
1663
1663
|
case 0:
|
|
1664
1664
|
_a = [__assign({}, output)];
|
|
1665
1665
|
_d = {};
|
|
1666
|
-
return [4
|
|
1666
|
+
return [4, parseBody(output.body, context)];
|
|
1667
1667
|
case 1:
|
|
1668
1668
|
parsedOutput = __assign.apply(void 0, _a.concat([(_d.body = _e.sent(), _d)]));
|
|
1669
1669
|
errorCode = "UnknownError";
|
|
1670
1670
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1671
1671
|
_b = errorCode;
|
|
1672
1672
|
switch (_b) {
|
|
1673
|
-
case "AccessPointNotFoundException": return [3
|
|
1674
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
1673
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
1674
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
1675
1675
|
}
|
|
1676
|
-
return [3
|
|
1676
|
+
return [3, 4];
|
|
1677
1677
|
case 2:
|
|
1678
1678
|
_c = [{}];
|
|
1679
|
-
return [4
|
|
1679
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
1680
1680
|
case 3:
|
|
1681
1681
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1682
|
-
return [3
|
|
1682
|
+
return [3, 5];
|
|
1683
1683
|
case 4:
|
|
1684
1684
|
parsedBody = parsedOutput.body;
|
|
1685
1685
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -1689,7 +1689,7 @@ var deserializeAws_queryDescribeTagsCommandError = function (output, context) {
|
|
|
1689
1689
|
message = response.message || response.Message || errorCode;
|
|
1690
1690
|
response.message = message;
|
|
1691
1691
|
delete response.Message;
|
|
1692
|
-
return [2
|
|
1692
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1693
1693
|
}
|
|
1694
1694
|
});
|
|
1695
1695
|
}); };
|
|
@@ -1699,15 +1699,15 @@ export var deserializeAws_queryDetachLoadBalancerFromSubnetsCommand = function (
|
|
|
1699
1699
|
switch (_a.label) {
|
|
1700
1700
|
case 0:
|
|
1701
1701
|
if (output.statusCode >= 300) {
|
|
1702
|
-
return [2
|
|
1702
|
+
return [2, deserializeAws_queryDetachLoadBalancerFromSubnetsCommandError(output, context)];
|
|
1703
1703
|
}
|
|
1704
|
-
return [4
|
|
1704
|
+
return [4, parseBody(output.body, context)];
|
|
1705
1705
|
case 1:
|
|
1706
1706
|
data = _a.sent();
|
|
1707
1707
|
contents = {};
|
|
1708
1708
|
contents = deserializeAws_queryDetachLoadBalancerFromSubnetsOutput(data.DetachLoadBalancerFromSubnetsResult, context);
|
|
1709
1709
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1710
|
-
return [2
|
|
1710
|
+
return [2, Promise.resolve(response)];
|
|
1711
1711
|
}
|
|
1712
1712
|
});
|
|
1713
1713
|
}); };
|
|
@@ -1719,31 +1719,31 @@ var deserializeAws_queryDetachLoadBalancerFromSubnetsCommandError = function (ou
|
|
|
1719
1719
|
case 0:
|
|
1720
1720
|
_a = [__assign({}, output)];
|
|
1721
1721
|
_e = {};
|
|
1722
|
-
return [4
|
|
1722
|
+
return [4, parseBody(output.body, context)];
|
|
1723
1723
|
case 1:
|
|
1724
1724
|
parsedOutput = __assign.apply(void 0, _a.concat([(_e.body = _f.sent(), _e)]));
|
|
1725
1725
|
errorCode = "UnknownError";
|
|
1726
1726
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1727
1727
|
_b = errorCode;
|
|
1728
1728
|
switch (_b) {
|
|
1729
|
-
case "AccessPointNotFoundException": return [3
|
|
1730
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
1731
|
-
case "InvalidConfigurationRequestException": return [3
|
|
1732
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3
|
|
1729
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
1730
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
1731
|
+
case "InvalidConfigurationRequestException": return [3, 4];
|
|
1732
|
+
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3, 4];
|
|
1733
1733
|
}
|
|
1734
|
-
return [3
|
|
1734
|
+
return [3, 6];
|
|
1735
1735
|
case 2:
|
|
1736
1736
|
_c = [{}];
|
|
1737
|
-
return [4
|
|
1737
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
1738
1738
|
case 3:
|
|
1739
1739
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1740
|
-
return [3
|
|
1740
|
+
return [3, 7];
|
|
1741
1741
|
case 4:
|
|
1742
1742
|
_d = [{}];
|
|
1743
|
-
return [4
|
|
1743
|
+
return [4, deserializeAws_queryInvalidConfigurationRequestExceptionResponse(parsedOutput, context)];
|
|
1744
1744
|
case 5:
|
|
1745
1745
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1746
|
-
return [3
|
|
1746
|
+
return [3, 7];
|
|
1747
1747
|
case 6:
|
|
1748
1748
|
parsedBody = parsedOutput.body;
|
|
1749
1749
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -1753,7 +1753,7 @@ var deserializeAws_queryDetachLoadBalancerFromSubnetsCommandError = function (ou
|
|
|
1753
1753
|
message = response.message || response.Message || errorCode;
|
|
1754
1754
|
response.message = message;
|
|
1755
1755
|
delete response.Message;
|
|
1756
|
-
return [2
|
|
1756
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1757
1757
|
}
|
|
1758
1758
|
});
|
|
1759
1759
|
}); };
|
|
@@ -1763,15 +1763,15 @@ export var deserializeAws_queryDisableAvailabilityZonesForLoadBalancerCommand =
|
|
|
1763
1763
|
switch (_a.label) {
|
|
1764
1764
|
case 0:
|
|
1765
1765
|
if (output.statusCode >= 300) {
|
|
1766
|
-
return [2
|
|
1766
|
+
return [2, deserializeAws_queryDisableAvailabilityZonesForLoadBalancerCommandError(output, context)];
|
|
1767
1767
|
}
|
|
1768
|
-
return [4
|
|
1768
|
+
return [4, parseBody(output.body, context)];
|
|
1769
1769
|
case 1:
|
|
1770
1770
|
data = _a.sent();
|
|
1771
1771
|
contents = {};
|
|
1772
1772
|
contents = deserializeAws_queryRemoveAvailabilityZonesOutput(data.DisableAvailabilityZonesForLoadBalancerResult, context);
|
|
1773
1773
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1774
|
-
return [2
|
|
1774
|
+
return [2, Promise.resolve(response)];
|
|
1775
1775
|
}
|
|
1776
1776
|
});
|
|
1777
1777
|
}); };
|
|
@@ -1783,31 +1783,31 @@ var deserializeAws_queryDisableAvailabilityZonesForLoadBalancerCommandError = fu
|
|
|
1783
1783
|
case 0:
|
|
1784
1784
|
_a = [__assign({}, output)];
|
|
1785
1785
|
_e = {};
|
|
1786
|
-
return [4
|
|
1786
|
+
return [4, parseBody(output.body, context)];
|
|
1787
1787
|
case 1:
|
|
1788
1788
|
parsedOutput = __assign.apply(void 0, _a.concat([(_e.body = _f.sent(), _e)]));
|
|
1789
1789
|
errorCode = "UnknownError";
|
|
1790
1790
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1791
1791
|
_b = errorCode;
|
|
1792
1792
|
switch (_b) {
|
|
1793
|
-
case "AccessPointNotFoundException": return [3
|
|
1794
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
1795
|
-
case "InvalidConfigurationRequestException": return [3
|
|
1796
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3
|
|
1793
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
1794
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
1795
|
+
case "InvalidConfigurationRequestException": return [3, 4];
|
|
1796
|
+
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3, 4];
|
|
1797
1797
|
}
|
|
1798
|
-
return [3
|
|
1798
|
+
return [3, 6];
|
|
1799
1799
|
case 2:
|
|
1800
1800
|
_c = [{}];
|
|
1801
|
-
return [4
|
|
1801
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
1802
1802
|
case 3:
|
|
1803
1803
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1804
|
-
return [3
|
|
1804
|
+
return [3, 7];
|
|
1805
1805
|
case 4:
|
|
1806
1806
|
_d = [{}];
|
|
1807
|
-
return [4
|
|
1807
|
+
return [4, deserializeAws_queryInvalidConfigurationRequestExceptionResponse(parsedOutput, context)];
|
|
1808
1808
|
case 5:
|
|
1809
1809
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1810
|
-
return [3
|
|
1810
|
+
return [3, 7];
|
|
1811
1811
|
case 6:
|
|
1812
1812
|
parsedBody = parsedOutput.body;
|
|
1813
1813
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -1817,7 +1817,7 @@ var deserializeAws_queryDisableAvailabilityZonesForLoadBalancerCommandError = fu
|
|
|
1817
1817
|
message = response.message || response.Message || errorCode;
|
|
1818
1818
|
response.message = message;
|
|
1819
1819
|
delete response.Message;
|
|
1820
|
-
return [2
|
|
1820
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1821
1821
|
}
|
|
1822
1822
|
});
|
|
1823
1823
|
}); };
|
|
@@ -1827,15 +1827,15 @@ export var deserializeAws_queryEnableAvailabilityZonesForLoadBalancerCommand = f
|
|
|
1827
1827
|
switch (_a.label) {
|
|
1828
1828
|
case 0:
|
|
1829
1829
|
if (output.statusCode >= 300) {
|
|
1830
|
-
return [2
|
|
1830
|
+
return [2, deserializeAws_queryEnableAvailabilityZonesForLoadBalancerCommandError(output, context)];
|
|
1831
1831
|
}
|
|
1832
|
-
return [4
|
|
1832
|
+
return [4, parseBody(output.body, context)];
|
|
1833
1833
|
case 1:
|
|
1834
1834
|
data = _a.sent();
|
|
1835
1835
|
contents = {};
|
|
1836
1836
|
contents = deserializeAws_queryAddAvailabilityZonesOutput(data.EnableAvailabilityZonesForLoadBalancerResult, context);
|
|
1837
1837
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1838
|
-
return [2
|
|
1838
|
+
return [2, Promise.resolve(response)];
|
|
1839
1839
|
}
|
|
1840
1840
|
});
|
|
1841
1841
|
}); };
|
|
@@ -1847,23 +1847,23 @@ var deserializeAws_queryEnableAvailabilityZonesForLoadBalancerCommandError = fun
|
|
|
1847
1847
|
case 0:
|
|
1848
1848
|
_a = [__assign({}, output)];
|
|
1849
1849
|
_d = {};
|
|
1850
|
-
return [4
|
|
1850
|
+
return [4, parseBody(output.body, context)];
|
|
1851
1851
|
case 1:
|
|
1852
1852
|
parsedOutput = __assign.apply(void 0, _a.concat([(_d.body = _e.sent(), _d)]));
|
|
1853
1853
|
errorCode = "UnknownError";
|
|
1854
1854
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1855
1855
|
_b = errorCode;
|
|
1856
1856
|
switch (_b) {
|
|
1857
|
-
case "AccessPointNotFoundException": return [3
|
|
1858
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
1857
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
1858
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
1859
1859
|
}
|
|
1860
|
-
return [3
|
|
1860
|
+
return [3, 4];
|
|
1861
1861
|
case 2:
|
|
1862
1862
|
_c = [{}];
|
|
1863
|
-
return [4
|
|
1863
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
1864
1864
|
case 3:
|
|
1865
1865
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1866
|
-
return [3
|
|
1866
|
+
return [3, 5];
|
|
1867
1867
|
case 4:
|
|
1868
1868
|
parsedBody = parsedOutput.body;
|
|
1869
1869
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -1873,7 +1873,7 @@ var deserializeAws_queryEnableAvailabilityZonesForLoadBalancerCommandError = fun
|
|
|
1873
1873
|
message = response.message || response.Message || errorCode;
|
|
1874
1874
|
response.message = message;
|
|
1875
1875
|
delete response.Message;
|
|
1876
|
-
return [2
|
|
1876
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1877
1877
|
}
|
|
1878
1878
|
});
|
|
1879
1879
|
}); };
|
|
@@ -1883,15 +1883,15 @@ export var deserializeAws_queryModifyLoadBalancerAttributesCommand = function (o
|
|
|
1883
1883
|
switch (_a.label) {
|
|
1884
1884
|
case 0:
|
|
1885
1885
|
if (output.statusCode >= 300) {
|
|
1886
|
-
return [2
|
|
1886
|
+
return [2, deserializeAws_queryModifyLoadBalancerAttributesCommandError(output, context)];
|
|
1887
1887
|
}
|
|
1888
|
-
return [4
|
|
1888
|
+
return [4, parseBody(output.body, context)];
|
|
1889
1889
|
case 1:
|
|
1890
1890
|
data = _a.sent();
|
|
1891
1891
|
contents = {};
|
|
1892
1892
|
contents = deserializeAws_queryModifyLoadBalancerAttributesOutput(data.ModifyLoadBalancerAttributesResult, context);
|
|
1893
1893
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1894
|
-
return [2
|
|
1894
|
+
return [2, Promise.resolve(response)];
|
|
1895
1895
|
}
|
|
1896
1896
|
});
|
|
1897
1897
|
}); };
|
|
@@ -1903,39 +1903,39 @@ var deserializeAws_queryModifyLoadBalancerAttributesCommandError = function (out
|
|
|
1903
1903
|
case 0:
|
|
1904
1904
|
_a = [__assign({}, output)];
|
|
1905
1905
|
_f = {};
|
|
1906
|
-
return [4
|
|
1906
|
+
return [4, parseBody(output.body, context)];
|
|
1907
1907
|
case 1:
|
|
1908
1908
|
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
1909
1909
|
errorCode = "UnknownError";
|
|
1910
1910
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1911
1911
|
_b = errorCode;
|
|
1912
1912
|
switch (_b) {
|
|
1913
|
-
case "AccessPointNotFoundException": return [3
|
|
1914
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
1915
|
-
case "InvalidConfigurationRequestException": return [3
|
|
1916
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3
|
|
1917
|
-
case "LoadBalancerAttributeNotFoundException": return [3
|
|
1918
|
-
case "com.amazonaws.elasticloadbalancing#LoadBalancerAttributeNotFoundException": return [3
|
|
1913
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
1914
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
1915
|
+
case "InvalidConfigurationRequestException": return [3, 4];
|
|
1916
|
+
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3, 4];
|
|
1917
|
+
case "LoadBalancerAttributeNotFoundException": return [3, 6];
|
|
1918
|
+
case "com.amazonaws.elasticloadbalancing#LoadBalancerAttributeNotFoundException": return [3, 6];
|
|
1919
1919
|
}
|
|
1920
|
-
return [3
|
|
1920
|
+
return [3, 8];
|
|
1921
1921
|
case 2:
|
|
1922
1922
|
_c = [{}];
|
|
1923
|
-
return [4
|
|
1923
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
1924
1924
|
case 3:
|
|
1925
1925
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1926
|
-
return [3
|
|
1926
|
+
return [3, 9];
|
|
1927
1927
|
case 4:
|
|
1928
1928
|
_d = [{}];
|
|
1929
|
-
return [4
|
|
1929
|
+
return [4, deserializeAws_queryInvalidConfigurationRequestExceptionResponse(parsedOutput, context)];
|
|
1930
1930
|
case 5:
|
|
1931
1931
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1932
|
-
return [3
|
|
1932
|
+
return [3, 9];
|
|
1933
1933
|
case 6:
|
|
1934
1934
|
_e = [{}];
|
|
1935
|
-
return [4
|
|
1935
|
+
return [4, deserializeAws_queryLoadBalancerAttributeNotFoundExceptionResponse(parsedOutput, context)];
|
|
1936
1936
|
case 7:
|
|
1937
1937
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1938
|
-
return [3
|
|
1938
|
+
return [3, 9];
|
|
1939
1939
|
case 8:
|
|
1940
1940
|
parsedBody = parsedOutput.body;
|
|
1941
1941
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -1945,7 +1945,7 @@ var deserializeAws_queryModifyLoadBalancerAttributesCommandError = function (out
|
|
|
1945
1945
|
message = response.message || response.Message || errorCode;
|
|
1946
1946
|
response.message = message;
|
|
1947
1947
|
delete response.Message;
|
|
1948
|
-
return [2
|
|
1948
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1949
1949
|
}
|
|
1950
1950
|
});
|
|
1951
1951
|
}); };
|
|
@@ -1955,15 +1955,15 @@ export var deserializeAws_queryRegisterInstancesWithLoadBalancerCommand = functi
|
|
|
1955
1955
|
switch (_a.label) {
|
|
1956
1956
|
case 0:
|
|
1957
1957
|
if (output.statusCode >= 300) {
|
|
1958
|
-
return [2
|
|
1958
|
+
return [2, deserializeAws_queryRegisterInstancesWithLoadBalancerCommandError(output, context)];
|
|
1959
1959
|
}
|
|
1960
|
-
return [4
|
|
1960
|
+
return [4, parseBody(output.body, context)];
|
|
1961
1961
|
case 1:
|
|
1962
1962
|
data = _a.sent();
|
|
1963
1963
|
contents = {};
|
|
1964
1964
|
contents = deserializeAws_queryRegisterEndPointsOutput(data.RegisterInstancesWithLoadBalancerResult, context);
|
|
1965
1965
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1966
|
-
return [2
|
|
1966
|
+
return [2, Promise.resolve(response)];
|
|
1967
1967
|
}
|
|
1968
1968
|
});
|
|
1969
1969
|
}); };
|
|
@@ -1975,31 +1975,31 @@ var deserializeAws_queryRegisterInstancesWithLoadBalancerCommandError = function
|
|
|
1975
1975
|
case 0:
|
|
1976
1976
|
_a = [__assign({}, output)];
|
|
1977
1977
|
_e = {};
|
|
1978
|
-
return [4
|
|
1978
|
+
return [4, parseBody(output.body, context)];
|
|
1979
1979
|
case 1:
|
|
1980
1980
|
parsedOutput = __assign.apply(void 0, _a.concat([(_e.body = _f.sent(), _e)]));
|
|
1981
1981
|
errorCode = "UnknownError";
|
|
1982
1982
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1983
1983
|
_b = errorCode;
|
|
1984
1984
|
switch (_b) {
|
|
1985
|
-
case "AccessPointNotFoundException": return [3
|
|
1986
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
1987
|
-
case "InvalidEndPointException": return [3
|
|
1988
|
-
case "com.amazonaws.elasticloadbalancing#InvalidEndPointException": return [3
|
|
1985
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
1986
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
1987
|
+
case "InvalidEndPointException": return [3, 4];
|
|
1988
|
+
case "com.amazonaws.elasticloadbalancing#InvalidEndPointException": return [3, 4];
|
|
1989
1989
|
}
|
|
1990
|
-
return [3
|
|
1990
|
+
return [3, 6];
|
|
1991
1991
|
case 2:
|
|
1992
1992
|
_c = [{}];
|
|
1993
|
-
return [4
|
|
1993
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
1994
1994
|
case 3:
|
|
1995
1995
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1996
|
-
return [3
|
|
1996
|
+
return [3, 7];
|
|
1997
1997
|
case 4:
|
|
1998
1998
|
_d = [{}];
|
|
1999
|
-
return [4
|
|
1999
|
+
return [4, deserializeAws_queryInvalidEndPointExceptionResponse(parsedOutput, context)];
|
|
2000
2000
|
case 5:
|
|
2001
2001
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2002
|
-
return [3
|
|
2002
|
+
return [3, 7];
|
|
2003
2003
|
case 6:
|
|
2004
2004
|
parsedBody = parsedOutput.body;
|
|
2005
2005
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -2009,7 +2009,7 @@ var deserializeAws_queryRegisterInstancesWithLoadBalancerCommandError = function
|
|
|
2009
2009
|
message = response.message || response.Message || errorCode;
|
|
2010
2010
|
response.message = message;
|
|
2011
2011
|
delete response.Message;
|
|
2012
|
-
return [2
|
|
2012
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2013
2013
|
}
|
|
2014
2014
|
});
|
|
2015
2015
|
}); };
|
|
@@ -2019,15 +2019,15 @@ export var deserializeAws_queryRemoveTagsCommand = function (output, context) {
|
|
|
2019
2019
|
switch (_a.label) {
|
|
2020
2020
|
case 0:
|
|
2021
2021
|
if (output.statusCode >= 300) {
|
|
2022
|
-
return [2
|
|
2022
|
+
return [2, deserializeAws_queryRemoveTagsCommandError(output, context)];
|
|
2023
2023
|
}
|
|
2024
|
-
return [4
|
|
2024
|
+
return [4, parseBody(output.body, context)];
|
|
2025
2025
|
case 1:
|
|
2026
2026
|
data = _a.sent();
|
|
2027
2027
|
contents = {};
|
|
2028
2028
|
contents = deserializeAws_queryRemoveTagsOutput(data.RemoveTagsResult, context);
|
|
2029
2029
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
2030
|
-
return [2
|
|
2030
|
+
return [2, Promise.resolve(response)];
|
|
2031
2031
|
}
|
|
2032
2032
|
});
|
|
2033
2033
|
}); };
|
|
@@ -2039,23 +2039,23 @@ var deserializeAws_queryRemoveTagsCommandError = function (output, context) { re
|
|
|
2039
2039
|
case 0:
|
|
2040
2040
|
_a = [__assign({}, output)];
|
|
2041
2041
|
_d = {};
|
|
2042
|
-
return [4
|
|
2042
|
+
return [4, parseBody(output.body, context)];
|
|
2043
2043
|
case 1:
|
|
2044
2044
|
parsedOutput = __assign.apply(void 0, _a.concat([(_d.body = _e.sent(), _d)]));
|
|
2045
2045
|
errorCode = "UnknownError";
|
|
2046
2046
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2047
2047
|
_b = errorCode;
|
|
2048
2048
|
switch (_b) {
|
|
2049
|
-
case "AccessPointNotFoundException": return [3
|
|
2050
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
2049
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
2050
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
2051
2051
|
}
|
|
2052
|
-
return [3
|
|
2052
|
+
return [3, 4];
|
|
2053
2053
|
case 2:
|
|
2054
2054
|
_c = [{}];
|
|
2055
|
-
return [4
|
|
2055
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
2056
2056
|
case 3:
|
|
2057
2057
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2058
|
-
return [3
|
|
2058
|
+
return [3, 5];
|
|
2059
2059
|
case 4:
|
|
2060
2060
|
parsedBody = parsedOutput.body;
|
|
2061
2061
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -2065,7 +2065,7 @@ var deserializeAws_queryRemoveTagsCommandError = function (output, context) { re
|
|
|
2065
2065
|
message = response.message || response.Message || errorCode;
|
|
2066
2066
|
response.message = message;
|
|
2067
2067
|
delete response.Message;
|
|
2068
|
-
return [2
|
|
2068
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2069
2069
|
}
|
|
2070
2070
|
});
|
|
2071
2071
|
}); };
|
|
@@ -2075,15 +2075,15 @@ export var deserializeAws_querySetLoadBalancerListenerSSLCertificateCommand = fu
|
|
|
2075
2075
|
switch (_a.label) {
|
|
2076
2076
|
case 0:
|
|
2077
2077
|
if (output.statusCode >= 300) {
|
|
2078
|
-
return [2
|
|
2078
|
+
return [2, deserializeAws_querySetLoadBalancerListenerSSLCertificateCommandError(output, context)];
|
|
2079
2079
|
}
|
|
2080
|
-
return [4
|
|
2080
|
+
return [4, parseBody(output.body, context)];
|
|
2081
2081
|
case 1:
|
|
2082
2082
|
data = _a.sent();
|
|
2083
2083
|
contents = {};
|
|
2084
2084
|
contents = deserializeAws_querySetLoadBalancerListenerSSLCertificateOutput(data.SetLoadBalancerListenerSSLCertificateResult, context);
|
|
2085
2085
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
2086
|
-
return [2
|
|
2086
|
+
return [2, Promise.resolve(response)];
|
|
2087
2087
|
}
|
|
2088
2088
|
});
|
|
2089
2089
|
}); };
|
|
@@ -2095,55 +2095,55 @@ var deserializeAws_querySetLoadBalancerListenerSSLCertificateCommandError = func
|
|
|
2095
2095
|
case 0:
|
|
2096
2096
|
_a = [__assign({}, output)];
|
|
2097
2097
|
_h = {};
|
|
2098
|
-
return [4
|
|
2098
|
+
return [4, parseBody(output.body, context)];
|
|
2099
2099
|
case 1:
|
|
2100
2100
|
parsedOutput = __assign.apply(void 0, _a.concat([(_h.body = _j.sent(), _h)]));
|
|
2101
2101
|
errorCode = "UnknownError";
|
|
2102
2102
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2103
2103
|
_b = errorCode;
|
|
2104
2104
|
switch (_b) {
|
|
2105
|
-
case "AccessPointNotFoundException": return [3
|
|
2106
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
2107
|
-
case "CertificateNotFoundException": return [3
|
|
2108
|
-
case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException": return [3
|
|
2109
|
-
case "InvalidConfigurationRequestException": return [3
|
|
2110
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3
|
|
2111
|
-
case "ListenerNotFoundException": return [3
|
|
2112
|
-
case "com.amazonaws.elasticloadbalancing#ListenerNotFoundException": return [3
|
|
2113
|
-
case "UnsupportedProtocolException": return [3
|
|
2114
|
-
case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException": return [3
|
|
2105
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
2106
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
2107
|
+
case "CertificateNotFoundException": return [3, 4];
|
|
2108
|
+
case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException": return [3, 4];
|
|
2109
|
+
case "InvalidConfigurationRequestException": return [3, 6];
|
|
2110
|
+
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3, 6];
|
|
2111
|
+
case "ListenerNotFoundException": return [3, 8];
|
|
2112
|
+
case "com.amazonaws.elasticloadbalancing#ListenerNotFoundException": return [3, 8];
|
|
2113
|
+
case "UnsupportedProtocolException": return [3, 10];
|
|
2114
|
+
case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException": return [3, 10];
|
|
2115
2115
|
}
|
|
2116
|
-
return [3
|
|
2116
|
+
return [3, 12];
|
|
2117
2117
|
case 2:
|
|
2118
2118
|
_c = [{}];
|
|
2119
|
-
return [4
|
|
2119
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
2120
2120
|
case 3:
|
|
2121
2121
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2122
|
-
return [3
|
|
2122
|
+
return [3, 13];
|
|
2123
2123
|
case 4:
|
|
2124
2124
|
_d = [{}];
|
|
2125
|
-
return [4
|
|
2125
|
+
return [4, deserializeAws_queryCertificateNotFoundExceptionResponse(parsedOutput, context)];
|
|
2126
2126
|
case 5:
|
|
2127
2127
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2128
|
-
return [3
|
|
2128
|
+
return [3, 13];
|
|
2129
2129
|
case 6:
|
|
2130
2130
|
_e = [{}];
|
|
2131
|
-
return [4
|
|
2131
|
+
return [4, deserializeAws_queryInvalidConfigurationRequestExceptionResponse(parsedOutput, context)];
|
|
2132
2132
|
case 7:
|
|
2133
2133
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2134
|
-
return [3
|
|
2134
|
+
return [3, 13];
|
|
2135
2135
|
case 8:
|
|
2136
2136
|
_f = [{}];
|
|
2137
|
-
return [4
|
|
2137
|
+
return [4, deserializeAws_queryListenerNotFoundExceptionResponse(parsedOutput, context)];
|
|
2138
2138
|
case 9:
|
|
2139
2139
|
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2140
|
-
return [3
|
|
2140
|
+
return [3, 13];
|
|
2141
2141
|
case 10:
|
|
2142
2142
|
_g = [{}];
|
|
2143
|
-
return [4
|
|
2143
|
+
return [4, deserializeAws_queryUnsupportedProtocolExceptionResponse(parsedOutput, context)];
|
|
2144
2144
|
case 11:
|
|
2145
2145
|
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2146
|
-
return [3
|
|
2146
|
+
return [3, 13];
|
|
2147
2147
|
case 12:
|
|
2148
2148
|
parsedBody = parsedOutput.body;
|
|
2149
2149
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -2153,7 +2153,7 @@ var deserializeAws_querySetLoadBalancerListenerSSLCertificateCommandError = func
|
|
|
2153
2153
|
message = response.message || response.Message || errorCode;
|
|
2154
2154
|
response.message = message;
|
|
2155
2155
|
delete response.Message;
|
|
2156
|
-
return [2
|
|
2156
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2157
2157
|
}
|
|
2158
2158
|
});
|
|
2159
2159
|
}); };
|
|
@@ -2163,15 +2163,15 @@ export var deserializeAws_querySetLoadBalancerPoliciesForBackendServerCommand =
|
|
|
2163
2163
|
switch (_a.label) {
|
|
2164
2164
|
case 0:
|
|
2165
2165
|
if (output.statusCode >= 300) {
|
|
2166
|
-
return [2
|
|
2166
|
+
return [2, deserializeAws_querySetLoadBalancerPoliciesForBackendServerCommandError(output, context)];
|
|
2167
2167
|
}
|
|
2168
|
-
return [4
|
|
2168
|
+
return [4, parseBody(output.body, context)];
|
|
2169
2169
|
case 1:
|
|
2170
2170
|
data = _a.sent();
|
|
2171
2171
|
contents = {};
|
|
2172
2172
|
contents = deserializeAws_querySetLoadBalancerPoliciesForBackendServerOutput(data.SetLoadBalancerPoliciesForBackendServerResult, context);
|
|
2173
2173
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
2174
|
-
return [2
|
|
2174
|
+
return [2, Promise.resolve(response)];
|
|
2175
2175
|
}
|
|
2176
2176
|
});
|
|
2177
2177
|
}); };
|
|
@@ -2183,39 +2183,39 @@ var deserializeAws_querySetLoadBalancerPoliciesForBackendServerCommandError = fu
|
|
|
2183
2183
|
case 0:
|
|
2184
2184
|
_a = [__assign({}, output)];
|
|
2185
2185
|
_f = {};
|
|
2186
|
-
return [4
|
|
2186
|
+
return [4, parseBody(output.body, context)];
|
|
2187
2187
|
case 1:
|
|
2188
2188
|
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
2189
2189
|
errorCode = "UnknownError";
|
|
2190
2190
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2191
2191
|
_b = errorCode;
|
|
2192
2192
|
switch (_b) {
|
|
2193
|
-
case "AccessPointNotFoundException": return [3
|
|
2194
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
2195
|
-
case "InvalidConfigurationRequestException": return [3
|
|
2196
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3
|
|
2197
|
-
case "PolicyNotFoundException": return [3
|
|
2198
|
-
case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException": return [3
|
|
2193
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
2194
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
2195
|
+
case "InvalidConfigurationRequestException": return [3, 4];
|
|
2196
|
+
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3, 4];
|
|
2197
|
+
case "PolicyNotFoundException": return [3, 6];
|
|
2198
|
+
case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException": return [3, 6];
|
|
2199
2199
|
}
|
|
2200
|
-
return [3
|
|
2200
|
+
return [3, 8];
|
|
2201
2201
|
case 2:
|
|
2202
2202
|
_c = [{}];
|
|
2203
|
-
return [4
|
|
2203
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
2204
2204
|
case 3:
|
|
2205
2205
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2206
|
-
return [3
|
|
2206
|
+
return [3, 9];
|
|
2207
2207
|
case 4:
|
|
2208
2208
|
_d = [{}];
|
|
2209
|
-
return [4
|
|
2209
|
+
return [4, deserializeAws_queryInvalidConfigurationRequestExceptionResponse(parsedOutput, context)];
|
|
2210
2210
|
case 5:
|
|
2211
2211
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2212
|
-
return [3
|
|
2212
|
+
return [3, 9];
|
|
2213
2213
|
case 6:
|
|
2214
2214
|
_e = [{}];
|
|
2215
|
-
return [4
|
|
2215
|
+
return [4, deserializeAws_queryPolicyNotFoundExceptionResponse(parsedOutput, context)];
|
|
2216
2216
|
case 7:
|
|
2217
2217
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2218
|
-
return [3
|
|
2218
|
+
return [3, 9];
|
|
2219
2219
|
case 8:
|
|
2220
2220
|
parsedBody = parsedOutput.body;
|
|
2221
2221
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -2225,7 +2225,7 @@ var deserializeAws_querySetLoadBalancerPoliciesForBackendServerCommandError = fu
|
|
|
2225
2225
|
message = response.message || response.Message || errorCode;
|
|
2226
2226
|
response.message = message;
|
|
2227
2227
|
delete response.Message;
|
|
2228
|
-
return [2
|
|
2228
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2229
2229
|
}
|
|
2230
2230
|
});
|
|
2231
2231
|
}); };
|
|
@@ -2235,15 +2235,15 @@ export var deserializeAws_querySetLoadBalancerPoliciesOfListenerCommand = functi
|
|
|
2235
2235
|
switch (_a.label) {
|
|
2236
2236
|
case 0:
|
|
2237
2237
|
if (output.statusCode >= 300) {
|
|
2238
|
-
return [2
|
|
2238
|
+
return [2, deserializeAws_querySetLoadBalancerPoliciesOfListenerCommandError(output, context)];
|
|
2239
2239
|
}
|
|
2240
|
-
return [4
|
|
2240
|
+
return [4, parseBody(output.body, context)];
|
|
2241
2241
|
case 1:
|
|
2242
2242
|
data = _a.sent();
|
|
2243
2243
|
contents = {};
|
|
2244
2244
|
contents = deserializeAws_querySetLoadBalancerPoliciesOfListenerOutput(data.SetLoadBalancerPoliciesOfListenerResult, context);
|
|
2245
2245
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
2246
|
-
return [2
|
|
2246
|
+
return [2, Promise.resolve(response)];
|
|
2247
2247
|
}
|
|
2248
2248
|
});
|
|
2249
2249
|
}); };
|
|
@@ -2255,47 +2255,47 @@ var deserializeAws_querySetLoadBalancerPoliciesOfListenerCommandError = function
|
|
|
2255
2255
|
case 0:
|
|
2256
2256
|
_a = [__assign({}, output)];
|
|
2257
2257
|
_g = {};
|
|
2258
|
-
return [4
|
|
2258
|
+
return [4, parseBody(output.body, context)];
|
|
2259
2259
|
case 1:
|
|
2260
2260
|
parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
|
|
2261
2261
|
errorCode = "UnknownError";
|
|
2262
2262
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2263
2263
|
_b = errorCode;
|
|
2264
2264
|
switch (_b) {
|
|
2265
|
-
case "AccessPointNotFoundException": return [3
|
|
2266
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3
|
|
2267
|
-
case "InvalidConfigurationRequestException": return [3
|
|
2268
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3
|
|
2269
|
-
case "ListenerNotFoundException": return [3
|
|
2270
|
-
case "com.amazonaws.elasticloadbalancing#ListenerNotFoundException": return [3
|
|
2271
|
-
case "PolicyNotFoundException": return [3
|
|
2272
|
-
case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException": return [3
|
|
2265
|
+
case "AccessPointNotFoundException": return [3, 2];
|
|
2266
|
+
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException": return [3, 2];
|
|
2267
|
+
case "InvalidConfigurationRequestException": return [3, 4];
|
|
2268
|
+
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException": return [3, 4];
|
|
2269
|
+
case "ListenerNotFoundException": return [3, 6];
|
|
2270
|
+
case "com.amazonaws.elasticloadbalancing#ListenerNotFoundException": return [3, 6];
|
|
2271
|
+
case "PolicyNotFoundException": return [3, 8];
|
|
2272
|
+
case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException": return [3, 8];
|
|
2273
2273
|
}
|
|
2274
|
-
return [3
|
|
2274
|
+
return [3, 10];
|
|
2275
2275
|
case 2:
|
|
2276
2276
|
_c = [{}];
|
|
2277
|
-
return [4
|
|
2277
|
+
return [4, deserializeAws_queryAccessPointNotFoundExceptionResponse(parsedOutput, context)];
|
|
2278
2278
|
case 3:
|
|
2279
2279
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2280
|
-
return [3
|
|
2280
|
+
return [3, 11];
|
|
2281
2281
|
case 4:
|
|
2282
2282
|
_d = [{}];
|
|
2283
|
-
return [4
|
|
2283
|
+
return [4, deserializeAws_queryInvalidConfigurationRequestExceptionResponse(parsedOutput, context)];
|
|
2284
2284
|
case 5:
|
|
2285
2285
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2286
|
-
return [3
|
|
2286
|
+
return [3, 11];
|
|
2287
2287
|
case 6:
|
|
2288
2288
|
_e = [{}];
|
|
2289
|
-
return [4
|
|
2289
|
+
return [4, deserializeAws_queryListenerNotFoundExceptionResponse(parsedOutput, context)];
|
|
2290
2290
|
case 7:
|
|
2291
2291
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2292
|
-
return [3
|
|
2292
|
+
return [3, 11];
|
|
2293
2293
|
case 8:
|
|
2294
2294
|
_f = [{}];
|
|
2295
|
-
return [4
|
|
2295
|
+
return [4, deserializeAws_queryPolicyNotFoundExceptionResponse(parsedOutput, context)];
|
|
2296
2296
|
case 9:
|
|
2297
2297
|
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2298
|
-
return [3
|
|
2298
|
+
return [3, 11];
|
|
2299
2299
|
case 10:
|
|
2300
2300
|
parsedBody = parsedOutput.body;
|
|
2301
2301
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -2305,7 +2305,7 @@ var deserializeAws_querySetLoadBalancerPoliciesOfListenerCommandError = function
|
|
|
2305
2305
|
message = response.message || response.Message || errorCode;
|
|
2306
2306
|
response.message = message;
|
|
2307
2307
|
delete response.Message;
|
|
2308
|
-
return [2
|
|
2308
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2309
2309
|
}
|
|
2310
2310
|
});
|
|
2311
2311
|
}); };
|
|
@@ -2315,7 +2315,7 @@ var deserializeAws_queryAccessPointNotFoundExceptionResponse = function (parsedO
|
|
|
2315
2315
|
body = parsedOutput.body;
|
|
2316
2316
|
deserialized = deserializeAws_queryAccessPointNotFoundException(body.Error, context);
|
|
2317
2317
|
contents = __assign({ name: "AccessPointNotFoundException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2318
|
-
return [2
|
|
2318
|
+
return [2, contents];
|
|
2319
2319
|
});
|
|
2320
2320
|
}); };
|
|
2321
2321
|
var deserializeAws_queryCertificateNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2324,7 +2324,7 @@ var deserializeAws_queryCertificateNotFoundExceptionResponse = function (parsedO
|
|
|
2324
2324
|
body = parsedOutput.body;
|
|
2325
2325
|
deserialized = deserializeAws_queryCertificateNotFoundException(body.Error, context);
|
|
2326
2326
|
contents = __assign({ name: "CertificateNotFoundException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2327
|
-
return [2
|
|
2327
|
+
return [2, contents];
|
|
2328
2328
|
});
|
|
2329
2329
|
}); };
|
|
2330
2330
|
var deserializeAws_queryDependencyThrottleExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2333,7 +2333,7 @@ var deserializeAws_queryDependencyThrottleExceptionResponse = function (parsedOu
|
|
|
2333
2333
|
body = parsedOutput.body;
|
|
2334
2334
|
deserialized = deserializeAws_queryDependencyThrottleException(body.Error, context);
|
|
2335
2335
|
contents = __assign({ name: "DependencyThrottleException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2336
|
-
return [2
|
|
2336
|
+
return [2, contents];
|
|
2337
2337
|
});
|
|
2338
2338
|
}); };
|
|
2339
2339
|
var deserializeAws_queryDuplicateAccessPointNameExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2342,7 +2342,7 @@ var deserializeAws_queryDuplicateAccessPointNameExceptionResponse = function (pa
|
|
|
2342
2342
|
body = parsedOutput.body;
|
|
2343
2343
|
deserialized = deserializeAws_queryDuplicateAccessPointNameException(body.Error, context);
|
|
2344
2344
|
contents = __assign({ name: "DuplicateAccessPointNameException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2345
|
-
return [2
|
|
2345
|
+
return [2, contents];
|
|
2346
2346
|
});
|
|
2347
2347
|
}); };
|
|
2348
2348
|
var deserializeAws_queryDuplicateListenerExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2351,7 +2351,7 @@ var deserializeAws_queryDuplicateListenerExceptionResponse = function (parsedOut
|
|
|
2351
2351
|
body = parsedOutput.body;
|
|
2352
2352
|
deserialized = deserializeAws_queryDuplicateListenerException(body.Error, context);
|
|
2353
2353
|
contents = __assign({ name: "DuplicateListenerException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2354
|
-
return [2
|
|
2354
|
+
return [2, contents];
|
|
2355
2355
|
});
|
|
2356
2356
|
}); };
|
|
2357
2357
|
var deserializeAws_queryDuplicatePolicyNameExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2360,7 +2360,7 @@ var deserializeAws_queryDuplicatePolicyNameExceptionResponse = function (parsedO
|
|
|
2360
2360
|
body = parsedOutput.body;
|
|
2361
2361
|
deserialized = deserializeAws_queryDuplicatePolicyNameException(body.Error, context);
|
|
2362
2362
|
contents = __assign({ name: "DuplicatePolicyNameException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2363
|
-
return [2
|
|
2363
|
+
return [2, contents];
|
|
2364
2364
|
});
|
|
2365
2365
|
}); };
|
|
2366
2366
|
var deserializeAws_queryDuplicateTagKeysExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2369,7 +2369,7 @@ var deserializeAws_queryDuplicateTagKeysExceptionResponse = function (parsedOutp
|
|
|
2369
2369
|
body = parsedOutput.body;
|
|
2370
2370
|
deserialized = deserializeAws_queryDuplicateTagKeysException(body.Error, context);
|
|
2371
2371
|
contents = __assign({ name: "DuplicateTagKeysException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2372
|
-
return [2
|
|
2372
|
+
return [2, contents];
|
|
2373
2373
|
});
|
|
2374
2374
|
}); };
|
|
2375
2375
|
var deserializeAws_queryInvalidConfigurationRequestExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2378,7 +2378,7 @@ var deserializeAws_queryInvalidConfigurationRequestExceptionResponse = function
|
|
|
2378
2378
|
body = parsedOutput.body;
|
|
2379
2379
|
deserialized = deserializeAws_queryInvalidConfigurationRequestException(body.Error, context);
|
|
2380
2380
|
contents = __assign({ name: "InvalidConfigurationRequestException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2381
|
-
return [2
|
|
2381
|
+
return [2, contents];
|
|
2382
2382
|
});
|
|
2383
2383
|
}); };
|
|
2384
2384
|
var deserializeAws_queryInvalidEndPointExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2387,7 +2387,7 @@ var deserializeAws_queryInvalidEndPointExceptionResponse = function (parsedOutpu
|
|
|
2387
2387
|
body = parsedOutput.body;
|
|
2388
2388
|
deserialized = deserializeAws_queryInvalidEndPointException(body.Error, context);
|
|
2389
2389
|
contents = __assign({ name: "InvalidEndPointException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2390
|
-
return [2
|
|
2390
|
+
return [2, contents];
|
|
2391
2391
|
});
|
|
2392
2392
|
}); };
|
|
2393
2393
|
var deserializeAws_queryInvalidSchemeExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2396,7 +2396,7 @@ var deserializeAws_queryInvalidSchemeExceptionResponse = function (parsedOutput,
|
|
|
2396
2396
|
body = parsedOutput.body;
|
|
2397
2397
|
deserialized = deserializeAws_queryInvalidSchemeException(body.Error, context);
|
|
2398
2398
|
contents = __assign({ name: "InvalidSchemeException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2399
|
-
return [2
|
|
2399
|
+
return [2, contents];
|
|
2400
2400
|
});
|
|
2401
2401
|
}); };
|
|
2402
2402
|
var deserializeAws_queryInvalidSecurityGroupExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2405,7 +2405,7 @@ var deserializeAws_queryInvalidSecurityGroupExceptionResponse = function (parsed
|
|
|
2405
2405
|
body = parsedOutput.body;
|
|
2406
2406
|
deserialized = deserializeAws_queryInvalidSecurityGroupException(body.Error, context);
|
|
2407
2407
|
contents = __assign({ name: "InvalidSecurityGroupException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2408
|
-
return [2
|
|
2408
|
+
return [2, contents];
|
|
2409
2409
|
});
|
|
2410
2410
|
}); };
|
|
2411
2411
|
var deserializeAws_queryInvalidSubnetExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2414,7 +2414,7 @@ var deserializeAws_queryInvalidSubnetExceptionResponse = function (parsedOutput,
|
|
|
2414
2414
|
body = parsedOutput.body;
|
|
2415
2415
|
deserialized = deserializeAws_queryInvalidSubnetException(body.Error, context);
|
|
2416
2416
|
contents = __assign({ name: "InvalidSubnetException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2417
|
-
return [2
|
|
2417
|
+
return [2, contents];
|
|
2418
2418
|
});
|
|
2419
2419
|
}); };
|
|
2420
2420
|
var deserializeAws_queryListenerNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2423,7 +2423,7 @@ var deserializeAws_queryListenerNotFoundExceptionResponse = function (parsedOutp
|
|
|
2423
2423
|
body = parsedOutput.body;
|
|
2424
2424
|
deserialized = deserializeAws_queryListenerNotFoundException(body.Error, context);
|
|
2425
2425
|
contents = __assign({ name: "ListenerNotFoundException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2426
|
-
return [2
|
|
2426
|
+
return [2, contents];
|
|
2427
2427
|
});
|
|
2428
2428
|
}); };
|
|
2429
2429
|
var deserializeAws_queryLoadBalancerAttributeNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2432,7 +2432,7 @@ var deserializeAws_queryLoadBalancerAttributeNotFoundExceptionResponse = functio
|
|
|
2432
2432
|
body = parsedOutput.body;
|
|
2433
2433
|
deserialized = deserializeAws_queryLoadBalancerAttributeNotFoundException(body.Error, context);
|
|
2434
2434
|
contents = __assign({ name: "LoadBalancerAttributeNotFoundException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2435
|
-
return [2
|
|
2435
|
+
return [2, contents];
|
|
2436
2436
|
});
|
|
2437
2437
|
}); };
|
|
2438
2438
|
var deserializeAws_queryOperationNotPermittedExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2441,7 +2441,7 @@ var deserializeAws_queryOperationNotPermittedExceptionResponse = function (parse
|
|
|
2441
2441
|
body = parsedOutput.body;
|
|
2442
2442
|
deserialized = deserializeAws_queryOperationNotPermittedException(body.Error, context);
|
|
2443
2443
|
contents = __assign({ name: "OperationNotPermittedException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2444
|
-
return [2
|
|
2444
|
+
return [2, contents];
|
|
2445
2445
|
});
|
|
2446
2446
|
}); };
|
|
2447
2447
|
var deserializeAws_queryPolicyNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2450,7 +2450,7 @@ var deserializeAws_queryPolicyNotFoundExceptionResponse = function (parsedOutput
|
|
|
2450
2450
|
body = parsedOutput.body;
|
|
2451
2451
|
deserialized = deserializeAws_queryPolicyNotFoundException(body.Error, context);
|
|
2452
2452
|
contents = __assign({ name: "PolicyNotFoundException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2453
|
-
return [2
|
|
2453
|
+
return [2, contents];
|
|
2454
2454
|
});
|
|
2455
2455
|
}); };
|
|
2456
2456
|
var deserializeAws_queryPolicyTypeNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2459,7 +2459,7 @@ var deserializeAws_queryPolicyTypeNotFoundExceptionResponse = function (parsedOu
|
|
|
2459
2459
|
body = parsedOutput.body;
|
|
2460
2460
|
deserialized = deserializeAws_queryPolicyTypeNotFoundException(body.Error, context);
|
|
2461
2461
|
contents = __assign({ name: "PolicyTypeNotFoundException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2462
|
-
return [2
|
|
2462
|
+
return [2, contents];
|
|
2463
2463
|
});
|
|
2464
2464
|
}); };
|
|
2465
2465
|
var deserializeAws_querySubnetNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2468,7 +2468,7 @@ var deserializeAws_querySubnetNotFoundExceptionResponse = function (parsedOutput
|
|
|
2468
2468
|
body = parsedOutput.body;
|
|
2469
2469
|
deserialized = deserializeAws_querySubnetNotFoundException(body.Error, context);
|
|
2470
2470
|
contents = __assign({ name: "SubnetNotFoundException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2471
|
-
return [2
|
|
2471
|
+
return [2, contents];
|
|
2472
2472
|
});
|
|
2473
2473
|
}); };
|
|
2474
2474
|
var deserializeAws_queryTooManyAccessPointsExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2477,7 +2477,7 @@ var deserializeAws_queryTooManyAccessPointsExceptionResponse = function (parsedO
|
|
|
2477
2477
|
body = parsedOutput.body;
|
|
2478
2478
|
deserialized = deserializeAws_queryTooManyAccessPointsException(body.Error, context);
|
|
2479
2479
|
contents = __assign({ name: "TooManyAccessPointsException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2480
|
-
return [2
|
|
2480
|
+
return [2, contents];
|
|
2481
2481
|
});
|
|
2482
2482
|
}); };
|
|
2483
2483
|
var deserializeAws_queryTooManyPoliciesExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2486,7 +2486,7 @@ var deserializeAws_queryTooManyPoliciesExceptionResponse = function (parsedOutpu
|
|
|
2486
2486
|
body = parsedOutput.body;
|
|
2487
2487
|
deserialized = deserializeAws_queryTooManyPoliciesException(body.Error, context);
|
|
2488
2488
|
contents = __assign({ name: "TooManyPoliciesException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2489
|
-
return [2
|
|
2489
|
+
return [2, contents];
|
|
2490
2490
|
});
|
|
2491
2491
|
}); };
|
|
2492
2492
|
var deserializeAws_queryTooManyTagsExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2495,7 +2495,7 @@ var deserializeAws_queryTooManyTagsExceptionResponse = function (parsedOutput, c
|
|
|
2495
2495
|
body = parsedOutput.body;
|
|
2496
2496
|
deserialized = deserializeAws_queryTooManyTagsException(body.Error, context);
|
|
2497
2497
|
contents = __assign({ name: "TooManyTagsException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2498
|
-
return [2
|
|
2498
|
+
return [2, contents];
|
|
2499
2499
|
});
|
|
2500
2500
|
}); };
|
|
2501
2501
|
var deserializeAws_queryUnsupportedProtocolExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2504,7 +2504,7 @@ var deserializeAws_queryUnsupportedProtocolExceptionResponse = function (parsedO
|
|
|
2504
2504
|
body = parsedOutput.body;
|
|
2505
2505
|
deserialized = deserializeAws_queryUnsupportedProtocolException(body.Error, context);
|
|
2506
2506
|
contents = __assign({ name: "UnsupportedProtocolException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2507
|
-
return [2
|
|
2507
|
+
return [2, contents];
|
|
2508
2508
|
});
|
|
2509
2509
|
}); };
|
|
2510
2510
|
var serializeAws_queryAccessLog = function (input, context) {
|
|
@@ -4607,7 +4607,6 @@ var deserializeMetadata = function (output) {
|
|
|
4607
4607
|
cfId: output.headers["x-amz-cf-id"],
|
|
4608
4608
|
});
|
|
4609
4609
|
};
|
|
4610
|
-
// Collect low-level response body stream to Uint8Array.
|
|
4611
4610
|
var collectBody = function (streamBody, context) {
|
|
4612
4611
|
if (streamBody === void 0) { streamBody = new Uint8Array(); }
|
|
4613
4612
|
if (streamBody instanceof Uint8Array) {
|
|
@@ -4615,7 +4614,6 @@ var collectBody = function (streamBody, context) {
|
|
|
4615
4614
|
}
|
|
4616
4615
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
4617
4616
|
};
|
|
4618
|
-
// Encode Uint8Array data into string with utf-8.
|
|
4619
4617
|
var collectBodyString = function (streamBody, context) {
|
|
4620
4618
|
return collectBody(streamBody, context).then(function (body) { return context.utf8Encoder(body); });
|
|
4621
4619
|
};
|
|
@@ -4623,7 +4621,7 @@ var buildHttpRpcRequest = function (context, headers, path, resolvedHostname, bo
|
|
|
4623
4621
|
var _a, hostname, _b, protocol, port, basePath, contents;
|
|
4624
4622
|
return __generator(this, function (_c) {
|
|
4625
4623
|
switch (_c.label) {
|
|
4626
|
-
case 0: return [4
|
|
4624
|
+
case 0: return [4, context.endpoint()];
|
|
4627
4625
|
case 1:
|
|
4628
4626
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4629
4627
|
contents = {
|
|
@@ -4640,7 +4638,7 @@ var buildHttpRpcRequest = function (context, headers, path, resolvedHostname, bo
|
|
|
4640
4638
|
if (body !== undefined) {
|
|
4641
4639
|
contents.body = body;
|
|
4642
4640
|
}
|
|
4643
|
-
return [2
|
|
4641
|
+
return [2, new __HttpRequest(contents)];
|
|
4644
4642
|
}
|
|
4645
4643
|
});
|
|
4646
4644
|
}); };
|