| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Route53RecoveryReadiness.UpdateResourceSet
Description
Updates a resource set.
Synopsis
- data UpdateResourceSet = UpdateResourceSet' {
- resourceSetName :: Text
- resourceSetType :: Text
- resources :: [Resource]
- newUpdateResourceSet :: Text -> Text -> UpdateResourceSet
- updateResourceSet_resourceSetName :: Lens' UpdateResourceSet Text
- updateResourceSet_resourceSetType :: Lens' UpdateResourceSet Text
- updateResourceSet_resources :: Lens' UpdateResourceSet [Resource]
- data UpdateResourceSetResponse = UpdateResourceSetResponse' {
- resourceSetArn :: Maybe Text
- resourceSetName :: Maybe Text
- resourceSetType :: Maybe Text
- resources :: Maybe [Resource]
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newUpdateResourceSetResponse :: Int -> UpdateResourceSetResponse
- updateResourceSetResponse_resourceSetArn :: Lens' UpdateResourceSetResponse (Maybe Text)
- updateResourceSetResponse_resourceSetName :: Lens' UpdateResourceSetResponse (Maybe Text)
- updateResourceSetResponse_resourceSetType :: Lens' UpdateResourceSetResponse (Maybe Text)
- updateResourceSetResponse_resources :: Lens' UpdateResourceSetResponse (Maybe [Resource])
- updateResourceSetResponse_tags :: Lens' UpdateResourceSetResponse (Maybe (HashMap Text Text))
- updateResourceSetResponse_httpStatus :: Lens' UpdateResourceSetResponse Int
Creating a Request
data UpdateResourceSet Source #
Name of a resource set.
See: newUpdateResourceSet smart constructor.
Constructors
| UpdateResourceSet' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> UpdateResourceSet |
Create a value of UpdateResourceSet with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateResourceSet, updateResourceSet_resourceSetName - Name of a resource set.
UpdateResourceSet, updateResourceSet_resourceSetType - The resource type of the resources in the resource set. Enter one of the
following values for resource type:
AWS::ApiGateway::Stage, AWS::ApiGatewayV2::Stage, AWS::AutoScaling::AutoScalingGroup, AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table, AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::Lambda::Function, AWS::MSK::Cluster, AWS::RDS::DBCluster, AWS::Route53::HealthCheck, AWS::SQS::Queue, AWS::SNS::Topic, AWS::SNS::Subscription, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::Route53RecoveryReadiness::DNSTargetResource
UpdateResourceSet, updateResourceSet_resources - A list of resource objects.
Request Lenses
updateResourceSet_resourceSetName :: Lens' UpdateResourceSet Text Source #
Name of a resource set.
updateResourceSet_resourceSetType :: Lens' UpdateResourceSet Text Source #
The resource type of the resources in the resource set. Enter one of the following values for resource type:
AWS::ApiGateway::Stage, AWS::ApiGatewayV2::Stage, AWS::AutoScaling::AutoScalingGroup, AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table, AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::Lambda::Function, AWS::MSK::Cluster, AWS::RDS::DBCluster, AWS::Route53::HealthCheck, AWS::SQS::Queue, AWS::SNS::Topic, AWS::SNS::Subscription, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::Route53RecoveryReadiness::DNSTargetResource
updateResourceSet_resources :: Lens' UpdateResourceSet [Resource] Source #
A list of resource objects.
Destructuring the Response
data UpdateResourceSetResponse Source #
See: newUpdateResourceSetResponse smart constructor.
Constructors
| UpdateResourceSetResponse' | |
Fields
| |
Instances
newUpdateResourceSetResponse Source #
Create a value of UpdateResourceSetResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateResourceSetResponse, updateResourceSetResponse_resourceSetArn - The Amazon Resource Name (ARN) for the resource set.
UpdateResourceSet, updateResourceSetResponse_resourceSetName - The name of the resource set.
UpdateResourceSet, updateResourceSetResponse_resourceSetType - The resource type of the resources in the resource set. Enter one of the
following values for resource type:
AWS::ApiGateway::Stage, AWS::ApiGatewayV2::Stage, AWS::AutoScaling::AutoScalingGroup, AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table, AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::Lambda::Function, AWS::MSK::Cluster, AWS::RDS::DBCluster, AWS::Route53::HealthCheck, AWS::SQS::Queue, AWS::SNS::Topic, AWS::SNS::Subscription, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::Route53RecoveryReadiness::DNSTargetResource
UpdateResourceSet, updateResourceSetResponse_resources - A list of resource objects.
UpdateResourceSetResponse, updateResourceSetResponse_tags - Undocumented member.
$sel:httpStatus:UpdateResourceSetResponse', updateResourceSetResponse_httpStatus - The response's http status code.
Response Lenses
updateResourceSetResponse_resourceSetArn :: Lens' UpdateResourceSetResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) for the resource set.
updateResourceSetResponse_resourceSetName :: Lens' UpdateResourceSetResponse (Maybe Text) Source #
The name of the resource set.
updateResourceSetResponse_resourceSetType :: Lens' UpdateResourceSetResponse (Maybe Text) Source #
The resource type of the resources in the resource set. Enter one of the following values for resource type:
AWS::ApiGateway::Stage, AWS::ApiGatewayV2::Stage, AWS::AutoScaling::AutoScalingGroup, AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table, AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::Lambda::Function, AWS::MSK::Cluster, AWS::RDS::DBCluster, AWS::Route53::HealthCheck, AWS::SQS::Queue, AWS::SNS::Topic, AWS::SNS::Subscription, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::Route53RecoveryReadiness::DNSTargetResource
updateResourceSetResponse_resources :: Lens' UpdateResourceSetResponse (Maybe [Resource]) Source #
A list of resource objects.
updateResourceSetResponse_tags :: Lens' UpdateResourceSetResponse (Maybe (HashMap Text Text)) Source #
Undocumented member.
updateResourceSetResponse_httpStatus :: Lens' UpdateResourceSetResponse Int Source #
The response's http status code.