// Enables the Availability Zones for the specified public subnets for the
// specified 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.
Enables the Availability Zones for the specified public subnets for the
specified 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.
// Enables the Availability Zones for the specified public subnets for the // specified 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 .
func (c *Client) SetSubnets(ctx context.Context, params *SetSubnetsInput, optFns ...func(*Options)) (*SetSubnetsOutput, error) {
	if params == nil {
		params = &SetSubnetsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "SetSubnets", params, optFns, addOperationSetSubnetsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*SetSubnetsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) SetSubnets ( ctx context . Context , params * SetSubnetsInput , optFns ... func ( * Options ) ) ( * SetSubnetsOutput , error ) { if params == nil { params = & SetSubnetsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationSetSubnetsMiddlewares ) if err != nil { return nil , err } out := result . ( * SetSubnetsOutput ) out . ResultMetadata = metadata return out , nil }
Enables the Availability Zones for the specified public subnets for the
specified load balancer.
Enables the Availability Zones for the specified public subnets for the specified load balancer .