| 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.CreateResourceSet
Description
Creates a resource set. A resource set is a set of resources of one type that span multiple cells. You can associate a resource set with a readiness check to monitor the resources for failover readiness.
Synopsis
- data CreateResourceSet = CreateResourceSet' {}
- newCreateResourceSet :: Text -> Text -> CreateResourceSet
- createResourceSet_tags :: Lens' CreateResourceSet (Maybe (HashMap Text Text))
- createResourceSet_resourceSetType :: Lens' CreateResourceSet Text
- createResourceSet_resourceSetName :: Lens' CreateResourceSet Text
- createResourceSet_resources :: Lens' CreateResourceSet [Resource]
- data CreateResourceSetResponse = CreateResourceSetResponse' {
- resourceSetArn :: Maybe Text
- resourceSetName :: Maybe Text
- resourceSetType :: Maybe Text
- resources :: Maybe [Resource]
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newCreateResourceSetResponse :: Int -> CreateResourceSetResponse
- createResourceSetResponse_resourceSetArn :: Lens' CreateResourceSetResponse (Maybe Text)
- createResourceSetResponse_resourceSetName :: Lens' CreateResourceSetResponse (Maybe Text)
- createResourceSetResponse_resourceSetType :: Lens' CreateResourceSetResponse (Maybe Text)
- createResourceSetResponse_resources :: Lens' CreateResourceSetResponse (Maybe [Resource])
- createResourceSetResponse_tags :: Lens' CreateResourceSetResponse (Maybe (HashMap Text Text))
- createResourceSetResponse_httpStatus :: Lens' CreateResourceSetResponse Int
Creating a Request
data CreateResourceSet Source #
See: newCreateResourceSet smart constructor.
Constructors
| CreateResourceSet' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> CreateResourceSet |
Create a value of CreateResourceSet 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:
CreateResourceSet, createResourceSet_tags - A tag to associate with the parameters for a resource set.
CreateResourceSet, createResourceSet_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
CreateResourceSet, createResourceSet_resourceSetName - The name of the resource set to create.
CreateResourceSet, createResourceSet_resources - A list of resource objects in the resource set.
Request Lenses
createResourceSet_tags :: Lens' CreateResourceSet (Maybe (HashMap Text Text)) Source #
A tag to associate with the parameters for a resource set.
createResourceSet_resourceSetType :: Lens' CreateResourceSet 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
createResourceSet_resourceSetName :: Lens' CreateResourceSet Text Source #
The name of the resource set to create.
createResourceSet_resources :: Lens' CreateResourceSet [Resource] Source #
A list of resource objects in the resource set.
Destructuring the Response
data CreateResourceSetResponse Source #
See: newCreateResourceSetResponse smart constructor.
Constructors
| CreateResourceSetResponse' | |
Fields
| |
Instances
newCreateResourceSetResponse Source #
Create a value of CreateResourceSetResponse 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:
CreateResourceSetResponse, createResourceSetResponse_resourceSetArn - The Amazon Resource Name (ARN) for the resource set.
CreateResourceSet, createResourceSetResponse_resourceSetName - The name of the resource set.
CreateResourceSet, createResourceSetResponse_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
CreateResourceSet, createResourceSetResponse_resources - A list of resource objects.
CreateResourceSet, createResourceSetResponse_tags - Undocumented member.
$sel:httpStatus:CreateResourceSetResponse', createResourceSetResponse_httpStatus - The response's http status code.
Response Lenses
createResourceSetResponse_resourceSetArn :: Lens' CreateResourceSetResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) for the resource set.
createResourceSetResponse_resourceSetName :: Lens' CreateResourceSetResponse (Maybe Text) Source #
The name of the resource set.
createResourceSetResponse_resourceSetType :: Lens' CreateResourceSetResponse (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
createResourceSetResponse_resources :: Lens' CreateResourceSetResponse (Maybe [Resource]) Source #
A list of resource objects.
createResourceSetResponse_tags :: Lens' CreateResourceSetResponse (Maybe (HashMap Text Text)) Source #
Undocumented member.
createResourceSetResponse_httpStatus :: Lens' CreateResourceSetResponse Int Source #
The response's http status code.