// // Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). // You may not use this file except in compliance with the License. // A copy of the License is located at // // http://aws.amazon.com/apache2.0 // // or in the "license" file accompanying this file. This file is distributed // on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either // express or implied. See the License for the specific language governing // permissions and limitations under the License. // #import #import #import "AWSElasticLoadBalancingModel.h" #import "AWSElasticLoadBalancingResources.h" NS_ASSUME_NONNULL_BEGIN //! SDK version for AWSElasticLoadBalancing FOUNDATION_EXPORT NSString *const AWSElasticLoadBalancingSDKVersion; /** Elastic Load Balancing

A load balancer distributes incoming traffic across targets, such as your EC2 instances. This enables you to increase the availability of your application. The load balancer also monitors the health of its registered targets and ensures that it routes traffic only to healthy targets. You configure your load balancer to accept incoming traffic by specifying one or more listeners, which are configured with a protocol and port number for connections from clients to the load balancer. You configure a target group with a protocol and port number for connections from the load balancer to the targets, and with health check settings to be used when checking the health status of the targets.

Elastic Load Balancing supports the following types of load balancers: Application Load Balancers, Network Load Balancers, Gateway Load Balancers, and Classic Load Balancers. This reference covers the following load balancer types:

For more information, see the Elastic Load Balancing User Guide.

All Elastic Load Balancing operations are idempotent, which means that they complete at most one time. If you repeat an operation, it succeeds.

