@aws-sdk/client-elastic-load-balancing-v2 3.34.0 → 3.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/ElasticLoadBalancingV2.js +1 -43
- package/dist-cjs/ElasticLoadBalancingV2Client.js +35 -0
- package/dist-cjs/commands/AddListenerCertificatesCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/AddTagsCommand.js +2 -31
- package/dist-cjs/commands/CreateListenerCommand.js +36 -0
- package/dist-cjs/commands/CreateLoadBalancerCommand.js +36 -0
- package/dist-cjs/commands/CreateRuleCommand.js +36 -0
- package/dist-cjs/commands/CreateTargetGroupCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteListenerCommand.js +2 -29
- package/dist-cjs/commands/DeleteLoadBalancerCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteRuleCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DeleteTargetGroupCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/DeregisterTargetsCommand.js +2 -28
- package/dist-cjs/commands/DescribeAccountLimitsCommand.js +36 -0
- package/dist-cjs/commands/DescribeListenerCertificatesCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeListenersCommand.js +2 -29
- package/dist-cjs/commands/DescribeLoadBalancerAttributesCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeLoadBalancersCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeRulesCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DescribeSSLPoliciesCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DescribeTagsCommand.js +2 -29
- package/dist-cjs/commands/DescribeTargetGroupAttributesCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeTargetGroupsCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/DescribeTargetHealthCommand.js +2 -27
- package/dist-cjs/commands/ModifyListenerCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/ModifyLoadBalancerAttributesCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/ModifyRuleCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/ModifyTargetGroupAttributesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ModifyTargetGroupCommand.js +2 -28
- package/dist-cjs/commands/RegisterTargetsCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/RemoveListenerCertificatesCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/RemoveTagsCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/SetIpAddressTypeCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/SetRulePrioritiesCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/SetSecurityGroupsCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/SetSubnetsCommand.js +2 -32
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +16 -437
- package/{dist/cjs → dist-cjs}/pagination/DescribeListenersPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/DescribeLoadBalancersPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/DescribeTargetGroupsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/protocols/Aws_query.js +172 -133
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/cjs → dist-cjs}/waiters/waitForLoadBalancerAvailable.js +10 -20
- package/{dist/cjs → dist-cjs}/waiters/waitForLoadBalancerExists.js +2 -12
- package/{dist/cjs → dist-cjs}/waiters/waitForLoadBalancersDeleted.js +6 -16
- package/{dist/cjs → dist-cjs}/waiters/waitForTargetDeregistered.js +6 -16
- package/{dist/cjs → dist-cjs}/waiters/waitForTargetInService.js +6 -16
- package/{dist/es → dist-es}/ElasticLoadBalancingV2.js +1 -2
- package/{dist/es → dist-es}/ElasticLoadBalancingV2Client.js +1 -2
- package/{dist/es → dist-es}/commands/AddListenerCertificatesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/AddTagsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateListenerCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateLoadBalancerCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateTargetGroupCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteListenerCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteLoadBalancerCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteTargetGroupCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeregisterTargetsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeAccountLimitsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeListenerCertificatesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeListenersCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeLoadBalancerAttributesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeLoadBalancersCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeRulesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeSSLPoliciesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeTagsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeTargetGroupAttributesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeTargetGroupsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeTargetHealthCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ModifyListenerCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ModifyLoadBalancerAttributesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ModifyRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ModifyTargetGroupAttributesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ModifyTargetGroupCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RegisterTargetsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RemoveListenerCertificatesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RemoveTagsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/SetIpAddressTypeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/SetRulePrioritiesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/SetSecurityGroupsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/SetSubnetsCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +10 -5
- package/{dist/es → dist-es}/pagination/DescribeListenersPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/DescribeLoadBalancersPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/DescribeTargetGroupsPaginator.js +1 -2
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/protocols/Aws_query.js +79 -38
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/waiters/waitForLoadBalancerAvailable.js +1 -2
- package/{dist/es → dist-es}/waiters/waitForLoadBalancerExists.js +1 -2
- package/{dist/es → dist-es}/waiters/waitForLoadBalancersDeleted.js +1 -2
- package/{dist/es → dist-es}/waiters/waitForTargetDeregistered.js +1 -2
- package/{dist/es → dist-es}/waiters/waitForTargetInService.js +1 -2
- package/{dist/types → dist-types}/ElasticLoadBalancingV2.d.ts +2 -2
- package/{dist/types → dist-types}/ElasticLoadBalancingV2Client.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AddListenerCertificatesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/AddTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateListenerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateLoadBalancerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateTargetGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteListenerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteLoadBalancerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteTargetGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeregisterTargetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeAccountLimitsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeListenerCertificatesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeListenersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeLoadBalancerAttributesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeLoadBalancersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeRulesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeSSLPoliciesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeTargetGroupAttributesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeTargetGroupsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeTargetHealthCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ModifyListenerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ModifyLoadBalancerAttributesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ModifyRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ModifyTargetGroupAttributesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ModifyTargetGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RegisterTargetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RemoveListenerCertificatesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RemoveTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SetIpAddressTypeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SetRulePrioritiesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SetSecurityGroupsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SetSubnetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +60 -23
- package/{dist/types → dist-types}/pagination/DescribeListenersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/DescribeLoadBalancersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/DescribeTargetGroupsPaginator.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 → dist-types}/runtimeConfig.browser.d.ts +3 -1
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/ElasticLoadBalancingV2.d.ts +175 -0
- package/{dist/types → dist-types}/ts3.4/ElasticLoadBalancingV2Client.d.ts +32 -135
- package/dist-types/ts3.4/commands/AddListenerCertificatesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateLoadBalancerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateTargetGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteLoadBalancerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteTargetGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeregisterTargetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeListenerCertificatesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeListenersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeLoadBalancerAttributesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeSSLPoliciesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeTargetGroupAttributesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeTargetGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeTargetHealthCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ModifyListenerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ModifyLoadBalancerAttributesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ModifyRuleCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ModifyTargetGroupAttributesCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ModifyTargetGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RegisterTargetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RemoveListenerCertificatesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetIpAddressTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetRulePrioritiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetSecurityGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetSubnetsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +811 -0
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeListenersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeLoadBalancersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeTargetGroupsPaginator.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 +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/waiters/waitForLoadBalancerAvailable.d.ts +4 -11
- package/{dist/types → dist-types}/ts3.4/waiters/waitForLoadBalancerExists.d.ts +4 -11
- package/{dist/types → dist-types}/ts3.4/waiters/waitForLoadBalancersDeleted.d.ts +4 -11
- package/{dist/types → dist-types}/ts3.4/waiters/waitForTargetDeregistered.d.ts +4 -11
- package/{dist/types → dist-types}/ts3.4/waiters/waitForTargetInService.d.ts +4 -11
- package/{dist/types → dist-types}/waiters/waitForLoadBalancerAvailable.d.ts +2 -2
- package/{dist/types → dist-types}/waiters/waitForLoadBalancerExists.d.ts +2 -2
- package/{dist/types → dist-types}/waiters/waitForLoadBalancersDeleted.d.ts +2 -2
- package/{dist/types → dist-types}/waiters/waitForTargetDeregistered.d.ts +2 -2
- package/{dist/types → dist-types}/waiters/waitForTargetInService.d.ts +2 -2
- package/package.json +46 -43
- package/ElasticLoadBalancingV2.ts +0 -1475
- package/ElasticLoadBalancingV2Client.ts +0 -411
- package/commands/AddListenerCertificatesCommand.ts +0 -105
- package/commands/AddTagsCommand.ts +0 -99
- package/commands/CreateListenerCommand.ts +0 -125
- package/commands/CreateLoadBalancerCommand.ts +0 -125
- package/commands/CreateRuleCommand.ts +0 -100
- package/commands/CreateTargetGroupCommand.ts +0 -125
- package/commands/DeleteListenerCommand.ts +0 -100
- package/commands/DeleteLoadBalancerCommand.ts +0 -104
- package/commands/DeleteRuleCommand.ts +0 -96
- package/commands/DeleteTargetGroupCommand.ts +0 -102
- package/commands/DeregisterTargetsCommand.ts +0 -99
- package/commands/DescribeAccountLimitsCommand.ts +0 -120
- package/commands/DescribeListenerCertificatesCommand.ts +0 -110
- package/commands/DescribeListenersCommand.ts +0 -100
- package/commands/DescribeLoadBalancerAttributesCommand.ts +0 -129
- package/commands/DescribeLoadBalancersCommand.ts +0 -98
- package/commands/DescribeRulesCommand.ts +0 -99
- package/commands/DescribeSSLPoliciesCommand.ts +0 -100
- package/commands/DescribeTagsCommand.ts +0 -97
- package/commands/DescribeTargetGroupAttributesCommand.ts +0 -124
- package/commands/DescribeTargetGroupsCommand.ts +0 -101
- package/commands/DescribeTargetHealthCommand.ts +0 -98
- package/commands/ModifyListenerCommand.ts +0 -105
- package/commands/ModifyLoadBalancerAttributesCommand.ts +0 -106
- package/commands/ModifyRuleCommand.ts +0 -99
- package/commands/ModifyTargetGroupAttributesCommand.ts +0 -101
- package/commands/ModifyTargetGroupCommand.ts +0 -99
- package/commands/RegisterTargetsCommand.ts +0 -110
- package/commands/RemoveListenerCertificatesCommand.ts +0 -102
- package/commands/RemoveTagsCommand.ts +0 -97
- package/commands/SetIpAddressTypeCommand.ts +0 -99
- package/commands/SetRulePrioritiesCommand.ts +0 -100
- package/commands/SetSecurityGroupsCommand.ts +0 -101
- package/commands/SetSubnetsCommand.ts +0 -100
- package/dist/cjs/ElasticLoadBalancingV2.js.map +0 -1
- package/dist/cjs/ElasticLoadBalancingV2Client.js +0 -82
- package/dist/cjs/ElasticLoadBalancingV2Client.js.map +0 -1
- package/dist/cjs/commands/AddListenerCertificatesCommand.js +0 -68
- package/dist/cjs/commands/AddListenerCertificatesCommand.js.map +0 -1
- package/dist/cjs/commands/AddTagsCommand.js.map +0 -1
- package/dist/cjs/commands/CreateListenerCommand.js +0 -88
- package/dist/cjs/commands/CreateListenerCommand.js.map +0 -1
- package/dist/cjs/commands/CreateLoadBalancerCommand.js +0 -88
- package/dist/cjs/commands/CreateLoadBalancerCommand.js.map +0 -1
- package/dist/cjs/commands/CreateRuleCommand.js +0 -66
- package/dist/cjs/commands/CreateRuleCommand.js.map +0 -1
- package/dist/cjs/commands/CreateTargetGroupCommand.js +0 -88
- package/dist/cjs/commands/CreateTargetGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteListenerCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteLoadBalancerCommand.js +0 -67
- package/dist/cjs/commands/DeleteLoadBalancerCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteRuleCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteTargetGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DeregisterTargetsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeAccountLimitsCommand.js +0 -83
- package/dist/cjs/commands/DescribeAccountLimitsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeListenerCertificatesCommand.js +0 -68
- package/dist/cjs/commands/DescribeListenerCertificatesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeListenersCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeLoadBalancerAttributesCommand.js +0 -84
- package/dist/cjs/commands/DescribeLoadBalancerAttributesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeLoadBalancersCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeRulesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeSSLPoliciesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeTagsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeTargetGroupAttributesCommand.js +0 -82
- package/dist/cjs/commands/DescribeTargetGroupAttributesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeTargetGroupsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeTargetHealthCommand.js.map +0 -1
- package/dist/cjs/commands/ModifyListenerCommand.js +0 -68
- package/dist/cjs/commands/ModifyListenerCommand.js.map +0 -1
- package/dist/cjs/commands/ModifyLoadBalancerAttributesCommand.js.map +0 -1
- package/dist/cjs/commands/ModifyRuleCommand.js.map +0 -1
- package/dist/cjs/commands/ModifyTargetGroupAttributesCommand.js.map +0 -1
- package/dist/cjs/commands/ModifyTargetGroupCommand.js.map +0 -1
- package/dist/cjs/commands/RegisterTargetsCommand.js +0 -73
- package/dist/cjs/commands/RegisterTargetsCommand.js.map +0 -1
- package/dist/cjs/commands/RemoveListenerCertificatesCommand.js.map +0 -1
- package/dist/cjs/commands/RemoveTagsCommand.js.map +0 -1
- package/dist/cjs/commands/SetIpAddressTypeCommand.js.map +0 -1
- package/dist/cjs/commands/SetRulePrioritiesCommand.js.map +0 -1
- package/dist/cjs/commands/SetSecurityGroupsCommand.js.map +0 -1
- package/dist/cjs/commands/SetSubnetsCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -94
- package/dist/cjs/pagination/DescribeListenersPaginator.js.map +0 -1
- package/dist/cjs/pagination/DescribeLoadBalancersPaginator.js.map +0 -1
- package/dist/cjs/pagination/DescribeTargetGroupsPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.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/waitForLoadBalancerAvailable.js.map +0 -1
- package/dist/cjs/waiters/waitForLoadBalancerExists.js.map +0 -1
- package/dist/cjs/waiters/waitForLoadBalancersDeleted.js.map +0 -1
- package/dist/cjs/waiters/waitForTargetDeregistered.js.map +0 -1
- package/dist/cjs/waiters/waitForTargetInService.js.map +0 -1
- package/dist/es/ElasticLoadBalancingV2.js.map +0 -1
- package/dist/es/ElasticLoadBalancingV2Client.js.map +0 -1
- package/dist/es/commands/AddListenerCertificatesCommand.js.map +0 -1
- package/dist/es/commands/AddTagsCommand.js.map +0 -1
- package/dist/es/commands/CreateListenerCommand.js.map +0 -1
- package/dist/es/commands/CreateLoadBalancerCommand.js.map +0 -1
- package/dist/es/commands/CreateRuleCommand.js.map +0 -1
- package/dist/es/commands/CreateTargetGroupCommand.js.map +0 -1
- package/dist/es/commands/DeleteListenerCommand.js.map +0 -1
- package/dist/es/commands/DeleteLoadBalancerCommand.js.map +0 -1
- package/dist/es/commands/DeleteRuleCommand.js.map +0 -1
- package/dist/es/commands/DeleteTargetGroupCommand.js.map +0 -1
- package/dist/es/commands/DeregisterTargetsCommand.js.map +0 -1
- package/dist/es/commands/DescribeAccountLimitsCommand.js.map +0 -1
- package/dist/es/commands/DescribeListenerCertificatesCommand.js.map +0 -1
- package/dist/es/commands/DescribeListenersCommand.js.map +0 -1
- package/dist/es/commands/DescribeLoadBalancerAttributesCommand.js.map +0 -1
- package/dist/es/commands/DescribeLoadBalancersCommand.js.map +0 -1
- package/dist/es/commands/DescribeRulesCommand.js.map +0 -1
- package/dist/es/commands/DescribeSSLPoliciesCommand.js.map +0 -1
- package/dist/es/commands/DescribeTagsCommand.js.map +0 -1
- package/dist/es/commands/DescribeTargetGroupAttributesCommand.js.map +0 -1
- package/dist/es/commands/DescribeTargetGroupsCommand.js.map +0 -1
- package/dist/es/commands/DescribeTargetHealthCommand.js.map +0 -1
- package/dist/es/commands/ModifyListenerCommand.js.map +0 -1
- package/dist/es/commands/ModifyLoadBalancerAttributesCommand.js.map +0 -1
- package/dist/es/commands/ModifyRuleCommand.js.map +0 -1
- package/dist/es/commands/ModifyTargetGroupAttributesCommand.js.map +0 -1
- package/dist/es/commands/ModifyTargetGroupCommand.js.map +0 -1
- package/dist/es/commands/RegisterTargetsCommand.js.map +0 -1
- package/dist/es/commands/RemoveListenerCertificatesCommand.js.map +0 -1
- package/dist/es/commands/RemoveTagsCommand.js.map +0 -1
- package/dist/es/commands/SetIpAddressTypeCommand.js.map +0 -1
- package/dist/es/commands/SetRulePrioritiesCommand.js.map +0 -1
- package/dist/es/commands/SetSecurityGroupsCommand.js.map +0 -1
- package/dist/es/commands/SetSubnetsCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -47
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -94
- package/dist/es/pagination/DescribeListenersPaginator.js.map +0 -1
- package/dist/es/pagination/DescribeLoadBalancersPaginator.js.map +0 -1
- package/dist/es/pagination/DescribeTargetGroupsPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.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/waitForLoadBalancerAvailable.js.map +0 -1
- package/dist/es/waiters/waitForLoadBalancerExists.js.map +0 -1
- package/dist/es/waiters/waitForLoadBalancersDeleted.js.map +0 -1
- package/dist/es/waiters/waitForTargetDeregistered.js.map +0 -1
- package/dist/es/waiters/waitForTargetInService.js.map +0 -1
- package/dist/types/ts3.4/ElasticLoadBalancingV2.d.ts +0 -518
- package/dist/types/ts3.4/commands/AddListenerCertificatesCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/AddTagsCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/CreateListenerCommand.d.ts +0 -62
- package/dist/types/ts3.4/commands/CreateLoadBalancerCommand.d.ts +0 -62
- package/dist/types/ts3.4/commands/CreateRuleCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/CreateTargetGroupCommand.d.ts +0 -62
- package/dist/types/ts3.4/commands/DeleteListenerCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DeleteLoadBalancerCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/DeleteRuleCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DeleteTargetGroupCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/DeregisterTargetsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +0 -57
- package/dist/types/ts3.4/commands/DescribeListenerCertificatesCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/DescribeListenersCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DescribeLoadBalancerAttributesCommand.d.ts +0 -58
- package/dist/types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeRulesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DescribeSSLPoliciesCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DescribeTagsCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DescribeTargetGroupAttributesCommand.d.ts +0 -56
- package/dist/types/ts3.4/commands/DescribeTargetGroupsCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DescribeTargetHealthCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ModifyListenerCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/ModifyLoadBalancerAttributesCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/ModifyRuleCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/ModifyTargetGroupCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/RegisterTargetsCommand.d.ts +0 -47
- package/dist/types/ts3.4/commands/RemoveListenerCertificatesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/RemoveTagsCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/SetIpAddressTypeCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/SetRulePrioritiesCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/SetSecurityGroupsCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/SetSubnetsCommand.d.ts +0 -40
- package/dist/types/ts3.4/models/models_0.d.ts +0 -3621
- package/endpoints.ts +0 -86
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -4389
- package/pagination/DescribeListenersPaginator.ts +0 -57
- package/pagination/DescribeLoadBalancersPaginator.ts +0 -57
- package/pagination/DescribeTargetGroupsPaginator.ts +0 -57
- package/pagination/Interfaces.ts +0 -7
- package/protocols/Aws_query.ts +0 -7897
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
- package/waiters/waitForLoadBalancerAvailable.ts +0 -77
- package/waiters/waitForLoadBalancerExists.ts +0 -48
- package/waiters/waitForLoadBalancersDeleted.ts +0 -63
- package/waiters/waitForTargetDeregistered.ts +0 -60
- package/waiters/waitForTargetInService.ts +0 -60
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ElasticLoadBalancingV2ClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ElasticLoadBalancingV2Client";
|
|
6
|
-
import { CreateListenerInput, CreateListenerOutput } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_queryCreateListenerCommand,
|
|
9
|
-
serializeAws_queryCreateListenerCommand,
|
|
10
|
-
} from "../protocols/Aws_query";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface CreateListenerCommandInput extends CreateListenerInput {}
|
|
25
|
-
export interface CreateListenerCommandOutput extends CreateListenerOutput, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Creates a listener for the specified Application Load Balancer, Network Load Balancer, or
|
|
29
|
-
* Gateway Load Balancer.</p>
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* <p>For more information, see the following:</p>
|
|
33
|
-
* <ul>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>
|
|
36
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html">Listeners for
|
|
37
|
-
* your Application Load Balancers</a>
|
|
38
|
-
* </p>
|
|
39
|
-
* </li>
|
|
40
|
-
* <li>
|
|
41
|
-
* <p>
|
|
42
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-listeners.html">Listeners for
|
|
43
|
-
* your Network Load Balancers</a>
|
|
44
|
-
* </p>
|
|
45
|
-
* </li>
|
|
46
|
-
* <li>
|
|
47
|
-
* <p>
|
|
48
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-listeners.html">Listeners for your
|
|
49
|
-
* Gateway Load Balancers</a>
|
|
50
|
-
* </p>
|
|
51
|
-
* </li>
|
|
52
|
-
* </ul>
|
|
53
|
-
*
|
|
54
|
-
* <p>This operation is idempotent, which means that it completes at most one time. If you
|
|
55
|
-
* attempt to create multiple listeners with the same settings, each call succeeds.</p>
|
|
56
|
-
* @example
|
|
57
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
58
|
-
* ```javascript
|
|
59
|
-
* import { ElasticLoadBalancingV2Client, CreateListenerCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
60
|
-
* // const { ElasticLoadBalancingV2Client, CreateListenerCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
61
|
-
* const client = new ElasticLoadBalancingV2Client(config);
|
|
62
|
-
* const command = new CreateListenerCommand(input);
|
|
63
|
-
* const response = await client.send(command);
|
|
64
|
-
* ```
|
|
65
|
-
*
|
|
66
|
-
* @see {@link CreateListenerCommandInput} for command's `input` shape.
|
|
67
|
-
* @see {@link CreateListenerCommandOutput} for command's `response` shape.
|
|
68
|
-
* @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
|
|
69
|
-
*
|
|
70
|
-
*/
|
|
71
|
-
export class CreateListenerCommand extends $Command<
|
|
72
|
-
CreateListenerCommandInput,
|
|
73
|
-
CreateListenerCommandOutput,
|
|
74
|
-
ElasticLoadBalancingV2ClientResolvedConfig
|
|
75
|
-
> {
|
|
76
|
-
// Start section: command_properties
|
|
77
|
-
// End section: command_properties
|
|
78
|
-
|
|
79
|
-
constructor(readonly input: CreateListenerCommandInput) {
|
|
80
|
-
// Start section: command_constructor
|
|
81
|
-
super();
|
|
82
|
-
// End section: command_constructor
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
resolveMiddleware(
|
|
89
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
90
|
-
configuration: ElasticLoadBalancingV2ClientResolvedConfig,
|
|
91
|
-
options?: __HttpHandlerOptions
|
|
92
|
-
): Handler<CreateListenerCommandInput, CreateListenerCommandOutput> {
|
|
93
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
94
|
-
|
|
95
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
96
|
-
|
|
97
|
-
const { logger } = configuration;
|
|
98
|
-
const clientName = "ElasticLoadBalancingV2Client";
|
|
99
|
-
const commandName = "CreateListenerCommand";
|
|
100
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
101
|
-
logger,
|
|
102
|
-
clientName,
|
|
103
|
-
commandName,
|
|
104
|
-
inputFilterSensitiveLog: CreateListenerInput.filterSensitiveLog,
|
|
105
|
-
outputFilterSensitiveLog: CreateListenerOutput.filterSensitiveLog,
|
|
106
|
-
};
|
|
107
|
-
const { requestHandler } = configuration;
|
|
108
|
-
return stack.resolve(
|
|
109
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
110
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
111
|
-
handlerExecutionContext
|
|
112
|
-
);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
private serialize(input: CreateListenerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
116
|
-
return serializeAws_queryCreateListenerCommand(input, context);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateListenerCommandOutput> {
|
|
120
|
-
return deserializeAws_queryCreateListenerCommand(output, context);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
// Start section: command_body_extra
|
|
124
|
-
// End section: command_body_extra
|
|
125
|
-
}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ElasticLoadBalancingV2ClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ElasticLoadBalancingV2Client";
|
|
6
|
-
import { CreateLoadBalancerInput, CreateLoadBalancerOutput } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_queryCreateLoadBalancerCommand,
|
|
9
|
-
serializeAws_queryCreateLoadBalancerCommand,
|
|
10
|
-
} from "../protocols/Aws_query";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface CreateLoadBalancerCommandInput extends CreateLoadBalancerInput {}
|
|
25
|
-
export interface CreateLoadBalancerCommandOutput extends CreateLoadBalancerOutput, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Creates an Application Load Balancer, Network Load Balancer, or Gateway Load
|
|
29
|
-
* Balancer.</p>
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* <p>For more information, see the following:</p>
|
|
34
|
-
* <ul>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>
|
|
37
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html">Application Load Balancers</a>
|
|
38
|
-
* </p>
|
|
39
|
-
* </li>
|
|
40
|
-
* <li>
|
|
41
|
-
* <p>
|
|
42
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html">Network Load
|
|
43
|
-
* Balancers</a>
|
|
44
|
-
* </p>
|
|
45
|
-
* </li>
|
|
46
|
-
* <li>
|
|
47
|
-
* <p>
|
|
48
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-load-balancers.html">Gateway Load
|
|
49
|
-
* Balancers</a>
|
|
50
|
-
* </p>
|
|
51
|
-
* </li>
|
|
52
|
-
* </ul>
|
|
53
|
-
*
|
|
54
|
-
* <p>This operation is idempotent, which means that it completes at most one time. If you
|
|
55
|
-
* attempt to create multiple load balancers with the same settings, each call succeeds.</p>
|
|
56
|
-
* @example
|
|
57
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
58
|
-
* ```javascript
|
|
59
|
-
* import { ElasticLoadBalancingV2Client, CreateLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
60
|
-
* // const { ElasticLoadBalancingV2Client, CreateLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
61
|
-
* const client = new ElasticLoadBalancingV2Client(config);
|
|
62
|
-
* const command = new CreateLoadBalancerCommand(input);
|
|
63
|
-
* const response = await client.send(command);
|
|
64
|
-
* ```
|
|
65
|
-
*
|
|
66
|
-
* @see {@link CreateLoadBalancerCommandInput} for command's `input` shape.
|
|
67
|
-
* @see {@link CreateLoadBalancerCommandOutput} for command's `response` shape.
|
|
68
|
-
* @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
|
|
69
|
-
*
|
|
70
|
-
*/
|
|
71
|
-
export class CreateLoadBalancerCommand extends $Command<
|
|
72
|
-
CreateLoadBalancerCommandInput,
|
|
73
|
-
CreateLoadBalancerCommandOutput,
|
|
74
|
-
ElasticLoadBalancingV2ClientResolvedConfig
|
|
75
|
-
> {
|
|
76
|
-
// Start section: command_properties
|
|
77
|
-
// End section: command_properties
|
|
78
|
-
|
|
79
|
-
constructor(readonly input: CreateLoadBalancerCommandInput) {
|
|
80
|
-
// Start section: command_constructor
|
|
81
|
-
super();
|
|
82
|
-
// End section: command_constructor
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
resolveMiddleware(
|
|
89
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
90
|
-
configuration: ElasticLoadBalancingV2ClientResolvedConfig,
|
|
91
|
-
options?: __HttpHandlerOptions
|
|
92
|
-
): Handler<CreateLoadBalancerCommandInput, CreateLoadBalancerCommandOutput> {
|
|
93
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
94
|
-
|
|
95
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
96
|
-
|
|
97
|
-
const { logger } = configuration;
|
|
98
|
-
const clientName = "ElasticLoadBalancingV2Client";
|
|
99
|
-
const commandName = "CreateLoadBalancerCommand";
|
|
100
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
101
|
-
logger,
|
|
102
|
-
clientName,
|
|
103
|
-
commandName,
|
|
104
|
-
inputFilterSensitiveLog: CreateLoadBalancerInput.filterSensitiveLog,
|
|
105
|
-
outputFilterSensitiveLog: CreateLoadBalancerOutput.filterSensitiveLog,
|
|
106
|
-
};
|
|
107
|
-
const { requestHandler } = configuration;
|
|
108
|
-
return stack.resolve(
|
|
109
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
110
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
111
|
-
handlerExecutionContext
|
|
112
|
-
);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
private serialize(input: CreateLoadBalancerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
116
|
-
return serializeAws_queryCreateLoadBalancerCommand(input, context);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateLoadBalancerCommandOutput> {
|
|
120
|
-
return deserializeAws_queryCreateLoadBalancerCommand(output, context);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
// Start section: command_body_extra
|
|
124
|
-
// End section: command_body_extra
|
|
125
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ElasticLoadBalancingV2ClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ElasticLoadBalancingV2Client";
|
|
6
|
-
import { CreateRuleInput, CreateRuleOutput } from "../models/models_0";
|
|
7
|
-
import { deserializeAws_queryCreateRuleCommand, serializeAws_queryCreateRuleCommand } from "../protocols/Aws_query";
|
|
8
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
9
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
10
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
11
|
-
import {
|
|
12
|
-
FinalizeHandlerArguments,
|
|
13
|
-
Handler,
|
|
14
|
-
HandlerExecutionContext,
|
|
15
|
-
MiddlewareStack,
|
|
16
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
17
|
-
MetadataBearer as __MetadataBearer,
|
|
18
|
-
SerdeContext as __SerdeContext,
|
|
19
|
-
} from "@aws-sdk/types";
|
|
20
|
-
|
|
21
|
-
export interface CreateRuleCommandInput extends CreateRuleInput {}
|
|
22
|
-
export interface CreateRuleCommandOutput extends CreateRuleOutput, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a rule for the specified listener. The listener must be associated with an
|
|
26
|
-
* Application Load Balancer.</p>
|
|
27
|
-
* <p>Each rule consists of a priority, one or more actions, and one or more conditions. Rules
|
|
28
|
-
* are evaluated in priority order, from the lowest value to the highest value. When the
|
|
29
|
-
* conditions for a rule are met, its actions are performed. If the conditions for no rules are
|
|
30
|
-
* met, the actions for the default rule are performed. For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#listener-rules">Listener rules</a> in the <i>Application Load Balancers Guide</i>.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { ElasticLoadBalancingV2Client, CreateRuleCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
35
|
-
* // const { ElasticLoadBalancingV2Client, CreateRuleCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
36
|
-
* const client = new ElasticLoadBalancingV2Client(config);
|
|
37
|
-
* const command = new CreateRuleCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link CreateRuleCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link CreateRuleCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class CreateRuleCommand extends $Command<
|
|
47
|
-
CreateRuleCommandInput,
|
|
48
|
-
CreateRuleCommandOutput,
|
|
49
|
-
ElasticLoadBalancingV2ClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: CreateRuleCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: ElasticLoadBalancingV2ClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<CreateRuleCommandInput, CreateRuleCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "ElasticLoadBalancingV2Client";
|
|
74
|
-
const commandName = "CreateRuleCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: CreateRuleInput.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: CreateRuleOutput.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: CreateRuleCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_queryCreateRuleCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateRuleCommandOutput> {
|
|
95
|
-
return deserializeAws_queryCreateRuleCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ElasticLoadBalancingV2ClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ElasticLoadBalancingV2Client";
|
|
6
|
-
import { CreateTargetGroupInput, CreateTargetGroupOutput } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_queryCreateTargetGroupCommand,
|
|
9
|
-
serializeAws_queryCreateTargetGroupCommand,
|
|
10
|
-
} from "../protocols/Aws_query";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface CreateTargetGroupCommandInput extends CreateTargetGroupInput {}
|
|
25
|
-
export interface CreateTargetGroupCommandOutput extends CreateTargetGroupOutput, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Creates a target group.</p>
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* <p>For more information, see the following:</p>
|
|
33
|
-
* <ul>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>
|
|
36
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html">Target
|
|
37
|
-
* groups for your Application Load Balancers</a>
|
|
38
|
-
* </p>
|
|
39
|
-
* </li>
|
|
40
|
-
* <li>
|
|
41
|
-
* <p>
|
|
42
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html">Target groups
|
|
43
|
-
* for your Network Load Balancers</a>
|
|
44
|
-
* </p>
|
|
45
|
-
* </li>
|
|
46
|
-
* <li>
|
|
47
|
-
* <p>
|
|
48
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/target-groups.html">Target groups for your
|
|
49
|
-
* Gateway Load Balancers</a>
|
|
50
|
-
* </p>
|
|
51
|
-
* </li>
|
|
52
|
-
* </ul>
|
|
53
|
-
*
|
|
54
|
-
* <p>This operation is idempotent, which means that it completes at most one time. If you
|
|
55
|
-
* attempt to create multiple target groups with the same settings, each call succeeds.</p>
|
|
56
|
-
* @example
|
|
57
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
58
|
-
* ```javascript
|
|
59
|
-
* import { ElasticLoadBalancingV2Client, CreateTargetGroupCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
60
|
-
* // const { ElasticLoadBalancingV2Client, CreateTargetGroupCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
61
|
-
* const client = new ElasticLoadBalancingV2Client(config);
|
|
62
|
-
* const command = new CreateTargetGroupCommand(input);
|
|
63
|
-
* const response = await client.send(command);
|
|
64
|
-
* ```
|
|
65
|
-
*
|
|
66
|
-
* @see {@link CreateTargetGroupCommandInput} for command's `input` shape.
|
|
67
|
-
* @see {@link CreateTargetGroupCommandOutput} for command's `response` shape.
|
|
68
|
-
* @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
|
|
69
|
-
*
|
|
70
|
-
*/
|
|
71
|
-
export class CreateTargetGroupCommand extends $Command<
|
|
72
|
-
CreateTargetGroupCommandInput,
|
|
73
|
-
CreateTargetGroupCommandOutput,
|
|
74
|
-
ElasticLoadBalancingV2ClientResolvedConfig
|
|
75
|
-
> {
|
|
76
|
-
// Start section: command_properties
|
|
77
|
-
// End section: command_properties
|
|
78
|
-
|
|
79
|
-
constructor(readonly input: CreateTargetGroupCommandInput) {
|
|
80
|
-
// Start section: command_constructor
|
|
81
|
-
super();
|
|
82
|
-
// End section: command_constructor
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
resolveMiddleware(
|
|
89
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
90
|
-
configuration: ElasticLoadBalancingV2ClientResolvedConfig,
|
|
91
|
-
options?: __HttpHandlerOptions
|
|
92
|
-
): Handler<CreateTargetGroupCommandInput, CreateTargetGroupCommandOutput> {
|
|
93
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
94
|
-
|
|
95
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
96
|
-
|
|
97
|
-
const { logger } = configuration;
|
|
98
|
-
const clientName = "ElasticLoadBalancingV2Client";
|
|
99
|
-
const commandName = "CreateTargetGroupCommand";
|
|
100
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
101
|
-
logger,
|
|
102
|
-
clientName,
|
|
103
|
-
commandName,
|
|
104
|
-
inputFilterSensitiveLog: CreateTargetGroupInput.filterSensitiveLog,
|
|
105
|
-
outputFilterSensitiveLog: CreateTargetGroupOutput.filterSensitiveLog,
|
|
106
|
-
};
|
|
107
|
-
const { requestHandler } = configuration;
|
|
108
|
-
return stack.resolve(
|
|
109
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
110
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
111
|
-
handlerExecutionContext
|
|
112
|
-
);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
private serialize(input: CreateTargetGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
116
|
-
return serializeAws_queryCreateTargetGroupCommand(input, context);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateTargetGroupCommandOutput> {
|
|
120
|
-
return deserializeAws_queryCreateTargetGroupCommand(output, context);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
// Start section: command_body_extra
|
|
124
|
-
// End section: command_body_extra
|
|
125
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ElasticLoadBalancingV2ClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ElasticLoadBalancingV2Client";
|
|
6
|
-
import { DeleteListenerInput, DeleteListenerOutput } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_queryDeleteListenerCommand,
|
|
9
|
-
serializeAws_queryDeleteListenerCommand,
|
|
10
|
-
} from "../protocols/Aws_query";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface DeleteListenerCommandInput extends DeleteListenerInput {}
|
|
25
|
-
export interface DeleteListenerCommandOutput extends DeleteListenerOutput, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Deletes the specified listener.</p>
|
|
29
|
-
* <p>Alternatively, your listener is deleted when you delete the load balancer to which it is
|
|
30
|
-
* attached.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { ElasticLoadBalancingV2Client, DeleteListenerCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
35
|
-
* // const { ElasticLoadBalancingV2Client, DeleteListenerCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
36
|
-
* const client = new ElasticLoadBalancingV2Client(config);
|
|
37
|
-
* const command = new DeleteListenerCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link DeleteListenerCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link DeleteListenerCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class DeleteListenerCommand extends $Command<
|
|
47
|
-
DeleteListenerCommandInput,
|
|
48
|
-
DeleteListenerCommandOutput,
|
|
49
|
-
ElasticLoadBalancingV2ClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: DeleteListenerCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: ElasticLoadBalancingV2ClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<DeleteListenerCommandInput, DeleteListenerCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "ElasticLoadBalancingV2Client";
|
|
74
|
-
const commandName = "DeleteListenerCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: DeleteListenerInput.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: DeleteListenerOutput.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: DeleteListenerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_queryDeleteListenerCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteListenerCommandOutput> {
|
|
95
|
-
return deserializeAws_queryDeleteListenerCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ElasticLoadBalancingV2ClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ElasticLoadBalancingV2Client";
|
|
6
|
-
import { DeleteLoadBalancerInput, DeleteLoadBalancerOutput } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_queryDeleteLoadBalancerCommand,
|
|
9
|
-
serializeAws_queryDeleteLoadBalancerCommand,
|
|
10
|
-
} from "../protocols/Aws_query";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface DeleteLoadBalancerCommandInput extends DeleteLoadBalancerInput {}
|
|
25
|
-
export interface DeleteLoadBalancerCommandOutput extends DeleteLoadBalancerOutput, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Deletes the specified Application Load Balancer, Network Load Balancer, or Gateway Load
|
|
29
|
-
* Balancer. Deleting a load balancer also deletes its listeners.</p>
|
|
30
|
-
* <p>You can't delete a load balancer if deletion protection is enabled. If the load balancer
|
|
31
|
-
* does not exist or has already been deleted, the call succeeds.</p>
|
|
32
|
-
* <p>Deleting a load balancer does not affect its registered targets. For example, your EC2
|
|
33
|
-
* instances continue to run and are still registered to their target groups. If you no longer
|
|
34
|
-
* need these EC2 instances, you can stop or terminate them.</p>
|
|
35
|
-
* @example
|
|
36
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
-
* ```javascript
|
|
38
|
-
* import { ElasticLoadBalancingV2Client, DeleteLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
39
|
-
* // const { ElasticLoadBalancingV2Client, DeleteLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
40
|
-
* const client = new ElasticLoadBalancingV2Client(config);
|
|
41
|
-
* const command = new DeleteLoadBalancerCommand(input);
|
|
42
|
-
* const response = await client.send(command);
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* @see {@link DeleteLoadBalancerCommandInput} for command's `input` shape.
|
|
46
|
-
* @see {@link DeleteLoadBalancerCommandOutput} for command's `response` shape.
|
|
47
|
-
* @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
export class DeleteLoadBalancerCommand extends $Command<
|
|
51
|
-
DeleteLoadBalancerCommandInput,
|
|
52
|
-
DeleteLoadBalancerCommandOutput,
|
|
53
|
-
ElasticLoadBalancingV2ClientResolvedConfig
|
|
54
|
-
> {
|
|
55
|
-
// Start section: command_properties
|
|
56
|
-
// End section: command_properties
|
|
57
|
-
|
|
58
|
-
constructor(readonly input: DeleteLoadBalancerCommandInput) {
|
|
59
|
-
// Start section: command_constructor
|
|
60
|
-
super();
|
|
61
|
-
// End section: command_constructor
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
67
|
-
resolveMiddleware(
|
|
68
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
69
|
-
configuration: ElasticLoadBalancingV2ClientResolvedConfig,
|
|
70
|
-
options?: __HttpHandlerOptions
|
|
71
|
-
): Handler<DeleteLoadBalancerCommandInput, DeleteLoadBalancerCommandOutput> {
|
|
72
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
73
|
-
|
|
74
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
75
|
-
|
|
76
|
-
const { logger } = configuration;
|
|
77
|
-
const clientName = "ElasticLoadBalancingV2Client";
|
|
78
|
-
const commandName = "DeleteLoadBalancerCommand";
|
|
79
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
80
|
-
logger,
|
|
81
|
-
clientName,
|
|
82
|
-
commandName,
|
|
83
|
-
inputFilterSensitiveLog: DeleteLoadBalancerInput.filterSensitiveLog,
|
|
84
|
-
outputFilterSensitiveLog: DeleteLoadBalancerOutput.filterSensitiveLog,
|
|
85
|
-
};
|
|
86
|
-
const { requestHandler } = configuration;
|
|
87
|
-
return stack.resolve(
|
|
88
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
89
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
90
|
-
handlerExecutionContext
|
|
91
|
-
);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private serialize(input: DeleteLoadBalancerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
95
|
-
return serializeAws_queryDeleteLoadBalancerCommand(input, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteLoadBalancerCommandOutput> {
|
|
99
|
-
return deserializeAws_queryDeleteLoadBalancerCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|