*/ @interface AWSElasticLoadBalancing : AWSService /** The service configuration used to instantiate this service client. @warning Once the client is instantiated, do not modify the configuration object. It may cause unspecified behaviors. */ @property (nonatomic, strong, readonly) AWSServiceConfiguration *configuration; /** Returns the singleton service client. If the singleton object does not exist, the SDK instantiates the default service client with `defaultServiceConfiguration` from `[AWSServiceManager defaultServiceManager]`. The reference to this object is maintained by the SDK, and you do not need to retain it manually. For example, set the default service configuration in `- application:didFinishLaunchingWithOptions:` *Swift* func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { let credentialProvider = AWSCognitoCredentialsProvider(regionType: .USEast1, identityPoolId: "YourIdentityPoolId") let configuration = AWSServiceConfiguration(region: .USEast1, credentialsProvider: credentialProvider) AWSServiceManager.default().defaultServiceConfiguration = configuration return true } *Objective-C* - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { AWSCognitoCredentialsProvider *credentialsProvider = [[AWSCognitoCredentialsProvider alloc] initWithRegionType:AWSRegionUSEast1 identityPoolId:@"YourIdentityPoolId"]; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:credentialsProvider]; [AWSServiceManager defaultServiceManager].defaultServiceConfiguration = configuration; return YES; } Then call the following to get the default service client: *Swift* let ElasticLoadBalancing = AWSElasticLoadBalancing.default() *Objective-C* AWSElasticLoadBalancing *ElasticLoadBalancing = [AWSElasticLoadBalancing defaultElasticLoadBalancing]; @return The default service client. */ + (instancetype)defaultElasticLoadBalancing; /** Creates a service client with the given service configuration and registers it for the key. For example, set the default service configuration in `- application:didFinishLaunchingWithOptions:` *Swift* func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { let credentialProvider = AWSCognitoCredentialsProvider(regionType: .USEast1, identityPoolId: "YourIdentityPoolId") let configuration = AWSServiceConfiguration(region: .USWest2, credentialsProvider: credentialProvider) AWSElasticLoadBalancing.register(with: configuration!, forKey: "USWest2ElasticLoadBalancing") return true } *Objective-C* - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { AWSCognitoCredentialsProvider *credentialsProvider = [[AWSCognitoCredentialsProvider alloc] initWithRegionType:AWSRegionUSEast1 identityPoolId:@"YourIdentityPoolId"]; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSWest2 credentialsProvider:credentialsProvider]; [AWSElasticLoadBalancing registerElasticLoadBalancingWithConfiguration:configuration forKey:@"USWest2ElasticLoadBalancing"]; return YES; } Then call the following to get the service client: *Swift* let ElasticLoadBalancing = AWSElasticLoadBalancing(forKey: "USWest2ElasticLoadBalancing") *Objective-C* AWSElasticLoadBalancing *ElasticLoadBalancing = [AWSElasticLoadBalancing ElasticLoadBalancingForKey:@"USWest2ElasticLoadBalancing"]; @warning After calling this method, do not modify the configuration object. It may cause unspecified behaviors. @param configuration A service configuration object. @param key A string to identify the service client. */ + (void)registerElasticLoadBalancingWithConfiguration:(AWSServiceConfiguration *)configuration forKey:(NSString *)key; /** Retrieves the service client associated with the key. You need to call `+ registerElasticLoadBalancingWithConfiguration:forKey:` before invoking this method. For example, set the default service configuration in `- application:didFinishLaunchingWithOptions:` *Swift* func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { let credentialProvider = AWSCognitoCredentialsProvider(regionType: .USEast1, identityPoolId: "YourIdentityPoolId") let configuration = AWSServiceConfiguration(region: .USWest2, credentialsProvider: credentialProvider) AWSElasticLoadBalancing.register(with: configuration!, forKey: "USWest2ElasticLoadBalancing") return true } *Objective-C* - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { AWSCognitoCredentialsProvider *credentialsProvider = [[AWSCognitoCredentialsProvider alloc] initWithRegionType:AWSRegionUSEast1 identityPoolId:@"YourIdentityPoolId"]; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSWest2 credentialsProvider:credentialsProvider]; [AWSElasticLoadBalancing registerElasticLoadBalancingWithConfiguration:configuration forKey:@"USWest2ElasticLoadBalancing"]; return YES; } Then call the following to get the service client: *Swift* let ElasticLoadBalancing = AWSElasticLoadBalancing(forKey: "USWest2ElasticLoadBalancing") *Objective-C* AWSElasticLoadBalancing *ElasticLoadBalancing = [AWSElasticLoadBalancing ElasticLoadBalancingForKey:@"USWest2ElasticLoadBalancing"]; @param key A string to identify the service client. @return An instance of the service client. */ + (instancetype)ElasticLoadBalancingForKey:(NSString *)key; /** Removes the service client associated with the key and release it. @warning Before calling this method, make sure no method is running on this client. @param key A string to identify the service client. */ + (void)removeElasticLoadBalancingForKey:(NSString *)key; /**

Adds the specified SSL server certificate to the certificate list for the specified HTTPS or TLS listener.

If the certificate in already in the certificate list, the call is successful but the certificate is not added again.

For more information, see HTTPS listeners in the Application Load Balancers Guide or TLS listeners in the Network Load Balancers Guide.

@param request A container for the necessary parameters to execute the AddListenerCertificates service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingAddListenerCertificatesOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorListenerNotFound`, `AWSElasticLoadBalancingErrorTooManyCertificates`, `AWSElasticLoadBalancingErrorCertificateNotFound`. @see AWSElasticLoadBalancingAddListenerCertificatesInput @see AWSElasticLoadBalancingAddListenerCertificatesOutput */ - (AWSTask *)addListenerCertificates:(AWSElasticLoadBalancingAddListenerCertificatesInput *)request; /**

Adds the specified SSL server certificate to the certificate list for the specified HTTPS or TLS listener.

If the certificate in already in the certificate list, the call is successful but the certificate is not added again.

For more information, see HTTPS listeners in the Application Load Balancers Guide or TLS listeners in the Network Load Balancers Guide.

@param request A container for the necessary parameters to execute the AddListenerCertificates service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorListenerNotFound`, `AWSElasticLoadBalancingErrorTooManyCertificates`, `AWSElasticLoadBalancingErrorCertificateNotFound`. @see AWSElasticLoadBalancingAddListenerCertificatesInput @see AWSElasticLoadBalancingAddListenerCertificatesOutput */ - (void)addListenerCertificates:(AWSElasticLoadBalancingAddListenerCertificatesInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingAddListenerCertificatesOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Adds the specified tags to the specified Elastic Load Balancing resource. You can tag your Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, and rules.

Each tag consists of a key and an optional value. If a resource already has a tag with the same key, AddTags updates its value.

@param request A container for the necessary parameters to execute the AddTags service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingAddTagsOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorDuplicateTagKeys`, `AWSElasticLoadBalancingErrorTooManyTags`, `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorListenerNotFound`, `AWSElasticLoadBalancingErrorRuleNotFound`. @see AWSElasticLoadBalancingAddTagsInput @see AWSElasticLoadBalancingAddTagsOutput */ - (AWSTask *)addTags:(AWSElasticLoadBalancingAddTagsInput *)request; /**

Adds the specified tags to the specified Elastic Load Balancing resource. You can tag your Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, and rules.

Each tag consists of a key and an optional value. If a resource already has a tag with the same key, AddTags updates its value.

@param request A container for the necessary parameters to execute the AddTags service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorDuplicateTagKeys`, `AWSElasticLoadBalancingErrorTooManyTags`, `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorListenerNotFound`, `AWSElasticLoadBalancingErrorRuleNotFound`. @see AWSElasticLoadBalancingAddTagsInput @see AWSElasticLoadBalancingAddTagsOutput */ - (void)addTags:(AWSElasticLoadBalancingAddTagsInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingAddTagsOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Creates a listener for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.

For more information, see the following:

This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple listeners with the same settings, each call succeeds.

@param request A container for the necessary parameters to execute the CreateListener service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingCreateListenerOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorDuplicateListener`, `AWSElasticLoadBalancingErrorTooManyListeners`, `AWSElasticLoadBalancingErrorTooManyCertificates`, `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorTargetGroupAssociationLimit`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`, `AWSElasticLoadBalancingErrorIncompatibleProtocols`, `AWSElasticLoadBalancingErrorSSLPolicyNotFound`, `AWSElasticLoadBalancingErrorCertificateNotFound`, `AWSElasticLoadBalancingErrorUnsupportedProtocol`, `AWSElasticLoadBalancingErrorTooManyRegistrationsForTargetId`, `AWSElasticLoadBalancingErrorTooManyTargets`, `AWSElasticLoadBalancingErrorTooManyActions`, `AWSElasticLoadBalancingErrorInvalidLoadBalancerAction`, `AWSElasticLoadBalancingErrorTooManyUniqueTargetGroupsPerLoadBalancer`, `AWSElasticLoadBalancingErrorALPNPolicyNotSupported`, `AWSElasticLoadBalancingErrorTooManyTags`. @see AWSElasticLoadBalancingCreateListenerInput @see AWSElasticLoadBalancingCreateListenerOutput */ - (AWSTask *)createListener:(AWSElasticLoadBalancingCreateListenerInput *)request; /**

Creates a listener for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.

For more information, see the following:

This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple listeners with the same settings, each call succeeds.

@param request A container for the necessary parameters to execute the CreateListener service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorDuplicateListener`, `AWSElasticLoadBalancingErrorTooManyListeners`, `AWSElasticLoadBalancingErrorTooManyCertificates`, `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorTargetGroupAssociationLimit`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`, `AWSElasticLoadBalancingErrorIncompatibleProtocols`, `AWSElasticLoadBalancingErrorSSLPolicyNotFound`, `AWSElasticLoadBalancingErrorCertificateNotFound`, `AWSElasticLoadBalancingErrorUnsupportedProtocol`, `AWSElasticLoadBalancingErrorTooManyRegistrationsForTargetId`, `AWSElasticLoadBalancingErrorTooManyTargets`, `AWSElasticLoadBalancingErrorTooManyActions`, `AWSElasticLoadBalancingErrorInvalidLoadBalancerAction`, `AWSElasticLoadBalancingErrorTooManyUniqueTargetGroupsPerLoadBalancer`, `AWSElasticLoadBalancingErrorALPNPolicyNotSupported`, `AWSElasticLoadBalancingErrorTooManyTags`. @see AWSElasticLoadBalancingCreateListenerInput @see AWSElasticLoadBalancingCreateListenerOutput */ - (void)createListener:(AWSElasticLoadBalancingCreateListenerInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingCreateListenerOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Creates an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.

For more information, see the following:

This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple load balancers with the same settings, each call succeeds.

@param request A container for the necessary parameters to execute the CreateLoadBalancer service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingCreateLoadBalancerOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorDuplicateLoadBalancerName`, `AWSElasticLoadBalancingErrorTooManyLoadBalancers`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`, `AWSElasticLoadBalancingErrorSubnetNotFound`, `AWSElasticLoadBalancingErrorInvalidSubnet`, `AWSElasticLoadBalancingErrorInvalidSecurityGroup`, `AWSElasticLoadBalancingErrorInvalidScheme`, `AWSElasticLoadBalancingErrorTooManyTags`, `AWSElasticLoadBalancingErrorDuplicateTagKeys`, `AWSElasticLoadBalancingErrorResourceInUse`, `AWSElasticLoadBalancingErrorAllocationIdNotFound`, `AWSElasticLoadBalancingErrorAvailabilityZoneNotSupported`, `AWSElasticLoadBalancingErrorOperationNotPermitted`. @see AWSElasticLoadBalancingCreateLoadBalancerInput @see AWSElasticLoadBalancingCreateLoadBalancerOutput */ - (AWSTask *)createLoadBalancer:(AWSElasticLoadBalancingCreateLoadBalancerInput *)request; /**

Creates an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.

For more information, see the following:

This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple load balancers with the same settings, each call succeeds.

@param request A container for the necessary parameters to execute the CreateLoadBalancer service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorDuplicateLoadBalancerName`, `AWSElasticLoadBalancingErrorTooManyLoadBalancers`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`, `AWSElasticLoadBalancingErrorSubnetNotFound`, `AWSElasticLoadBalancingErrorInvalidSubnet`, `AWSElasticLoadBalancingErrorInvalidSecurityGroup`, `AWSElasticLoadBalancingErrorInvalidScheme`, `AWSElasticLoadBalancingErrorTooManyTags`, `AWSElasticLoadBalancingErrorDuplicateTagKeys`, `AWSElasticLoadBalancingErrorResourceInUse`, `AWSElasticLoadBalancingErrorAllocationIdNotFound`, `AWSElasticLoadBalancingErrorAvailabilityZoneNotSupported`, `AWSElasticLoadBalancingErrorOperationNotPermitted`. @see AWSElasticLoadBalancingCreateLoadBalancerInput @see AWSElasticLoadBalancingCreateLoadBalancerOutput */ - (void)createLoadBalancer:(AWSElasticLoadBalancingCreateLoadBalancerInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingCreateLoadBalancerOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Creates a rule for the specified listener. The listener must be associated with an Application Load Balancer.

Each rule consists of a priority, one or more actions, and one or more conditions. Rules are evaluated in priority order, from the lowest value to the highest value. When the conditions for a rule are met, its actions are performed. If the conditions for no rules are met, the actions for the default rule are performed. For more information, see Listener rules in the Application Load Balancers Guide.

@param request A container for the necessary parameters to execute the CreateRule service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingCreateRuleOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorPriorityInUse`, `AWSElasticLoadBalancingErrorTooManyTargetGroups`, `AWSElasticLoadBalancingErrorTooManyRules`, `AWSElasticLoadBalancingErrorTargetGroupAssociationLimit`, `AWSElasticLoadBalancingErrorIncompatibleProtocols`, `AWSElasticLoadBalancingErrorListenerNotFound`, `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`, `AWSElasticLoadBalancingErrorTooManyRegistrationsForTargetId`, `AWSElasticLoadBalancingErrorTooManyTargets`, `AWSElasticLoadBalancingErrorUnsupportedProtocol`, `AWSElasticLoadBalancingErrorTooManyActions`, `AWSElasticLoadBalancingErrorInvalidLoadBalancerAction`, `AWSElasticLoadBalancingErrorTooManyUniqueTargetGroupsPerLoadBalancer`, `AWSElasticLoadBalancingErrorTooManyTags`. @see AWSElasticLoadBalancingCreateRuleInput @see AWSElasticLoadBalancingCreateRuleOutput */ - (AWSTask *)createRule:(AWSElasticLoadBalancingCreateRuleInput *)request; /**

Creates a rule for the specified listener. The listener must be associated with an Application Load Balancer.

Each rule consists of a priority, one or more actions, and one or more conditions. Rules are evaluated in priority order, from the lowest value to the highest value. When the conditions for a rule are met, its actions are performed. If the conditions for no rules are met, the actions for the default rule are performed. For more information, see Listener rules in the Application Load Balancers Guide.

@param request A container for the necessary parameters to execute the CreateRule service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorPriorityInUse`, `AWSElasticLoadBalancingErrorTooManyTargetGroups`, `AWSElasticLoadBalancingErrorTooManyRules`, `AWSElasticLoadBalancingErrorTargetGroupAssociationLimit`, `AWSElasticLoadBalancingErrorIncompatibleProtocols`, `AWSElasticLoadBalancingErrorListenerNotFound`, `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`, `AWSElasticLoadBalancingErrorTooManyRegistrationsForTargetId`, `AWSElasticLoadBalancingErrorTooManyTargets`, `AWSElasticLoadBalancingErrorUnsupportedProtocol`, `AWSElasticLoadBalancingErrorTooManyActions`, `AWSElasticLoadBalancingErrorInvalidLoadBalancerAction`, `AWSElasticLoadBalancingErrorTooManyUniqueTargetGroupsPerLoadBalancer`, `AWSElasticLoadBalancingErrorTooManyTags`. @see AWSElasticLoadBalancingCreateRuleInput @see AWSElasticLoadBalancingCreateRuleOutput */ - (void)createRule:(AWSElasticLoadBalancingCreateRuleInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingCreateRuleOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Creates a target group.

For more information, see the following:

This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple target groups with the same settings, each call succeeds.

@param request A container for the necessary parameters to execute the CreateTargetGroup service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingCreateTargetGroupOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorDuplicateTargetGroupName`, `AWSElasticLoadBalancingErrorTooManyTargetGroups`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`, `AWSElasticLoadBalancingErrorTooManyTags`. @see AWSElasticLoadBalancingCreateTargetGroupInput @see AWSElasticLoadBalancingCreateTargetGroupOutput */ - (AWSTask *)createTargetGroup:(AWSElasticLoadBalancingCreateTargetGroupInput *)request; /**

Creates a target group.

For more information, see the following:

This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple target groups with the same settings, each call succeeds.

@param request A container for the necessary parameters to execute the CreateTargetGroup service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorDuplicateTargetGroupName`, `AWSElasticLoadBalancingErrorTooManyTargetGroups`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`, `AWSElasticLoadBalancingErrorTooManyTags`. @see AWSElasticLoadBalancingCreateTargetGroupInput @see AWSElasticLoadBalancingCreateTargetGroupOutput */ - (void)createTargetGroup:(AWSElasticLoadBalancingCreateTargetGroupInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingCreateTargetGroupOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Deletes the specified listener.

Alternatively, your listener is deleted when you delete the load balancer to which it is attached.

@param request A container for the necessary parameters to execute the DeleteListener service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingDeleteListenerOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorListenerNotFound`, `AWSElasticLoadBalancingErrorResourceInUse`. @see AWSElasticLoadBalancingDeleteListenerInput @see AWSElasticLoadBalancingDeleteListenerOutput */ - (AWSTask *)deleteListener:(AWSElasticLoadBalancingDeleteListenerInput *)request; /**

Deletes the specified listener.

Alternatively, your listener is deleted when you delete the load balancer to which it is attached.

@param request A container for the necessary parameters to execute the DeleteListener service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorListenerNotFound`, `AWSElasticLoadBalancingErrorResourceInUse`. @see AWSElasticLoadBalancingDeleteListenerInput @see AWSElasticLoadBalancingDeleteListenerOutput */ - (void)deleteListener:(AWSElasticLoadBalancingDeleteListenerInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingDeleteListenerOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Deletes the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. Deleting a load balancer also deletes its listeners.

You can't delete a load balancer if deletion protection is enabled. If the load balancer does not exist or has already been deleted, the call succeeds.

Deleting a load balancer does not affect its registered targets. For example, your EC2 instances continue to run and are still registered to their target groups. If you no longer need these EC2 instances, you can stop or terminate them.

@param request A container for the necessary parameters to execute the DeleteLoadBalancer service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingDeleteLoadBalancerOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorOperationNotPermitted`, `AWSElasticLoadBalancingErrorResourceInUse`. @see AWSElasticLoadBalancingDeleteLoadBalancerInput @see AWSElasticLoadBalancingDeleteLoadBalancerOutput */ - (AWSTask *)deleteLoadBalancer:(AWSElasticLoadBalancingDeleteLoadBalancerInput *)request; /**

Deletes the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. Deleting a load balancer also deletes its listeners.

You can't delete a load balancer if deletion protection is enabled. If the load balancer does not exist or has already been deleted, the call succeeds.

Deleting a load balancer does not affect its registered targets. For example, your EC2 instances continue to run and are still registered to their target groups. If you no longer need these EC2 instances, you can stop or terminate them.

@param request A container for the necessary parameters to execute the DeleteLoadBalancer service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorOperationNotPermitted`, `AWSElasticLoadBalancingErrorResourceInUse`. @see AWSElasticLoadBalancingDeleteLoadBalancerInput @see AWSElasticLoadBalancingDeleteLoadBalancerOutput */ - (void)deleteLoadBalancer:(AWSElasticLoadBalancingDeleteLoadBalancerInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingDeleteLoadBalancerOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Deletes the specified rule.

You can't delete the default rule.

@param request A container for the necessary parameters to execute the DeleteRule service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingDeleteRuleOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorRuleNotFound`, `AWSElasticLoadBalancingErrorOperationNotPermitted`. @see AWSElasticLoadBalancingDeleteRuleInput @see AWSElasticLoadBalancingDeleteRuleOutput */ - (AWSTask *)deleteRule:(AWSElasticLoadBalancingDeleteRuleInput *)request; /**

Deletes the specified rule.

You can't delete the default rule.

@param request A container for the necessary parameters to execute the DeleteRule service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorRuleNotFound`, `AWSElasticLoadBalancingErrorOperationNotPermitted`. @see AWSElasticLoadBalancingDeleteRuleInput @see AWSElasticLoadBalancingDeleteRuleOutput */ - (void)deleteRule:(AWSElasticLoadBalancingDeleteRuleInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingDeleteRuleOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Deletes the specified target group.

You can delete a target group if it is not referenced by any actions. Deleting a target group also deletes any associated health checks. Deleting a target group does not affect its registered targets. For example, any EC2 instances continue to run until you stop or terminate them.

@param request A container for the necessary parameters to execute the DeleteTargetGroup service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingDeleteTargetGroupOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorResourceInUse`. @see AWSElasticLoadBalancingDeleteTargetGroupInput @see AWSElasticLoadBalancingDeleteTargetGroupOutput */ - (AWSTask *)deleteTargetGroup:(AWSElasticLoadBalancingDeleteTargetGroupInput *)request; /**

Deletes the specified target group.

You can delete a target group if it is not referenced by any actions. Deleting a target group also deletes any associated health checks. Deleting a target group does not affect its registered targets. For example, any EC2 instances continue to run until you stop or terminate them.

@param request A container for the necessary parameters to execute the DeleteTargetGroup service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorResourceInUse`. @see AWSElasticLoadBalancingDeleteTargetGroupInput @see AWSElasticLoadBalancingDeleteTargetGroupOutput */ - (void)deleteTargetGroup:(AWSElasticLoadBalancingDeleteTargetGroupInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingDeleteTargetGroupOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.

@param request A container for the necessary parameters to execute the DeregisterTargets service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingDeregisterTargetsOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorInvalidTarget`. @see AWSElasticLoadBalancingDeregisterTargetsInput @see AWSElasticLoadBalancingDeregisterTargetsOutput */ - (AWSTask *)deregisterTargets:(AWSElasticLoadBalancingDeregisterTargetsInput *)request; /**

Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.

@param request A container for the necessary parameters to execute the DeregisterTargets service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorInvalidTarget`. @see AWSElasticLoadBalancingDeregisterTargetsInput @see AWSElasticLoadBalancingDeregisterTargetsOutput */ - (void)deregisterTargets:(AWSElasticLoadBalancingDeregisterTargetsInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingDeregisterTargetsOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Describes the current Elastic Load Balancing resource limits for your Amazon Web Services account.

For more information, see the following:

@param request A container for the necessary parameters to execute the DescribeAccountLimits service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingDescribeAccountLimitsOutput`. @see AWSElasticLoadBalancingDescribeAccountLimitsInput @see AWSElasticLoadBalancingDescribeAccountLimitsOutput */ - (AWSTask *)describeAccountLimits:(AWSElasticLoadBalancingDescribeAccountLimitsInput *)request; /**

Describes the current Elastic Load Balancing resource limits for your Amazon Web Services account.

For more information, see the following:

@param request A container for the necessary parameters to execute the DescribeAccountLimits service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. @see AWSElasticLoadBalancingDescribeAccountLimitsInput @see AWSElasticLoadBalancingDescribeAccountLimitsOutput */ - (void)describeAccountLimits:(AWSElasticLoadBalancingDescribeAccountLimitsInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingDescribeAccountLimitsOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Describes the default certificate and the certificate list for the specified HTTPS or TLS listener.

If the default certificate is also in the certificate list, it appears twice in the results (once with IsDefault set to true and once with IsDefault set to false).

For more information, see SSL certificates in the Application Load Balancers Guide or Server certificates in the Network Load Balancers Guide.

@param request A container for the necessary parameters to execute the DescribeListenerCertificates service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingDescribeListenerCertificatesOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorListenerNotFound`. @see AWSElasticLoadBalancingDescribeListenerCertificatesInput @see AWSElasticLoadBalancingDescribeListenerCertificatesOutput */ - (AWSTask *)describeListenerCertificates:(AWSElasticLoadBalancingDescribeListenerCertificatesInput *)request; /**

Describes the default certificate and the certificate list for the specified HTTPS or TLS listener.

If the default certificate is also in the certificate list, it appears twice in the results (once with IsDefault set to true and once with IsDefault set to false).

For more information, see SSL certificates in the Application Load Balancers Guide or Server certificates in the Network Load Balancers Guide.

@param request A container for the necessary parameters to execute the DescribeListenerCertificates service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorListenerNotFound`. @see AWSElasticLoadBalancingDescribeListenerCertificatesInput @see AWSElasticLoadBalancingDescribeListenerCertificatesOutput */ - (void)describeListenerCertificates:(AWSElasticLoadBalancingDescribeListenerCertificatesInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingDescribeListenerCertificatesOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Describes the specified listeners or the listeners for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. You must specify either a load balancer or one or more listeners.

@param request A container for the necessary parameters to execute the DescribeListeners service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingDescribeListenersOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorListenerNotFound`, `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorUnsupportedProtocol`. @see AWSElasticLoadBalancingDescribeListenersInput @see AWSElasticLoadBalancingDescribeListenersOutput */ - (AWSTask *)describeListeners:(AWSElasticLoadBalancingDescribeListenersInput *)request; /**

Describes the specified listeners or the listeners for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. You must specify either a load balancer or one or more listeners.

@param request A container for the necessary parameters to execute the DescribeListeners service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorListenerNotFound`, `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorUnsupportedProtocol`. @see AWSElasticLoadBalancingDescribeListenersInput @see AWSElasticLoadBalancingDescribeListenersOutput */ - (void)describeListeners:(AWSElasticLoadBalancingDescribeListenersInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingDescribeListenersOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Describes the attributes for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.

For more information, see the following:

@param request A container for the necessary parameters to execute the DescribeLoadBalancerAttributes service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingDescribeLoadBalancerAttributesOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorLoadBalancerNotFound`. @see AWSElasticLoadBalancingDescribeLoadBalancerAttributesInput @see AWSElasticLoadBalancingDescribeLoadBalancerAttributesOutput */ - (AWSTask *)describeLoadBalancerAttributes:(AWSElasticLoadBalancingDescribeLoadBalancerAttributesInput *)request; /**

Describes the attributes for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.

For more information, see the following:

@param request A container for the necessary parameters to execute the DescribeLoadBalancerAttributes service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorLoadBalancerNotFound`. @see AWSElasticLoadBalancingDescribeLoadBalancerAttributesInput @see AWSElasticLoadBalancingDescribeLoadBalancerAttributesOutput */ - (void)describeLoadBalancerAttributes:(AWSElasticLoadBalancingDescribeLoadBalancerAttributesInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingDescribeLoadBalancerAttributesOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Describes the specified load balancers or all of your load balancers.

@param request A container for the necessary parameters to execute the DescribeLoadBalancers service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingDescribeLoadBalancersOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorLoadBalancerNotFound`. @see AWSElasticLoadBalancingDescribeLoadBalancersInput @see AWSElasticLoadBalancingDescribeLoadBalancersOutput */ - (AWSTask *)describeLoadBalancers:(AWSElasticLoadBalancingDescribeLoadBalancersInput *)request; /**

Describes the specified load balancers or all of your load balancers.

@param request A container for the necessary parameters to execute the DescribeLoadBalancers service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorLoadBalancerNotFound`. @see AWSElasticLoadBalancingDescribeLoadBalancersInput @see AWSElasticLoadBalancingDescribeLoadBalancersOutput */ - (void)describeLoadBalancers:(AWSElasticLoadBalancingDescribeLoadBalancersInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingDescribeLoadBalancersOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Describes the specified rules or the rules for the specified listener. You must specify either a listener or one or more rules.

@param request A container for the necessary parameters to execute the DescribeRules service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingDescribeRulesOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorListenerNotFound`, `AWSElasticLoadBalancingErrorRuleNotFound`, `AWSElasticLoadBalancingErrorUnsupportedProtocol`. @see AWSElasticLoadBalancingDescribeRulesInput @see AWSElasticLoadBalancingDescribeRulesOutput */ - (AWSTask *)describeRules:(AWSElasticLoadBalancingDescribeRulesInput *)request; /**

Describes the specified rules or the rules for the specified listener. You must specify either a listener or one or more rules.

@param request A container for the necessary parameters to execute the DescribeRules service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorListenerNotFound`, `AWSElasticLoadBalancingErrorRuleNotFound`, `AWSElasticLoadBalancingErrorUnsupportedProtocol`. @see AWSElasticLoadBalancingDescribeRulesInput @see AWSElasticLoadBalancingDescribeRulesOutput */ - (void)describeRules:(AWSElasticLoadBalancingDescribeRulesInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingDescribeRulesOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Describes the specified policies or all policies used for SSL negotiation.

For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide.

@param request A container for the necessary parameters to execute the DescribeSSLPolicies service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingDescribeSSLPoliciesOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorSSLPolicyNotFound`. @see AWSElasticLoadBalancingDescribeSSLPoliciesInput @see AWSElasticLoadBalancingDescribeSSLPoliciesOutput */ - (AWSTask *)describeSSLPolicies:(AWSElasticLoadBalancingDescribeSSLPoliciesInput *)request; /**

Describes the specified policies or all policies used for SSL negotiation.

For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide.

@param request A container for the necessary parameters to execute the DescribeSSLPolicies service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorSSLPolicyNotFound`. @see AWSElasticLoadBalancingDescribeSSLPoliciesInput @see AWSElasticLoadBalancingDescribeSSLPoliciesOutput */ - (void)describeSSLPolicies:(AWSElasticLoadBalancingDescribeSSLPoliciesInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingDescribeSSLPoliciesOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Describes the tags for the specified Elastic Load Balancing resources. You can describe the tags for one or more Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, or rules.

@param request A container for the necessary parameters to execute the DescribeTags service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingDescribeTagsOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorListenerNotFound`, `AWSElasticLoadBalancingErrorRuleNotFound`. @see AWSElasticLoadBalancingDescribeTagsInput @see AWSElasticLoadBalancingDescribeTagsOutput */ - (AWSTask *)describeTags:(AWSElasticLoadBalancingDescribeTagsInput *)request; /**

Describes the tags for the specified Elastic Load Balancing resources. You can describe the tags for one or more Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, or rules.

@param request A container for the necessary parameters to execute the DescribeTags service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorListenerNotFound`, `AWSElasticLoadBalancingErrorRuleNotFound`. @see AWSElasticLoadBalancingDescribeTagsInput @see AWSElasticLoadBalancingDescribeTagsOutput */ - (void)describeTags:(AWSElasticLoadBalancingDescribeTagsInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingDescribeTagsOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Describes the attributes for the specified target group.

For more information, see the following:

@param request A container for the necessary parameters to execute the DescribeTargetGroupAttributes service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingDescribeTargetGroupAttributesOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorTargetGroupNotFound`. @see AWSElasticLoadBalancingDescribeTargetGroupAttributesInput @see AWSElasticLoadBalancingDescribeTargetGroupAttributesOutput */ - (AWSTask *)describeTargetGroupAttributes:(AWSElasticLoadBalancingDescribeTargetGroupAttributesInput *)request; /**

Describes the attributes for the specified target group.

For more information, see the following:

@param request A container for the necessary parameters to execute the DescribeTargetGroupAttributes service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorTargetGroupNotFound`. @see AWSElasticLoadBalancingDescribeTargetGroupAttributesInput @see AWSElasticLoadBalancingDescribeTargetGroupAttributesOutput */ - (void)describeTargetGroupAttributes:(AWSElasticLoadBalancingDescribeTargetGroupAttributesInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingDescribeTargetGroupAttributesOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Describes the specified target groups or all of your target groups. By default, all target groups are described. Alternatively, you can specify one of the following to filter the results: the ARN of the load balancer, the names of one or more target groups, or the ARNs of one or more target groups.

@param request A container for the necessary parameters to execute the DescribeTargetGroups service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingDescribeTargetGroupsOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorTargetGroupNotFound`. @see AWSElasticLoadBalancingDescribeTargetGroupsInput @see AWSElasticLoadBalancingDescribeTargetGroupsOutput */ - (AWSTask *)describeTargetGroups:(AWSElasticLoadBalancingDescribeTargetGroupsInput *)request; /**

Describes the specified target groups or all of your target groups. By default, all target groups are described. Alternatively, you can specify one of the following to filter the results: the ARN of the load balancer, the names of one or more target groups, or the ARNs of one or more target groups.

@param request A container for the necessary parameters to execute the DescribeTargetGroups service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorTargetGroupNotFound`. @see AWSElasticLoadBalancingDescribeTargetGroupsInput @see AWSElasticLoadBalancingDescribeTargetGroupsOutput */ - (void)describeTargetGroups:(AWSElasticLoadBalancingDescribeTargetGroupsInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingDescribeTargetGroupsOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Describes the health of the specified targets or all of your targets.

@param request A container for the necessary parameters to execute the DescribeTargetHealth service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingDescribeTargetHealthOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorInvalidTarget`, `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorHealthUnavailable`. @see AWSElasticLoadBalancingDescribeTargetHealthInput @see AWSElasticLoadBalancingDescribeTargetHealthOutput */ - (AWSTask *)describeTargetHealth:(AWSElasticLoadBalancingDescribeTargetHealthInput *)request; /**

Describes the health of the specified targets or all of your targets.

@param request A container for the necessary parameters to execute the DescribeTargetHealth service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorInvalidTarget`, `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorHealthUnavailable`. @see AWSElasticLoadBalancingDescribeTargetHealthInput @see AWSElasticLoadBalancingDescribeTargetHealthOutput */ - (void)describeTargetHealth:(AWSElasticLoadBalancingDescribeTargetHealthInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingDescribeTargetHealthOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Replaces the specified properties of the specified listener. Any properties that you do not specify remain unchanged.

Changing the protocol from HTTPS to HTTP, or from TLS to TCP, removes the security policy and default certificate properties. If you change the protocol from HTTP to HTTPS, or from TCP to TLS, you must add the security policy and default certificate properties.

To add an item to a list, remove an item from a list, or update an item in a list, you must provide the entire list. For example, to add an action, specify a list with the current actions plus the new action.

@param request A container for the necessary parameters to execute the ModifyListener service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingModifyListenerOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorDuplicateListener`, `AWSElasticLoadBalancingErrorTooManyListeners`, `AWSElasticLoadBalancingErrorTooManyCertificates`, `AWSElasticLoadBalancingErrorListenerNotFound`, `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorTargetGroupAssociationLimit`, `AWSElasticLoadBalancingErrorIncompatibleProtocols`, `AWSElasticLoadBalancingErrorSSLPolicyNotFound`, `AWSElasticLoadBalancingErrorCertificateNotFound`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`, `AWSElasticLoadBalancingErrorUnsupportedProtocol`, `AWSElasticLoadBalancingErrorTooManyRegistrationsForTargetId`, `AWSElasticLoadBalancingErrorTooManyTargets`, `AWSElasticLoadBalancingErrorTooManyActions`, `AWSElasticLoadBalancingErrorInvalidLoadBalancerAction`, `AWSElasticLoadBalancingErrorTooManyUniqueTargetGroupsPerLoadBalancer`, `AWSElasticLoadBalancingErrorALPNPolicyNotSupported`. @see AWSElasticLoadBalancingModifyListenerInput @see AWSElasticLoadBalancingModifyListenerOutput */ - (AWSTask *)modifyListener:(AWSElasticLoadBalancingModifyListenerInput *)request; /**

Replaces the specified properties of the specified listener. Any properties that you do not specify remain unchanged.

Changing the protocol from HTTPS to HTTP, or from TLS to TCP, removes the security policy and default certificate properties. If you change the protocol from HTTP to HTTPS, or from TCP to TLS, you must add the security policy and default certificate properties.

To add an item to a list, remove an item from a list, or update an item in a list, you must provide the entire list. For example, to add an action, specify a list with the current actions plus the new action.

@param request A container for the necessary parameters to execute the ModifyListener service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorDuplicateListener`, `AWSElasticLoadBalancingErrorTooManyListeners`, `AWSElasticLoadBalancingErrorTooManyCertificates`, `AWSElasticLoadBalancingErrorListenerNotFound`, `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorTargetGroupAssociationLimit`, `AWSElasticLoadBalancingErrorIncompatibleProtocols`, `AWSElasticLoadBalancingErrorSSLPolicyNotFound`, `AWSElasticLoadBalancingErrorCertificateNotFound`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`, `AWSElasticLoadBalancingErrorUnsupportedProtocol`, `AWSElasticLoadBalancingErrorTooManyRegistrationsForTargetId`, `AWSElasticLoadBalancingErrorTooManyTargets`, `AWSElasticLoadBalancingErrorTooManyActions`, `AWSElasticLoadBalancingErrorInvalidLoadBalancerAction`, `AWSElasticLoadBalancingErrorTooManyUniqueTargetGroupsPerLoadBalancer`, `AWSElasticLoadBalancingErrorALPNPolicyNotSupported`. @see AWSElasticLoadBalancingModifyListenerInput @see AWSElasticLoadBalancingModifyListenerOutput */ - (void)modifyListener:(AWSElasticLoadBalancingModifyListenerInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingModifyListenerOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Modifies the specified attributes of the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.

If any of the specified attributes can't be modified as requested, the call fails. Any existing attributes that you do not modify retain their current values.

@param request A container for the necessary parameters to execute the ModifyLoadBalancerAttributes service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingModifyLoadBalancerAttributesOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`. @see AWSElasticLoadBalancingModifyLoadBalancerAttributesInput @see AWSElasticLoadBalancingModifyLoadBalancerAttributesOutput */ - (AWSTask *)modifyLoadBalancerAttributes:(AWSElasticLoadBalancingModifyLoadBalancerAttributesInput *)request; /**

Modifies the specified attributes of the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.

If any of the specified attributes can't be modified as requested, the call fails. Any existing attributes that you do not modify retain their current values.

@param request A container for the necessary parameters to execute the ModifyLoadBalancerAttributes service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`. @see AWSElasticLoadBalancingModifyLoadBalancerAttributesInput @see AWSElasticLoadBalancingModifyLoadBalancerAttributesOutput */ - (void)modifyLoadBalancerAttributes:(AWSElasticLoadBalancingModifyLoadBalancerAttributesInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingModifyLoadBalancerAttributesOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Replaces the specified properties of the specified rule. Any properties that you do not specify are unchanged.

To add an item to a list, remove an item from a list, or update an item in a list, you must provide the entire list. For example, to add an action, specify a list with the current actions plus the new action.

@param request A container for the necessary parameters to execute the ModifyRule service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingModifyRuleOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorTargetGroupAssociationLimit`, `AWSElasticLoadBalancingErrorIncompatibleProtocols`, `AWSElasticLoadBalancingErrorRuleNotFound`, `AWSElasticLoadBalancingErrorOperationNotPermitted`, `AWSElasticLoadBalancingErrorTooManyRegistrationsForTargetId`, `AWSElasticLoadBalancingErrorTooManyTargets`, `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorUnsupportedProtocol`, `AWSElasticLoadBalancingErrorTooManyActions`, `AWSElasticLoadBalancingErrorInvalidLoadBalancerAction`, `AWSElasticLoadBalancingErrorTooManyUniqueTargetGroupsPerLoadBalancer`. @see AWSElasticLoadBalancingModifyRuleInput @see AWSElasticLoadBalancingModifyRuleOutput */ - (AWSTask *)modifyRule:(AWSElasticLoadBalancingModifyRuleInput *)request; /**

Replaces the specified properties of the specified rule. Any properties that you do not specify are unchanged.

To add an item to a list, remove an item from a list, or update an item in a list, you must provide the entire list. For example, to add an action, specify a list with the current actions plus the new action.

@param request A container for the necessary parameters to execute the ModifyRule service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorTargetGroupAssociationLimit`, `AWSElasticLoadBalancingErrorIncompatibleProtocols`, `AWSElasticLoadBalancingErrorRuleNotFound`, `AWSElasticLoadBalancingErrorOperationNotPermitted`, `AWSElasticLoadBalancingErrorTooManyRegistrationsForTargetId`, `AWSElasticLoadBalancingErrorTooManyTargets`, `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorUnsupportedProtocol`, `AWSElasticLoadBalancingErrorTooManyActions`, `AWSElasticLoadBalancingErrorInvalidLoadBalancerAction`, `AWSElasticLoadBalancingErrorTooManyUniqueTargetGroupsPerLoadBalancer`. @see AWSElasticLoadBalancingModifyRuleInput @see AWSElasticLoadBalancingModifyRuleOutput */ - (void)modifyRule:(AWSElasticLoadBalancingModifyRuleInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingModifyRuleOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Modifies the health checks used when evaluating the health state of the targets in the specified target group.

@param request A container for the necessary parameters to execute the ModifyTargetGroup service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingModifyTargetGroupOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`. @see AWSElasticLoadBalancingModifyTargetGroupInput @see AWSElasticLoadBalancingModifyTargetGroupOutput */ - (AWSTask *)modifyTargetGroup:(AWSElasticLoadBalancingModifyTargetGroupInput *)request; /**

Modifies the health checks used when evaluating the health state of the targets in the specified target group.

@param request A container for the necessary parameters to execute the ModifyTargetGroup service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`. @see AWSElasticLoadBalancingModifyTargetGroupInput @see AWSElasticLoadBalancingModifyTargetGroupOutput */ - (void)modifyTargetGroup:(AWSElasticLoadBalancingModifyTargetGroupInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingModifyTargetGroupOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Modifies the specified attributes of the specified target group.

@param request A container for the necessary parameters to execute the ModifyTargetGroupAttributes service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingModifyTargetGroupAttributesOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`. @see AWSElasticLoadBalancingModifyTargetGroupAttributesInput @see AWSElasticLoadBalancingModifyTargetGroupAttributesOutput */ - (AWSTask *)modifyTargetGroupAttributes:(AWSElasticLoadBalancingModifyTargetGroupAttributesInput *)request; /**

Modifies the specified attributes of the specified target group.

@param request A container for the necessary parameters to execute the ModifyTargetGroupAttributes service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`. @see AWSElasticLoadBalancingModifyTargetGroupAttributesInput @see AWSElasticLoadBalancingModifyTargetGroupAttributesOutput */ - (void)modifyTargetGroupAttributes:(AWSElasticLoadBalancingModifyTargetGroupAttributesInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingModifyTargetGroupAttributesOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Registers the specified targets with the specified target group.

If the target is an EC2 instance, it must be in the running state when you register it.

By default, the load balancer routes requests to registered targets using the protocol and port for the target group. Alternatively, you can override the port for a target when you register it. You can register each EC2 instance or IP address with the same target group multiple times using different ports.

With a Network Load Balancer, you cannot register instances by instance ID if they have the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1. You can register instances of these types by IP address.

@param request A container for the necessary parameters to execute the RegisterTargets service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingRegisterTargetsOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorTooManyTargets`, `AWSElasticLoadBalancingErrorInvalidTarget`, `AWSElasticLoadBalancingErrorTooManyRegistrationsForTargetId`. @see AWSElasticLoadBalancingRegisterTargetsInput @see AWSElasticLoadBalancingRegisterTargetsOutput */ - (AWSTask *)registerTargets:(AWSElasticLoadBalancingRegisterTargetsInput *)request; /**

Registers the specified targets with the specified target group.

If the target is an EC2 instance, it must be in the running state when you register it.

By default, the load balancer routes requests to registered targets using the protocol and port for the target group. Alternatively, you can override the port for a target when you register it. You can register each EC2 instance or IP address with the same target group multiple times using different ports.

With a Network Load Balancer, you cannot register instances by instance ID if they have the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1. You can register instances of these types by IP address.

@param request A container for the necessary parameters to execute the RegisterTargets service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorTooManyTargets`, `AWSElasticLoadBalancingErrorInvalidTarget`, `AWSElasticLoadBalancingErrorTooManyRegistrationsForTargetId`. @see AWSElasticLoadBalancingRegisterTargetsInput @see AWSElasticLoadBalancingRegisterTargetsOutput */ - (void)registerTargets:(AWSElasticLoadBalancingRegisterTargetsInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingRegisterTargetsOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Removes the specified certificate from the certificate list for the specified HTTPS or TLS listener.

@param request A container for the necessary parameters to execute the RemoveListenerCertificates service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingRemoveListenerCertificatesOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorListenerNotFound`, `AWSElasticLoadBalancingErrorOperationNotPermitted`. @see AWSElasticLoadBalancingRemoveListenerCertificatesInput @see AWSElasticLoadBalancingRemoveListenerCertificatesOutput */ - (AWSTask *)removeListenerCertificates:(AWSElasticLoadBalancingRemoveListenerCertificatesInput *)request; /**

Removes the specified certificate from the certificate list for the specified HTTPS or TLS listener.

@param request A container for the necessary parameters to execute the RemoveListenerCertificates service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorListenerNotFound`, `AWSElasticLoadBalancingErrorOperationNotPermitted`. @see AWSElasticLoadBalancingRemoveListenerCertificatesInput @see AWSElasticLoadBalancingRemoveListenerCertificatesOutput */ - (void)removeListenerCertificates:(AWSElasticLoadBalancingRemoveListenerCertificatesInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingRemoveListenerCertificatesOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Removes the specified tags from the specified Elastic Load Balancing resources. You can remove the tags for one or more Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, or rules.

@param request A container for the necessary parameters to execute the RemoveTags service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingRemoveTagsOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorListenerNotFound`, `AWSElasticLoadBalancingErrorRuleNotFound`, `AWSElasticLoadBalancingErrorTooManyTags`. @see AWSElasticLoadBalancingRemoveTagsInput @see AWSElasticLoadBalancingRemoveTagsOutput */ - (AWSTask *)removeTags:(AWSElasticLoadBalancingRemoveTagsInput *)request; /**

Removes the specified tags from the specified Elastic Load Balancing resources. You can remove the tags for one or more Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, or rules.

@param request A container for the necessary parameters to execute the RemoveTags service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorTargetGroupNotFound`, `AWSElasticLoadBalancingErrorListenerNotFound`, `AWSElasticLoadBalancingErrorRuleNotFound`, `AWSElasticLoadBalancingErrorTooManyTags`. @see AWSElasticLoadBalancingRemoveTagsInput @see AWSElasticLoadBalancingRemoveTagsOutput */ - (void)removeTags:(AWSElasticLoadBalancingRemoveTagsInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingRemoveTagsOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Sets the type of IP addresses used by the subnets of the specified load balancer.

@param request A container for the necessary parameters to execute the SetIpAddressType service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingSetIpAddressTypeOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`, `AWSElasticLoadBalancingErrorInvalidSubnet`. @see AWSElasticLoadBalancingSetIpAddressTypeInput @see AWSElasticLoadBalancingSetIpAddressTypeOutput */ - (AWSTask *)setIpAddressType:(AWSElasticLoadBalancingSetIpAddressTypeInput *)request; /**

Sets the type of IP addresses used by the subnets of the specified load balancer.

@param request A container for the necessary parameters to execute the SetIpAddressType service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`, `AWSElasticLoadBalancingErrorInvalidSubnet`. @see AWSElasticLoadBalancingSetIpAddressTypeInput @see AWSElasticLoadBalancingSetIpAddressTypeOutput */ - (void)setIpAddressType:(AWSElasticLoadBalancingSetIpAddressTypeInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingSetIpAddressTypeOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Sets the priorities of the specified rules.

You can reorder the rules as long as there are no priority conflicts in the new order. Any existing rules that you do not specify retain their current priority.

@param request A container for the necessary parameters to execute the SetRulePriorities service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingSetRulePrioritiesOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorRuleNotFound`, `AWSElasticLoadBalancingErrorPriorityInUse`, `AWSElasticLoadBalancingErrorOperationNotPermitted`. @see AWSElasticLoadBalancingSetRulePrioritiesInput @see AWSElasticLoadBalancingSetRulePrioritiesOutput */ - (AWSTask *)setRulePriorities:(AWSElasticLoadBalancingSetRulePrioritiesInput *)request; /**

Sets the priorities of the specified rules.

You can reorder the rules as long as there are no priority conflicts in the new order. Any existing rules that you do not specify retain their current priority.

@param request A container for the necessary parameters to execute the SetRulePriorities service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorRuleNotFound`, `AWSElasticLoadBalancingErrorPriorityInUse`, `AWSElasticLoadBalancingErrorOperationNotPermitted`. @see AWSElasticLoadBalancingSetRulePrioritiesInput @see AWSElasticLoadBalancingSetRulePrioritiesOutput */ - (void)setRulePriorities:(AWSElasticLoadBalancingSetRulePrioritiesInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingSetRulePrioritiesOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Associates the specified security groups with the specified Application Load Balancer. The specified security groups override the previously associated security groups.

You can't specify a security group for a Network Load Balancer or Gateway Load Balancer.

@param request A container for the necessary parameters to execute the SetSecurityGroups service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingSetSecurityGroupsOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`, `AWSElasticLoadBalancingErrorInvalidSecurityGroup`. @see AWSElasticLoadBalancingSetSecurityGroupsInput @see AWSElasticLoadBalancingSetSecurityGroupsOutput */ - (AWSTask *)setSecurityGroups:(AWSElasticLoadBalancingSetSecurityGroupsInput *)request; /**

Associates the specified security groups with the specified Application Load Balancer. The specified security groups override the previously associated security groups.

You can't specify a security group for a Network Load Balancer or Gateway Load Balancer.

@param request A container for the necessary parameters to execute the SetSecurityGroups service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`, `AWSElasticLoadBalancingErrorInvalidSecurityGroup`. @see AWSElasticLoadBalancingSetSecurityGroupsInput @see AWSElasticLoadBalancingSetSecurityGroupsOutput */ - (void)setSecurityGroups:(AWSElasticLoadBalancingSetSecurityGroupsInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingSetSecurityGroupsOutput * _Nullable response, NSError * _Nullable error))completionHandler; /**

Enables the Availability Zones for the specified public subnets for the specified Application Load Balancer or Network Load Balancer. The specified subnets replace the previously enabled subnets.

When you specify subnets for a Network Load Balancer, you must include all subnets that were enabled previously, with their existing configurations, plus any additional subnets.

@param request A container for the necessary parameters to execute the SetSubnets service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSElasticLoadBalancingSetSubnetsOutput`. On failed execution, `task.error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`, `AWSElasticLoadBalancingErrorSubnetNotFound`, `AWSElasticLoadBalancingErrorInvalidSubnet`, `AWSElasticLoadBalancingErrorAllocationIdNotFound`, `AWSElasticLoadBalancingErrorAvailabilityZoneNotSupported`. @see AWSElasticLoadBalancingSetSubnetsInput @see AWSElasticLoadBalancingSetSubnetsOutput */ - (AWSTask *)setSubnets:(AWSElasticLoadBalancingSetSubnetsInput *)request; /**

Enables the Availability Zones for the specified public subnets for the specified Application Load Balancer or Network Load Balancer. The specified subnets replace the previously enabled subnets.

When you specify subnets for a Network Load Balancer, you must include all subnets that were enabled previously, with their existing configurations, plus any additional subnets.

@param request A container for the necessary parameters to execute the SetSubnets service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSElasticLoadBalancingErrorDomain` domain and the following error code: `AWSElasticLoadBalancingErrorLoadBalancerNotFound`, `AWSElasticLoadBalancingErrorInvalidConfigurationRequest`, `AWSElasticLoadBalancingErrorSubnetNotFound`, `AWSElasticLoadBalancingErrorInvalidSubnet`, `AWSElasticLoadBalancingErrorAllocationIdNotFound`, `AWSElasticLoadBalancingErrorAvailabilityZoneNotSupported`. @see AWSElasticLoadBalancingSetSubnetsInput @see AWSElasticLoadBalancingSetSubnetsOutput */ - (void)setSubnets:(AWSElasticLoadBalancingSetSubnetsInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingSetSubnetsOutput * _Nullable response, NSError * _Nullable error))completionHandler; @end NS_ASSUME_NONNULL_END