diff --git a/generator/ServiceModels/apprunner/apprunner-2020-05-15.api.json b/generator/ServiceModels/apprunner/apprunner-2020-05-15.api.json
index 2d8873dc5ce2..f9021f14e9c8 100644
--- a/generator/ServiceModels/apprunner/apprunner-2020-05-15.api.json
+++ b/generator/ServiceModels/apprunner/apprunner-2020-05-15.api.json
@@ -97,6 +97,21 @@
{"shape":"ServiceQuotaExceededException"}
]
},
+ "CreateVpcIngressConnection":{
+ "name":"CreateVpcIngressConnection",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"CreateVpcIngressConnectionRequest"},
+ "output":{"shape":"CreateVpcIngressConnectionResponse"},
+ "errors":[
+ {"shape":"InvalidRequestException"},
+ {"shape":"InvalidStateException"},
+ {"shape":"InternalServiceErrorException"},
+ {"shape":"ServiceQuotaExceededException"}
+ ]
+ },
"DeleteAutoScalingConfiguration":{
"name":"DeleteAutoScalingConfiguration",
"http":{
@@ -168,6 +183,21 @@
{"shape":"ResourceNotFoundException"}
]
},
+ "DeleteVpcIngressConnection":{
+ "name":"DeleteVpcIngressConnection",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DeleteVpcIngressConnectionRequest"},
+ "output":{"shape":"DeleteVpcIngressConnectionResponse"},
+ "errors":[
+ {"shape":"InvalidRequestException"},
+ {"shape":"InternalServiceErrorException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"InvalidStateException"}
+ ]
+ },
"DescribeAutoScalingConfiguration":{
"name":"DescribeAutoScalingConfiguration",
"http":{
@@ -238,6 +268,20 @@
{"shape":"ResourceNotFoundException"}
]
},
+ "DescribeVpcIngressConnection":{
+ "name":"DescribeVpcIngressConnection",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DescribeVpcIngressConnectionRequest"},
+ "output":{"shape":"DescribeVpcIngressConnectionResponse"},
+ "errors":[
+ {"shape":"InvalidRequestException"},
+ {"shape":"InternalServiceErrorException"},
+ {"shape":"ResourceNotFoundException"}
+ ]
+ },
"DisassociateCustomDomain":{
"name":"DisassociateCustomDomain",
"http":{
@@ -347,6 +391,19 @@
{"shape":"InternalServiceErrorException"}
]
},
+ "ListVpcIngressConnections":{
+ "name":"ListVpcIngressConnections",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"ListVpcIngressConnectionsRequest"},
+ "output":{"shape":"ListVpcIngressConnectionsResponse"},
+ "errors":[
+ {"shape":"InvalidRequestException"},
+ {"shape":"InternalServiceErrorException"}
+ ]
+ },
"PauseService":{
"name":"PauseService",
"http":{
@@ -435,6 +492,21 @@
{"shape":"InvalidStateException"},
{"shape":"InternalServiceErrorException"}
]
+ },
+ "UpdateVpcIngressConnection":{
+ "name":"UpdateVpcIngressConnection",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"UpdateVpcIngressConnectionRequest"},
+ "output":{"shape":"UpdateVpcIngressConnectionResponse"},
+ "errors":[
+ {"shape":"InvalidRequestException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"InvalidStateException"},
+ {"shape":"InternalServiceErrorException"}
+ ]
}
},
"shapes":{
@@ -476,12 +548,14 @@
"required":[
"DNSTarget",
"ServiceArn",
- "CustomDomain"
+ "CustomDomain",
+ "VpcDNSTargets"
],
"members":{
"DNSTarget":{"shape":"String"},
"ServiceArn":{"shape":"AppRunnerResourceArn"},
- "CustomDomain":{"shape":"CustomDomain"}
+ "CustomDomain":{"shape":"CustomDomain"},
+ "VpcDNSTargets":{"shape":"VpcDNSTargetList"}
}
},
"AuthenticationConfiguration":{
@@ -743,6 +817,27 @@
"VpcConnector":{"shape":"VpcConnector"}
}
},
+ "CreateVpcIngressConnectionRequest":{
+ "type":"structure",
+ "required":[
+ "ServiceArn",
+ "VpcIngressConnectionName",
+ "IngressVpcConfiguration"
+ ],
+ "members":{
+ "ServiceArn":{"shape":"AppRunnerResourceArn"},
+ "VpcIngressConnectionName":{"shape":"VpcIngressConnectionName"},
+ "IngressVpcConfiguration":{"shape":"IngressVpcConfiguration"},
+ "Tags":{"shape":"TagList"}
+ }
+ },
+ "CreateVpcIngressConnectionResponse":{
+ "type":"structure",
+ "required":["VpcIngressConnection"],
+ "members":{
+ "VpcIngressConnection":{"shape":"VpcIngressConnection"}
+ }
+ },
"CustomDomain":{
"type":"structure",
"required":[
@@ -773,6 +868,12 @@
"type":"list",
"member":{"shape":"CustomDomain"}
},
+ "CustomerAccountId":{
+ "type":"string",
+ "max":12,
+ "min":12,
+ "pattern":"[0-9]{12}"
+ },
"DeleteAutoScalingConfigurationRequest":{
"type":"structure",
"required":["AutoScalingConfigurationArn"],
@@ -846,6 +947,20 @@
"VpcConnector":{"shape":"VpcConnector"}
}
},
+ "DeleteVpcIngressConnectionRequest":{
+ "type":"structure",
+ "required":["VpcIngressConnectionArn"],
+ "members":{
+ "VpcIngressConnectionArn":{"shape":"AppRunnerResourceArn"}
+ }
+ },
+ "DeleteVpcIngressConnectionResponse":{
+ "type":"structure",
+ "required":["VpcIngressConnection"],
+ "members":{
+ "VpcIngressConnection":{"shape":"VpcIngressConnection"}
+ }
+ },
"DescribeAutoScalingConfigurationRequest":{
"type":"structure",
"required":["AutoScalingConfigurationArn"],
@@ -879,12 +994,14 @@
"required":[
"DNSTarget",
"ServiceArn",
- "CustomDomains"
+ "CustomDomains",
+ "VpcDNSTargets"
],
"members":{
"DNSTarget":{"shape":"String"},
"ServiceArn":{"shape":"AppRunnerResourceArn"},
"CustomDomains":{"shape":"CustomDomainList"},
+ "VpcDNSTargets":{"shape":"VpcDNSTargetList"},
"NextToken":{"shape":"String"}
}
},
@@ -930,6 +1047,20 @@
"VpcConnector":{"shape":"VpcConnector"}
}
},
+ "DescribeVpcIngressConnectionRequest":{
+ "type":"structure",
+ "required":["VpcIngressConnectionArn"],
+ "members":{
+ "VpcIngressConnectionArn":{"shape":"AppRunnerResourceArn"}
+ }
+ },
+ "DescribeVpcIngressConnectionResponse":{
+ "type":"structure",
+ "required":["VpcIngressConnection"],
+ "members":{
+ "VpcIngressConnection":{"shape":"VpcIngressConnection"}
+ }
+ },
"DisassociateCustomDomainRequest":{
"type":"structure",
"required":[
@@ -946,12 +1077,14 @@
"required":[
"DNSTarget",
"ServiceArn",
- "CustomDomain"
+ "CustomDomain",
+ "VpcDNSTargets"
],
"members":{
"DNSTarget":{"shape":"String"},
"ServiceArn":{"shape":"AppRunnerResourceArn"},
- "CustomDomain":{"shape":"CustomDomain"}
+ "CustomDomain":{"shape":"CustomDomain"},
+ "VpcDNSTargets":{"shape":"VpcDNSTargetList"}
}
},
"DomainName":{
@@ -1060,6 +1193,19 @@
"ECR_PUBLIC"
]
},
+ "IngressConfiguration":{
+ "type":"structure",
+ "members":{
+ "IsPubliclyAccessible":{"shape":"Boolean"}
+ }
+ },
+ "IngressVpcConfiguration":{
+ "type":"structure",
+ "members":{
+ "VpcId":{"shape":"String"},
+ "VpcEndpointId":{"shape":"String"}
+ }
+ },
"InstanceConfiguration":{
"type":"structure",
"members":{
@@ -1211,6 +1357,29 @@
"NextToken":{"shape":"NextToken"}
}
},
+ "ListVpcIngressConnectionsFilter":{
+ "type":"structure",
+ "members":{
+ "ServiceArn":{"shape":"AppRunnerResourceArn"},
+ "VpcEndpointId":{"shape":"String"}
+ }
+ },
+ "ListVpcIngressConnectionsRequest":{
+ "type":"structure",
+ "members":{
+ "Filter":{"shape":"ListVpcIngressConnectionsFilter"},
+ "MaxResults":{"shape":"MaxResults"},
+ "NextToken":{"shape":"NextToken"}
+ }
+ },
+ "ListVpcIngressConnectionsResponse":{
+ "type":"structure",
+ "required":["VpcIngressConnectionSummaryList"],
+ "members":{
+ "VpcIngressConnectionSummaryList":{"shape":"VpcIngressConnectionSummaryList"},
+ "NextToken":{"shape":"NextToken"}
+ }
+ },
"MaxResults":{
"type":"integer",
"max":100,
@@ -1225,7 +1394,8 @@
"NetworkConfiguration":{
"type":"structure",
"members":{
- "EgressConfiguration":{"shape":"EgressConfiguration"}
+ "EgressConfiguration":{"shape":"EgressConfiguration"},
+ "IngressConfiguration":{"shape":"IngressConfiguration"}
}
},
"NextToken":{
@@ -1398,7 +1568,6 @@
"ServiceName",
"ServiceId",
"ServiceArn",
- "ServiceUrl",
"CreatedAt",
"UpdatedAt",
"Status",
@@ -1638,6 +1807,24 @@
"OperationId":{"shape":"UUID"}
}
},
+ "UpdateVpcIngressConnectionRequest":{
+ "type":"structure",
+ "required":[
+ "VpcIngressConnectionArn",
+ "IngressVpcConfiguration"
+ ],
+ "members":{
+ "VpcIngressConnectionArn":{"shape":"AppRunnerResourceArn"},
+ "IngressVpcConfiguration":{"shape":"IngressVpcConfiguration"}
+ }
+ },
+ "UpdateVpcIngressConnectionResponse":{
+ "type":"structure",
+ "required":["VpcIngressConnection"],
+ "members":{
+ "VpcIngressConnection":{"shape":"VpcIngressConnection"}
+ }
+ },
"VpcConnector":{
"type":"structure",
"members":{
@@ -1667,6 +1854,62 @@
"VpcConnectors":{
"type":"list",
"member":{"shape":"VpcConnector"}
+ },
+ "VpcDNSTarget":{
+ "type":"structure",
+ "members":{
+ "VpcIngressConnectionArn":{"shape":"AppRunnerResourceArn"},
+ "VpcId":{"shape":"String"},
+ "DomainName":{"shape":"DomainName"}
+ }
+ },
+ "VpcDNSTargetList":{
+ "type":"list",
+ "member":{"shape":"VpcDNSTarget"}
+ },
+ "VpcIngressConnection":{
+ "type":"structure",
+ "members":{
+ "VpcIngressConnectionArn":{"shape":"AppRunnerResourceArn"},
+ "VpcIngressConnectionName":{"shape":"VpcIngressConnectionName"},
+ "ServiceArn":{"shape":"AppRunnerResourceArn"},
+ "Status":{"shape":"VpcIngressConnectionStatus"},
+ "AccountId":{"shape":"CustomerAccountId"},
+ "DomainName":{"shape":"DomainName"},
+ "IngressVpcConfiguration":{"shape":"IngressVpcConfiguration"},
+ "CreatedAt":{"shape":"Timestamp"},
+ "DeletedAt":{"shape":"Timestamp"}
+ }
+ },
+ "VpcIngressConnectionName":{
+ "type":"string",
+ "max":40,
+ "min":4,
+ "pattern":"[A-Za-z0-9][A-Za-z0-9\\-_]{3,39}"
+ },
+ "VpcIngressConnectionStatus":{
+ "type":"string",
+ "enum":[
+ "AVAILABLE",
+ "PENDING_CREATION",
+ "PENDING_UPDATE",
+ "PENDING_DELETION",
+ "FAILED_CREATION",
+ "FAILED_UPDATE",
+ "FAILED_DELETION",
+ "DELETED"
+ ]
+ },
+ "VpcIngressConnectionSummary":{
+ "type":"structure",
+ "members":{
+ "VpcIngressConnectionArn":{"shape":"AppRunnerResourceArn"},
+ "ServiceArn":{"shape":"AppRunnerResourceArn"}
+ }
+ },
+ "VpcIngressConnectionSummaryList":{
+ "type":"list",
+ "member":{"shape":"VpcIngressConnectionSummary"}
}
}
}
diff --git a/generator/ServiceModels/apprunner/apprunner-2020-05-15.docs.json b/generator/ServiceModels/apprunner/apprunner-2020-05-15.docs.json
index 28a18220e2d2..dc296f3b1341 100644
--- a/generator/ServiceModels/apprunner/apprunner-2020-05-15.docs.json
+++ b/generator/ServiceModels/apprunner/apprunner-2020-05-15.docs.json
@@ -8,16 +8,19 @@
"CreateObservabilityConfiguration": "
Create an App Runner observability configuration resource. App Runner requires this resource when you create or update App Runner services and you want to enable non-default observability features. You can share an observability configuration across multiple services.
Create multiple revisions of a configuration by calling this action multiple times using the same ObservabilityConfigurationName
. The call returns incremental ObservabilityConfigurationRevision
values. When you create a service and configure an observability configuration resource, the service uses the latest active revision of the observability configuration by default. You can optionally configure the service to use a specific revision.
The observability configuration resource is designed to configure multiple features (currently one feature, tracing). This action takes optional parameters that describe the configuration of these features (currently one parameter, TraceConfiguration
). If you don't specify a feature parameter, App Runner doesn't enable the feature.
",
"CreateService": "Create an App Runner service. After the service is created, the action also automatically starts a deployment.
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations call to track the operation's progress.
",
"CreateVpcConnector": "Create an App Runner VPC connector resource. App Runner requires this resource when you want to associate your App Runner service to a custom Amazon Virtual Private Cloud (Amazon VPC).
",
+ "CreateVpcIngressConnection": "Create an App Runner VPC Ingress Connection resource. App Runner requires this resource when you want to associate your App Runner service with an Amazon VPC endpoint.
",
"DeleteAutoScalingConfiguration": "Delete an App Runner automatic scaling configuration resource. You can delete a specific revision or the latest active revision. You can't delete a configuration that's used by one or more App Runner services.
",
"DeleteConnection": "Delete an App Runner connection. You must first ensure that there are no running App Runner services that use this connection. If there are any, the DeleteConnection
action fails.
",
"DeleteObservabilityConfiguration": "Delete an App Runner observability configuration resource. You can delete a specific revision or the latest active revision. You can't delete a configuration that's used by one or more App Runner services.
",
- "DeleteService": "Delete an App Runner service.
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations call to track the operation's progress.
",
+ "DeleteService": "Delete an App Runner service.
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations call to track the operation's progress.
Make sure that you don't have any active VPCIngressConnections associated with the service you want to delete.
",
"DeleteVpcConnector": "Delete an App Runner VPC connector resource. You can't delete a connector that's used by one or more App Runner services.
",
+ "DeleteVpcIngressConnection": "Delete an App Runner VPC Ingress Connection resource that's associated with an App Runner service. The VPC Ingress Connection must be in one of the following states to be deleted:
-
AVAILABLE
-
FAILED_CREATION
-
FAILED_UPDATE
-
FAILED_DELETION
",
"DescribeAutoScalingConfiguration": "Return a full description of an App Runner automatic scaling configuration resource.
",
"DescribeCustomDomains": "Return a description of custom domain names that are associated with an App Runner service.
",
"DescribeObservabilityConfiguration": "Return a full description of an App Runner observability configuration resource.
",
"DescribeService": "Return a full description of an App Runner service.
",
"DescribeVpcConnector": "Return a description of an App Runner VPC connector resource.
",
+ "DescribeVpcIngressConnection": "Return a full description of an App Runner VPC Ingress Connection resource.
",
"DisassociateCustomDomain": "Disassociate a custom domain name from an App Runner service.
Certificates tracking domain validity are associated with a custom domain and are stored in AWS Certificate Manager (ACM). These certificates aren't deleted as part of this action. App Runner delays certificate deletion for 30 days after a domain is disassociated from your service.
",
"ListAutoScalingConfigurations": "Returns a list of active App Runner automatic scaling configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all active configurations in your account. You can optionally query only the latest revision of each requested name.
To retrieve a full description of a particular configuration revision, call and provide one of the ARNs returned by ListAutoScalingConfigurations
.
",
"ListConnections": "Returns a list of App Runner connections that are associated with your Amazon Web Services account.
",
@@ -26,12 +29,14 @@
"ListServices": "Returns a list of running App Runner services in your Amazon Web Services account.
",
"ListTagsForResource": "List tags that are associated with for an App Runner resource. The response contains a list of tag key-value pairs.
",
"ListVpcConnectors": "Returns a list of App Runner VPC connectors in your Amazon Web Services account.
",
+ "ListVpcIngressConnections": "Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.
",
"PauseService": "Pause an active App Runner service. App Runner reduces compute capacity for the service to zero and loses state (for example, ephemeral storage is removed).
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations call to track the operation's progress.
",
"ResumeService": "Resume an active App Runner service. App Runner provisions compute capacity for the service.
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations call to track the operation's progress.
",
"StartDeployment": "Initiate a manual deployment of the latest commit in a source code repository or the latest image in a source image repository to an App Runner service.
For a source code repository, App Runner retrieves the commit and builds a Docker image. For a source image repository, App Runner retrieves the latest Docker image. In both cases, App Runner then deploys the new image to your service and starts a new container instance.
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations call to track the operation's progress.
",
"TagResource": "Add tags to, or update the tag values of, an App Runner resource. A tag is a key-value pair.
",
"UntagResource": "Remove tags from an App Runner resource.
",
- "UpdateService": "Update an App Runner service. You can update the source configuration and instance configuration of the service. You can also update the ARN of the auto scaling configuration resource that's associated with the service. However, you can't change the name or the encryption configuration of the service. These can be set only when you create the service.
To update the tags applied to your service, use the separate actions TagResource and UntagResource.
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations call to track the operation's progress.
"
+ "UpdateService": "Update an App Runner service. You can update the source configuration and instance configuration of the service. You can also update the ARN of the auto scaling configuration resource that's associated with the service. However, you can't change the name or the encryption configuration of the service. These can be set only when you create the service.
To update the tags applied to your service, use the separate actions TagResource and UntagResource.
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations call to track the operation's progress.
",
+ "UpdateVpcIngressConnection": "Update an existing App Runner VPC Ingress Connection resource. The VPC Ingress Connection must be in one of the following states to be updated:
-
AVAILABLE
-
FAILED_CREATION
-
FAILED_UPDATE
"
},
"shapes": {
"ASConfigMaxConcurrency": {
@@ -63,22 +68,26 @@
"Connection$ConnectionArn": "The Amazon Resource Name (ARN) of this connection.
",
"ConnectionSummary$ConnectionArn": "The Amazon Resource Name (ARN) of this connection.
",
"CreateServiceRequest$AutoScalingConfigurationArn": "The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with your service. If not provided, App Runner associates the latest revision of a default auto scaling configuration.
Specify an ARN with a name and a revision number to associate that revision. For example: arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/3
Specify just the name to associate the latest revision. For example: arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability
",
+ "CreateVpcIngressConnectionRequest$ServiceArn": "The Amazon Resource Name (ARN) for this App Runner service that is used to create the VPC Ingress Connection resource.
",
"DeleteAutoScalingConfigurationRequest$AutoScalingConfigurationArn": "The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you want to delete.
The ARN can be a full auto scaling configuration ARN, or a partial ARN ending with either .../name
or .../name/revision
. If a revision isn't specified, the latest active revision is deleted.
",
"DeleteConnectionRequest$ConnectionArn": "The Amazon Resource Name (ARN) of the App Runner connection that you want to delete.
",
"DeleteObservabilityConfigurationRequest$ObservabilityConfigurationArn": "The Amazon Resource Name (ARN) of the App Runner observability configuration that you want to delete.
The ARN can be a full observability configuration ARN, or a partial ARN ending with either .../name
or .../name/revision
. If a revision isn't specified, the latest active revision is deleted.
",
"DeleteServiceRequest$ServiceArn": "The Amazon Resource Name (ARN) of the App Runner service that you want to delete.
",
"DeleteVpcConnectorRequest$VpcConnectorArn": "The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to delete.
The ARN must be a full VPC connector ARN.
",
+ "DeleteVpcIngressConnectionRequest$VpcIngressConnectionArn": "The Amazon Resource Name (ARN) of the App Runner VPC Ingress Connection that you want to delete.
",
"DescribeAutoScalingConfigurationRequest$AutoScalingConfigurationArn": "The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you want a description for.
The ARN can be a full auto scaling configuration ARN, or a partial ARN ending with either .../name
or .../name/revision
. If a revision isn't specified, the latest active revision is described.
",
"DescribeCustomDomainsRequest$ServiceArn": "The Amazon Resource Name (ARN) of the App Runner service that you want associated custom domain names to be described for.
",
"DescribeCustomDomainsResponse$ServiceArn": "The Amazon Resource Name (ARN) of the App Runner service whose associated custom domain names you want to describe.
",
"DescribeObservabilityConfigurationRequest$ObservabilityConfigurationArn": "The Amazon Resource Name (ARN) of the App Runner observability configuration that you want a description for.
The ARN can be a full observability configuration ARN, or a partial ARN ending with either .../name
or .../name/revision
. If a revision isn't specified, the latest active revision is described.
",
"DescribeServiceRequest$ServiceArn": "The Amazon Resource Name (ARN) of the App Runner service that you want a description for.
",
"DescribeVpcConnectorRequest$VpcConnectorArn": "The Amazon Resource Name (ARN) of the App Runner VPC connector that you want a description for.
The ARN must be a full VPC connector ARN.
",
+ "DescribeVpcIngressConnectionRequest$VpcIngressConnectionArn": "The Amazon Resource Name (ARN) of the App Runner VPC Ingress Connection that you want a description for.
",
"DisassociateCustomDomainRequest$ServiceArn": "The Amazon Resource Name (ARN) of the App Runner service that you want to disassociate a custom domain name from.
",
"DisassociateCustomDomainResponse$ServiceArn": "The Amazon Resource Name (ARN) of the App Runner service that a custom domain name is disassociated from.
",
"EgressConfiguration$VpcConnectorArn": "The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App Runner service. Only valid when EgressType = VPC
.
",
"ListOperationsRequest$ServiceArn": "The Amazon Resource Name (ARN) of the App Runner service that you want a list of operations for.
",
"ListTagsForResourceRequest$ResourceArn": "The Amazon Resource Name (ARN) of the resource that a tag list is requested for.
It must be the ARN of an App Runner resource.
",
+ "ListVpcIngressConnectionsFilter$ServiceArn": "The Amazon Resource Name (ARN) of a service to filter by.
",
"ObservabilityConfiguration$ObservabilityConfigurationArn": "The Amazon Resource Name (ARN) of this observability configuration.
",
"ObservabilityConfigurationSummary$ObservabilityConfigurationArn": "The Amazon Resource Name (ARN) of this observability configuration.
",
"OperationSummary$TargetArn": "The Amazon Resource Name (ARN) of the resource that the operation acted on (for example, an App Runner service).
",
@@ -92,7 +101,13 @@
"UntagResourceRequest$ResourceArn": "The Amazon Resource Name (ARN) of the resource that you want to remove tags from.
It must be the ARN of an App Runner resource.
",
"UpdateServiceRequest$ServiceArn": "The Amazon Resource Name (ARN) of the App Runner service that you want to update.
",
"UpdateServiceRequest$AutoScalingConfigurationArn": "The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with the App Runner service.
",
- "VpcConnector$VpcConnectorArn": "The Amazon Resource Name (ARN) of this VPC connector.
"
+ "UpdateVpcIngressConnectionRequest$VpcIngressConnectionArn": "The Amazon Resource Name (Arn) for the App Runner VPC Ingress Connection resource that you want to update.
",
+ "VpcConnector$VpcConnectorArn": "The Amazon Resource Name (ARN) of this VPC connector.
",
+ "VpcDNSTarget$VpcIngressConnectionArn": "The Amazon Resource Name (ARN) of the VPC Ingress Connection that is associated with your service.
",
+ "VpcIngressConnection$VpcIngressConnectionArn": "The Amazon Resource Name (ARN) of the VPC Ingress Connection.
",
+ "VpcIngressConnection$ServiceArn": "The Amazon Resource Name (ARN) of the service associated with the VPC Ingress Connection.
",
+ "VpcIngressConnectionSummary$VpcIngressConnectionArn": "The Amazon Resource Name (ARN) of the VPC Ingress Connection.
",
+ "VpcIngressConnectionSummary$ServiceArn": "The Amazon Resource Name (ARN) of the service associated with the VPC Ingress Connection.
"
}
},
"AssociateCustomDomainRequest": {
@@ -151,6 +166,7 @@
"base": null,
"refs": {
"AutoScalingConfiguration$Latest": "It's set to true
for the configuration with the highest Revision
among all configurations that share the same AutoScalingConfigurationName
. It's set to false
otherwise.
",
+ "IngressConfiguration$IsPubliclyAccessible": "Specifies whether your App Runner service is publicly accessible. To make the service publicly accessible set it to True
. To make the service privately accessible, from only within an Amazon VPC set it to False
.
",
"ListAutoScalingConfigurationsRequest$LatestOnly": "Set to true
to list only the latest revision for each requested configuration name.
Set to false
to list all revisions for each requested configuration name.
Default: true
",
"ListObservabilityConfigurationsRequest$LatestOnly": "Set to true
to list only the latest revision for each requested configuration name.
Set to false
to list all revisions for each requested configuration name.
Default: true
",
"ObservabilityConfiguration$Latest": "It's set to true
for the configuration with the highest Revision
among all configurations that share the same ObservabilityConfigurationName
. It's set to false
otherwise.
",
@@ -296,6 +312,16 @@
"refs": {
}
},
+ "CreateVpcIngressConnectionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateVpcIngressConnectionResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"CustomDomain": {
"base": "Describes a custom domain that's associated with an App Runner service.
",
"refs": {
@@ -316,6 +342,12 @@
"DescribeCustomDomainsResponse$CustomDomains": "A list of descriptions of custom domain names that are associated with the service. In a paginated request, the request returns up to MaxResults
records per call.
"
}
},
+ "CustomerAccountId": {
+ "base": null,
+ "refs": {
+ "VpcIngressConnection$AccountId": "The Account Id you use to create the VPC Ingress Connection resource.
"
+ }
+ },
"DeleteAutoScalingConfigurationRequest": {
"base": null,
"refs": {
@@ -366,6 +398,16 @@
"refs": {
}
},
+ "DeleteVpcIngressConnectionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteVpcIngressConnectionResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"DescribeAutoScalingConfigurationRequest": {
"base": null,
"refs": {
@@ -422,6 +464,16 @@
"refs": {
}
},
+ "DescribeVpcIngressConnectionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeVpcIngressConnectionResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"DisassociateCustomDomainRequest": {
"base": null,
"refs": {
@@ -437,7 +489,9 @@
"refs": {
"AssociateCustomDomainRequest$DomainName": "A custom domain endpoint to associate. Specify a root domain (for example, example.com
), a subdomain (for example, login.example.com
or admin.login.example.com
), or a wildcard (for example, *.example.com
).
",
"CustomDomain$DomainName": "An associated custom domain endpoint. It can be a root domain (for example, example.com
), a subdomain (for example, login.example.com
or admin.login.example.com
), or a wildcard (for example, *.example.com
).
",
- "DisassociateCustomDomainRequest$DomainName": "The domain name that you want to disassociate from the App Runner service.
"
+ "DisassociateCustomDomainRequest$DomainName": "The domain name that you want to disassociate from the App Runner service.
",
+ "VpcDNSTarget$DomainName": "The domain name of your target DNS that is associated with the Amazon VPC.
",
+ "VpcIngressConnection$DomainName": "The domain name associated with the VPC Ingress Connection resource.
"
}
},
"EgressConfiguration": {
@@ -537,6 +591,20 @@
"ImageRepository$ImageRepositoryType": "The type of the image repository. This reflects the repository provider and whether the repository is private or public.
"
}
},
+ "IngressConfiguration": {
+ "base": "Network configuration settings for inbound network traffic.
",
+ "refs": {
+ "NetworkConfiguration$IngressConfiguration": "Network configuration settings for inbound message traffic.
"
+ }
+ },
+ "IngressVpcConfiguration": {
+ "base": "The configuration of your VPC and the associated VPC endpoint. The VPC endpoint is an Amazon Web Services PrivateLink resource that allows access to your App Runner services from within an Amazon VPC.
",
+ "refs": {
+ "CreateVpcIngressConnectionRequest$IngressVpcConfiguration": "Specifications for the customer’s Amazon VPC and the related Amazon Web Services PrivateLink VPC endpoint that are used to create the VPC Ingress Connection resource.
",
+ "UpdateVpcIngressConnectionRequest$IngressVpcConfiguration": "Specifications for the customer’s Amazon VPC and the related Amazon Web Services PrivateLink VPC endpoint that are used to update the VPC Ingress Connection resource.
",
+ "VpcIngressConnection$IngressVpcConfiguration": "Specifications for the customer’s VPC and related PrivateLink VPC endpoint that are used to associate with the VPC Ingress Connection resource.
"
+ }
+ },
"InstanceConfiguration": {
"base": "Describes the runtime configuration of an App Runner service instance (scaling unit).
",
"refs": {
@@ -655,13 +723,30 @@
"refs": {
}
},
+ "ListVpcIngressConnectionsFilter": {
+ "base": "Returns a list of VPC Ingress Connections based on the filter provided. It can return either ServiceArn
or VpcEndpointId
, or both.
",
+ "refs": {
+ "ListVpcIngressConnectionsRequest$Filter": "The VPC Ingress Connections to be listed based on either the Service Arn or Vpc Endpoint Id, or both.
"
+ }
+ },
+ "ListVpcIngressConnectionsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListVpcIngressConnectionsResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"MaxResults": {
"base": null,
"refs": {
"ListAutoScalingConfigurationsRequest$MaxResults": "The maximum number of results to include in each response (result page). It's used for a paginated request.
If you don't specify MaxResults
, the request retrieves all available results in a single response.
",
"ListConnectionsRequest$MaxResults": "The maximum number of results to include in each response (result page). Used for a paginated request.
If you don't specify MaxResults
, the request retrieves all available results in a single response.
",
"ListObservabilityConfigurationsRequest$MaxResults": "The maximum number of results to include in each response (result page). It's used for a paginated request.
If you don't specify MaxResults
, the request retrieves all available results in a single response.
",
- "ListVpcConnectorsRequest$MaxResults": "The maximum number of results to include in each response (result page). It's used for a paginated request.
If you don't specify MaxResults
, the request retrieves all available results in a single response.
"
+ "ListVpcConnectorsRequest$MaxResults": "The maximum number of results to include in each response (result page). It's used for a paginated request.
If you don't specify MaxResults
, the request retrieves all available results in a single response.
",
+ "ListVpcIngressConnectionsRequest$MaxResults": "The maximum number of results to include in each response (result page). It's used for a paginated request.
If you don't specify MaxResults
, the request retrieves all available results in a single response.
"
}
},
"Memory": {
@@ -688,7 +773,9 @@
"ListObservabilityConfigurationsRequest$NextToken": "A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones that are specified in the initial request.
If you don't specify NextToken
, the request retrieves the first result page.
",
"ListObservabilityConfigurationsResponse$NextToken": "The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
",
"ListVpcConnectorsRequest$NextToken": "A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones that are specified in the initial request.
If you don't specify NextToken
, the request retrieves the first result page.
",
- "ListVpcConnectorsResponse$NextToken": "The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
"
+ "ListVpcConnectorsResponse$NextToken": "The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
",
+ "ListVpcIngressConnectionsRequest$NextToken": "A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones that are specified in the initial request.
If you don't specify NextToken
, the request retrieves the first result page.
",
+ "ListVpcIngressConnectionsResponse$NextToken": "The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
"
}
},
"NullableBoolean": {
@@ -938,14 +1025,18 @@
"DescribeCustomDomainsResponse$NextToken": "The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
",
"DisassociateCustomDomainResponse$DNSTarget": "The App Runner subdomain of the App Runner service. The disassociated custom domain name was mapped to this target name.
",
"ImageConfiguration$Port": "The port that your application listens to in the container.
Default: 8080
",
+ "IngressVpcConfiguration$VpcId": "The ID of the VPC that is used for the VPC endpoint.
",
+ "IngressVpcConfiguration$VpcEndpointId": "The ID of the VPC endpoint that your App Runner service connects to.
",
"ListOperationsRequest$NextToken": "A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones specified in the initial request.
If you don't specify NextToken
, the request retrieves the first result page.
",
"ListOperationsResponse$NextToken": "The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
",
"ListServicesRequest$NextToken": "A token from a previous result page. Used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones specified in the initial request.
If you don't specify NextToken
, the request retrieves the first result page.
",
"ListServicesResponse$NextToken": "The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
",
+ "ListVpcIngressConnectionsFilter$VpcEndpointId": "The ID of a VPC Endpoint to filter by.
",
"Service$ServiceUrl": "A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
",
"ServiceSummary$ServiceUrl": "A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
",
"SourceCodeVersion$Value": "A source code version.
For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.
",
- "StringList$member": null
+ "StringList$member": null,
+ "VpcDNSTarget$VpcId": "The ID of the Amazon VPC that is associated with the custom domain name of the target DNS.
"
}
},
"StringList": {
@@ -984,6 +1075,7 @@
"CreateObservabilityConfigurationRequest$Tags": "A list of metadata items that you can associate with your observability configuration resource. A tag is a key-value pair.
",
"CreateServiceRequest$Tags": "An optional list of metadata items that you can associate with the App Runner service resource. A tag is a key-value pair.
",
"CreateVpcConnectorRequest$Tags": "A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.
",
+ "CreateVpcIngressConnectionRequest$Tags": "An optional list of metadata items that you can associate with the VPC Ingress Connection resource. A tag is a key-value pair.
",
"ListTagsForResourceResponse$Tags": "A list of the tag key-value pairs that are associated with the resource.
",
"TagResourceRequest$Tags": "A list of tag key-value pairs to add or update. If a key is new to the resource, the tag is added with the provided value. If a key is already associated with the resource, the value of the tag is updated.
"
}
@@ -1022,7 +1114,9 @@
"ServiceSummary$CreatedAt": "The time when the App Runner service was created. It's in the Unix time stamp format.
",
"ServiceSummary$UpdatedAt": "The time when the App Runner service was last updated. It's in theUnix time stamp format.
",
"VpcConnector$CreatedAt": "The time when the VPC connector was created. It's in Unix time stamp format.
",
- "VpcConnector$DeletedAt": "The time when the VPC connector was deleted. It's in Unix time stamp format.
"
+ "VpcConnector$DeletedAt": "The time when the VPC connector was deleted. It's in Unix time stamp format.
",
+ "VpcIngressConnection$CreatedAt": "The time when the VPC Ingress Connection was created. It's in the Unix time stamp format.
-
Type: Timestamp
-
Required: Yes
",
+ "VpcIngressConnection$DeletedAt": "The time when the App Runner service was deleted. It's in the Unix time stamp format.
-
Type: Timestamp
-
Required: No
"
}
},
"TraceConfiguration": {
@@ -1070,6 +1164,16 @@
"refs": {
}
},
+ "UpdateVpcIngressConnectionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateVpcIngressConnectionResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"VpcConnector": {
"base": "Describes an App Runner VPC connector resource. A VPC connector describes the Amazon Virtual Private Cloud (Amazon VPC) that an App Runner service is associated with, and the subnets and security group that are used.
Multiple revisions of a connector might have the same Name
and different Revision
values.
At this time, App Runner supports only one revision per name.
",
"refs": {
@@ -1097,6 +1201,54 @@
"refs": {
"ListVpcConnectorsResponse$VpcConnectors": "A list of information records for VPC connectors. In a paginated request, the request returns up to MaxResults
records for each call.
"
}
+ },
+ "VpcDNSTarget": {
+ "base": "DNS Target record for a custom domain of this Amazon VPC.
",
+ "refs": {
+ "VpcDNSTargetList$member": null
+ }
+ },
+ "VpcDNSTargetList": {
+ "base": null,
+ "refs": {
+ "AssociateCustomDomainResponse$VpcDNSTargets": "DNS Target records for the custom domains of this Amazon VPC.
",
+ "DescribeCustomDomainsResponse$VpcDNSTargets": "DNS Target records for the custom domains of this Amazon VPC.
",
+ "DisassociateCustomDomainResponse$VpcDNSTargets": "DNS Target records for the custom domains of this Amazon VPC.
"
+ }
+ },
+ "VpcIngressConnection": {
+ "base": "The App Runner resource that specifies an App Runner endpoint for incoming traffic. It establishes a connection between a VPC interface endpoint and a App Runner service, to make your App Runner service accessible from only within an Amazon VPC.
",
+ "refs": {
+ "CreateVpcIngressConnectionResponse$VpcIngressConnection": "A description of the App Runner VPC Ingress Connection resource that's created by this request.
",
+ "DeleteVpcIngressConnectionResponse$VpcIngressConnection": "A description of the App Runner VPC Ingress Connection that this request just deleted.
",
+ "DescribeVpcIngressConnectionResponse$VpcIngressConnection": "A description of the App Runner VPC Ingress Connection that you specified in this request.
",
+ "UpdateVpcIngressConnectionResponse$VpcIngressConnection": "A description of the App Runner VPC Ingress Connection resource that's updated by this request.
"
+ }
+ },
+ "VpcIngressConnectionName": {
+ "base": null,
+ "refs": {
+ "CreateVpcIngressConnectionRequest$VpcIngressConnectionName": "A name for the VPC Ingress Connection resource. It must be unique across all the active VPC Ingress Connections in your Amazon Web Services account in the Amazon Web Services Region.
",
+ "VpcIngressConnection$VpcIngressConnectionName": "The customer-provided VPC Ingress Connection name.
"
+ }
+ },
+ "VpcIngressConnectionStatus": {
+ "base": null,
+ "refs": {
+ "VpcIngressConnection$Status": "The current status of the VPC Ingress Connection. The VPC Ingress Connection displays one of the following statuses: AVAILABLE
, PENDING_CREATION
, PENDING_UPDATE
, PENDING_DELETION
,FAILED_CREATION
, FAILED_UPDATE
, FAILED_DELETION
, and DELETED
..
"
+ }
+ },
+ "VpcIngressConnectionSummary": {
+ "base": "Provides summary information about an VPC Ingress Connection, which includes its VPC Ingress Connection ARN and its associated Service ARN.
",
+ "refs": {
+ "VpcIngressConnectionSummaryList$member": null
+ }
+ },
+ "VpcIngressConnectionSummaryList": {
+ "base": null,
+ "refs": {
+ "ListVpcIngressConnectionsResponse$VpcIngressConnectionSummaryList": "A list of summary information records for VPC Ingress Connections. In a paginated request, the request returns up to MaxResults
records for each call.
"
+ }
}
}
}
diff --git a/generator/ServiceModels/apprunner/apprunner-2020-05-15.endpoint-tests.json b/generator/ServiceModels/apprunner/apprunner-2020-05-15.endpoint-tests.json
index 38ca6f23beae..7173b9a6e0d6 100644
--- a/generator/ServiceModels/apprunner/apprunner-2020-05-15.endpoint-tests.json
+++ b/generator/ServiceModels/apprunner/apprunner-2020-05-15.endpoint-tests.json
@@ -9,8 +9,8 @@
},
"params": {
"UseFIPS": true,
- "Region": "us-west-2",
- "UseDualStack": true
+ "UseDualStack": true,
+ "Region": "us-west-2"
}
},
{
@@ -22,8 +22,8 @@
},
"params": {
"UseFIPS": true,
- "Region": "us-west-2",
- "UseDualStack": false
+ "UseDualStack": false,
+ "Region": "us-west-2"
}
},
{
@@ -35,8 +35,8 @@
},
"params": {
"UseFIPS": false,
- "Region": "us-west-2",
- "UseDualStack": true
+ "UseDualStack": true,
+ "Region": "us-west-2"
}
},
{
@@ -48,8 +48,8 @@
},
"params": {
"UseFIPS": false,
- "Region": "us-west-2",
- "UseDualStack": false
+ "UseDualStack": false,
+ "Region": "us-west-2"
}
},
{
@@ -61,8 +61,8 @@
},
"params": {
"UseFIPS": true,
- "Region": "eu-west-1",
- "UseDualStack": true
+ "UseDualStack": true,
+ "Region": "eu-west-1"
}
},
{
@@ -74,8 +74,8 @@
},
"params": {
"UseFIPS": true,
- "Region": "eu-west-1",
- "UseDualStack": false
+ "UseDualStack": false,
+ "Region": "eu-west-1"
}
},
{
@@ -87,8 +87,8 @@
},
"params": {
"UseFIPS": false,
- "Region": "eu-west-1",
- "UseDualStack": true
+ "UseDualStack": true,
+ "Region": "eu-west-1"
}
},
{
@@ -100,8 +100,8 @@
},
"params": {
"UseFIPS": false,
- "Region": "eu-west-1",
- "UseDualStack": false
+ "UseDualStack": false,
+ "Region": "eu-west-1"
}
},
{
@@ -113,8 +113,8 @@
},
"params": {
"UseFIPS": true,
- "Region": "ap-northeast-1",
- "UseDualStack": true
+ "UseDualStack": true,
+ "Region": "ap-northeast-1"
}
},
{
@@ -126,8 +126,8 @@
},
"params": {
"UseFIPS": true,
- "Region": "ap-northeast-1",
- "UseDualStack": false
+ "UseDualStack": false,
+ "Region": "ap-northeast-1"
}
},
{
@@ -139,8 +139,8 @@
},
"params": {
"UseFIPS": false,
- "Region": "ap-northeast-1",
- "UseDualStack": true
+ "UseDualStack": true,
+ "Region": "ap-northeast-1"
}
},
{
@@ -152,8 +152,8 @@
},
"params": {
"UseFIPS": false,
- "Region": "ap-northeast-1",
- "UseDualStack": false
+ "UseDualStack": false,
+ "Region": "ap-northeast-1"
}
},
{
@@ -165,8 +165,8 @@
},
"params": {
"UseFIPS": true,
- "Region": "us-east-1",
- "UseDualStack": true
+ "UseDualStack": true,
+ "Region": "us-east-1"
}
},
{
@@ -178,8 +178,8 @@
},
"params": {
"UseFIPS": true,
- "Region": "us-east-1",
- "UseDualStack": false
+ "UseDualStack": false,
+ "Region": "us-east-1"
}
},
{
@@ -191,8 +191,8 @@
},
"params": {
"UseFIPS": false,
- "Region": "us-east-1",
- "UseDualStack": true
+ "UseDualStack": true,
+ "Region": "us-east-1"
}
},
{
@@ -204,8 +204,8 @@
},
"params": {
"UseFIPS": false,
- "Region": "us-east-1",
- "UseDualStack": false
+ "UseDualStack": false,
+ "Region": "us-east-1"
}
},
{
@@ -217,8 +217,8 @@
},
"params": {
"UseFIPS": true,
- "Region": "us-east-2",
- "UseDualStack": true
+ "UseDualStack": true,
+ "Region": "us-east-2"
}
},
{
@@ -230,8 +230,8 @@
},
"params": {
"UseFIPS": true,
- "Region": "us-east-2",
- "UseDualStack": false
+ "UseDualStack": false,
+ "Region": "us-east-2"
}
},
{
@@ -243,8 +243,8 @@
},
"params": {
"UseFIPS": false,
- "Region": "us-east-2",
- "UseDualStack": true
+ "UseDualStack": true,
+ "Region": "us-east-2"
}
},
{
@@ -256,8 +256,8 @@
},
"params": {
"UseFIPS": false,
- "Region": "us-east-2",
- "UseDualStack": false
+ "UseDualStack": false,
+ "Region": "us-east-2"
}
},
{
@@ -269,8 +269,8 @@
},
"params": {
"UseFIPS": false,
- "Region": "us-east-1",
"UseDualStack": false,
+ "Region": "us-east-1",
"Endpoint": "https://example.com"
}
},
@@ -281,8 +281,8 @@
},
"params": {
"UseFIPS": true,
- "Region": "us-east-1",
"UseDualStack": false,
+ "Region": "us-east-1",
"Endpoint": "https://example.com"
}
},
@@ -293,8 +293,8 @@
},
"params": {
"UseFIPS": false,
- "Region": "us-east-1",
"UseDualStack": true,
+ "Region": "us-east-1",
"Endpoint": "https://example.com"
}
}
diff --git a/generator/ServiceModels/apprunner/apprunner-2020-05-15.normal.json b/generator/ServiceModels/apprunner/apprunner-2020-05-15.normal.json
index 67590184d2c0..75f58ab6700f 100644
--- a/generator/ServiceModels/apprunner/apprunner-2020-05-15.normal.json
+++ b/generator/ServiceModels/apprunner/apprunner-2020-05-15.normal.json
@@ -103,6 +103,22 @@
],
"documentation":"Create an App Runner VPC connector resource. App Runner requires this resource when you want to associate your App Runner service to a custom Amazon Virtual Private Cloud (Amazon VPC).
"
},
+ "CreateVpcIngressConnection":{
+ "name":"CreateVpcIngressConnection",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"CreateVpcIngressConnectionRequest"},
+ "output":{"shape":"CreateVpcIngressConnectionResponse"},
+ "errors":[
+ {"shape":"InvalidRequestException"},
+ {"shape":"InvalidStateException"},
+ {"shape":"InternalServiceErrorException"},
+ {"shape":"ServiceQuotaExceededException"}
+ ],
+ "documentation":"Create an App Runner VPC Ingress Connection resource. App Runner requires this resource when you want to associate your App Runner service with an Amazon VPC endpoint.
"
+ },
"DeleteAutoScalingConfiguration":{
"name":"DeleteAutoScalingConfiguration",
"http":{
@@ -162,7 +178,7 @@
{"shape":"InvalidStateException"},
{"shape":"InternalServiceErrorException"}
],
- "documentation":"Delete an App Runner service.
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations call to track the operation's progress.
"
+ "documentation":"Delete an App Runner service.
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations call to track the operation's progress.
Make sure that you don't have any active VPCIngressConnections associated with the service you want to delete.
"
},
"DeleteVpcConnector":{
"name":"DeleteVpcConnector",
@@ -179,6 +195,22 @@
],
"documentation":"Delete an App Runner VPC connector resource. You can't delete a connector that's used by one or more App Runner services.
"
},
+ "DeleteVpcIngressConnection":{
+ "name":"DeleteVpcIngressConnection",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DeleteVpcIngressConnectionRequest"},
+ "output":{"shape":"DeleteVpcIngressConnectionResponse"},
+ "errors":[
+ {"shape":"InvalidRequestException"},
+ {"shape":"InternalServiceErrorException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"InvalidStateException"}
+ ],
+ "documentation":"Delete an App Runner VPC Ingress Connection resource that's associated with an App Runner service. The VPC Ingress Connection must be in one of the following states to be deleted:
-
AVAILABLE
-
FAILED_CREATION
-
FAILED_UPDATE
-
FAILED_DELETION
"
+ },
"DescribeAutoScalingConfiguration":{
"name":"DescribeAutoScalingConfiguration",
"http":{
@@ -254,6 +286,21 @@
],
"documentation":"Return a description of an App Runner VPC connector resource.
"
},
+ "DescribeVpcIngressConnection":{
+ "name":"DescribeVpcIngressConnection",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DescribeVpcIngressConnectionRequest"},
+ "output":{"shape":"DescribeVpcIngressConnectionResponse"},
+ "errors":[
+ {"shape":"InvalidRequestException"},
+ {"shape":"InternalServiceErrorException"},
+ {"shape":"ResourceNotFoundException"}
+ ],
+ "documentation":"Return a full description of an App Runner VPC Ingress Connection resource.
"
+ },
"DisassociateCustomDomain":{
"name":"DisassociateCustomDomain",
"http":{
@@ -371,6 +418,20 @@
],
"documentation":"Returns a list of App Runner VPC connectors in your Amazon Web Services account.
"
},
+ "ListVpcIngressConnections":{
+ "name":"ListVpcIngressConnections",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"ListVpcIngressConnectionsRequest"},
+ "output":{"shape":"ListVpcIngressConnectionsResponse"},
+ "errors":[
+ {"shape":"InvalidRequestException"},
+ {"shape":"InternalServiceErrorException"}
+ ],
+ "documentation":"Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.
"
+ },
"PauseService":{
"name":"PauseService",
"http":{
@@ -465,6 +526,22 @@
{"shape":"InternalServiceErrorException"}
],
"documentation":"Update an App Runner service. You can update the source configuration and instance configuration of the service. You can also update the ARN of the auto scaling configuration resource that's associated with the service. However, you can't change the name or the encryption configuration of the service. These can be set only when you create the service.
To update the tags applied to your service, use the separate actions TagResource and UntagResource.
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations call to track the operation's progress.
"
+ },
+ "UpdateVpcIngressConnection":{
+ "name":"UpdateVpcIngressConnection",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"UpdateVpcIngressConnectionRequest"},
+ "output":{"shape":"UpdateVpcIngressConnectionResponse"},
+ "errors":[
+ {"shape":"InvalidRequestException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"InvalidStateException"},
+ {"shape":"InternalServiceErrorException"}
+ ],
+ "documentation":"Update an existing App Runner VPC Ingress Connection resource. The VPC Ingress Connection must be in one of the following states to be updated:
-
AVAILABLE
-
FAILED_CREATION
-
FAILED_UPDATE
"
}
},
"shapes":{
@@ -515,7 +592,8 @@
"required":[
"DNSTarget",
"ServiceArn",
- "CustomDomain"
+ "CustomDomain",
+ "VpcDNSTargets"
],
"members":{
"DNSTarget":{
@@ -529,6 +607,10 @@
"CustomDomain":{
"shape":"CustomDomain",
"documentation":"A description of the domain name that's being associated.
"
+ },
+ "VpcDNSTargets":{
+ "shape":"VpcDNSTargetList",
+ "documentation":"DNS Target records for the custom domains of this Amazon VPC.
"
}
}
},
@@ -1007,6 +1089,42 @@
}
}
},
+ "CreateVpcIngressConnectionRequest":{
+ "type":"structure",
+ "required":[
+ "ServiceArn",
+ "VpcIngressConnectionName",
+ "IngressVpcConfiguration"
+ ],
+ "members":{
+ "ServiceArn":{
+ "shape":"AppRunnerResourceArn",
+ "documentation":"The Amazon Resource Name (ARN) for this App Runner service that is used to create the VPC Ingress Connection resource.
"
+ },
+ "VpcIngressConnectionName":{
+ "shape":"VpcIngressConnectionName",
+ "documentation":"A name for the VPC Ingress Connection resource. It must be unique across all the active VPC Ingress Connections in your Amazon Web Services account in the Amazon Web Services Region.
"
+ },
+ "IngressVpcConfiguration":{
+ "shape":"IngressVpcConfiguration",
+ "documentation":"Specifications for the customer’s Amazon VPC and the related Amazon Web Services PrivateLink VPC endpoint that are used to create the VPC Ingress Connection resource.
"
+ },
+ "Tags":{
+ "shape":"TagList",
+ "documentation":"An optional list of metadata items that you can associate with the VPC Ingress Connection resource. A tag is a key-value pair.
"
+ }
+ }
+ },
+ "CreateVpcIngressConnectionResponse":{
+ "type":"structure",
+ "required":["VpcIngressConnection"],
+ "members":{
+ "VpcIngressConnection":{
+ "shape":"VpcIngressConnection",
+ "documentation":"A description of the App Runner VPC Ingress Connection resource that's created by this request.
"
+ }
+ }
+ },
"CustomDomain":{
"type":"structure",
"required":[
@@ -1050,6 +1168,12 @@
"type":"list",
"member":{"shape":"CustomDomain"}
},
+ "CustomerAccountId":{
+ "type":"string",
+ "max":12,
+ "min":12,
+ "pattern":"[0-9]{12}"
+ },
"DeleteAutoScalingConfigurationRequest":{
"type":"structure",
"required":["AutoScalingConfigurationArn"],
@@ -1156,6 +1280,26 @@
}
}
},
+ "DeleteVpcIngressConnectionRequest":{
+ "type":"structure",
+ "required":["VpcIngressConnectionArn"],
+ "members":{
+ "VpcIngressConnectionArn":{
+ "shape":"AppRunnerResourceArn",
+ "documentation":"The Amazon Resource Name (ARN) of the App Runner VPC Ingress Connection that you want to delete.
"
+ }
+ }
+ },
+ "DeleteVpcIngressConnectionResponse":{
+ "type":"structure",
+ "required":["VpcIngressConnection"],
+ "members":{
+ "VpcIngressConnection":{
+ "shape":"VpcIngressConnection",
+ "documentation":"A description of the App Runner VPC Ingress Connection that this request just deleted.
"
+ }
+ }
+ },
"DescribeAutoScalingConfigurationRequest":{
"type":"structure",
"required":["AutoScalingConfigurationArn"],
@@ -1204,7 +1348,8 @@
"required":[
"DNSTarget",
"ServiceArn",
- "CustomDomains"
+ "CustomDomains",
+ "VpcDNSTargets"
],
"members":{
"DNSTarget":{
@@ -1219,6 +1364,10 @@
"shape":"CustomDomainList",
"documentation":"A list of descriptions of custom domain names that are associated with the service. In a paginated request, the request returns up to MaxResults
records per call.
"
},
+ "VpcDNSTargets":{
+ "shape":"VpcDNSTargetList",
+ "documentation":"DNS Target records for the custom domains of this Amazon VPC.
"
+ },
"NextToken":{
"shape":"String",
"documentation":"The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
"
@@ -1285,6 +1434,26 @@
}
}
},
+ "DescribeVpcIngressConnectionRequest":{
+ "type":"structure",
+ "required":["VpcIngressConnectionArn"],
+ "members":{
+ "VpcIngressConnectionArn":{
+ "shape":"AppRunnerResourceArn",
+ "documentation":"The Amazon Resource Name (ARN) of the App Runner VPC Ingress Connection that you want a description for.
"
+ }
+ }
+ },
+ "DescribeVpcIngressConnectionResponse":{
+ "type":"structure",
+ "required":["VpcIngressConnection"],
+ "members":{
+ "VpcIngressConnection":{
+ "shape":"VpcIngressConnection",
+ "documentation":"A description of the App Runner VPC Ingress Connection that you specified in this request.
"
+ }
+ }
+ },
"DisassociateCustomDomainRequest":{
"type":"structure",
"required":[
@@ -1307,7 +1476,8 @@
"required":[
"DNSTarget",
"ServiceArn",
- "CustomDomain"
+ "CustomDomain",
+ "VpcDNSTargets"
],
"members":{
"DNSTarget":{
@@ -1321,6 +1491,10 @@
"CustomDomain":{
"shape":"CustomDomain",
"documentation":"A description of the domain name that's being disassociated.
"
+ },
+ "VpcDNSTargets":{
+ "shape":"VpcDNSTargetList",
+ "documentation":"DNS Target records for the custom domains of this Amazon VPC.
"
}
}
},
@@ -1480,6 +1654,30 @@
"ECR_PUBLIC"
]
},
+ "IngressConfiguration":{
+ "type":"structure",
+ "members":{
+ "IsPubliclyAccessible":{
+ "shape":"Boolean",
+ "documentation":"Specifies whether your App Runner service is publicly accessible. To make the service publicly accessible set it to True
. To make the service privately accessible, from only within an Amazon VPC set it to False
.
"
+ }
+ },
+ "documentation":"Network configuration settings for inbound network traffic.
"
+ },
+ "IngressVpcConfiguration":{
+ "type":"structure",
+ "members":{
+ "VpcId":{
+ "shape":"String",
+ "documentation":"The ID of the VPC that is used for the VPC endpoint.
"
+ },
+ "VpcEndpointId":{
+ "shape":"String",
+ "documentation":"The ID of the VPC endpoint that your App Runner service connects to.
"
+ }
+ },
+ "documentation":"The configuration of your VPC and the associated VPC endpoint. The VPC endpoint is an Amazon Web Services PrivateLink resource that allows access to your App Runner services from within an Amazon VPC.
"
+ },
"InstanceConfiguration":{
"type":"structure",
"members":{
@@ -1740,6 +1938,51 @@
}
}
},
+ "ListVpcIngressConnectionsFilter":{
+ "type":"structure",
+ "members":{
+ "ServiceArn":{
+ "shape":"AppRunnerResourceArn",
+ "documentation":"The Amazon Resource Name (ARN) of a service to filter by.
"
+ },
+ "VpcEndpointId":{
+ "shape":"String",
+ "documentation":"The ID of a VPC Endpoint to filter by.
"
+ }
+ },
+ "documentation":"Returns a list of VPC Ingress Connections based on the filter provided. It can return either ServiceArn
or VpcEndpointId
, or both.
"
+ },
+ "ListVpcIngressConnectionsRequest":{
+ "type":"structure",
+ "members":{
+ "Filter":{
+ "shape":"ListVpcIngressConnectionsFilter",
+ "documentation":"The VPC Ingress Connections to be listed based on either the Service Arn or Vpc Endpoint Id, or both.
"
+ },
+ "MaxResults":{
+ "shape":"MaxResults",
+ "documentation":"The maximum number of results to include in each response (result page). It's used for a paginated request.
If you don't specify MaxResults
, the request retrieves all available results in a single response.
"
+ },
+ "NextToken":{
+ "shape":"NextToken",
+ "documentation":"A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones that are specified in the initial request.
If you don't specify NextToken
, the request retrieves the first result page.
"
+ }
+ }
+ },
+ "ListVpcIngressConnectionsResponse":{
+ "type":"structure",
+ "required":["VpcIngressConnectionSummaryList"],
+ "members":{
+ "VpcIngressConnectionSummaryList":{
+ "shape":"VpcIngressConnectionSummaryList",
+ "documentation":"A list of summary information records for VPC Ingress Connections. In a paginated request, the request returns up to MaxResults
records for each call.
"
+ },
+ "NextToken":{
+ "shape":"NextToken",
+ "documentation":"The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
"
+ }
+ }
+ },
"MaxResults":{
"type":"integer",
"max":100,
@@ -1757,6 +2000,10 @@
"EgressConfiguration":{
"shape":"EgressConfiguration",
"documentation":"Network configuration settings for outbound message traffic.
"
+ },
+ "IngressConfiguration":{
+ "shape":"IngressConfiguration",
+ "documentation":"Network configuration settings for inbound message traffic.
"
}
},
"documentation":"Describes configuration settings related to network traffic of an App Runner service. Consists of embedded objects for each configurable network feature.
"
@@ -2007,7 +2254,6 @@
"ServiceName",
"ServiceId",
"ServiceArn",
- "ServiceUrl",
"CreatedAt",
"UpdatedAt",
"Status",
@@ -2399,6 +2645,33 @@
}
}
},
+ "UpdateVpcIngressConnectionRequest":{
+ "type":"structure",
+ "required":[
+ "VpcIngressConnectionArn",
+ "IngressVpcConfiguration"
+ ],
+ "members":{
+ "VpcIngressConnectionArn":{
+ "shape":"AppRunnerResourceArn",
+ "documentation":"The Amazon Resource Name (Arn) for the App Runner VPC Ingress Connection resource that you want to update.
"
+ },
+ "IngressVpcConfiguration":{
+ "shape":"IngressVpcConfiguration",
+ "documentation":"Specifications for the customer’s Amazon VPC and the related Amazon Web Services PrivateLink VPC endpoint that are used to update the VPC Ingress Connection resource.
"
+ }
+ }
+ },
+ "UpdateVpcIngressConnectionResponse":{
+ "type":"structure",
+ "required":["VpcIngressConnection"],
+ "members":{
+ "VpcIngressConnection":{
+ "shape":"VpcIngressConnection",
+ "documentation":"A description of the App Runner VPC Ingress Connection resource that's updated by this request.
"
+ }
+ }
+ },
"VpcConnector":{
"type":"structure",
"members":{
@@ -2453,6 +2726,107 @@
"VpcConnectors":{
"type":"list",
"member":{"shape":"VpcConnector"}
+ },
+ "VpcDNSTarget":{
+ "type":"structure",
+ "members":{
+ "VpcIngressConnectionArn":{
+ "shape":"AppRunnerResourceArn",
+ "documentation":"The Amazon Resource Name (ARN) of the VPC Ingress Connection that is associated with your service.
"
+ },
+ "VpcId":{
+ "shape":"String",
+ "documentation":"The ID of the Amazon VPC that is associated with the custom domain name of the target DNS.
"
+ },
+ "DomainName":{
+ "shape":"DomainName",
+ "documentation":"The domain name of your target DNS that is associated with the Amazon VPC.
"
+ }
+ },
+ "documentation":"DNS Target record for a custom domain of this Amazon VPC.
"
+ },
+ "VpcDNSTargetList":{
+ "type":"list",
+ "member":{"shape":"VpcDNSTarget"}
+ },
+ "VpcIngressConnection":{
+ "type":"structure",
+ "members":{
+ "VpcIngressConnectionArn":{
+ "shape":"AppRunnerResourceArn",
+ "documentation":"The Amazon Resource Name (ARN) of the VPC Ingress Connection.
"
+ },
+ "VpcIngressConnectionName":{
+ "shape":"VpcIngressConnectionName",
+ "documentation":"The customer-provided VPC Ingress Connection name.
"
+ },
+ "ServiceArn":{
+ "shape":"AppRunnerResourceArn",
+ "documentation":"The Amazon Resource Name (ARN) of the service associated with the VPC Ingress Connection.
"
+ },
+ "Status":{
+ "shape":"VpcIngressConnectionStatus",
+ "documentation":"The current status of the VPC Ingress Connection. The VPC Ingress Connection displays one of the following statuses: AVAILABLE
, PENDING_CREATION
, PENDING_UPDATE
, PENDING_DELETION
,FAILED_CREATION
, FAILED_UPDATE
, FAILED_DELETION
, and DELETED
..
"
+ },
+ "AccountId":{
+ "shape":"CustomerAccountId",
+ "documentation":"The Account Id you use to create the VPC Ingress Connection resource.
"
+ },
+ "DomainName":{
+ "shape":"DomainName",
+ "documentation":"The domain name associated with the VPC Ingress Connection resource.
"
+ },
+ "IngressVpcConfiguration":{
+ "shape":"IngressVpcConfiguration",
+ "documentation":"Specifications for the customer’s VPC and related PrivateLink VPC endpoint that are used to associate with the VPC Ingress Connection resource.
"
+ },
+ "CreatedAt":{
+ "shape":"Timestamp",
+ "documentation":"The time when the VPC Ingress Connection was created. It's in the Unix time stamp format.
-
Type: Timestamp
-
Required: Yes
"
+ },
+ "DeletedAt":{
+ "shape":"Timestamp",
+ "documentation":"The time when the App Runner service was deleted. It's in the Unix time stamp format.
-
Type: Timestamp
-
Required: No
"
+ }
+ },
+ "documentation":"The App Runner resource that specifies an App Runner endpoint for incoming traffic. It establishes a connection between a VPC interface endpoint and a App Runner service, to make your App Runner service accessible from only within an Amazon VPC.
"
+ },
+ "VpcIngressConnectionName":{
+ "type":"string",
+ "max":40,
+ "min":4,
+ "pattern":"[A-Za-z0-9][A-Za-z0-9\\-_]{3,39}"
+ },
+ "VpcIngressConnectionStatus":{
+ "type":"string",
+ "enum":[
+ "AVAILABLE",
+ "PENDING_CREATION",
+ "PENDING_UPDATE",
+ "PENDING_DELETION",
+ "FAILED_CREATION",
+ "FAILED_UPDATE",
+ "FAILED_DELETION",
+ "DELETED"
+ ]
+ },
+ "VpcIngressConnectionSummary":{
+ "type":"structure",
+ "members":{
+ "VpcIngressConnectionArn":{
+ "shape":"AppRunnerResourceArn",
+ "documentation":"The Amazon Resource Name (ARN) of the VPC Ingress Connection.
"
+ },
+ "ServiceArn":{
+ "shape":"AppRunnerResourceArn",
+ "documentation":"The Amazon Resource Name (ARN) of the service associated with the VPC Ingress Connection.
"
+ }
+ },
+ "documentation":"Provides summary information about an VPC Ingress Connection, which includes its VPC Ingress Connection ARN and its associated Service ARN.
"
+ },
+ "VpcIngressConnectionSummaryList":{
+ "type":"list",
+ "member":{"shape":"VpcIngressConnectionSummary"}
}
},
"documentation":"App Runner App Runner is an application service that provides a fast, simple, and cost-effective way to go directly from an existing container image or source code to a running service in the Amazon Web Services Cloud in seconds. You don't need to learn new technologies, decide which compute service to use, or understand how to provision and configure Amazon Web Services resources.
App Runner connects directly to your container registry or source code repository. It provides an automatic delivery pipeline with fully managed operations, high performance, scalability, and security.
For more information about App Runner, see the App Runner Developer Guide. For release information, see the App Runner Release Notes.
To install the Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools that you can use to access the API, see Tools for Amazon Web Services.
Endpoints
For a list of Region-specific endpoints that App Runner supports, see App Runner endpoints and quotas in the Amazon Web Services General Reference.
"
diff --git a/generator/ServiceModels/apprunner/apprunner-2020-05-15.paginators.json b/generator/ServiceModels/apprunner/apprunner-2020-05-15.paginators.json
index 6b9365da08ae..e360ded2057c 100644
--- a/generator/ServiceModels/apprunner/apprunner-2020-05-15.paginators.json
+++ b/generator/ServiceModels/apprunner/apprunner-2020-05-15.paginators.json
@@ -34,6 +34,11 @@
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults"
+ },
+ "ListVpcIngressConnections": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults"
}
}
}
diff --git a/sdk/code-analysis/ServiceAnalysis/AppRunner/Generated/PropertyValueRules.xml b/sdk/code-analysis/ServiceAnalysis/AppRunner/Generated/PropertyValueRules.xml
index a0e95123e871..ec257ba7fe04 100644
--- a/sdk/code-analysis/ServiceAnalysis/AppRunner/Generated/PropertyValueRules.xml
+++ b/sdk/code-analysis/ServiceAnalysis/AppRunner/Generated/PropertyValueRules.xml
@@ -81,6 +81,18 @@
40
[A-Za-z0-9][A-Za-z0-9\-_]{3,39}
+
+ Amazon.AppRunner.Model.CreateVpcIngressConnectionRequest.ServiceArn
+ 1
+ 1011
+ arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011}
+
+
+ Amazon.AppRunner.Model.CreateVpcIngressConnectionRequest.VpcIngressConnectionName
+ 4
+ 40
+ [A-Za-z0-9][A-Za-z0-9\-_]{3,39}
+
Amazon.AppRunner.Model.DeleteAutoScalingConfigurationRequest.AutoScalingConfigurationArn
1
@@ -117,6 +129,12 @@
1011
arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011}
+
+ Amazon.AppRunner.Model.DeleteVpcIngressConnectionRequest.VpcIngressConnectionArn
+ 1
+ 1011
+ arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011}
+
Amazon.AppRunner.Model.DescribeAutoScalingConfigurationRequest.AutoScalingConfigurationArn
1
@@ -176,6 +194,12 @@
1011
arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011}
+
+ Amazon.AppRunner.Model.DescribeVpcIngressConnectionRequest.VpcIngressConnectionArn
+ 1
+ 1011
+ arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011}
+
Amazon.AppRunner.Model.DisassociateCustomDomainRequest.DomainName
1
@@ -332,6 +356,23 @@
1024
.*
+
+ Amazon.AppRunner.Model.ListVpcIngressConnectionsRequest.MaxResults
+ 1
+ 100
+
+
+ Amazon.AppRunner.Model.ListVpcIngressConnectionsRequest.NextToken
+ 1
+ 1024
+ .*
+
+
+ Amazon.AppRunner.Model.ListVpcIngressConnectionsResponse.NextToken
+ 1
+ 1024
+ .*
+
Amazon.AppRunner.Model.PauseServiceRequest.ServiceArn
1
@@ -398,6 +439,12 @@
36
[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}
+
+ Amazon.AppRunner.Model.UpdateVpcIngressConnectionRequest.VpcIngressConnectionArn
+ 1
+ 1011
+ arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011}
+
Amazon.AppRunner.Model.AuthenticationConfiguration.AccessRoleArn
29
@@ -554,6 +601,18 @@
1024
([0-9]{12}.dkr.ecr.[a-z\-]+-[0-9]{1}.amazonaws.com\/((?:[a-z0-9]+(?:[._-][a-z0-9]+)*\/)*[a-z0-9]+(?:[._-][a-z0-9]+)*)(:([\w\d+\-=._:\/@])+|@([\w\d\:]+))?)|(^public\.ecr\.aws\/.+\/((?:[a-z0-9]+(?:[._-][a-z0-9]+)*\/)*[a-z0-9]+(?:[._-][a-z0-9]+)*)(:([\w\d+\-=._:\/@])+|@([\w\d\:]+))?)
+
+ Amazon.AppRunner.Model.IngressVpcConfiguration.VpcEndpointId
+ 0
+ 51200
+ .*
+
+
+ Amazon.AppRunner.Model.IngressVpcConfiguration.VpcId
+ 0
+ 51200
+ .*
+
Amazon.AppRunner.Model.InstanceConfiguration.Cpu
4
@@ -572,6 +631,18 @@
4
2048|3072|4096|(2|3|4) GB
+
+ Amazon.AppRunner.Model.ListVpcIngressConnectionsFilter.ServiceArn
+ 1
+ 1011
+ arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011}
+
+
+ Amazon.AppRunner.Model.ListVpcIngressConnectionsFilter.VpcEndpointId
+ 0
+ 51200
+ .*
+
Amazon.AppRunner.Model.ObservabilityConfiguration.ObservabilityConfigurationArn
1
@@ -692,4 +763,64 @@
40
[A-Za-z0-9][A-Za-z0-9\-_]{3,39}
+
+ Amazon.AppRunner.Model.VpcDNSTarget.DomainName
+ 1
+ 255
+ [A-Za-z0-9*.-]{1,255}
+
+
+ Amazon.AppRunner.Model.VpcDNSTarget.VpcId
+ 0
+ 51200
+ .*
+
+
+ Amazon.AppRunner.Model.VpcDNSTarget.VpcIngressConnectionArn
+ 1
+ 1011
+ arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011}
+
+
+ Amazon.AppRunner.Model.VpcIngressConnection.AccountId
+ 12
+ 12
+ [0-9]{12}
+
+
+ Amazon.AppRunner.Model.VpcIngressConnection.DomainName
+ 1
+ 255
+ [A-Za-z0-9*.-]{1,255}
+
+
+ Amazon.AppRunner.Model.VpcIngressConnection.ServiceArn
+ 1
+ 1011
+ arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011}
+
+
+ Amazon.AppRunner.Model.VpcIngressConnection.VpcIngressConnectionArn
+ 1
+ 1011
+ arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011}
+
+
+ Amazon.AppRunner.Model.VpcIngressConnection.VpcIngressConnectionName
+ 4
+ 40
+ [A-Za-z0-9][A-Za-z0-9\-_]{3,39}
+
+
+ Amazon.AppRunner.Model.VpcIngressConnectionSummary.ServiceArn
+ 1
+ 1011
+ arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011}
+
+
+ Amazon.AppRunner.Model.VpcIngressConnectionSummary.VpcIngressConnectionArn
+ 1
+ 1011
+ arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011}
+
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/AssociateCustomDomainResponse.cs b/sdk/src/Services/AppRunner/Generated/Model/AssociateCustomDomainResponse.cs
index c9fafa25bf4e..06370963b5e3 100644
--- a/sdk/src/Services/AppRunner/Generated/Model/AssociateCustomDomainResponse.cs
+++ b/sdk/src/Services/AppRunner/Generated/Model/AssociateCustomDomainResponse.cs
@@ -36,6 +36,7 @@ public partial class AssociateCustomDomainResponse : AmazonWebServiceResponse
private CustomDomain _customDomain;
private string _dnsTarget;
private string _serviceArn;
+ private List _vpcDNSTargets = new List();
///
/// Gets and sets the property CustomDomain.
@@ -96,5 +97,24 @@ internal bool IsSetServiceArn()
return this._serviceArn != null;
}
+ ///
+ /// Gets and sets the property VpcDNSTargets.
+ ///
+ /// DNS Target records for the custom domains of this Amazon VPC.
+ ///
+ ///
+ [AWSProperty(Required=true)]
+ public List VpcDNSTargets
+ {
+ get { return this._vpcDNSTargets; }
+ set { this._vpcDNSTargets = value; }
+ }
+
+ // Check to see if VpcDNSTargets property is set
+ internal bool IsSetVpcDNSTargets()
+ {
+ return this._vpcDNSTargets != null && this._vpcDNSTargets.Count > 0;
+ }
+
}
}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/CreateVpcIngressConnectionRequest.cs b/sdk/src/Services/AppRunner/Generated/Model/CreateVpcIngressConnectionRequest.cs
new file mode 100644
index 000000000000..fba095ab6cf5
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/CreateVpcIngressConnectionRequest.cs
@@ -0,0 +1,124 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+namespace Amazon.AppRunner.Model
+{
+ ///
+ /// Container for the parameters to the CreateVpcIngressConnection operation.
+ /// Create an App Runner VPC Ingress Connection resource. App Runner requires this resource
+ /// when you want to associate your App Runner service with an Amazon VPC endpoint.
+ ///
+ public partial class CreateVpcIngressConnectionRequest : AmazonAppRunnerRequest
+ {
+ private IngressVpcConfiguration _ingressVpcConfiguration;
+ private string _serviceArn;
+ private List _tags = new List();
+ private string _vpcIngressConnectionName;
+
+ ///
+ /// Gets and sets the property IngressVpcConfiguration.
+ ///
+ /// Specifications for the customer’s Amazon VPC and the related Amazon Web Services PrivateLink
+ /// VPC endpoint that are used to create the VPC Ingress Connection resource.
+ ///
+ ///
+ [AWSProperty(Required=true)]
+ public IngressVpcConfiguration IngressVpcConfiguration
+ {
+ get { return this._ingressVpcConfiguration; }
+ set { this._ingressVpcConfiguration = value; }
+ }
+
+ // Check to see if IngressVpcConfiguration property is set
+ internal bool IsSetIngressVpcConfiguration()
+ {
+ return this._ingressVpcConfiguration != null;
+ }
+
+ ///
+ /// Gets and sets the property ServiceArn.
+ ///
+ /// The Amazon Resource Name (ARN) for this App Runner service that is used to create
+ /// the VPC Ingress Connection resource.
+ ///
+ ///
+ [AWSProperty(Required=true, Min=1, Max=1011)]
+ public string ServiceArn
+ {
+ get { return this._serviceArn; }
+ set { this._serviceArn = value; }
+ }
+
+ // Check to see if ServiceArn property is set
+ internal bool IsSetServiceArn()
+ {
+ return this._serviceArn != null;
+ }
+
+ ///
+ /// Gets and sets the property Tags.
+ ///
+ /// An optional list of metadata items that you can associate with the VPC Ingress Connection
+ /// resource. A tag is a key-value pair.
+ ///
+ ///
+ public List Tags
+ {
+ get { return this._tags; }
+ set { this._tags = value; }
+ }
+
+ // Check to see if Tags property is set
+ internal bool IsSetTags()
+ {
+ return this._tags != null && this._tags.Count > 0;
+ }
+
+ ///
+ /// Gets and sets the property VpcIngressConnectionName.
+ ///
+ /// A name for the VPC Ingress Connection resource. It must be unique across all the active
+ /// VPC Ingress Connections in your Amazon Web Services account in the Amazon Web Services
+ /// Region.
+ ///
+ ///
+ [AWSProperty(Required=true, Min=4, Max=40)]
+ public string VpcIngressConnectionName
+ {
+ get { return this._vpcIngressConnectionName; }
+ set { this._vpcIngressConnectionName = value; }
+ }
+
+ // Check to see if VpcIngressConnectionName property is set
+ internal bool IsSetVpcIngressConnectionName()
+ {
+ return this._vpcIngressConnectionName != null;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/CreateVpcIngressConnectionResponse.cs b/sdk/src/Services/AppRunner/Generated/Model/CreateVpcIngressConnectionResponse.cs
new file mode 100644
index 000000000000..662a06874059
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/CreateVpcIngressConnectionResponse.cs
@@ -0,0 +1,59 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+namespace Amazon.AppRunner.Model
+{
+ ///
+ /// This is the response object from the CreateVpcIngressConnection operation.
+ ///
+ public partial class CreateVpcIngressConnectionResponse : AmazonWebServiceResponse
+ {
+ private VpcIngressConnection _vpcIngressConnection;
+
+ ///
+ /// Gets and sets the property VpcIngressConnection.
+ ///
+ /// A description of the App Runner VPC Ingress Connection resource that's created by
+ /// this request.
+ ///
+ ///
+ [AWSProperty(Required=true)]
+ public VpcIngressConnection VpcIngressConnection
+ {
+ get { return this._vpcIngressConnection; }
+ set { this._vpcIngressConnection = value; }
+ }
+
+ // Check to see if VpcIngressConnection property is set
+ internal bool IsSetVpcIngressConnection()
+ {
+ return this._vpcIngressConnection != null;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/DeleteServiceRequest.cs b/sdk/src/Services/AppRunner/Generated/Model/DeleteServiceRequest.cs
index 852372abd83d..ce33d752e2f5 100644
--- a/sdk/src/Services/AppRunner/Generated/Model/DeleteServiceRequest.cs
+++ b/sdk/src/Services/AppRunner/Generated/Model/DeleteServiceRequest.cs
@@ -38,6 +38,12 @@ namespace Amazon.AppRunner.Model
/// OperationId
and the ListOperations call to track the operation's
/// progress.
///
+ ///
+ ///
+ /// Make sure that you don't have any active VPCIngressConnections associated with the
+ /// service you want to delete.
+ ///
+ ///
///
public partial class DeleteServiceRequest : AmazonAppRunnerRequest
{
diff --git a/sdk/src/Services/AppRunner/Generated/Model/DeleteVpcIngressConnectionRequest.cs b/sdk/src/Services/AppRunner/Generated/Model/DeleteVpcIngressConnectionRequest.cs
new file mode 100644
index 000000000000..e543d9898463
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/DeleteVpcIngressConnectionRequest.cs
@@ -0,0 +1,80 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+namespace Amazon.AppRunner.Model
+{
+ ///
+ /// Container for the parameters to the DeleteVpcIngressConnection operation.
+ /// Delete an App Runner VPC Ingress Connection resource that's associated with an App
+ /// Runner service. The VPC Ingress Connection must be in one of the following states
+ /// to be deleted:
+ ///
+ /// -
+ ///
+ ///
AVAILABLE
+ ///
+ /// -
+ ///
+ ///
FAILED_CREATION
+ ///
+ /// -
+ ///
+ ///
FAILED_UPDATE
+ ///
+ /// -
+ ///
+ ///
FAILED_DELETION
+ ///
+ ///
+ ///
+ public partial class DeleteVpcIngressConnectionRequest : AmazonAppRunnerRequest
+ {
+ private string _vpcIngressConnectionArn;
+
+ ///
+ /// Gets and sets the property VpcIngressConnectionArn.
+ ///
+ /// The Amazon Resource Name (ARN) of the App Runner VPC Ingress Connection that you want
+ /// to delete.
+ ///
+ ///
+ [AWSProperty(Required=true, Min=1, Max=1011)]
+ public string VpcIngressConnectionArn
+ {
+ get { return this._vpcIngressConnectionArn; }
+ set { this._vpcIngressConnectionArn = value; }
+ }
+
+ // Check to see if VpcIngressConnectionArn property is set
+ internal bool IsSetVpcIngressConnectionArn()
+ {
+ return this._vpcIngressConnectionArn != null;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/DeleteVpcIngressConnectionResponse.cs b/sdk/src/Services/AppRunner/Generated/Model/DeleteVpcIngressConnectionResponse.cs
new file mode 100644
index 000000000000..aad2b6d1456e
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/DeleteVpcIngressConnectionResponse.cs
@@ -0,0 +1,58 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+namespace Amazon.AppRunner.Model
+{
+ ///
+ /// This is the response object from the DeleteVpcIngressConnection operation.
+ ///
+ public partial class DeleteVpcIngressConnectionResponse : AmazonWebServiceResponse
+ {
+ private VpcIngressConnection _vpcIngressConnection;
+
+ ///
+ /// Gets and sets the property VpcIngressConnection.
+ ///
+ /// A description of the App Runner VPC Ingress Connection that this request just deleted.
+ ///
+ ///
+ [AWSProperty(Required=true)]
+ public VpcIngressConnection VpcIngressConnection
+ {
+ get { return this._vpcIngressConnection; }
+ set { this._vpcIngressConnection = value; }
+ }
+
+ // Check to see if VpcIngressConnection property is set
+ internal bool IsSetVpcIngressConnection()
+ {
+ return this._vpcIngressConnection != null;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/DescribeCustomDomainsResponse.cs b/sdk/src/Services/AppRunner/Generated/Model/DescribeCustomDomainsResponse.cs
index 189ebba1bce9..f9724e050850 100644
--- a/sdk/src/Services/AppRunner/Generated/Model/DescribeCustomDomainsResponse.cs
+++ b/sdk/src/Services/AppRunner/Generated/Model/DescribeCustomDomainsResponse.cs
@@ -37,6 +37,7 @@ public partial class DescribeCustomDomainsResponse : AmazonWebServiceResponse
private string _dnsTarget;
private string _nextToken;
private string _serviceArn;
+ private List _vpcDNSTargets = new List();
///
/// Gets and sets the property CustomDomains.
@@ -119,5 +120,24 @@ internal bool IsSetServiceArn()
return this._serviceArn != null;
}
+ ///
+ /// Gets and sets the property VpcDNSTargets.
+ ///
+ /// DNS Target records for the custom domains of this Amazon VPC.
+ ///
+ ///
+ [AWSProperty(Required=true)]
+ public List VpcDNSTargets
+ {
+ get { return this._vpcDNSTargets; }
+ set { this._vpcDNSTargets = value; }
+ }
+
+ // Check to see if VpcDNSTargets property is set
+ internal bool IsSetVpcDNSTargets()
+ {
+ return this._vpcDNSTargets != null && this._vpcDNSTargets.Count > 0;
+ }
+
}
}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/DescribeVpcIngressConnectionRequest.cs b/sdk/src/Services/AppRunner/Generated/Model/DescribeVpcIngressConnectionRequest.cs
new file mode 100644
index 000000000000..fe1af9fde78a
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/DescribeVpcIngressConnectionRequest.cs
@@ -0,0 +1,60 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+namespace Amazon.AppRunner.Model
+{
+ ///
+ /// Container for the parameters to the DescribeVpcIngressConnection operation.
+ /// Return a full description of an App Runner VPC Ingress Connection resource.
+ ///
+ public partial class DescribeVpcIngressConnectionRequest : AmazonAppRunnerRequest
+ {
+ private string _vpcIngressConnectionArn;
+
+ ///
+ /// Gets and sets the property VpcIngressConnectionArn.
+ ///
+ /// The Amazon Resource Name (ARN) of the App Runner VPC Ingress Connection that you want
+ /// a description for.
+ ///
+ ///
+ [AWSProperty(Required=true, Min=1, Max=1011)]
+ public string VpcIngressConnectionArn
+ {
+ get { return this._vpcIngressConnectionArn; }
+ set { this._vpcIngressConnectionArn = value; }
+ }
+
+ // Check to see if VpcIngressConnectionArn property is set
+ internal bool IsSetVpcIngressConnectionArn()
+ {
+ return this._vpcIngressConnectionArn != null;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/DescribeVpcIngressConnectionResponse.cs b/sdk/src/Services/AppRunner/Generated/Model/DescribeVpcIngressConnectionResponse.cs
new file mode 100644
index 000000000000..7fe6bc769cc6
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/DescribeVpcIngressConnectionResponse.cs
@@ -0,0 +1,59 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+namespace Amazon.AppRunner.Model
+{
+ ///
+ /// This is the response object from the DescribeVpcIngressConnection operation.
+ ///
+ public partial class DescribeVpcIngressConnectionResponse : AmazonWebServiceResponse
+ {
+ private VpcIngressConnection _vpcIngressConnection;
+
+ ///
+ /// Gets and sets the property VpcIngressConnection.
+ ///
+ /// A description of the App Runner VPC Ingress Connection that you specified in this
+ /// request.
+ ///
+ ///
+ [AWSProperty(Required=true)]
+ public VpcIngressConnection VpcIngressConnection
+ {
+ get { return this._vpcIngressConnection; }
+ set { this._vpcIngressConnection = value; }
+ }
+
+ // Check to see if VpcIngressConnection property is set
+ internal bool IsSetVpcIngressConnection()
+ {
+ return this._vpcIngressConnection != null;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/DisassociateCustomDomainResponse.cs b/sdk/src/Services/AppRunner/Generated/Model/DisassociateCustomDomainResponse.cs
index bf01ee7eca81..84f5ec99973d 100644
--- a/sdk/src/Services/AppRunner/Generated/Model/DisassociateCustomDomainResponse.cs
+++ b/sdk/src/Services/AppRunner/Generated/Model/DisassociateCustomDomainResponse.cs
@@ -36,6 +36,7 @@ public partial class DisassociateCustomDomainResponse : AmazonWebServiceResponse
private CustomDomain _customDomain;
private string _dnsTarget;
private string _serviceArn;
+ private List _vpcDNSTargets = new List();
///
/// Gets and sets the property CustomDomain.
@@ -96,5 +97,24 @@ internal bool IsSetServiceArn()
return this._serviceArn != null;
}
+ ///
+ /// Gets and sets the property VpcDNSTargets.
+ ///
+ /// DNS Target records for the custom domains of this Amazon VPC.
+ ///
+ ///
+ [AWSProperty(Required=true)]
+ public List VpcDNSTargets
+ {
+ get { return this._vpcDNSTargets; }
+ set { this._vpcDNSTargets = value; }
+ }
+
+ // Check to see if VpcDNSTargets property is set
+ internal bool IsSetVpcDNSTargets()
+ {
+ return this._vpcDNSTargets != null && this._vpcDNSTargets.Count > 0;
+ }
+
}
}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/IngressConfiguration.cs b/sdk/src/Services/AppRunner/Generated/Model/IngressConfiguration.cs
new file mode 100644
index 000000000000..80ac7e6d6855
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/IngressConfiguration.cs
@@ -0,0 +1,59 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+namespace Amazon.AppRunner.Model
+{
+ ///
+ /// Network configuration settings for inbound network traffic.
+ ///
+ public partial class IngressConfiguration
+ {
+ private bool? _isPubliclyAccessible;
+
+ ///
+ /// Gets and sets the property IsPubliclyAccessible.
+ ///
+ /// Specifies whether your App Runner service is publicly accessible. To make the service
+ /// publicly accessible set it to True
. To make the service privately accessible,
+ /// from only within an Amazon VPC set it to False
.
+ ///
+ ///
+ public bool IsPubliclyAccessible
+ {
+ get { return this._isPubliclyAccessible.GetValueOrDefault(); }
+ set { this._isPubliclyAccessible = value; }
+ }
+
+ // Check to see if IsPubliclyAccessible property is set
+ internal bool IsSetIsPubliclyAccessible()
+ {
+ return this._isPubliclyAccessible.HasValue;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/IngressVpcConfiguration.cs b/sdk/src/Services/AppRunner/Generated/Model/IngressVpcConfiguration.cs
new file mode 100644
index 000000000000..9e2f53a5268f
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/IngressVpcConfiguration.cs
@@ -0,0 +1,80 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+namespace Amazon.AppRunner.Model
+{
+ ///
+ /// The configuration of your VPC and the associated VPC endpoint. The VPC endpoint is
+ /// an Amazon Web Services PrivateLink resource that allows access to your App Runner
+ /// services from within an Amazon VPC.
+ ///
+ public partial class IngressVpcConfiguration
+ {
+ private string _vpcEndpointId;
+ private string _vpcId;
+
+ ///
+ /// Gets and sets the property VpcEndpointId.
+ ///
+ /// The ID of the VPC endpoint that your App Runner service connects to.
+ ///
+ ///
+ [AWSProperty(Min=0, Max=51200)]
+ public string VpcEndpointId
+ {
+ get { return this._vpcEndpointId; }
+ set { this._vpcEndpointId = value; }
+ }
+
+ // Check to see if VpcEndpointId property is set
+ internal bool IsSetVpcEndpointId()
+ {
+ return this._vpcEndpointId != null;
+ }
+
+ ///
+ /// Gets and sets the property VpcId.
+ ///
+ /// The ID of the VPC that is used for the VPC endpoint.
+ ///
+ ///
+ [AWSProperty(Min=0, Max=51200)]
+ public string VpcId
+ {
+ get { return this._vpcId; }
+ set { this._vpcId = value; }
+ }
+
+ // Check to see if VpcId property is set
+ internal bool IsSetVpcId()
+ {
+ return this._vpcId != null;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/AssociateCustomDomainResponseUnmarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/AssociateCustomDomainResponseUnmarshaller.cs
index f53f9d53c149..d8e5c5edccfd 100644
--- a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/AssociateCustomDomainResponseUnmarshaller.cs
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/AssociateCustomDomainResponseUnmarshaller.cs
@@ -69,6 +69,12 @@ public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext cont
response.ServiceArn = unmarshaller.Unmarshall(context);
continue;
}
+ if (context.TestExpression("VpcDNSTargets", targetDepth))
+ {
+ var unmarshaller = new ListUnmarshaller(VpcDNSTargetUnmarshaller.Instance);
+ response.VpcDNSTargets = unmarshaller.Unmarshall(context);
+ continue;
+ }
}
return response;
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/CreateVpcIngressConnectionRequestMarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/CreateVpcIngressConnectionRequestMarshaller.cs
new file mode 100644
index 000000000000..71bf7f3534d0
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/CreateVpcIngressConnectionRequestMarshaller.cs
@@ -0,0 +1,136 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Text;
+using System.Xml.Serialization;
+
+using Amazon.AppRunner.Model;
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+using Amazon.Runtime.Internal.Transform;
+using Amazon.Runtime.Internal.Util;
+using ThirdParty.Json.LitJson;
+
+namespace Amazon.AppRunner.Model.Internal.MarshallTransformations
+{
+ ///
+ /// CreateVpcIngressConnection Request Marshaller
+ ///
+ public class CreateVpcIngressConnectionRequestMarshaller : IMarshaller , IMarshaller
+ {
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(AmazonWebServiceRequest input)
+ {
+ return this.Marshall((CreateVpcIngressConnectionRequest)input);
+ }
+
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(CreateVpcIngressConnectionRequest publicRequest)
+ {
+ IRequest request = new DefaultRequest(publicRequest, "Amazon.AppRunner");
+ string target = "AppRunner.CreateVpcIngressConnection";
+ request.Headers["X-Amz-Target"] = target;
+ request.Headers["Content-Type"] = "application/x-amz-json-1.0";
+ request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2020-05-15";
+ request.HttpMethod = "POST";
+
+ request.ResourcePath = "/";
+ using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
+ {
+ JsonWriter writer = new JsonWriter(stringWriter);
+ writer.WriteObjectStart();
+ var context = new JsonMarshallerContext(request, writer);
+ if(publicRequest.IsSetIngressVpcConfiguration())
+ {
+ context.Writer.WritePropertyName("IngressVpcConfiguration");
+ context.Writer.WriteObjectStart();
+
+ var marshaller = IngressVpcConfigurationMarshaller.Instance;
+ marshaller.Marshall(publicRequest.IngressVpcConfiguration, context);
+
+ context.Writer.WriteObjectEnd();
+ }
+
+ if(publicRequest.IsSetServiceArn())
+ {
+ context.Writer.WritePropertyName("ServiceArn");
+ context.Writer.Write(publicRequest.ServiceArn);
+ }
+
+ if(publicRequest.IsSetTags())
+ {
+ context.Writer.WritePropertyName("Tags");
+ context.Writer.WriteArrayStart();
+ foreach(var publicRequestTagsListValue in publicRequest.Tags)
+ {
+ context.Writer.WriteObjectStart();
+
+ var marshaller = TagMarshaller.Instance;
+ marshaller.Marshall(publicRequestTagsListValue, context);
+
+ context.Writer.WriteObjectEnd();
+ }
+ context.Writer.WriteArrayEnd();
+ }
+
+ if(publicRequest.IsSetVpcIngressConnectionName())
+ {
+ context.Writer.WritePropertyName("VpcIngressConnectionName");
+ context.Writer.Write(publicRequest.VpcIngressConnectionName);
+ }
+
+ writer.WriteObjectEnd();
+ string snippet = stringWriter.ToString();
+ request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
+ }
+
+
+ return request;
+ }
+ private static CreateVpcIngressConnectionRequestMarshaller _instance = new CreateVpcIngressConnectionRequestMarshaller();
+
+ internal static CreateVpcIngressConnectionRequestMarshaller GetInstance()
+ {
+ return _instance;
+ }
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static CreateVpcIngressConnectionRequestMarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/CreateVpcIngressConnectionResponseUnmarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/CreateVpcIngressConnectionResponseUnmarshaller.cs
new file mode 100644
index 000000000000..5f6c827889c4
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/CreateVpcIngressConnectionResponseUnmarshaller.cs
@@ -0,0 +1,122 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Net;
+using System.Text;
+using System.Xml.Serialization;
+
+using Amazon.AppRunner.Model;
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+using Amazon.Runtime.Internal.Transform;
+using Amazon.Runtime.Internal.Util;
+using ThirdParty.Json.LitJson;
+
+namespace Amazon.AppRunner.Model.Internal.MarshallTransformations
+{
+ ///
+ /// Response Unmarshaller for CreateVpcIngressConnection operation
+ ///
+ public class CreateVpcIngressConnectionResponseUnmarshaller : JsonResponseUnmarshaller
+ {
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
+ {
+ CreateVpcIngressConnectionResponse response = new CreateVpcIngressConnectionResponse();
+
+ context.Read();
+ int targetDepth = context.CurrentDepth;
+ while (context.ReadAtDepth(targetDepth))
+ {
+ if (context.TestExpression("VpcIngressConnection", targetDepth))
+ {
+ var unmarshaller = VpcIngressConnectionUnmarshaller.Instance;
+ response.VpcIngressConnection = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ }
+
+ return response;
+ }
+
+ ///
+ /// Unmarshaller error response to exception.
+ ///
+ ///
+ ///
+ ///
+ ///
+ public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
+ {
+ var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
+ errorResponse.InnerException = innerException;
+ errorResponse.StatusCode = statusCode;
+
+ var responseBodyBytes = context.GetResponseBodyBytes();
+
+ using (var streamCopy = new MemoryStream(responseBodyBytes))
+ using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
+ {
+ if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServiceErrorException"))
+ {
+ return InternalServiceErrorExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
+ }
+ if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidRequestException"))
+ {
+ return InvalidRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
+ }
+ if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidStateException"))
+ {
+ return InvalidStateExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
+ }
+ if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceQuotaExceededException"))
+ {
+ return ServiceQuotaExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
+ }
+ }
+ return new AmazonAppRunnerException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
+ }
+
+ private static CreateVpcIngressConnectionResponseUnmarshaller _instance = new CreateVpcIngressConnectionResponseUnmarshaller();
+
+ internal static CreateVpcIngressConnectionResponseUnmarshaller GetInstance()
+ {
+ return _instance;
+ }
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static CreateVpcIngressConnectionResponseUnmarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/DeleteVpcIngressConnectionRequestMarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/DeleteVpcIngressConnectionRequestMarshaller.cs
new file mode 100644
index 000000000000..a734da6c2554
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/DeleteVpcIngressConnectionRequestMarshaller.cs
@@ -0,0 +1,103 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Text;
+using System.Xml.Serialization;
+
+using Amazon.AppRunner.Model;
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+using Amazon.Runtime.Internal.Transform;
+using Amazon.Runtime.Internal.Util;
+using ThirdParty.Json.LitJson;
+
+namespace Amazon.AppRunner.Model.Internal.MarshallTransformations
+{
+ ///
+ /// DeleteVpcIngressConnection Request Marshaller
+ ///
+ public class DeleteVpcIngressConnectionRequestMarshaller : IMarshaller , IMarshaller
+ {
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(AmazonWebServiceRequest input)
+ {
+ return this.Marshall((DeleteVpcIngressConnectionRequest)input);
+ }
+
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(DeleteVpcIngressConnectionRequest publicRequest)
+ {
+ IRequest request = new DefaultRequest(publicRequest, "Amazon.AppRunner");
+ string target = "AppRunner.DeleteVpcIngressConnection";
+ request.Headers["X-Amz-Target"] = target;
+ request.Headers["Content-Type"] = "application/x-amz-json-1.0";
+ request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2020-05-15";
+ request.HttpMethod = "POST";
+
+ request.ResourcePath = "/";
+ using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
+ {
+ JsonWriter writer = new JsonWriter(stringWriter);
+ writer.WriteObjectStart();
+ var context = new JsonMarshallerContext(request, writer);
+ if(publicRequest.IsSetVpcIngressConnectionArn())
+ {
+ context.Writer.WritePropertyName("VpcIngressConnectionArn");
+ context.Writer.Write(publicRequest.VpcIngressConnectionArn);
+ }
+
+ writer.WriteObjectEnd();
+ string snippet = stringWriter.ToString();
+ request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
+ }
+
+
+ return request;
+ }
+ private static DeleteVpcIngressConnectionRequestMarshaller _instance = new DeleteVpcIngressConnectionRequestMarshaller();
+
+ internal static DeleteVpcIngressConnectionRequestMarshaller GetInstance()
+ {
+ return _instance;
+ }
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static DeleteVpcIngressConnectionRequestMarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/DeleteVpcIngressConnectionResponseUnmarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/DeleteVpcIngressConnectionResponseUnmarshaller.cs
new file mode 100644
index 000000000000..14e99f108438
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/DeleteVpcIngressConnectionResponseUnmarshaller.cs
@@ -0,0 +1,122 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Net;
+using System.Text;
+using System.Xml.Serialization;
+
+using Amazon.AppRunner.Model;
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+using Amazon.Runtime.Internal.Transform;
+using Amazon.Runtime.Internal.Util;
+using ThirdParty.Json.LitJson;
+
+namespace Amazon.AppRunner.Model.Internal.MarshallTransformations
+{
+ ///
+ /// Response Unmarshaller for DeleteVpcIngressConnection operation
+ ///
+ public class DeleteVpcIngressConnectionResponseUnmarshaller : JsonResponseUnmarshaller
+ {
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
+ {
+ DeleteVpcIngressConnectionResponse response = new DeleteVpcIngressConnectionResponse();
+
+ context.Read();
+ int targetDepth = context.CurrentDepth;
+ while (context.ReadAtDepth(targetDepth))
+ {
+ if (context.TestExpression("VpcIngressConnection", targetDepth))
+ {
+ var unmarshaller = VpcIngressConnectionUnmarshaller.Instance;
+ response.VpcIngressConnection = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ }
+
+ return response;
+ }
+
+ ///
+ /// Unmarshaller error response to exception.
+ ///
+ ///
+ ///
+ ///
+ ///
+ public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
+ {
+ var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
+ errorResponse.InnerException = innerException;
+ errorResponse.StatusCode = statusCode;
+
+ var responseBodyBytes = context.GetResponseBodyBytes();
+
+ using (var streamCopy = new MemoryStream(responseBodyBytes))
+ using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
+ {
+ if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServiceErrorException"))
+ {
+ return InternalServiceErrorExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
+ }
+ if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidRequestException"))
+ {
+ return InvalidRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
+ }
+ if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidStateException"))
+ {
+ return InvalidStateExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
+ }
+ if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
+ {
+ return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
+ }
+ }
+ return new AmazonAppRunnerException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
+ }
+
+ private static DeleteVpcIngressConnectionResponseUnmarshaller _instance = new DeleteVpcIngressConnectionResponseUnmarshaller();
+
+ internal static DeleteVpcIngressConnectionResponseUnmarshaller GetInstance()
+ {
+ return _instance;
+ }
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static DeleteVpcIngressConnectionResponseUnmarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/DescribeCustomDomainsResponseUnmarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/DescribeCustomDomainsResponseUnmarshaller.cs
index bf57f03eea36..821f9be3551d 100644
--- a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/DescribeCustomDomainsResponseUnmarshaller.cs
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/DescribeCustomDomainsResponseUnmarshaller.cs
@@ -75,6 +75,12 @@ public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext cont
response.ServiceArn = unmarshaller.Unmarshall(context);
continue;
}
+ if (context.TestExpression("VpcDNSTargets", targetDepth))
+ {
+ var unmarshaller = new ListUnmarshaller(VpcDNSTargetUnmarshaller.Instance);
+ response.VpcDNSTargets = unmarshaller.Unmarshall(context);
+ continue;
+ }
}
return response;
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/DescribeVpcIngressConnectionRequestMarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/DescribeVpcIngressConnectionRequestMarshaller.cs
new file mode 100644
index 000000000000..c387e80777d9
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/DescribeVpcIngressConnectionRequestMarshaller.cs
@@ -0,0 +1,103 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Text;
+using System.Xml.Serialization;
+
+using Amazon.AppRunner.Model;
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+using Amazon.Runtime.Internal.Transform;
+using Amazon.Runtime.Internal.Util;
+using ThirdParty.Json.LitJson;
+
+namespace Amazon.AppRunner.Model.Internal.MarshallTransformations
+{
+ ///
+ /// DescribeVpcIngressConnection Request Marshaller
+ ///
+ public class DescribeVpcIngressConnectionRequestMarshaller : IMarshaller , IMarshaller
+ {
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(AmazonWebServiceRequest input)
+ {
+ return this.Marshall((DescribeVpcIngressConnectionRequest)input);
+ }
+
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(DescribeVpcIngressConnectionRequest publicRequest)
+ {
+ IRequest request = new DefaultRequest(publicRequest, "Amazon.AppRunner");
+ string target = "AppRunner.DescribeVpcIngressConnection";
+ request.Headers["X-Amz-Target"] = target;
+ request.Headers["Content-Type"] = "application/x-amz-json-1.0";
+ request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2020-05-15";
+ request.HttpMethod = "POST";
+
+ request.ResourcePath = "/";
+ using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
+ {
+ JsonWriter writer = new JsonWriter(stringWriter);
+ writer.WriteObjectStart();
+ var context = new JsonMarshallerContext(request, writer);
+ if(publicRequest.IsSetVpcIngressConnectionArn())
+ {
+ context.Writer.WritePropertyName("VpcIngressConnectionArn");
+ context.Writer.Write(publicRequest.VpcIngressConnectionArn);
+ }
+
+ writer.WriteObjectEnd();
+ string snippet = stringWriter.ToString();
+ request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
+ }
+
+
+ return request;
+ }
+ private static DescribeVpcIngressConnectionRequestMarshaller _instance = new DescribeVpcIngressConnectionRequestMarshaller();
+
+ internal static DescribeVpcIngressConnectionRequestMarshaller GetInstance()
+ {
+ return _instance;
+ }
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static DescribeVpcIngressConnectionRequestMarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/DescribeVpcIngressConnectionResponseUnmarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/DescribeVpcIngressConnectionResponseUnmarshaller.cs
new file mode 100644
index 000000000000..5083aa23617e
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/DescribeVpcIngressConnectionResponseUnmarshaller.cs
@@ -0,0 +1,118 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Net;
+using System.Text;
+using System.Xml.Serialization;
+
+using Amazon.AppRunner.Model;
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+using Amazon.Runtime.Internal.Transform;
+using Amazon.Runtime.Internal.Util;
+using ThirdParty.Json.LitJson;
+
+namespace Amazon.AppRunner.Model.Internal.MarshallTransformations
+{
+ ///
+ /// Response Unmarshaller for DescribeVpcIngressConnection operation
+ ///
+ public class DescribeVpcIngressConnectionResponseUnmarshaller : JsonResponseUnmarshaller
+ {
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
+ {
+ DescribeVpcIngressConnectionResponse response = new DescribeVpcIngressConnectionResponse();
+
+ context.Read();
+ int targetDepth = context.CurrentDepth;
+ while (context.ReadAtDepth(targetDepth))
+ {
+ if (context.TestExpression("VpcIngressConnection", targetDepth))
+ {
+ var unmarshaller = VpcIngressConnectionUnmarshaller.Instance;
+ response.VpcIngressConnection = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ }
+
+ return response;
+ }
+
+ ///
+ /// Unmarshaller error response to exception.
+ ///
+ ///
+ ///
+ ///
+ ///
+ public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
+ {
+ var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
+ errorResponse.InnerException = innerException;
+ errorResponse.StatusCode = statusCode;
+
+ var responseBodyBytes = context.GetResponseBodyBytes();
+
+ using (var streamCopy = new MemoryStream(responseBodyBytes))
+ using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
+ {
+ if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServiceErrorException"))
+ {
+ return InternalServiceErrorExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
+ }
+ if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidRequestException"))
+ {
+ return InvalidRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
+ }
+ if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
+ {
+ return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
+ }
+ }
+ return new AmazonAppRunnerException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
+ }
+
+ private static DescribeVpcIngressConnectionResponseUnmarshaller _instance = new DescribeVpcIngressConnectionResponseUnmarshaller();
+
+ internal static DescribeVpcIngressConnectionResponseUnmarshaller GetInstance()
+ {
+ return _instance;
+ }
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static DescribeVpcIngressConnectionResponseUnmarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/DisassociateCustomDomainResponseUnmarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/DisassociateCustomDomainResponseUnmarshaller.cs
index 060a2e8ccfc8..0594e22572b7 100644
--- a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/DisassociateCustomDomainResponseUnmarshaller.cs
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/DisassociateCustomDomainResponseUnmarshaller.cs
@@ -69,6 +69,12 @@ public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext cont
response.ServiceArn = unmarshaller.Unmarshall(context);
continue;
}
+ if (context.TestExpression("VpcDNSTargets", targetDepth))
+ {
+ var unmarshaller = new ListUnmarshaller(VpcDNSTargetUnmarshaller.Instance);
+ response.VpcDNSTargets = unmarshaller.Unmarshall(context);
+ continue;
+ }
}
return response;
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/IngressConfigurationMarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/IngressConfigurationMarshaller.cs
new file mode 100644
index 000000000000..540b35146b0b
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/IngressConfigurationMarshaller.cs
@@ -0,0 +1,62 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Text;
+using System.Xml.Serialization;
+
+using Amazon.AppRunner.Model;
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+using Amazon.Runtime.Internal.Transform;
+using Amazon.Runtime.Internal.Util;
+using ThirdParty.Json.LitJson;
+
+namespace Amazon.AppRunner.Model.Internal.MarshallTransformations
+{
+ ///
+ /// IngressConfiguration Marshaller
+ ///
+ public class IngressConfigurationMarshaller : IRequestMarshaller
+ {
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ ///
+ public void Marshall(IngressConfiguration requestObject, JsonMarshallerContext context)
+ {
+ if(requestObject.IsSetIsPubliclyAccessible())
+ {
+ context.Writer.WritePropertyName("IsPubliclyAccessible");
+ context.Writer.Write(requestObject.IsPubliclyAccessible);
+ }
+
+ }
+
+ ///
+ /// Singleton Marshaller.
+ ///
+ public readonly static IngressConfigurationMarshaller Instance = new IngressConfigurationMarshaller();
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/IngressConfigurationUnmarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/IngressConfigurationUnmarshaller.cs
new file mode 100644
index 000000000000..e922932ade49
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/IngressConfigurationUnmarshaller.cs
@@ -0,0 +1,92 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Net;
+using System.Text;
+using System.Xml.Serialization;
+
+using Amazon.AppRunner.Model;
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+using Amazon.Runtime.Internal.Transform;
+using Amazon.Runtime.Internal.Util;
+using ThirdParty.Json.LitJson;
+
+namespace Amazon.AppRunner.Model.Internal.MarshallTransformations
+{
+ ///
+ /// Response Unmarshaller for IngressConfiguration Object
+ ///
+ public class IngressConfigurationUnmarshaller : IUnmarshaller, IUnmarshaller
+ {
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ IngressConfiguration IUnmarshaller.Unmarshall(XmlUnmarshallerContext context)
+ {
+ throw new NotImplementedException();
+ }
+
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ public IngressConfiguration Unmarshall(JsonUnmarshallerContext context)
+ {
+ context.Read();
+ if (context.CurrentTokenType == JsonToken.Null)
+ return null;
+
+ IngressConfiguration unmarshalledObject = new IngressConfiguration();
+
+ int targetDepth = context.CurrentDepth;
+ while (context.ReadAtDepth(targetDepth))
+ {
+ if (context.TestExpression("IsPubliclyAccessible", targetDepth))
+ {
+ var unmarshaller = BoolUnmarshaller.Instance;
+ unmarshalledObject.IsPubliclyAccessible = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ }
+
+ return unmarshalledObject;
+ }
+
+
+ private static IngressConfigurationUnmarshaller _instance = new IngressConfigurationUnmarshaller();
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static IngressConfigurationUnmarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/IngressVpcConfigurationMarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/IngressVpcConfigurationMarshaller.cs
new file mode 100644
index 000000000000..560fd5df2d9e
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/IngressVpcConfigurationMarshaller.cs
@@ -0,0 +1,68 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Text;
+using System.Xml.Serialization;
+
+using Amazon.AppRunner.Model;
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+using Amazon.Runtime.Internal.Transform;
+using Amazon.Runtime.Internal.Util;
+using ThirdParty.Json.LitJson;
+
+namespace Amazon.AppRunner.Model.Internal.MarshallTransformations
+{
+ ///
+ /// IngressVpcConfiguration Marshaller
+ ///
+ public class IngressVpcConfigurationMarshaller : IRequestMarshaller
+ {
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ ///
+ public void Marshall(IngressVpcConfiguration requestObject, JsonMarshallerContext context)
+ {
+ if(requestObject.IsSetVpcEndpointId())
+ {
+ context.Writer.WritePropertyName("VpcEndpointId");
+ context.Writer.Write(requestObject.VpcEndpointId);
+ }
+
+ if(requestObject.IsSetVpcId())
+ {
+ context.Writer.WritePropertyName("VpcId");
+ context.Writer.Write(requestObject.VpcId);
+ }
+
+ }
+
+ ///
+ /// Singleton Marshaller.
+ ///
+ public readonly static IngressVpcConfigurationMarshaller Instance = new IngressVpcConfigurationMarshaller();
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/IngressVpcConfigurationUnmarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/IngressVpcConfigurationUnmarshaller.cs
new file mode 100644
index 000000000000..a7c3fcc75244
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/IngressVpcConfigurationUnmarshaller.cs
@@ -0,0 +1,98 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Net;
+using System.Text;
+using System.Xml.Serialization;
+
+using Amazon.AppRunner.Model;
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+using Amazon.Runtime.Internal.Transform;
+using Amazon.Runtime.Internal.Util;
+using ThirdParty.Json.LitJson;
+
+namespace Amazon.AppRunner.Model.Internal.MarshallTransformations
+{
+ ///
+ /// Response Unmarshaller for IngressVpcConfiguration Object
+ ///
+ public class IngressVpcConfigurationUnmarshaller : IUnmarshaller, IUnmarshaller
+ {
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ IngressVpcConfiguration IUnmarshaller.Unmarshall(XmlUnmarshallerContext context)
+ {
+ throw new NotImplementedException();
+ }
+
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ public IngressVpcConfiguration Unmarshall(JsonUnmarshallerContext context)
+ {
+ context.Read();
+ if (context.CurrentTokenType == JsonToken.Null)
+ return null;
+
+ IngressVpcConfiguration unmarshalledObject = new IngressVpcConfiguration();
+
+ int targetDepth = context.CurrentDepth;
+ while (context.ReadAtDepth(targetDepth))
+ {
+ if (context.TestExpression("VpcEndpointId", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.VpcEndpointId = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("VpcId", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.VpcId = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ }
+
+ return unmarshalledObject;
+ }
+
+
+ private static IngressVpcConfigurationUnmarshaller _instance = new IngressVpcConfigurationUnmarshaller();
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static IngressVpcConfigurationUnmarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/ListVpcIngressConnectionsFilterMarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/ListVpcIngressConnectionsFilterMarshaller.cs
new file mode 100644
index 000000000000..522d68df7435
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/ListVpcIngressConnectionsFilterMarshaller.cs
@@ -0,0 +1,68 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Text;
+using System.Xml.Serialization;
+
+using Amazon.AppRunner.Model;
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+using Amazon.Runtime.Internal.Transform;
+using Amazon.Runtime.Internal.Util;
+using ThirdParty.Json.LitJson;
+
+namespace Amazon.AppRunner.Model.Internal.MarshallTransformations
+{
+ ///
+ /// ListVpcIngressConnectionsFilter Marshaller
+ ///
+ public class ListVpcIngressConnectionsFilterMarshaller : IRequestMarshaller
+ {
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ ///
+ public void Marshall(ListVpcIngressConnectionsFilter requestObject, JsonMarshallerContext context)
+ {
+ if(requestObject.IsSetServiceArn())
+ {
+ context.Writer.WritePropertyName("ServiceArn");
+ context.Writer.Write(requestObject.ServiceArn);
+ }
+
+ if(requestObject.IsSetVpcEndpointId())
+ {
+ context.Writer.WritePropertyName("VpcEndpointId");
+ context.Writer.Write(requestObject.VpcEndpointId);
+ }
+
+ }
+
+ ///
+ /// Singleton Marshaller.
+ ///
+ public readonly static ListVpcIngressConnectionsFilterMarshaller Instance = new ListVpcIngressConnectionsFilterMarshaller();
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/ListVpcIngressConnectionsRequestMarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/ListVpcIngressConnectionsRequestMarshaller.cs
new file mode 100644
index 000000000000..7dbf4f53e635
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/ListVpcIngressConnectionsRequestMarshaller.cs
@@ -0,0 +1,120 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Text;
+using System.Xml.Serialization;
+
+using Amazon.AppRunner.Model;
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+using Amazon.Runtime.Internal.Transform;
+using Amazon.Runtime.Internal.Util;
+using ThirdParty.Json.LitJson;
+
+namespace Amazon.AppRunner.Model.Internal.MarshallTransformations
+{
+ ///
+ /// ListVpcIngressConnections Request Marshaller
+ ///
+ public class ListVpcIngressConnectionsRequestMarshaller : IMarshaller , IMarshaller
+ {
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(AmazonWebServiceRequest input)
+ {
+ return this.Marshall((ListVpcIngressConnectionsRequest)input);
+ }
+
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(ListVpcIngressConnectionsRequest publicRequest)
+ {
+ IRequest request = new DefaultRequest(publicRequest, "Amazon.AppRunner");
+ string target = "AppRunner.ListVpcIngressConnections";
+ request.Headers["X-Amz-Target"] = target;
+ request.Headers["Content-Type"] = "application/x-amz-json-1.0";
+ request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2020-05-15";
+ request.HttpMethod = "POST";
+
+ request.ResourcePath = "/";
+ using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
+ {
+ JsonWriter writer = new JsonWriter(stringWriter);
+ writer.WriteObjectStart();
+ var context = new JsonMarshallerContext(request, writer);
+ if(publicRequest.IsSetFilter())
+ {
+ context.Writer.WritePropertyName("Filter");
+ context.Writer.WriteObjectStart();
+
+ var marshaller = ListVpcIngressConnectionsFilterMarshaller.Instance;
+ marshaller.Marshall(publicRequest.Filter, context);
+
+ context.Writer.WriteObjectEnd();
+ }
+
+ if(publicRequest.IsSetMaxResults())
+ {
+ context.Writer.WritePropertyName("MaxResults");
+ context.Writer.Write(publicRequest.MaxResults);
+ }
+
+ if(publicRequest.IsSetNextToken())
+ {
+ context.Writer.WritePropertyName("NextToken");
+ context.Writer.Write(publicRequest.NextToken);
+ }
+
+ writer.WriteObjectEnd();
+ string snippet = stringWriter.ToString();
+ request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
+ }
+
+
+ return request;
+ }
+ private static ListVpcIngressConnectionsRequestMarshaller _instance = new ListVpcIngressConnectionsRequestMarshaller();
+
+ internal static ListVpcIngressConnectionsRequestMarshaller GetInstance()
+ {
+ return _instance;
+ }
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static ListVpcIngressConnectionsRequestMarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/ListVpcIngressConnectionsResponseUnmarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/ListVpcIngressConnectionsResponseUnmarshaller.cs
new file mode 100644
index 000000000000..7abc65cf91e6
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/ListVpcIngressConnectionsResponseUnmarshaller.cs
@@ -0,0 +1,120 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Net;
+using System.Text;
+using System.Xml.Serialization;
+
+using Amazon.AppRunner.Model;
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+using Amazon.Runtime.Internal.Transform;
+using Amazon.Runtime.Internal.Util;
+using ThirdParty.Json.LitJson;
+
+namespace Amazon.AppRunner.Model.Internal.MarshallTransformations
+{
+ ///
+ /// Response Unmarshaller for ListVpcIngressConnections operation
+ ///
+ public class ListVpcIngressConnectionsResponseUnmarshaller : JsonResponseUnmarshaller
+ {
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
+ {
+ ListVpcIngressConnectionsResponse response = new ListVpcIngressConnectionsResponse();
+
+ context.Read();
+ int targetDepth = context.CurrentDepth;
+ while (context.ReadAtDepth(targetDepth))
+ {
+ if (context.TestExpression("NextToken", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ response.NextToken = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("VpcIngressConnectionSummaryList", targetDepth))
+ {
+ var unmarshaller = new ListUnmarshaller(VpcIngressConnectionSummaryUnmarshaller.Instance);
+ response.VpcIngressConnectionSummaryList = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ }
+
+ return response;
+ }
+
+ ///
+ /// Unmarshaller error response to exception.
+ ///
+ ///
+ ///
+ ///
+ ///
+ public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
+ {
+ var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
+ errorResponse.InnerException = innerException;
+ errorResponse.StatusCode = statusCode;
+
+ var responseBodyBytes = context.GetResponseBodyBytes();
+
+ using (var streamCopy = new MemoryStream(responseBodyBytes))
+ using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
+ {
+ if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServiceErrorException"))
+ {
+ return InternalServiceErrorExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
+ }
+ if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidRequestException"))
+ {
+ return InvalidRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
+ }
+ }
+ return new AmazonAppRunnerException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
+ }
+
+ private static ListVpcIngressConnectionsResponseUnmarshaller _instance = new ListVpcIngressConnectionsResponseUnmarshaller();
+
+ internal static ListVpcIngressConnectionsResponseUnmarshaller GetInstance()
+ {
+ return _instance;
+ }
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static ListVpcIngressConnectionsResponseUnmarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/NetworkConfigurationMarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/NetworkConfigurationMarshaller.cs
index 221377d7642a..9b66d1a8aa2a 100644
--- a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/NetworkConfigurationMarshaller.cs
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/NetworkConfigurationMarshaller.cs
@@ -56,6 +56,17 @@ public void Marshall(NetworkConfiguration requestObject, JsonMarshallerContext c
context.Writer.WriteObjectEnd();
}
+ if(requestObject.IsSetIngressConfiguration())
+ {
+ context.Writer.WritePropertyName("IngressConfiguration");
+ context.Writer.WriteObjectStart();
+
+ var marshaller = IngressConfigurationMarshaller.Instance;
+ marshaller.Marshall(requestObject.IngressConfiguration, context);
+
+ context.Writer.WriteObjectEnd();
+ }
+
}
///
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/NetworkConfigurationUnmarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/NetworkConfigurationUnmarshaller.cs
index ce51bf4fb7fb..45b249014982 100644
--- a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/NetworkConfigurationUnmarshaller.cs
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/NetworkConfigurationUnmarshaller.cs
@@ -70,6 +70,12 @@ public NetworkConfiguration Unmarshall(JsonUnmarshallerContext context)
unmarshalledObject.EgressConfiguration = unmarshaller.Unmarshall(context);
continue;
}
+ if (context.TestExpression("IngressConfiguration", targetDepth))
+ {
+ var unmarshaller = IngressConfigurationUnmarshaller.Instance;
+ unmarshalledObject.IngressConfiguration = unmarshaller.Unmarshall(context);
+ continue;
+ }
}
return unmarshalledObject;
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/UpdateVpcIngressConnectionRequestMarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/UpdateVpcIngressConnectionRequestMarshaller.cs
new file mode 100644
index 000000000000..d3c923b0d731
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/UpdateVpcIngressConnectionRequestMarshaller.cs
@@ -0,0 +1,114 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Text;
+using System.Xml.Serialization;
+
+using Amazon.AppRunner.Model;
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+using Amazon.Runtime.Internal.Transform;
+using Amazon.Runtime.Internal.Util;
+using ThirdParty.Json.LitJson;
+
+namespace Amazon.AppRunner.Model.Internal.MarshallTransformations
+{
+ ///
+ /// UpdateVpcIngressConnection Request Marshaller
+ ///
+ public class UpdateVpcIngressConnectionRequestMarshaller : IMarshaller , IMarshaller
+ {
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(AmazonWebServiceRequest input)
+ {
+ return this.Marshall((UpdateVpcIngressConnectionRequest)input);
+ }
+
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(UpdateVpcIngressConnectionRequest publicRequest)
+ {
+ IRequest request = new DefaultRequest(publicRequest, "Amazon.AppRunner");
+ string target = "AppRunner.UpdateVpcIngressConnection";
+ request.Headers["X-Amz-Target"] = target;
+ request.Headers["Content-Type"] = "application/x-amz-json-1.0";
+ request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2020-05-15";
+ request.HttpMethod = "POST";
+
+ request.ResourcePath = "/";
+ using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
+ {
+ JsonWriter writer = new JsonWriter(stringWriter);
+ writer.WriteObjectStart();
+ var context = new JsonMarshallerContext(request, writer);
+ if(publicRequest.IsSetIngressVpcConfiguration())
+ {
+ context.Writer.WritePropertyName("IngressVpcConfiguration");
+ context.Writer.WriteObjectStart();
+
+ var marshaller = IngressVpcConfigurationMarshaller.Instance;
+ marshaller.Marshall(publicRequest.IngressVpcConfiguration, context);
+
+ context.Writer.WriteObjectEnd();
+ }
+
+ if(publicRequest.IsSetVpcIngressConnectionArn())
+ {
+ context.Writer.WritePropertyName("VpcIngressConnectionArn");
+ context.Writer.Write(publicRequest.VpcIngressConnectionArn);
+ }
+
+ writer.WriteObjectEnd();
+ string snippet = stringWriter.ToString();
+ request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
+ }
+
+
+ return request;
+ }
+ private static UpdateVpcIngressConnectionRequestMarshaller _instance = new UpdateVpcIngressConnectionRequestMarshaller();
+
+ internal static UpdateVpcIngressConnectionRequestMarshaller GetInstance()
+ {
+ return _instance;
+ }
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static UpdateVpcIngressConnectionRequestMarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/UpdateVpcIngressConnectionResponseUnmarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/UpdateVpcIngressConnectionResponseUnmarshaller.cs
new file mode 100644
index 000000000000..6c05b391cdf6
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/UpdateVpcIngressConnectionResponseUnmarshaller.cs
@@ -0,0 +1,122 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Net;
+using System.Text;
+using System.Xml.Serialization;
+
+using Amazon.AppRunner.Model;
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+using Amazon.Runtime.Internal.Transform;
+using Amazon.Runtime.Internal.Util;
+using ThirdParty.Json.LitJson;
+
+namespace Amazon.AppRunner.Model.Internal.MarshallTransformations
+{
+ ///
+ /// Response Unmarshaller for UpdateVpcIngressConnection operation
+ ///
+ public class UpdateVpcIngressConnectionResponseUnmarshaller : JsonResponseUnmarshaller
+ {
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
+ {
+ UpdateVpcIngressConnectionResponse response = new UpdateVpcIngressConnectionResponse();
+
+ context.Read();
+ int targetDepth = context.CurrentDepth;
+ while (context.ReadAtDepth(targetDepth))
+ {
+ if (context.TestExpression("VpcIngressConnection", targetDepth))
+ {
+ var unmarshaller = VpcIngressConnectionUnmarshaller.Instance;
+ response.VpcIngressConnection = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ }
+
+ return response;
+ }
+
+ ///
+ /// Unmarshaller error response to exception.
+ ///
+ ///
+ ///
+ ///
+ ///
+ public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
+ {
+ var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
+ errorResponse.InnerException = innerException;
+ errorResponse.StatusCode = statusCode;
+
+ var responseBodyBytes = context.GetResponseBodyBytes();
+
+ using (var streamCopy = new MemoryStream(responseBodyBytes))
+ using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
+ {
+ if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServiceErrorException"))
+ {
+ return InternalServiceErrorExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
+ }
+ if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidRequestException"))
+ {
+ return InvalidRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
+ }
+ if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidStateException"))
+ {
+ return InvalidStateExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
+ }
+ if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
+ {
+ return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
+ }
+ }
+ return new AmazonAppRunnerException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
+ }
+
+ private static UpdateVpcIngressConnectionResponseUnmarshaller _instance = new UpdateVpcIngressConnectionResponseUnmarshaller();
+
+ internal static UpdateVpcIngressConnectionResponseUnmarshaller GetInstance()
+ {
+ return _instance;
+ }
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static UpdateVpcIngressConnectionResponseUnmarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/VpcDNSTargetUnmarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/VpcDNSTargetUnmarshaller.cs
new file mode 100644
index 000000000000..0331ada8beb7
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/VpcDNSTargetUnmarshaller.cs
@@ -0,0 +1,104 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Net;
+using System.Text;
+using System.Xml.Serialization;
+
+using Amazon.AppRunner.Model;
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+using Amazon.Runtime.Internal.Transform;
+using Amazon.Runtime.Internal.Util;
+using ThirdParty.Json.LitJson;
+
+namespace Amazon.AppRunner.Model.Internal.MarshallTransformations
+{
+ ///
+ /// Response Unmarshaller for VpcDNSTarget Object
+ ///
+ public class VpcDNSTargetUnmarshaller : IUnmarshaller, IUnmarshaller
+ {
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ VpcDNSTarget IUnmarshaller.Unmarshall(XmlUnmarshallerContext context)
+ {
+ throw new NotImplementedException();
+ }
+
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ public VpcDNSTarget Unmarshall(JsonUnmarshallerContext context)
+ {
+ context.Read();
+ if (context.CurrentTokenType == JsonToken.Null)
+ return null;
+
+ VpcDNSTarget unmarshalledObject = new VpcDNSTarget();
+
+ int targetDepth = context.CurrentDepth;
+ while (context.ReadAtDepth(targetDepth))
+ {
+ if (context.TestExpression("DomainName", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.DomainName = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("VpcId", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.VpcId = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("VpcIngressConnectionArn", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.VpcIngressConnectionArn = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ }
+
+ return unmarshalledObject;
+ }
+
+
+ private static VpcDNSTargetUnmarshaller _instance = new VpcDNSTargetUnmarshaller();
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static VpcDNSTargetUnmarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/VpcIngressConnectionSummaryUnmarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/VpcIngressConnectionSummaryUnmarshaller.cs
new file mode 100644
index 000000000000..63c3ee5e2c58
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/VpcIngressConnectionSummaryUnmarshaller.cs
@@ -0,0 +1,98 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Net;
+using System.Text;
+using System.Xml.Serialization;
+
+using Amazon.AppRunner.Model;
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+using Amazon.Runtime.Internal.Transform;
+using Amazon.Runtime.Internal.Util;
+using ThirdParty.Json.LitJson;
+
+namespace Amazon.AppRunner.Model.Internal.MarshallTransformations
+{
+ ///
+ /// Response Unmarshaller for VpcIngressConnectionSummary Object
+ ///
+ public class VpcIngressConnectionSummaryUnmarshaller : IUnmarshaller, IUnmarshaller
+ {
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ VpcIngressConnectionSummary IUnmarshaller.Unmarshall(XmlUnmarshallerContext context)
+ {
+ throw new NotImplementedException();
+ }
+
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ public VpcIngressConnectionSummary Unmarshall(JsonUnmarshallerContext context)
+ {
+ context.Read();
+ if (context.CurrentTokenType == JsonToken.Null)
+ return null;
+
+ VpcIngressConnectionSummary unmarshalledObject = new VpcIngressConnectionSummary();
+
+ int targetDepth = context.CurrentDepth;
+ while (context.ReadAtDepth(targetDepth))
+ {
+ if (context.TestExpression("ServiceArn", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.ServiceArn = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("VpcIngressConnectionArn", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.VpcIngressConnectionArn = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ }
+
+ return unmarshalledObject;
+ }
+
+
+ private static VpcIngressConnectionSummaryUnmarshaller _instance = new VpcIngressConnectionSummaryUnmarshaller();
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static VpcIngressConnectionSummaryUnmarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/VpcIngressConnectionUnmarshaller.cs b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/VpcIngressConnectionUnmarshaller.cs
new file mode 100644
index 000000000000..9ba5eddeb3f4
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/Internal/MarshallTransformations/VpcIngressConnectionUnmarshaller.cs
@@ -0,0 +1,140 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Net;
+using System.Text;
+using System.Xml.Serialization;
+
+using Amazon.AppRunner.Model;
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+using Amazon.Runtime.Internal.Transform;
+using Amazon.Runtime.Internal.Util;
+using ThirdParty.Json.LitJson;
+
+namespace Amazon.AppRunner.Model.Internal.MarshallTransformations
+{
+ ///
+ /// Response Unmarshaller for VpcIngressConnection Object
+ ///
+ public class VpcIngressConnectionUnmarshaller : IUnmarshaller, IUnmarshaller
+ {
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ VpcIngressConnection IUnmarshaller.Unmarshall(XmlUnmarshallerContext context)
+ {
+ throw new NotImplementedException();
+ }
+
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ public VpcIngressConnection Unmarshall(JsonUnmarshallerContext context)
+ {
+ context.Read();
+ if (context.CurrentTokenType == JsonToken.Null)
+ return null;
+
+ VpcIngressConnection unmarshalledObject = new VpcIngressConnection();
+
+ int targetDepth = context.CurrentDepth;
+ while (context.ReadAtDepth(targetDepth))
+ {
+ if (context.TestExpression("AccountId", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.AccountId = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("CreatedAt", targetDepth))
+ {
+ var unmarshaller = DateTimeUnmarshaller.Instance;
+ unmarshalledObject.CreatedAt = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("DeletedAt", targetDepth))
+ {
+ var unmarshaller = DateTimeUnmarshaller.Instance;
+ unmarshalledObject.DeletedAt = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("DomainName", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.DomainName = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("IngressVpcConfiguration", targetDepth))
+ {
+ var unmarshaller = IngressVpcConfigurationUnmarshaller.Instance;
+ unmarshalledObject.IngressVpcConfiguration = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("ServiceArn", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.ServiceArn = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("Status", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.Status = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("VpcIngressConnectionArn", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.VpcIngressConnectionArn = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("VpcIngressConnectionName", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.VpcIngressConnectionName = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ }
+
+ return unmarshalledObject;
+ }
+
+
+ private static VpcIngressConnectionUnmarshaller _instance = new VpcIngressConnectionUnmarshaller();
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static VpcIngressConnectionUnmarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/ListVpcIngressConnectionsFilter.cs b/sdk/src/Services/AppRunner/Generated/Model/ListVpcIngressConnectionsFilter.cs
new file mode 100644
index 000000000000..79ff7531e933
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/ListVpcIngressConnectionsFilter.cs
@@ -0,0 +1,79 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+namespace Amazon.AppRunner.Model
+{
+ ///
+ /// Returns a list of VPC Ingress Connections based on the filter provided. It can return
+ /// either ServiceArn
or VpcEndpointId
, or both.
+ ///
+ public partial class ListVpcIngressConnectionsFilter
+ {
+ private string _serviceArn;
+ private string _vpcEndpointId;
+
+ ///
+ /// Gets and sets the property ServiceArn.
+ ///
+ /// The Amazon Resource Name (ARN) of a service to filter by.
+ ///
+ ///
+ [AWSProperty(Min=1, Max=1011)]
+ public string ServiceArn
+ {
+ get { return this._serviceArn; }
+ set { this._serviceArn = value; }
+ }
+
+ // Check to see if ServiceArn property is set
+ internal bool IsSetServiceArn()
+ {
+ return this._serviceArn != null;
+ }
+
+ ///
+ /// Gets and sets the property VpcEndpointId.
+ ///
+ /// The ID of a VPC Endpoint to filter by.
+ ///
+ ///
+ [AWSProperty(Min=0, Max=51200)]
+ public string VpcEndpointId
+ {
+ get { return this._vpcEndpointId; }
+ set { this._vpcEndpointId = value; }
+ }
+
+ // Check to see if VpcEndpointId property is set
+ internal bool IsSetVpcEndpointId()
+ {
+ return this._vpcEndpointId != null;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/ListVpcIngressConnectionsRequest.cs b/sdk/src/Services/AppRunner/Generated/Model/ListVpcIngressConnectionsRequest.cs
new file mode 100644
index 000000000000..4d5985ad4f3b
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/ListVpcIngressConnectionsRequest.cs
@@ -0,0 +1,112 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+namespace Amazon.AppRunner.Model
+{
+ ///
+ /// Container for the parameters to the ListVpcIngressConnections operation.
+ /// Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.
+ ///
+ public partial class ListVpcIngressConnectionsRequest : AmazonAppRunnerRequest
+ {
+ private ListVpcIngressConnectionsFilter _filter;
+ private int? _maxResults;
+ private string _nextToken;
+
+ ///
+ /// Gets and sets the property Filter.
+ ///
+ /// The VPC Ingress Connections to be listed based on either the Service Arn or Vpc Endpoint
+ /// Id, or both.
+ ///
+ ///
+ public ListVpcIngressConnectionsFilter Filter
+ {
+ get { return this._filter; }
+ set { this._filter = value; }
+ }
+
+ // Check to see if Filter property is set
+ internal bool IsSetFilter()
+ {
+ return this._filter != null;
+ }
+
+ ///
+ /// Gets and sets the property MaxResults.
+ ///
+ /// The maximum number of results to include in each response (result page). It's used
+ /// for a paginated request.
+ ///
+ ///
+ ///
+ /// If you don't specify MaxResults
, the request retrieves all available
+ /// results in a single response.
+ ///
+ ///
+ [AWSProperty(Min=1, Max=100)]
+ public int MaxResults
+ {
+ get { return this._maxResults.GetValueOrDefault(); }
+ set { this._maxResults = value; }
+ }
+
+ // Check to see if MaxResults property is set
+ internal bool IsSetMaxResults()
+ {
+ return this._maxResults.HasValue;
+ }
+
+ ///
+ /// Gets and sets the property NextToken.
+ ///
+ /// A token from a previous result page. It's used for a paginated request. The request
+ /// retrieves the next result page. All other parameter values must be identical to the
+ /// ones that are specified in the initial request.
+ ///
+ ///
+ ///
+ /// If you don't specify NextToken
, the request retrieves the first result
+ /// page.
+ ///
+ ///
+ [AWSProperty(Min=1, Max=1024)]
+ public string NextToken
+ {
+ get { return this._nextToken; }
+ set { this._nextToken = value; }
+ }
+
+ // Check to see if NextToken property is set
+ internal bool IsSetNextToken()
+ {
+ return this._nextToken != null;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/ListVpcIngressConnectionsResponse.cs b/sdk/src/Services/AppRunner/Generated/Model/ListVpcIngressConnectionsResponse.cs
new file mode 100644
index 000000000000..1aa4fbb29aed
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/ListVpcIngressConnectionsResponse.cs
@@ -0,0 +1,80 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+namespace Amazon.AppRunner.Model
+{
+ ///
+ /// This is the response object from the ListVpcIngressConnections operation.
+ ///
+ public partial class ListVpcIngressConnectionsResponse : AmazonWebServiceResponse
+ {
+ private string _nextToken;
+ private List _vpcIngressConnectionSummaryList = new List();
+
+ ///
+ /// Gets and sets the property NextToken.
+ ///
+ /// The token that you can pass in a subsequent request to get the next result page. It's
+ /// returned in a paginated request.
+ ///
+ ///
+ [AWSProperty(Min=1, Max=1024)]
+ public string NextToken
+ {
+ get { return this._nextToken; }
+ set { this._nextToken = value; }
+ }
+
+ // Check to see if NextToken property is set
+ internal bool IsSetNextToken()
+ {
+ return this._nextToken != null;
+ }
+
+ ///
+ /// Gets and sets the property VpcIngressConnectionSummaryList.
+ ///
+ /// A list of summary information records for VPC Ingress Connections. In a paginated
+ /// request, the request returns up to MaxResults
records for each call.
+ ///
+ ///
+ [AWSProperty(Required=true)]
+ public List VpcIngressConnectionSummaryList
+ {
+ get { return this._vpcIngressConnectionSummaryList; }
+ set { this._vpcIngressConnectionSummaryList = value; }
+ }
+
+ // Check to see if VpcIngressConnectionSummaryList property is set
+ internal bool IsSetVpcIngressConnectionSummaryList()
+ {
+ return this._vpcIngressConnectionSummaryList != null && this._vpcIngressConnectionSummaryList.Count > 0;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/NetworkConfiguration.cs b/sdk/src/Services/AppRunner/Generated/Model/NetworkConfiguration.cs
index 1010ddd9d1a7..9e902b2bff66 100644
--- a/sdk/src/Services/AppRunner/Generated/Model/NetworkConfiguration.cs
+++ b/sdk/src/Services/AppRunner/Generated/Model/NetworkConfiguration.cs
@@ -35,6 +35,7 @@ namespace Amazon.AppRunner.Model
public partial class NetworkConfiguration
{
private EgressConfiguration _egressConfiguration;
+ private IngressConfiguration _ingressConfiguration;
///
/// Gets and sets the property EgressConfiguration.
@@ -54,5 +55,23 @@ internal bool IsSetEgressConfiguration()
return this._egressConfiguration != null;
}
+ ///
+ /// Gets and sets the property IngressConfiguration.
+ ///
+ /// Network configuration settings for inbound message traffic.
+ ///
+ ///
+ public IngressConfiguration IngressConfiguration
+ {
+ get { return this._ingressConfiguration; }
+ set { this._ingressConfiguration = value; }
+ }
+
+ // Check to see if IngressConfiguration property is set
+ internal bool IsSetIngressConfiguration()
+ {
+ return this._ingressConfiguration != null;
+ }
+
}
}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/Service.cs b/sdk/src/Services/AppRunner/Generated/Model/Service.cs
index c84b5a47b5f1..5405660a6c7a 100644
--- a/sdk/src/Services/AppRunner/Generated/Model/Service.cs
+++ b/sdk/src/Services/AppRunner/Generated/Model/Service.cs
@@ -279,7 +279,7 @@ internal bool IsSetServiceName()
/// access your service web application.
///
///
- [AWSProperty(Required=true, Min=0, Max=51200)]
+ [AWSProperty(Min=0, Max=51200)]
public string ServiceUrl
{
get { return this._serviceUrl; }
diff --git a/sdk/src/Services/AppRunner/Generated/Model/UpdateVpcIngressConnectionRequest.cs b/sdk/src/Services/AppRunner/Generated/Model/UpdateVpcIngressConnectionRequest.cs
new file mode 100644
index 000000000000..e018d196c8ce
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/UpdateVpcIngressConnectionRequest.cs
@@ -0,0 +1,96 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+namespace Amazon.AppRunner.Model
+{
+ ///
+ /// Container for the parameters to the UpdateVpcIngressConnection operation.
+ /// Update an existing App Runner VPC Ingress Connection resource. The VPC Ingress Connection
+ /// must be in one of the following states to be updated:
+ ///
+ /// -
+ ///
+ /// AVAILABLE
+ ///
+ ///
-
+ ///
+ /// FAILED_CREATION
+ ///
+ ///
-
+ ///
+ /// FAILED_UPDATE
+ ///
+ ///
+ ///
+ public partial class UpdateVpcIngressConnectionRequest : AmazonAppRunnerRequest
+ {
+ private IngressVpcConfiguration _ingressVpcConfiguration;
+ private string _vpcIngressConnectionArn;
+
+ ///
+ /// Gets and sets the property IngressVpcConfiguration.
+ ///
+ /// Specifications for the customer’s Amazon VPC and the related Amazon Web Services PrivateLink
+ /// VPC endpoint that are used to update the VPC Ingress Connection resource.
+ ///
+ ///
+ [AWSProperty(Required=true)]
+ public IngressVpcConfiguration IngressVpcConfiguration
+ {
+ get { return this._ingressVpcConfiguration; }
+ set { this._ingressVpcConfiguration = value; }
+ }
+
+ // Check to see if IngressVpcConfiguration property is set
+ internal bool IsSetIngressVpcConfiguration()
+ {
+ return this._ingressVpcConfiguration != null;
+ }
+
+ ///
+ /// Gets and sets the property VpcIngressConnectionArn.
+ ///
+ /// The Amazon Resource Name (Arn) for the App Runner VPC Ingress Connection resource
+ /// that you want to update.
+ ///
+ ///
+ [AWSProperty(Required=true, Min=1, Max=1011)]
+ public string VpcIngressConnectionArn
+ {
+ get { return this._vpcIngressConnectionArn; }
+ set { this._vpcIngressConnectionArn = value; }
+ }
+
+ // Check to see if VpcIngressConnectionArn property is set
+ internal bool IsSetVpcIngressConnectionArn()
+ {
+ return this._vpcIngressConnectionArn != null;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/UpdateVpcIngressConnectionResponse.cs b/sdk/src/Services/AppRunner/Generated/Model/UpdateVpcIngressConnectionResponse.cs
new file mode 100644
index 000000000000..213584219d68
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/UpdateVpcIngressConnectionResponse.cs
@@ -0,0 +1,59 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+namespace Amazon.AppRunner.Model
+{
+ ///
+ /// This is the response object from the UpdateVpcIngressConnection operation.
+ ///
+ public partial class UpdateVpcIngressConnectionResponse : AmazonWebServiceResponse
+ {
+ private VpcIngressConnection _vpcIngressConnection;
+
+ ///
+ /// Gets and sets the property VpcIngressConnection.
+ ///
+ /// A description of the App Runner VPC Ingress Connection resource that's updated by
+ /// this request.
+ ///
+ ///
+ [AWSProperty(Required=true)]
+ public VpcIngressConnection VpcIngressConnection
+ {
+ get { return this._vpcIngressConnection; }
+ set { this._vpcIngressConnection = value; }
+ }
+
+ // Check to see if VpcIngressConnection property is set
+ internal bool IsSetVpcIngressConnection()
+ {
+ return this._vpcIngressConnection != null;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/VpcDNSTarget.cs b/sdk/src/Services/AppRunner/Generated/Model/VpcDNSTarget.cs
new file mode 100644
index 000000000000..c6bcbb2cb40f
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/VpcDNSTarget.cs
@@ -0,0 +1,100 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+namespace Amazon.AppRunner.Model
+{
+ ///
+ /// DNS Target record for a custom domain of this Amazon VPC.
+ ///
+ public partial class VpcDNSTarget
+ {
+ private string _domainName;
+ private string _vpcId;
+ private string _vpcIngressConnectionArn;
+
+ ///
+ /// Gets and sets the property DomainName.
+ ///
+ /// The domain name of your target DNS that is associated with the Amazon VPC.
+ ///
+ ///
+ [AWSProperty(Min=1, Max=255)]
+ public string DomainName
+ {
+ get { return this._domainName; }
+ set { this._domainName = value; }
+ }
+
+ // Check to see if DomainName property is set
+ internal bool IsSetDomainName()
+ {
+ return this._domainName != null;
+ }
+
+ ///
+ /// Gets and sets the property VpcId.
+ ///
+ /// The ID of the Amazon VPC that is associated with the custom domain name of the target
+ /// DNS.
+ ///
+ ///
+ [AWSProperty(Min=0, Max=51200)]
+ public string VpcId
+ {
+ get { return this._vpcId; }
+ set { this._vpcId = value; }
+ }
+
+ // Check to see if VpcId property is set
+ internal bool IsSetVpcId()
+ {
+ return this._vpcId != null;
+ }
+
+ ///
+ /// Gets and sets the property VpcIngressConnectionArn.
+ ///
+ /// The Amazon Resource Name (ARN) of the VPC Ingress Connection that is associated with
+ /// your service.
+ ///
+ ///
+ [AWSProperty(Min=1, Max=1011)]
+ public string VpcIngressConnectionArn
+ {
+ get { return this._vpcIngressConnectionArn; }
+ set { this._vpcIngressConnectionArn = value; }
+ }
+
+ // Check to see if VpcIngressConnectionArn property is set
+ internal bool IsSetVpcIngressConnectionArn()
+ {
+ return this._vpcIngressConnectionArn != null;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/VpcIngressConnection.cs b/sdk/src/Services/AppRunner/Generated/Model/VpcIngressConnection.cs
new file mode 100644
index 000000000000..e0450fba07db
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/VpcIngressConnection.cs
@@ -0,0 +1,241 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+namespace Amazon.AppRunner.Model
+{
+ ///
+ /// The App Runner resource that specifies an App Runner endpoint for incoming traffic.
+ /// It establishes a connection between a VPC interface endpoint and a App Runner service,
+ /// to make your App Runner service accessible from only within an Amazon VPC.
+ ///
+ public partial class VpcIngressConnection
+ {
+ private string _accountId;
+ private DateTime? _createdAt;
+ private DateTime? _deletedAt;
+ private string _domainName;
+ private IngressVpcConfiguration _ingressVpcConfiguration;
+ private string _serviceArn;
+ private VpcIngressConnectionStatus _status;
+ private string _vpcIngressConnectionArn;
+ private string _vpcIngressConnectionName;
+
+ ///
+ /// Gets and sets the property AccountId.
+ ///
+ /// The Account Id you use to create the VPC Ingress Connection resource.
+ ///
+ ///
+ [AWSProperty(Min=12, Max=12)]
+ public string AccountId
+ {
+ get { return this._accountId; }
+ set { this._accountId = value; }
+ }
+
+ // Check to see if AccountId property is set
+ internal bool IsSetAccountId()
+ {
+ return this._accountId != null;
+ }
+
+ ///
+ /// Gets and sets the property CreatedAt.
+ ///
+ /// The time when the VPC Ingress Connection was created. It's in the Unix time stamp
+ /// format.
+ ///
+ /// -
+ ///
+ /// Type: Timestamp
+ ///
+ ///
-
+ ///
+ /// Required: Yes
+ ///
+ ///
+ ///
+ public DateTime CreatedAt
+ {
+ get { return this._createdAt.GetValueOrDefault(); }
+ set { this._createdAt = value; }
+ }
+
+ // Check to see if CreatedAt property is set
+ internal bool IsSetCreatedAt()
+ {
+ return this._createdAt.HasValue;
+ }
+
+ ///
+ /// Gets and sets the property DeletedAt.
+ ///
+ /// The time when the App Runner service was deleted. It's in the Unix time stamp format.
+ ///
+ /// -
+ ///
+ /// Type: Timestamp
+ ///
+ ///
-
+ ///
+ /// Required: No
+ ///
+ ///
+ ///
+ public DateTime DeletedAt
+ {
+ get { return this._deletedAt.GetValueOrDefault(); }
+ set { this._deletedAt = value; }
+ }
+
+ // Check to see if DeletedAt property is set
+ internal bool IsSetDeletedAt()
+ {
+ return this._deletedAt.HasValue;
+ }
+
+ ///
+ /// Gets and sets the property DomainName.
+ ///
+ /// The domain name associated with the VPC Ingress Connection resource.
+ ///
+ ///
+ [AWSProperty(Min=1, Max=255)]
+ public string DomainName
+ {
+ get { return this._domainName; }
+ set { this._domainName = value; }
+ }
+
+ // Check to see if DomainName property is set
+ internal bool IsSetDomainName()
+ {
+ return this._domainName != null;
+ }
+
+ ///
+ /// Gets and sets the property IngressVpcConfiguration.
+ ///
+ /// Specifications for the customer’s VPC and related PrivateLink VPC endpoint that are
+ /// used to associate with the VPC Ingress Connection resource.
+ ///
+ ///
+ public IngressVpcConfiguration IngressVpcConfiguration
+ {
+ get { return this._ingressVpcConfiguration; }
+ set { this._ingressVpcConfiguration = value; }
+ }
+
+ // Check to see if IngressVpcConfiguration property is set
+ internal bool IsSetIngressVpcConfiguration()
+ {
+ return this._ingressVpcConfiguration != null;
+ }
+
+ ///
+ /// Gets and sets the property ServiceArn.
+ ///
+ /// The Amazon Resource Name (ARN) of the service associated with the VPC Ingress Connection.
+ ///
+ ///
+ ///
+ [AWSProperty(Min=1, Max=1011)]
+ public string ServiceArn
+ {
+ get { return this._serviceArn; }
+ set { this._serviceArn = value; }
+ }
+
+ // Check to see if ServiceArn property is set
+ internal bool IsSetServiceArn()
+ {
+ return this._serviceArn != null;
+ }
+
+ ///
+ /// Gets and sets the property Status.
+ ///
+ /// The current status of the VPC Ingress Connection. The VPC Ingress Connection displays
+ /// one of the following statuses: AVAILABLE
, PENDING_CREATION
,
+ /// PENDING_UPDATE
, PENDING_DELETION
,FAILED_CREATION
,
+ /// FAILED_UPDATE
, FAILED_DELETION
, and DELETED
..
+ ///
+ ///
+ ///
+ public VpcIngressConnectionStatus Status
+ {
+ get { return this._status; }
+ set { this._status = value; }
+ }
+
+ // Check to see if Status property is set
+ internal bool IsSetStatus()
+ {
+ return this._status != null;
+ }
+
+ ///
+ /// Gets and sets the property VpcIngressConnectionArn.
+ ///
+ /// The Amazon Resource Name (ARN) of the VPC Ingress Connection.
+ ///
+ ///
+ [AWSProperty(Min=1, Max=1011)]
+ public string VpcIngressConnectionArn
+ {
+ get { return this._vpcIngressConnectionArn; }
+ set { this._vpcIngressConnectionArn = value; }
+ }
+
+ // Check to see if VpcIngressConnectionArn property is set
+ internal bool IsSetVpcIngressConnectionArn()
+ {
+ return this._vpcIngressConnectionArn != null;
+ }
+
+ ///
+ /// Gets and sets the property VpcIngressConnectionName.
+ ///
+ /// The customer-provided VPC Ingress Connection name.
+ ///
+ ///
+ [AWSProperty(Min=4, Max=40)]
+ public string VpcIngressConnectionName
+ {
+ get { return this._vpcIngressConnectionName; }
+ set { this._vpcIngressConnectionName = value; }
+ }
+
+ // Check to see if VpcIngressConnectionName property is set
+ internal bool IsSetVpcIngressConnectionName()
+ {
+ return this._vpcIngressConnectionName != null;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/VpcIngressConnectionSummary.cs b/sdk/src/Services/AppRunner/Generated/Model/VpcIngressConnectionSummary.cs
new file mode 100644
index 000000000000..433fd21510fd
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/VpcIngressConnectionSummary.cs
@@ -0,0 +1,80 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+namespace Amazon.AppRunner.Model
+{
+ ///
+ /// Provides summary information about an VPC Ingress Connection, which includes its VPC
+ /// Ingress Connection ARN and its associated Service ARN.
+ ///
+ public partial class VpcIngressConnectionSummary
+ {
+ private string _serviceArn;
+ private string _vpcIngressConnectionArn;
+
+ ///
+ /// Gets and sets the property ServiceArn.
+ ///
+ /// The Amazon Resource Name (ARN) of the service associated with the VPC Ingress Connection.
+ ///
+ ///
+ ///
+ [AWSProperty(Min=1, Max=1011)]
+ public string ServiceArn
+ {
+ get { return this._serviceArn; }
+ set { this._serviceArn = value; }
+ }
+
+ // Check to see if ServiceArn property is set
+ internal bool IsSetServiceArn()
+ {
+ return this._serviceArn != null;
+ }
+
+ ///
+ /// Gets and sets the property VpcIngressConnectionArn.
+ ///
+ /// The Amazon Resource Name (ARN) of the VPC Ingress Connection.
+ ///
+ ///
+ [AWSProperty(Min=1, Max=1011)]
+ public string VpcIngressConnectionArn
+ {
+ get { return this._vpcIngressConnectionArn; }
+ set { this._vpcIngressConnectionArn = value; }
+ }
+
+ // Check to see if VpcIngressConnectionArn property is set
+ internal bool IsSetVpcIngressConnectionArn()
+ {
+ return this._vpcIngressConnectionArn != null;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/_bcl45+netstandard/AppRunnerPaginatorFactory.cs b/sdk/src/Services/AppRunner/Generated/Model/_bcl45+netstandard/AppRunnerPaginatorFactory.cs
index 3c26c04a4e09..05c2aacb65ea 100644
--- a/sdk/src/Services/AppRunner/Generated/Model/_bcl45+netstandard/AppRunnerPaginatorFactory.cs
+++ b/sdk/src/Services/AppRunner/Generated/Model/_bcl45+netstandard/AppRunnerPaginatorFactory.cs
@@ -90,5 +90,13 @@ public IListVpcConnectorsPaginator ListVpcConnectors(ListVpcConnectorsRequest re
{
return new ListVpcConnectorsPaginator(this.client, request);
}
+
+ ///
+ /// Paginator for ListVpcIngressConnections operation
+ ///
+ public IListVpcIngressConnectionsPaginator ListVpcIngressConnections(ListVpcIngressConnectionsRequest request)
+ {
+ return new ListVpcIngressConnectionsPaginator(this.client, request);
+ }
}
}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/_bcl45+netstandard/IAppRunnerPaginatorFactory.cs b/sdk/src/Services/AppRunner/Generated/Model/_bcl45+netstandard/IAppRunnerPaginatorFactory.cs
index 37cb2111bd62..f199cf5f4ab0 100644
--- a/sdk/src/Services/AppRunner/Generated/Model/_bcl45+netstandard/IAppRunnerPaginatorFactory.cs
+++ b/sdk/src/Services/AppRunner/Generated/Model/_bcl45+netstandard/IAppRunnerPaginatorFactory.cs
@@ -59,5 +59,10 @@ public interface IAppRunnerPaginatorFactory
/// Paginator for ListVpcConnectors operation
///
IListVpcConnectorsPaginator ListVpcConnectors(ListVpcConnectorsRequest request);
+
+ ///
+ /// Paginator for ListVpcIngressConnections operation
+ ///
+ IListVpcIngressConnectionsPaginator ListVpcIngressConnections(ListVpcIngressConnectionsRequest request);
}
}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/_bcl45+netstandard/IListVpcIngressConnectionsPaginator.cs b/sdk/src/Services/AppRunner/Generated/Model/_bcl45+netstandard/IListVpcIngressConnectionsPaginator.cs
new file mode 100644
index 000000000000..41abeeb56e67
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/_bcl45+netstandard/IListVpcIngressConnectionsPaginator.cs
@@ -0,0 +1,33 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+using Amazon.Runtime;
+
+namespace Amazon.AppRunner.Model
+{
+ ///
+ /// Paginator for the ListVpcIngressConnections operation
+ ///
+ public interface IListVpcIngressConnectionsPaginator
+ {
+ ///
+ /// Enumerable containing all full responses for the operation
+ ///
+ IPaginatedEnumerable Responses { get; }
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/Model/_bcl45+netstandard/ListVpcIngressConnectionsPaginator.cs b/sdk/src/Services/AppRunner/Generated/Model/_bcl45+netstandard/ListVpcIngressConnectionsPaginator.cs
new file mode 100644
index 000000000000..21e31d925d7d
--- /dev/null
+++ b/sdk/src/Services/AppRunner/Generated/Model/_bcl45+netstandard/ListVpcIngressConnectionsPaginator.cs
@@ -0,0 +1,91 @@
+/*
+ * Copyright 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.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
+ */
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Collections;
+using System.Threading;
+using System.Threading.Tasks;
+using Amazon.Runtime;
+
+namespace Amazon.AppRunner.Model
+{
+ ///
+ /// Base class for ListVpcIngressConnections paginators.
+ ///
+ internal sealed partial class ListVpcIngressConnectionsPaginator : IPaginator, IListVpcIngressConnectionsPaginator
+ {
+ private readonly IAmazonAppRunner _client;
+ private readonly ListVpcIngressConnectionsRequest _request;
+ private int _isPaginatorInUse = 0;
+
+ ///
+ /// Enumerable containing all full responses for the operation
+ ///
+ public IPaginatedEnumerable Responses => new PaginatedResponse(this);
+
+ internal ListVpcIngressConnectionsPaginator(IAmazonAppRunner client, ListVpcIngressConnectionsRequest request)
+ {
+ this._client = client;
+ this._request = request;
+ }
+#if BCL
+ IEnumerable IPaginator.Paginate()
+ {
+ if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
+ {
+ throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
+ }
+ PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
+ var nextToken = _request.NextToken;
+ ListVpcIngressConnectionsResponse response;
+ do
+ {
+ _request.NextToken = nextToken;
+ response = _client.ListVpcIngressConnections(_request);
+ nextToken = response.NextToken;
+ yield return response;
+ }
+ while (!string.IsNullOrEmpty(nextToken));
+ }
+#endif
+#if AWS_ASYNC_ENUMERABLES_API
+ async IAsyncEnumerable IPaginator.PaginateAsync(CancellationToken cancellationToken = default)
+ {
+ if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
+ {
+ throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
+ }
+ PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
+ var nextToken = _request.NextToken;
+ ListVpcIngressConnectionsResponse response;
+ do
+ {
+ _request.NextToken = nextToken;
+ response = await _client.ListVpcIngressConnectionsAsync(_request, cancellationToken).ConfigureAwait(false);
+ nextToken = response.NextToken;
+ cancellationToken.ThrowIfCancellationRequested();
+ yield return response;
+ }
+ while (!string.IsNullOrEmpty(nextToken));
+ }
+#endif
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/ServiceEnumerations.cs b/sdk/src/Services/AppRunner/Generated/ServiceEnumerations.cs
index 5cd0b0b423b0..a81837e504fd 100644
--- a/sdk/src/Services/AppRunner/Generated/ServiceEnumerations.cs
+++ b/sdk/src/Services/AppRunner/Generated/ServiceEnumerations.cs
@@ -973,4 +973,78 @@ public static implicit operator VpcConnectorStatus(string value)
}
}
+
+ ///
+ /// Constants used for properties of type VpcIngressConnectionStatus.
+ ///
+ public class VpcIngressConnectionStatus : ConstantClass
+ {
+
+ ///
+ /// Constant AVAILABLE for VpcIngressConnectionStatus
+ ///
+ public static readonly VpcIngressConnectionStatus AVAILABLE = new VpcIngressConnectionStatus("AVAILABLE");
+ ///
+ /// Constant DELETED for VpcIngressConnectionStatus
+ ///
+ public static readonly VpcIngressConnectionStatus DELETED = new VpcIngressConnectionStatus("DELETED");
+ ///
+ /// Constant FAILED_CREATION for VpcIngressConnectionStatus
+ ///
+ public static readonly VpcIngressConnectionStatus FAILED_CREATION = new VpcIngressConnectionStatus("FAILED_CREATION");
+ ///
+ /// Constant FAILED_DELETION for VpcIngressConnectionStatus
+ ///
+ public static readonly VpcIngressConnectionStatus FAILED_DELETION = new VpcIngressConnectionStatus("FAILED_DELETION");
+ ///
+ /// Constant FAILED_UPDATE for VpcIngressConnectionStatus
+ ///
+ public static readonly VpcIngressConnectionStatus FAILED_UPDATE = new VpcIngressConnectionStatus("FAILED_UPDATE");
+ ///
+ /// Constant PENDING_CREATION for VpcIngressConnectionStatus
+ ///
+ public static readonly VpcIngressConnectionStatus PENDING_CREATION = new VpcIngressConnectionStatus("PENDING_CREATION");
+ ///
+ /// Constant PENDING_DELETION for VpcIngressConnectionStatus
+ ///
+ public static readonly VpcIngressConnectionStatus PENDING_DELETION = new VpcIngressConnectionStatus("PENDING_DELETION");
+ ///
+ /// Constant PENDING_UPDATE for VpcIngressConnectionStatus
+ ///
+ public static readonly VpcIngressConnectionStatus PENDING_UPDATE = new VpcIngressConnectionStatus("PENDING_UPDATE");
+
+ ///
+ /// This constant constructor does not need to be called if the constant
+ /// you are attempting to use is already defined as a static instance of
+ /// this class.
+ /// This constructor should be used to construct constants that are not
+ /// defined as statics, for instance if attempting to use a feature that is
+ /// newer than the current version of the SDK.
+ ///
+ public VpcIngressConnectionStatus(string value)
+ : base(value)
+ {
+ }
+
+ ///
+ /// Finds the constant for the unique value.
+ ///
+ /// The unique value for the constant
+ /// The constant for the unique value
+ public static VpcIngressConnectionStatus FindValue(string value)
+ {
+ return FindValue(value);
+ }
+
+ ///
+ /// Utility method to convert strings to the constant class.
+ ///
+ /// The string value to convert to the constant class.
+ ///
+ public static implicit operator VpcIngressConnectionStatus(string value)
+ {
+ return FindValue(value);
+ }
+ }
+
}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/_bcl35/AmazonAppRunnerClient.cs b/sdk/src/Services/AppRunner/Generated/_bcl35/AmazonAppRunnerClient.cs
index f4b0c6937c02..215f62409b2f 100644
--- a/sdk/src/Services/AppRunner/Generated/_bcl35/AmazonAppRunnerClient.cs
+++ b/sdk/src/Services/AppRunner/Generated/_bcl35/AmazonAppRunnerClient.cs
@@ -792,6 +792,81 @@ public virtual CreateVpcConnectorResponse EndCreateVpcConnector(IAsyncResult asy
#endregion
+ #region CreateVpcIngressConnection
+
+ ///
+ /// Create an App Runner VPC Ingress Connection resource. App Runner requires this resource
+ /// when you want to associate your App Runner service with an Amazon VPC endpoint.
+ ///
+ /// Container for the necessary parameters to execute the CreateVpcIngressConnection service method.
+ ///
+ /// The response from the CreateVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// App Runner can't create this resource. You've reached your account quota for this
+ /// resource type.
+ ///
+ ///
+ ///
+ /// For App Runner per-resource quotas, see App
+ /// Runner endpoints and quotas in the Amazon Web Services General Reference.
+ ///
+ ///
+ /// REST API Reference for CreateVpcIngressConnection Operation
+ public virtual CreateVpcIngressConnectionResponse CreateVpcIngressConnection(CreateVpcIngressConnectionRequest request)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = CreateVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = CreateVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return Invoke(request, options);
+ }
+
+ ///
+ /// Initiates the asynchronous execution of the CreateVpcIngressConnection operation.
+ ///
+ ///
+ /// Container for the necessary parameters to execute the CreateVpcIngressConnection operation on AmazonAppRunnerClient.
+ /// An AsyncCallback delegate that is invoked when the operation completes.
+ /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
+ /// procedure using the AsyncState property.
+ ///
+ /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateVpcIngressConnection
+ /// operation.
+ /// REST API Reference for CreateVpcIngressConnection Operation
+ public virtual IAsyncResult BeginCreateVpcIngressConnection(CreateVpcIngressConnectionRequest request, AsyncCallback callback, object state)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = CreateVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = CreateVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return BeginInvoke(request, options, callback, state);
+ }
+
+ ///
+ /// Finishes the asynchronous execution of the CreateVpcIngressConnection operation.
+ ///
+ ///
+ /// The IAsyncResult returned by the call to BeginCreateVpcIngressConnection.
+ ///
+ /// Returns a CreateVpcIngressConnectionResult from AppRunner.
+ /// REST API Reference for CreateVpcIngressConnection Operation
+ public virtual CreateVpcIngressConnectionResponse EndCreateVpcIngressConnection(IAsyncResult asyncResult)
+ {
+ return EndInvoke(asyncResult);
+ }
+
+ #endregion
+
#region DeleteAutoScalingConfiguration
///
@@ -1004,6 +1079,12 @@ public virtual DeleteObservabilityConfigurationResponse EndDeleteObservabilityCo
/// OperationId
and the ListOperations call to track the operation's
/// progress.
///
+ ///
+ ///
+ /// Make sure that you don't have any active VPCIngressConnections associated with the
+ /// service you want to delete.
+ ///
+ ///
///
/// Container for the necessary parameters to execute the DeleteService service method.
///
@@ -1134,6 +1215,94 @@ public virtual DeleteVpcConnectorResponse EndDeleteVpcConnector(IAsyncResult asy
#endregion
+ #region DeleteVpcIngressConnection
+
+ ///
+ /// Delete an App Runner VPC Ingress Connection resource that's associated with an App
+ /// Runner service. The VPC Ingress Connection must be in one of the following states
+ /// to be deleted:
+ ///
+ /// -
+ ///
+ ///
AVAILABLE
+ ///
+ /// -
+ ///
+ ///
FAILED_CREATION
+ ///
+ /// -
+ ///
+ ///
FAILED_UPDATE
+ ///
+ /// -
+ ///
+ ///
FAILED_DELETION
+ ///
+ ///
+ ///
+ /// Container for the necessary parameters to execute the DeleteVpcIngressConnection service method.
+ ///
+ /// The response from the DeleteVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for DeleteVpcIngressConnection Operation
+ public virtual DeleteVpcIngressConnectionResponse DeleteVpcIngressConnection(DeleteVpcIngressConnectionRequest request)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = DeleteVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = DeleteVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return Invoke(request, options);
+ }
+
+ ///
+ /// Initiates the asynchronous execution of the DeleteVpcIngressConnection operation.
+ ///
+ ///
+ /// Container for the necessary parameters to execute the DeleteVpcIngressConnection operation on AmazonAppRunnerClient.
+ /// An AsyncCallback delegate that is invoked when the operation completes.
+ /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
+ /// procedure using the AsyncState property.
+ ///
+ /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteVpcIngressConnection
+ /// operation.
+ /// REST API Reference for DeleteVpcIngressConnection Operation
+ public virtual IAsyncResult BeginDeleteVpcIngressConnection(DeleteVpcIngressConnectionRequest request, AsyncCallback callback, object state)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = DeleteVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = DeleteVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return BeginInvoke(request, options, callback, state);
+ }
+
+ ///
+ /// Finishes the asynchronous execution of the DeleteVpcIngressConnection operation.
+ ///
+ ///
+ /// The IAsyncResult returned by the call to BeginDeleteVpcIngressConnection.
+ ///
+ /// Returns a DeleteVpcIngressConnectionResult from AppRunner.
+ /// REST API Reference for DeleteVpcIngressConnection Operation
+ public virtual DeleteVpcIngressConnectionResponse EndDeleteVpcIngressConnection(IAsyncResult asyncResult)
+ {
+ return EndInvoke(asyncResult);
+ }
+
+ #endregion
+
#region DescribeAutoScalingConfiguration
///
@@ -1460,6 +1629,71 @@ public virtual DescribeVpcConnectorResponse EndDescribeVpcConnector(IAsyncResult
#endregion
+ #region DescribeVpcIngressConnection
+
+ ///
+ /// Return a full description of an App Runner VPC Ingress Connection resource.
+ ///
+ /// Container for the necessary parameters to execute the DescribeVpcIngressConnection service method.
+ ///
+ /// The response from the DescribeVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for DescribeVpcIngressConnection Operation
+ public virtual DescribeVpcIngressConnectionResponse DescribeVpcIngressConnection(DescribeVpcIngressConnectionRequest request)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = DescribeVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = DescribeVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return Invoke(request, options);
+ }
+
+ ///
+ /// Initiates the asynchronous execution of the DescribeVpcIngressConnection operation.
+ ///
+ ///
+ /// Container for the necessary parameters to execute the DescribeVpcIngressConnection operation on AmazonAppRunnerClient.
+ /// An AsyncCallback delegate that is invoked when the operation completes.
+ /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
+ /// procedure using the AsyncState property.
+ ///
+ /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeVpcIngressConnection
+ /// operation.
+ /// REST API Reference for DescribeVpcIngressConnection Operation
+ public virtual IAsyncResult BeginDescribeVpcIngressConnection(DescribeVpcIngressConnectionRequest request, AsyncCallback callback, object state)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = DescribeVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = DescribeVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return BeginInvoke(request, options, callback, state);
+ }
+
+ ///
+ /// Finishes the asynchronous execution of the DescribeVpcIngressConnection operation.
+ ///
+ ///
+ /// The IAsyncResult returned by the call to BeginDescribeVpcIngressConnection.
+ ///
+ /// Returns a DescribeVpcIngressConnectionResult from AppRunner.
+ /// REST API Reference for DescribeVpcIngressConnection Operation
+ public virtual DescribeVpcIngressConnectionResponse EndDescribeVpcIngressConnection(IAsyncResult asyncResult)
+ {
+ return EndInvoke(asyncResult);
+ }
+
+ #endregion
+
#region DisassociateCustomDomain
///
@@ -2001,6 +2235,67 @@ public virtual ListVpcConnectorsResponse EndListVpcConnectors(IAsyncResult async
#endregion
+ #region ListVpcIngressConnections
+
+ ///
+ /// Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.
+ ///
+ /// Container for the necessary parameters to execute the ListVpcIngressConnections service method.
+ ///
+ /// The response from the ListVpcIngressConnections service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ /// REST API Reference for ListVpcIngressConnections Operation
+ public virtual ListVpcIngressConnectionsResponse ListVpcIngressConnections(ListVpcIngressConnectionsRequest request)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = ListVpcIngressConnectionsRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = ListVpcIngressConnectionsResponseUnmarshaller.Instance;
+
+ return Invoke(request, options);
+ }
+
+ ///
+ /// Initiates the asynchronous execution of the ListVpcIngressConnections operation.
+ ///
+ ///
+ /// Container for the necessary parameters to execute the ListVpcIngressConnections operation on AmazonAppRunnerClient.
+ /// An AsyncCallback delegate that is invoked when the operation completes.
+ /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
+ /// procedure using the AsyncState property.
+ ///
+ /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVpcIngressConnections
+ /// operation.
+ /// REST API Reference for ListVpcIngressConnections Operation
+ public virtual IAsyncResult BeginListVpcIngressConnections(ListVpcIngressConnectionsRequest request, AsyncCallback callback, object state)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = ListVpcIngressConnectionsRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = ListVpcIngressConnectionsResponseUnmarshaller.Instance;
+
+ return BeginInvoke(request, options, callback, state);
+ }
+
+ ///
+ /// Finishes the asynchronous execution of the ListVpcIngressConnections operation.
+ ///
+ ///
+ /// The IAsyncResult returned by the call to BeginListVpcIngressConnections.
+ ///
+ /// Returns a ListVpcIngressConnectionsResult from AppRunner.
+ /// REST API Reference for ListVpcIngressConnections Operation
+ public virtual ListVpcIngressConnectionsResponse EndListVpcIngressConnections(IAsyncResult asyncResult)
+ {
+ return EndInvoke(asyncResult);
+ }
+
+ #endregion
+
#region PauseService
///
@@ -2454,5 +2749,88 @@ public virtual UpdateServiceResponse EndUpdateService(IAsyncResult asyncResult)
#endregion
+ #region UpdateVpcIngressConnection
+
+ ///
+ /// Update an existing App Runner VPC Ingress Connection resource. The VPC Ingress Connection
+ /// must be in one of the following states to be updated:
+ ///
+ /// -
+ ///
+ /// AVAILABLE
+ ///
+ ///
-
+ ///
+ /// FAILED_CREATION
+ ///
+ ///
-
+ ///
+ /// FAILED_UPDATE
+ ///
+ ///
+ ///
+ /// Container for the necessary parameters to execute the UpdateVpcIngressConnection service method.
+ ///
+ /// The response from the UpdateVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for UpdateVpcIngressConnection Operation
+ public virtual UpdateVpcIngressConnectionResponse UpdateVpcIngressConnection(UpdateVpcIngressConnectionRequest request)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = UpdateVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = UpdateVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return Invoke(request, options);
+ }
+
+ ///
+ /// Initiates the asynchronous execution of the UpdateVpcIngressConnection operation.
+ ///
+ ///
+ /// Container for the necessary parameters to execute the UpdateVpcIngressConnection operation on AmazonAppRunnerClient.
+ /// An AsyncCallback delegate that is invoked when the operation completes.
+ /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
+ /// procedure using the AsyncState property.
+ ///
+ /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateVpcIngressConnection
+ /// operation.
+ /// REST API Reference for UpdateVpcIngressConnection Operation
+ public virtual IAsyncResult BeginUpdateVpcIngressConnection(UpdateVpcIngressConnectionRequest request, AsyncCallback callback, object state)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = UpdateVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = UpdateVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return BeginInvoke(request, options, callback, state);
+ }
+
+ ///
+ /// Finishes the asynchronous execution of the UpdateVpcIngressConnection operation.
+ ///
+ ///
+ /// The IAsyncResult returned by the call to BeginUpdateVpcIngressConnection.
+ ///
+ /// Returns a UpdateVpcIngressConnectionResult from AppRunner.
+ /// REST API Reference for UpdateVpcIngressConnection Operation
+ public virtual UpdateVpcIngressConnectionResponse EndUpdateVpcIngressConnection(IAsyncResult asyncResult)
+ {
+ return EndInvoke(asyncResult);
+ }
+
+ #endregion
+
}
}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/_bcl35/IAmazonAppRunner.cs b/sdk/src/Services/AppRunner/Generated/_bcl35/IAmazonAppRunner.cs
index 448e5f590c57..5d16136da405 100644
--- a/sdk/src/Services/AppRunner/Generated/_bcl35/IAmazonAppRunner.cs
+++ b/sdk/src/Services/AppRunner/Generated/_bcl35/IAmazonAppRunner.cs
@@ -488,6 +488,67 @@ public partial interface IAmazonAppRunner : IAmazonService, IDisposable
#endregion
+ #region CreateVpcIngressConnection
+
+
+ ///
+ /// Create an App Runner VPC Ingress Connection resource. App Runner requires this resource
+ /// when you want to associate your App Runner service with an Amazon VPC endpoint.
+ ///
+ /// Container for the necessary parameters to execute the CreateVpcIngressConnection service method.
+ ///
+ /// The response from the CreateVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// App Runner can't create this resource. You've reached your account quota for this
+ /// resource type.
+ ///
+ ///
+ ///
+ /// For App Runner per-resource quotas, see App
+ /// Runner endpoints and quotas in the Amazon Web Services General Reference.
+ ///
+ ///
+ /// REST API Reference for CreateVpcIngressConnection Operation
+ CreateVpcIngressConnectionResponse CreateVpcIngressConnection(CreateVpcIngressConnectionRequest request);
+
+ ///
+ /// Initiates the asynchronous execution of the CreateVpcIngressConnection operation.
+ ///
+ ///
+ /// Container for the necessary parameters to execute the CreateVpcIngressConnection operation on AmazonAppRunnerClient.
+ /// An AsyncCallback delegate that is invoked when the operation completes.
+ /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
+ /// procedure using the AsyncState property.
+ ///
+ /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateVpcIngressConnection
+ /// operation.
+ /// REST API Reference for CreateVpcIngressConnection Operation
+ IAsyncResult BeginCreateVpcIngressConnection(CreateVpcIngressConnectionRequest request, AsyncCallback callback, object state);
+
+
+
+ ///
+ /// Finishes the asynchronous execution of the CreateVpcIngressConnection operation.
+ ///
+ ///
+ /// The IAsyncResult returned by the call to BeginCreateVpcIngressConnection.
+ ///
+ /// Returns a CreateVpcIngressConnectionResult from AppRunner.
+ /// REST API Reference for CreateVpcIngressConnection Operation
+ CreateVpcIngressConnectionResponse EndCreateVpcIngressConnection(IAsyncResult asyncResult);
+
+ #endregion
+
#region DeleteAutoScalingConfiguration
@@ -659,6 +720,12 @@ public partial interface IAmazonAppRunner : IAmazonService, IDisposable
/// OperationId
and the ListOperations call to track the operation's
/// progress.
///
+ ///
+ ///
+ /// Make sure that you don't have any active VPCIngressConnections associated with the
+ /// service you want to delete.
+ ///
+ ///
///
/// Container for the necessary parameters to execute the DeleteService service method.
///
@@ -760,6 +827,80 @@ public partial interface IAmazonAppRunner : IAmazonService, IDisposable
#endregion
+ #region DeleteVpcIngressConnection
+
+
+ ///
+ /// Delete an App Runner VPC Ingress Connection resource that's associated with an App
+ /// Runner service. The VPC Ingress Connection must be in one of the following states
+ /// to be deleted:
+ ///
+ /// -
+ ///
+ ///
AVAILABLE
+ ///
+ /// -
+ ///
+ ///
FAILED_CREATION
+ ///
+ /// -
+ ///
+ ///
FAILED_UPDATE
+ ///
+ /// -
+ ///
+ ///
FAILED_DELETION
+ ///
+ ///
+ ///
+ /// Container for the necessary parameters to execute the DeleteVpcIngressConnection service method.
+ ///
+ /// The response from the DeleteVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for DeleteVpcIngressConnection Operation
+ DeleteVpcIngressConnectionResponse DeleteVpcIngressConnection(DeleteVpcIngressConnectionRequest request);
+
+ ///
+ /// Initiates the asynchronous execution of the DeleteVpcIngressConnection operation.
+ ///
+ ///
+ /// Container for the necessary parameters to execute the DeleteVpcIngressConnection operation on AmazonAppRunnerClient.
+ /// An AsyncCallback delegate that is invoked when the operation completes.
+ /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
+ /// procedure using the AsyncState property.
+ ///
+ /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteVpcIngressConnection
+ /// operation.
+ /// REST API Reference for DeleteVpcIngressConnection Operation
+ IAsyncResult BeginDeleteVpcIngressConnection(DeleteVpcIngressConnectionRequest request, AsyncCallback callback, object state);
+
+
+
+ ///
+ /// Finishes the asynchronous execution of the DeleteVpcIngressConnection operation.
+ ///
+ ///
+ /// The IAsyncResult returned by the call to BeginDeleteVpcIngressConnection.
+ ///
+ /// Returns a DeleteVpcIngressConnectionResult from AppRunner.
+ /// REST API Reference for DeleteVpcIngressConnection Operation
+ DeleteVpcIngressConnectionResponse EndDeleteVpcIngressConnection(IAsyncResult asyncResult);
+
+ #endregion
+
#region DescribeAutoScalingConfiguration
@@ -1016,6 +1157,57 @@ public partial interface IAmazonAppRunner : IAmazonService, IDisposable
#endregion
+ #region DescribeVpcIngressConnection
+
+
+ ///
+ /// Return a full description of an App Runner VPC Ingress Connection resource.
+ ///
+ /// Container for the necessary parameters to execute the DescribeVpcIngressConnection service method.
+ ///
+ /// The response from the DescribeVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for DescribeVpcIngressConnection Operation
+ DescribeVpcIngressConnectionResponse DescribeVpcIngressConnection(DescribeVpcIngressConnectionRequest request);
+
+ ///
+ /// Initiates the asynchronous execution of the DescribeVpcIngressConnection operation.
+ ///
+ ///
+ /// Container for the necessary parameters to execute the DescribeVpcIngressConnection operation on AmazonAppRunnerClient.
+ /// An AsyncCallback delegate that is invoked when the operation completes.
+ /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
+ /// procedure using the AsyncState property.
+ ///
+ /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeVpcIngressConnection
+ /// operation.
+ /// REST API Reference for DescribeVpcIngressConnection Operation
+ IAsyncResult BeginDescribeVpcIngressConnection(DescribeVpcIngressConnectionRequest request, AsyncCallback callback, object state);
+
+
+
+ ///
+ /// Finishes the asynchronous execution of the DescribeVpcIngressConnection operation.
+ ///
+ ///
+ /// The IAsyncResult returned by the call to BeginDescribeVpcIngressConnection.
+ ///
+ /// Returns a DescribeVpcIngressConnectionResult from AppRunner.
+ /// REST API Reference for DescribeVpcIngressConnection Operation
+ DescribeVpcIngressConnectionResponse EndDescribeVpcIngressConnection(IAsyncResult asyncResult);
+
+ #endregion
+
#region DisassociateCustomDomain
@@ -1445,6 +1637,53 @@ public partial interface IAmazonAppRunner : IAmazonService, IDisposable
#endregion
+ #region ListVpcIngressConnections
+
+
+ ///
+ /// Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.
+ ///
+ /// Container for the necessary parameters to execute the ListVpcIngressConnections service method.
+ ///
+ /// The response from the ListVpcIngressConnections service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ /// REST API Reference for ListVpcIngressConnections Operation
+ ListVpcIngressConnectionsResponse ListVpcIngressConnections(ListVpcIngressConnectionsRequest request);
+
+ ///
+ /// Initiates the asynchronous execution of the ListVpcIngressConnections operation.
+ ///
+ ///
+ /// Container for the necessary parameters to execute the ListVpcIngressConnections operation on AmazonAppRunnerClient.
+ /// An AsyncCallback delegate that is invoked when the operation completes.
+ /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
+ /// procedure using the AsyncState property.
+ ///
+ /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVpcIngressConnections
+ /// operation.
+ /// REST API Reference for ListVpcIngressConnections Operation
+ IAsyncResult BeginListVpcIngressConnections(ListVpcIngressConnectionsRequest request, AsyncCallback callback, object state);
+
+
+
+ ///
+ /// Finishes the asynchronous execution of the ListVpcIngressConnections operation.
+ ///
+ ///
+ /// The IAsyncResult returned by the call to BeginListVpcIngressConnections.
+ ///
+ /// Returns a ListVpcIngressConnectionsResult from AppRunner.
+ /// REST API Reference for ListVpcIngressConnections Operation
+ ListVpcIngressConnectionsResponse EndListVpcIngressConnections(IAsyncResult asyncResult);
+
+ #endregion
+
#region PauseService
@@ -1814,5 +2053,74 @@ public partial interface IAmazonAppRunner : IAmazonService, IDisposable
#endregion
+ #region UpdateVpcIngressConnection
+
+
+ ///
+ /// Update an existing App Runner VPC Ingress Connection resource. The VPC Ingress Connection
+ /// must be in one of the following states to be updated:
+ ///
+ /// -
+ ///
+ /// AVAILABLE
+ ///
+ ///
-
+ ///
+ /// FAILED_CREATION
+ ///
+ ///
-
+ ///
+ /// FAILED_UPDATE
+ ///
+ ///
+ ///
+ /// Container for the necessary parameters to execute the UpdateVpcIngressConnection service method.
+ ///
+ /// The response from the UpdateVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for UpdateVpcIngressConnection Operation
+ UpdateVpcIngressConnectionResponse UpdateVpcIngressConnection(UpdateVpcIngressConnectionRequest request);
+
+ ///
+ /// Initiates the asynchronous execution of the UpdateVpcIngressConnection operation.
+ ///
+ ///
+ /// Container for the necessary parameters to execute the UpdateVpcIngressConnection operation on AmazonAppRunnerClient.
+ /// An AsyncCallback delegate that is invoked when the operation completes.
+ /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
+ /// procedure using the AsyncState property.
+ ///
+ /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateVpcIngressConnection
+ /// operation.
+ /// REST API Reference for UpdateVpcIngressConnection Operation
+ IAsyncResult BeginUpdateVpcIngressConnection(UpdateVpcIngressConnectionRequest request, AsyncCallback callback, object state);
+
+
+
+ ///
+ /// Finishes the asynchronous execution of the UpdateVpcIngressConnection operation.
+ ///
+ ///
+ /// The IAsyncResult returned by the call to BeginUpdateVpcIngressConnection.
+ ///
+ /// Returns a UpdateVpcIngressConnectionResult from AppRunner.
+ /// REST API Reference for UpdateVpcIngressConnection Operation
+ UpdateVpcIngressConnectionResponse EndUpdateVpcIngressConnection(IAsyncResult asyncResult);
+
+ #endregion
+
}
}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/_bcl45/AmazonAppRunnerClient.cs b/sdk/src/Services/AppRunner/Generated/_bcl45/AmazonAppRunnerClient.cs
index 9572f4561bb7..7befb6bdb5b0 100644
--- a/sdk/src/Services/AppRunner/Generated/_bcl45/AmazonAppRunnerClient.cs
+++ b/sdk/src/Services/AppRunner/Generated/_bcl45/AmazonAppRunnerClient.cs
@@ -883,6 +883,89 @@ public virtual CreateVpcConnectorResponse CreateVpcConnector(CreateVpcConnectorR
#endregion
+ #region CreateVpcIngressConnection
+
+
+ ///
+ /// Create an App Runner VPC Ingress Connection resource. App Runner requires this resource
+ /// when you want to associate your App Runner service with an Amazon VPC endpoint.
+ ///
+ /// Container for the necessary parameters to execute the CreateVpcIngressConnection service method.
+ ///
+ /// The response from the CreateVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// App Runner can't create this resource. You've reached your account quota for this
+ /// resource type.
+ ///
+ ///
+ ///
+ /// For App Runner per-resource quotas, see App
+ /// Runner endpoints and quotas in the Amazon Web Services General Reference.
+ ///
+ ///
+ /// REST API Reference for CreateVpcIngressConnection Operation
+ public virtual CreateVpcIngressConnectionResponse CreateVpcIngressConnection(CreateVpcIngressConnectionRequest request)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = CreateVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = CreateVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return Invoke(request, options);
+ }
+
+
+ ///
+ /// Create an App Runner VPC Ingress Connection resource. App Runner requires this resource
+ /// when you want to associate your App Runner service with an Amazon VPC endpoint.
+ ///
+ /// Container for the necessary parameters to execute the CreateVpcIngressConnection service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the CreateVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// App Runner can't create this resource. You've reached your account quota for this
+ /// resource type.
+ ///
+ ///
+ ///
+ /// For App Runner per-resource quotas, see App
+ /// Runner endpoints and quotas in the Amazon Web Services General Reference.
+ ///
+ ///
+ /// REST API Reference for CreateVpcIngressConnection Operation
+ public virtual Task CreateVpcIngressConnectionAsync(CreateVpcIngressConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = CreateVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = CreateVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return InvokeAsync(request, options, cancellationToken);
+ }
+
+ #endregion
+
#region DeleteAutoScalingConfiguration
@@ -1096,6 +1179,12 @@ public virtual DeleteObservabilityConfigurationResponse DeleteObservabilityConfi
/// OperationId
and the ListOperations call to track the operation's
/// progress.
///
+ ///
+ ///
+ /// Make sure that you don't have any active VPCIngressConnections associated with the
+ /// service you want to delete.
+ ///
+ ///
///
/// Container for the necessary parameters to execute the DeleteService service method.
///
@@ -1134,6 +1223,12 @@ public virtual DeleteServiceResponse DeleteService(DeleteServiceRequest request)
/// OperationId
and the ListOperations call to track the operation's
/// progress.
///
+ ///
+ ///
+ /// Make sure that you don't have any active VPCIngressConnections associated with the
+ /// service you want to delete.
+ ///
+ ///
///
/// Container for the necessary parameters to execute the DeleteService service method.
///
@@ -1232,6 +1327,115 @@ public virtual DeleteVpcConnectorResponse DeleteVpcConnector(DeleteVpcConnectorR
#endregion
+ #region DeleteVpcIngressConnection
+
+
+ ///
+ /// Delete an App Runner VPC Ingress Connection resource that's associated with an App
+ /// Runner service. The VPC Ingress Connection must be in one of the following states
+ /// to be deleted:
+ ///
+ /// -
+ ///
+ ///
AVAILABLE
+ ///
+ /// -
+ ///
+ ///
FAILED_CREATION
+ ///
+ /// -
+ ///
+ ///
FAILED_UPDATE
+ ///
+ /// -
+ ///
+ ///
FAILED_DELETION
+ ///
+ ///
+ ///
+ /// Container for the necessary parameters to execute the DeleteVpcIngressConnection service method.
+ ///
+ /// The response from the DeleteVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for DeleteVpcIngressConnection Operation
+ public virtual DeleteVpcIngressConnectionResponse DeleteVpcIngressConnection(DeleteVpcIngressConnectionRequest request)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = DeleteVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = DeleteVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return Invoke(request, options);
+ }
+
+
+ ///
+ /// Delete an App Runner VPC Ingress Connection resource that's associated with an App
+ /// Runner service. The VPC Ingress Connection must be in one of the following states
+ /// to be deleted:
+ ///
+ /// -
+ ///
+ ///
AVAILABLE
+ ///
+ /// -
+ ///
+ ///
FAILED_CREATION
+ ///
+ /// -
+ ///
+ ///
FAILED_UPDATE
+ ///
+ /// -
+ ///
+ ///
FAILED_DELETION
+ ///
+ ///
+ ///
+ /// Container for the necessary parameters to execute the DeleteVpcIngressConnection service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the DeleteVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for DeleteVpcIngressConnection Operation
+ public virtual Task DeleteVpcIngressConnectionAsync(DeleteVpcIngressConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = DeleteVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = DeleteVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return InvokeAsync(request, options, cancellationToken);
+ }
+
+ #endregion
+
#region DescribeAutoScalingConfiguration
@@ -1549,6 +1753,69 @@ public virtual DescribeVpcConnectorResponse DescribeVpcConnector(DescribeVpcConn
#endregion
+ #region DescribeVpcIngressConnection
+
+
+ ///
+ /// Return a full description of an App Runner VPC Ingress Connection resource.
+ ///
+ /// Container for the necessary parameters to execute the DescribeVpcIngressConnection service method.
+ ///
+ /// The response from the DescribeVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for DescribeVpcIngressConnection Operation
+ public virtual DescribeVpcIngressConnectionResponse DescribeVpcIngressConnection(DescribeVpcIngressConnectionRequest request)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = DescribeVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = DescribeVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return Invoke(request, options);
+ }
+
+
+ ///
+ /// Return a full description of an App Runner VPC Ingress Connection resource.
+ ///
+ /// Container for the necessary parameters to execute the DescribeVpcIngressConnection service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the DescribeVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for DescribeVpcIngressConnection Operation
+ public virtual Task DescribeVpcIngressConnectionAsync(DescribeVpcIngressConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = DescribeVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = DescribeVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return InvokeAsync(request, options, cancellationToken);
+ }
+
+ #endregion
+
#region DisassociateCustomDomain
@@ -2095,6 +2362,61 @@ public virtual ListVpcConnectorsResponse ListVpcConnectors(ListVpcConnectorsRequ
#endregion
+ #region ListVpcIngressConnections
+
+
+ ///
+ /// Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.
+ ///
+ /// Container for the necessary parameters to execute the ListVpcIngressConnections service method.
+ ///
+ /// The response from the ListVpcIngressConnections service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ /// REST API Reference for ListVpcIngressConnections Operation
+ public virtual ListVpcIngressConnectionsResponse ListVpcIngressConnections(ListVpcIngressConnectionsRequest request)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = ListVpcIngressConnectionsRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = ListVpcIngressConnectionsResponseUnmarshaller.Instance;
+
+ return Invoke(request, options);
+ }
+
+
+ ///
+ /// Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.
+ ///
+ /// Container for the necessary parameters to execute the ListVpcIngressConnections service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the ListVpcIngressConnections service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ /// REST API Reference for ListVpcIngressConnections Operation
+ public virtual Task ListVpcIngressConnectionsAsync(ListVpcIngressConnectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = ListVpcIngressConnectionsRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = ListVpcIngressConnectionsResponseUnmarshaller.Instance;
+
+ return InvokeAsync(request, options, cancellationToken);
+ }
+
+ #endregion
+
#region PauseService
@@ -2599,5 +2921,104 @@ public virtual UpdateServiceResponse UpdateService(UpdateServiceRequest request)
#endregion
+ #region UpdateVpcIngressConnection
+
+
+ ///
+ /// Update an existing App Runner VPC Ingress Connection resource. The VPC Ingress Connection
+ /// must be in one of the following states to be updated:
+ ///
+ /// -
+ ///
+ /// AVAILABLE
+ ///
+ ///
-
+ ///
+ /// FAILED_CREATION
+ ///
+ ///
-
+ ///
+ /// FAILED_UPDATE
+ ///
+ ///
+ ///
+ /// Container for the necessary parameters to execute the UpdateVpcIngressConnection service method.
+ ///
+ /// The response from the UpdateVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for UpdateVpcIngressConnection Operation
+ public virtual UpdateVpcIngressConnectionResponse UpdateVpcIngressConnection(UpdateVpcIngressConnectionRequest request)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = UpdateVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = UpdateVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return Invoke(request, options);
+ }
+
+
+ ///
+ /// Update an existing App Runner VPC Ingress Connection resource. The VPC Ingress Connection
+ /// must be in one of the following states to be updated:
+ ///
+ /// -
+ ///
+ /// AVAILABLE
+ ///
+ ///
-
+ ///
+ /// FAILED_CREATION
+ ///
+ ///
-
+ ///
+ /// FAILED_UPDATE
+ ///
+ ///
+ ///
+ /// Container for the necessary parameters to execute the UpdateVpcIngressConnection service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the UpdateVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for UpdateVpcIngressConnection Operation
+ public virtual Task UpdateVpcIngressConnectionAsync(UpdateVpcIngressConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = UpdateVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = UpdateVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return InvokeAsync(request, options, cancellationToken);
+ }
+
+ #endregion
+
}
}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/_bcl45/IAmazonAppRunner.cs b/sdk/src/Services/AppRunner/Generated/_bcl45/IAmazonAppRunner.cs
index 44791567b01b..dad26a8e9151 100644
--- a/sdk/src/Services/AppRunner/Generated/_bcl45/IAmazonAppRunner.cs
+++ b/sdk/src/Services/AppRunner/Generated/_bcl45/IAmazonAppRunner.cs
@@ -584,6 +584,76 @@ public partial interface IAmazonAppRunner : IAmazonService, IDisposable
#endregion
+ #region CreateVpcIngressConnection
+
+
+ ///
+ /// Create an App Runner VPC Ingress Connection resource. App Runner requires this resource
+ /// when you want to associate your App Runner service with an Amazon VPC endpoint.
+ ///
+ /// Container for the necessary parameters to execute the CreateVpcIngressConnection service method.
+ ///
+ /// The response from the CreateVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// App Runner can't create this resource. You've reached your account quota for this
+ /// resource type.
+ ///
+ ///
+ ///
+ /// For App Runner per-resource quotas, see App
+ /// Runner endpoints and quotas in the Amazon Web Services General Reference.
+ ///
+ ///
+ /// REST API Reference for CreateVpcIngressConnection Operation
+ CreateVpcIngressConnectionResponse CreateVpcIngressConnection(CreateVpcIngressConnectionRequest request);
+
+
+
+ ///
+ /// Create an App Runner VPC Ingress Connection resource. App Runner requires this resource
+ /// when you want to associate your App Runner service with an Amazon VPC endpoint.
+ ///
+ /// Container for the necessary parameters to execute the CreateVpcIngressConnection service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the CreateVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// App Runner can't create this resource. You've reached your account quota for this
+ /// resource type.
+ ///
+ ///
+ ///
+ /// For App Runner per-resource quotas, see App
+ /// Runner endpoints and quotas in the Amazon Web Services General Reference.
+ ///
+ ///
+ /// REST API Reference for CreateVpcIngressConnection Operation
+ Task CreateVpcIngressConnectionAsync(CreateVpcIngressConnectionRequest request, CancellationToken cancellationToken = default(CancellationToken));
+
+ #endregion
+
#region DeleteAutoScalingConfiguration
@@ -758,6 +828,12 @@ public partial interface IAmazonAppRunner : IAmazonService, IDisposable
/// OperationId
and the ListOperations call to track the operation's
/// progress.
///
+ ///
+ ///
+ /// Make sure that you don't have any active VPCIngressConnections associated with the
+ /// service you want to delete.
+ ///
+ ///
///
/// Container for the necessary parameters to execute the DeleteService service method.
///
@@ -790,6 +866,12 @@ public partial interface IAmazonAppRunner : IAmazonService, IDisposable
/// OperationId
and the ListOperations call to track the operation's
/// progress.
///
+ ///
+ ///
+ /// Make sure that you don't have any active VPCIngressConnections associated with the
+ /// service you want to delete.
+ ///
+ ///
///
/// Container for the necessary parameters to execute the DeleteService service method.
///
@@ -868,6 +950,102 @@ public partial interface IAmazonAppRunner : IAmazonService, IDisposable
#endregion
+ #region DeleteVpcIngressConnection
+
+
+ ///
+ /// Delete an App Runner VPC Ingress Connection resource that's associated with an App
+ /// Runner service. The VPC Ingress Connection must be in one of the following states
+ /// to be deleted:
+ ///
+ /// -
+ ///
+ ///
AVAILABLE
+ ///
+ /// -
+ ///
+ ///
FAILED_CREATION
+ ///
+ /// -
+ ///
+ ///
FAILED_UPDATE
+ ///
+ /// -
+ ///
+ ///
FAILED_DELETION
+ ///
+ ///
+ ///
+ /// Container for the necessary parameters to execute the DeleteVpcIngressConnection service method.
+ ///
+ /// The response from the DeleteVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for DeleteVpcIngressConnection Operation
+ DeleteVpcIngressConnectionResponse DeleteVpcIngressConnection(DeleteVpcIngressConnectionRequest request);
+
+
+
+ ///
+ /// Delete an App Runner VPC Ingress Connection resource that's associated with an App
+ /// Runner service. The VPC Ingress Connection must be in one of the following states
+ /// to be deleted:
+ ///
+ /// -
+ ///
+ ///
AVAILABLE
+ ///
+ /// -
+ ///
+ ///
FAILED_CREATION
+ ///
+ /// -
+ ///
+ ///
FAILED_UPDATE
+ ///
+ /// -
+ ///
+ ///
FAILED_DELETION
+ ///
+ ///
+ ///
+ /// Container for the necessary parameters to execute the DeleteVpcIngressConnection service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the DeleteVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for DeleteVpcIngressConnection Operation
+ Task DeleteVpcIngressConnectionAsync(DeleteVpcIngressConnectionRequest request, CancellationToken cancellationToken = default(CancellationToken));
+
+ #endregion
+
#region DescribeAutoScalingConfiguration
@@ -1120,6 +1298,56 @@ public partial interface IAmazonAppRunner : IAmazonService, IDisposable
#endregion
+ #region DescribeVpcIngressConnection
+
+
+ ///
+ /// Return a full description of an App Runner VPC Ingress Connection resource.
+ ///
+ /// Container for the necessary parameters to execute the DescribeVpcIngressConnection service method.
+ ///
+ /// The response from the DescribeVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for DescribeVpcIngressConnection Operation
+ DescribeVpcIngressConnectionResponse DescribeVpcIngressConnection(DescribeVpcIngressConnectionRequest request);
+
+
+
+ ///
+ /// Return a full description of an App Runner VPC Ingress Connection resource.
+ ///
+ /// Container for the necessary parameters to execute the DescribeVpcIngressConnection service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the DescribeVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for DescribeVpcIngressConnection Operation
+ Task DescribeVpcIngressConnectionAsync(DescribeVpcIngressConnectionRequest request, CancellationToken cancellationToken = default(CancellationToken));
+
+ #endregion
+
#region DisassociateCustomDomain
@@ -1562,6 +1790,48 @@ public partial interface IAmazonAppRunner : IAmazonService, IDisposable
#endregion
+ #region ListVpcIngressConnections
+
+
+ ///
+ /// Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.
+ ///
+ /// Container for the necessary parameters to execute the ListVpcIngressConnections service method.
+ ///
+ /// The response from the ListVpcIngressConnections service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ /// REST API Reference for ListVpcIngressConnections Operation
+ ListVpcIngressConnectionsResponse ListVpcIngressConnections(ListVpcIngressConnectionsRequest request);
+
+
+
+ ///
+ /// Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.
+ ///
+ /// Container for the necessary parameters to execute the ListVpcIngressConnections service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the ListVpcIngressConnections service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ /// REST API Reference for ListVpcIngressConnections Operation
+ Task ListVpcIngressConnectionsAsync(ListVpcIngressConnectionsRequest request, CancellationToken cancellationToken = default(CancellationToken));
+
+ #endregion
+
#region PauseService
@@ -1988,5 +2258,91 @@ public partial interface IAmazonAppRunner : IAmazonService, IDisposable
#endregion
+ #region UpdateVpcIngressConnection
+
+
+ ///
+ /// Update an existing App Runner VPC Ingress Connection resource. The VPC Ingress Connection
+ /// must be in one of the following states to be updated:
+ ///
+ /// -
+ ///
+ /// AVAILABLE
+ ///
+ ///
-
+ ///
+ /// FAILED_CREATION
+ ///
+ ///
-
+ ///
+ /// FAILED_UPDATE
+ ///
+ ///
+ ///
+ /// Container for the necessary parameters to execute the UpdateVpcIngressConnection service method.
+ ///
+ /// The response from the UpdateVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for UpdateVpcIngressConnection Operation
+ UpdateVpcIngressConnectionResponse UpdateVpcIngressConnection(UpdateVpcIngressConnectionRequest request);
+
+
+
+ ///
+ /// Update an existing App Runner VPC Ingress Connection resource. The VPC Ingress Connection
+ /// must be in one of the following states to be updated:
+ ///
+ /// -
+ ///
+ /// AVAILABLE
+ ///
+ ///
-
+ ///
+ /// FAILED_CREATION
+ ///
+ ///
-
+ ///
+ /// FAILED_UPDATE
+ ///
+ ///
+ ///
+ /// Container for the necessary parameters to execute the UpdateVpcIngressConnection service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the UpdateVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for UpdateVpcIngressConnection Operation
+ Task UpdateVpcIngressConnectionAsync(UpdateVpcIngressConnectionRequest request, CancellationToken cancellationToken = default(CancellationToken));
+
+ #endregion
+
}
}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/_netstandard/AmazonAppRunnerClient.cs b/sdk/src/Services/AppRunner/Generated/_netstandard/AmazonAppRunnerClient.cs
index 58cc3b51cee7..e6c64ca49f95 100644
--- a/sdk/src/Services/AppRunner/Generated/_netstandard/AmazonAppRunnerClient.cs
+++ b/sdk/src/Services/AppRunner/Generated/_netstandard/AmazonAppRunnerClient.cs
@@ -675,6 +675,61 @@ internal virtual CreateVpcConnectorResponse CreateVpcConnector(CreateVpcConnecto
#endregion
+ #region CreateVpcIngressConnection
+
+ internal virtual CreateVpcIngressConnectionResponse CreateVpcIngressConnection(CreateVpcIngressConnectionRequest request)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = CreateVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = CreateVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return Invoke(request, options);
+ }
+
+
+
+ ///
+ /// Create an App Runner VPC Ingress Connection resource. App Runner requires this resource
+ /// when you want to associate your App Runner service with an Amazon VPC endpoint.
+ ///
+ /// Container for the necessary parameters to execute the CreateVpcIngressConnection service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the CreateVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// App Runner can't create this resource. You've reached your account quota for this
+ /// resource type.
+ ///
+ ///
+ ///
+ /// For App Runner per-resource quotas, see App
+ /// Runner endpoints and quotas in the Amazon Web Services General Reference.
+ ///
+ ///
+ /// REST API Reference for CreateVpcIngressConnection Operation
+ public virtual Task CreateVpcIngressConnectionAsync(CreateVpcIngressConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = CreateVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = CreateVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return InvokeAsync(request, options, cancellationToken);
+ }
+
+ #endregion
+
#region DeleteAutoScalingConfiguration
internal virtual DeleteAutoScalingConfigurationResponse DeleteAutoScalingConfiguration(DeleteAutoScalingConfigurationRequest request)
@@ -838,6 +893,12 @@ internal virtual DeleteServiceResponse DeleteService(DeleteServiceRequest reques
/// OperationId
and the ListOperations call to track the operation's
/// progress.
///
+ ///
+ ///
+ /// Make sure that you don't have any active VPCIngressConnections associated with the
+ /// service you want to delete.
+ ///
+ ///
///
/// Container for the necessary parameters to execute the DeleteService service method.
///
@@ -917,6 +978,74 @@ internal virtual DeleteVpcConnectorResponse DeleteVpcConnector(DeleteVpcConnecto
#endregion
+ #region DeleteVpcIngressConnection
+
+ internal virtual DeleteVpcIngressConnectionResponse DeleteVpcIngressConnection(DeleteVpcIngressConnectionRequest request)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = DeleteVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = DeleteVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return Invoke(request, options);
+ }
+
+
+
+ ///
+ /// Delete an App Runner VPC Ingress Connection resource that's associated with an App
+ /// Runner service. The VPC Ingress Connection must be in one of the following states
+ /// to be deleted:
+ ///
+ /// -
+ ///
+ ///
AVAILABLE
+ ///
+ /// -
+ ///
+ ///
FAILED_CREATION
+ ///
+ /// -
+ ///
+ ///
FAILED_UPDATE
+ ///
+ /// -
+ ///
+ ///
FAILED_DELETION
+ ///
+ ///
+ ///
+ /// Container for the necessary parameters to execute the DeleteVpcIngressConnection service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the DeleteVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for DeleteVpcIngressConnection Operation
+ public virtual Task DeleteVpcIngressConnectionAsync(DeleteVpcIngressConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = DeleteVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = DeleteVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return InvokeAsync(request, options, cancellationToken);
+ }
+
+ #endregion
+
#region DescribeAutoScalingConfiguration
internal virtual DescribeAutoScalingConfigurationResponse DescribeAutoScalingConfiguration(DescribeAutoScalingConfigurationRequest request)
@@ -1143,6 +1272,51 @@ internal virtual DescribeVpcConnectorResponse DescribeVpcConnector(DescribeVpcCo
#endregion
+ #region DescribeVpcIngressConnection
+
+ internal virtual DescribeVpcIngressConnectionResponse DescribeVpcIngressConnection(DescribeVpcIngressConnectionRequest request)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = DescribeVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = DescribeVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return Invoke(request, options);
+ }
+
+
+
+ ///
+ /// Return a full description of an App Runner VPC Ingress Connection resource.
+ ///
+ /// Container for the necessary parameters to execute the DescribeVpcIngressConnection service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the DescribeVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for DescribeVpcIngressConnection Operation
+ public virtual Task DescribeVpcIngressConnectionAsync(DescribeVpcIngressConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = DescribeVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = DescribeVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return InvokeAsync(request, options, cancellationToken);
+ }
+
+ #endregion
+
#region DisassociateCustomDomain
internal virtual DisassociateCustomDomainResponse DisassociateCustomDomain(DisassociateCustomDomainRequest request)
@@ -1524,6 +1698,47 @@ internal virtual ListVpcConnectorsResponse ListVpcConnectors(ListVpcConnectorsRe
#endregion
+ #region ListVpcIngressConnections
+
+ internal virtual ListVpcIngressConnectionsResponse ListVpcIngressConnections(ListVpcIngressConnectionsRequest request)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = ListVpcIngressConnectionsRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = ListVpcIngressConnectionsResponseUnmarshaller.Instance;
+
+ return Invoke(request, options);
+ }
+
+
+
+ ///
+ /// Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.
+ ///
+ /// Container for the necessary parameters to execute the ListVpcIngressConnections service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the ListVpcIngressConnections service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ /// REST API Reference for ListVpcIngressConnections Operation
+ public virtual Task ListVpcIngressConnectionsAsync(ListVpcIngressConnectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = ListVpcIngressConnectionsRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = ListVpcIngressConnectionsResponseUnmarshaller.Instance;
+
+ return InvokeAsync(request, options, cancellationToken);
+ }
+
+ #endregion
+
#region PauseService
internal virtual PauseServiceResponse PauseService(PauseServiceRequest request)
@@ -1857,5 +2072,68 @@ internal virtual UpdateServiceResponse UpdateService(UpdateServiceRequest reques
#endregion
+ #region UpdateVpcIngressConnection
+
+ internal virtual UpdateVpcIngressConnectionResponse UpdateVpcIngressConnection(UpdateVpcIngressConnectionRequest request)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = UpdateVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = UpdateVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return Invoke(request, options);
+ }
+
+
+
+ ///
+ /// Update an existing App Runner VPC Ingress Connection resource. The VPC Ingress Connection
+ /// must be in one of the following states to be updated:
+ ///
+ /// -
+ ///
+ /// AVAILABLE
+ ///
+ ///
-
+ ///
+ /// FAILED_CREATION
+ ///
+ ///
-
+ ///
+ /// FAILED_UPDATE
+ ///
+ ///
+ ///
+ /// Container for the necessary parameters to execute the UpdateVpcIngressConnection service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the UpdateVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for UpdateVpcIngressConnection Operation
+ public virtual Task UpdateVpcIngressConnectionAsync(UpdateVpcIngressConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = UpdateVpcIngressConnectionRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = UpdateVpcIngressConnectionResponseUnmarshaller.Instance;
+
+ return InvokeAsync(request, options, cancellationToken);
+ }
+
+ #endregion
+
}
}
\ No newline at end of file
diff --git a/sdk/src/Services/AppRunner/Generated/_netstandard/IAmazonAppRunner.cs b/sdk/src/Services/AppRunner/Generated/_netstandard/IAmazonAppRunner.cs
index 55025209dd33..ce61b2ae3d4c 100644
--- a/sdk/src/Services/AppRunner/Generated/_netstandard/IAmazonAppRunner.cs
+++ b/sdk/src/Services/AppRunner/Generated/_netstandard/IAmazonAppRunner.cs
@@ -354,6 +354,45 @@ public partial interface IAmazonAppRunner : IAmazonService, IDisposable
#endregion
+ #region CreateVpcIngressConnection
+
+
+
+ ///
+ /// Create an App Runner VPC Ingress Connection resource. App Runner requires this resource
+ /// when you want to associate your App Runner service with an Amazon VPC endpoint.
+ ///
+ /// Container for the necessary parameters to execute the CreateVpcIngressConnection service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the CreateVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// App Runner can't create this resource. You've reached your account quota for this
+ /// resource type.
+ ///
+ ///
+ ///
+ /// For App Runner per-resource quotas, see App
+ /// Runner endpoints and quotas in the Amazon Web Services General Reference.
+ ///
+ ///
+ /// REST API Reference for CreateVpcIngressConnection Operation
+ Task CreateVpcIngressConnectionAsync(CreateVpcIngressConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
+
+ #endregion
+
#region DeleteAutoScalingConfiguration
@@ -460,6 +499,12 @@ public partial interface IAmazonAppRunner : IAmazonService, IDisposable
/// OperationId
and the ListOperations call to track the operation's
/// progress.
///
+ ///
+ ///
+ /// Make sure that you don't have any active VPCIngressConnections associated with the
+ /// service you want to delete.
+ ///
+ ///
///
/// Container for the necessary parameters to execute the DeleteService service method.
///
@@ -516,6 +561,58 @@ public partial interface IAmazonAppRunner : IAmazonService, IDisposable
#endregion
+ #region DeleteVpcIngressConnection
+
+
+
+ ///
+ /// Delete an App Runner VPC Ingress Connection resource that's associated with an App
+ /// Runner service. The VPC Ingress Connection must be in one of the following states
+ /// to be deleted:
+ ///
+ /// -
+ ///
+ ///
AVAILABLE
+ ///
+ /// -
+ ///
+ ///
FAILED_CREATION
+ ///
+ /// -
+ ///
+ ///
FAILED_UPDATE
+ ///
+ /// -
+ ///
+ ///
FAILED_DELETION
+ ///
+ ///
+ ///
+ /// Container for the necessary parameters to execute the DeleteVpcIngressConnection service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the DeleteVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for DeleteVpcIngressConnection Operation
+ Task DeleteVpcIngressConnectionAsync(DeleteVpcIngressConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
+
+ #endregion
+
#region DescribeAutoScalingConfiguration
@@ -662,6 +759,35 @@ public partial interface IAmazonAppRunner : IAmazonService, IDisposable
#endregion
+ #region DescribeVpcIngressConnection
+
+
+
+ ///
+ /// Return a full description of an App Runner VPC Ingress Connection resource.
+ ///
+ /// Container for the necessary parameters to execute the DescribeVpcIngressConnection service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the DescribeVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for DescribeVpcIngressConnection Operation
+ Task DescribeVpcIngressConnectionAsync(DescribeVpcIngressConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
+
+ #endregion
+
#region DisassociateCustomDomain
@@ -915,6 +1041,31 @@ public partial interface IAmazonAppRunner : IAmazonService, IDisposable
#endregion
+ #region ListVpcIngressConnections
+
+
+
+ ///
+ /// Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.
+ ///
+ /// Container for the necessary parameters to execute the ListVpcIngressConnections service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the ListVpcIngressConnections service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ /// REST API Reference for ListVpcIngressConnections Operation
+ Task ListVpcIngressConnectionsAsync(ListVpcIngressConnectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
+
+ #endregion
+
#region PauseService
@@ -1151,6 +1302,53 @@ public partial interface IAmazonAppRunner : IAmazonService, IDisposable
Task UpdateServiceAsync(UpdateServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
+
+ #region UpdateVpcIngressConnection
+
+
+
+ ///
+ /// Update an existing App Runner VPC Ingress Connection resource. The VPC Ingress Connection
+ /// must be in one of the following states to be updated:
+ ///
+ /// -
+ ///
+ /// AVAILABLE
+ ///
+ ///
-
+ ///
+ /// FAILED_CREATION
+ ///
+ ///
-
+ ///
+ /// FAILED_UPDATE
+ ///
+ ///
+ ///
+ /// Container for the necessary parameters to execute the UpdateVpcIngressConnection service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the UpdateVpcIngressConnection service method, as returned by AppRunner.
+ ///
+ /// An unexpected service exception occurred.
+ ///
+ ///
+ /// One or more input parameters aren't valid. Refer to the API action's document page,
+ /// correct the input parameters, and try the action again.
+ ///
+ ///
+ /// You can't perform this action when the resource is in its current state.
+ ///
+ ///
+ /// A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon
+ /// Web Services account.
+ ///
+ /// REST API Reference for UpdateVpcIngressConnection Operation
+ Task UpdateVpcIngressConnectionAsync(UpdateVpcIngressConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
+
+ #endregion
}
}
\ No newline at end of file
diff --git a/sdk/test/Services/AppRunner/UnitTests/Generated/Endpoints/AppRunnerEndpointProviderTests.cs b/sdk/test/Services/AppRunner/UnitTests/Generated/Endpoints/AppRunnerEndpointProviderTests.cs
index e7954532ce03..9155948bd7f7 100644
--- a/sdk/test/Services/AppRunner/UnitTests/Generated/Endpoints/AppRunnerEndpointProviderTests.cs
+++ b/sdk/test/Services/AppRunner/UnitTests/Generated/Endpoints/AppRunnerEndpointProviderTests.cs
@@ -36,8 +36,8 @@ public void For_region_uswest2_with_FIPS_enabled_and_DualStack_enabled_Test()
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = true;
- parameters["Region"] = "us-west-2";
parameters["UseDualStack"] = true;
+ parameters["Region"] = "us-west-2";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
Assert.AreEqual("https://apprunner-fips.us-west-2.api.aws", endpoint.URL);
}
@@ -51,8 +51,8 @@ public void For_region_uswest2_with_FIPS_enabled_and_DualStack_disabled_Test()
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = true;
- parameters["Region"] = "us-west-2";
parameters["UseDualStack"] = false;
+ parameters["Region"] = "us-west-2";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
Assert.AreEqual("https://apprunner-fips.us-west-2.amazonaws.com", endpoint.URL);
}
@@ -66,8 +66,8 @@ public void For_region_uswest2_with_FIPS_disabled_and_DualStack_enabled_Test()
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = false;
- parameters["Region"] = "us-west-2";
parameters["UseDualStack"] = true;
+ parameters["Region"] = "us-west-2";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
Assert.AreEqual("https://apprunner.us-west-2.api.aws", endpoint.URL);
}
@@ -81,8 +81,8 @@ public void For_region_uswest2_with_FIPS_disabled_and_DualStack_disabled_Test()
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = false;
- parameters["Region"] = "us-west-2";
parameters["UseDualStack"] = false;
+ parameters["Region"] = "us-west-2";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
Assert.AreEqual("https://apprunner.us-west-2.amazonaws.com", endpoint.URL);
}
@@ -96,8 +96,8 @@ public void For_region_euwest1_with_FIPS_enabled_and_DualStack_enabled_Test()
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = true;
- parameters["Region"] = "eu-west-1";
parameters["UseDualStack"] = true;
+ parameters["Region"] = "eu-west-1";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
Assert.AreEqual("https://apprunner-fips.eu-west-1.api.aws", endpoint.URL);
}
@@ -111,8 +111,8 @@ public void For_region_euwest1_with_FIPS_enabled_and_DualStack_disabled_Test()
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = true;
- parameters["Region"] = "eu-west-1";
parameters["UseDualStack"] = false;
+ parameters["Region"] = "eu-west-1";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
Assert.AreEqual("https://apprunner-fips.eu-west-1.amazonaws.com", endpoint.URL);
}
@@ -126,8 +126,8 @@ public void For_region_euwest1_with_FIPS_disabled_and_DualStack_enabled_Test()
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = false;
- parameters["Region"] = "eu-west-1";
parameters["UseDualStack"] = true;
+ parameters["Region"] = "eu-west-1";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
Assert.AreEqual("https://apprunner.eu-west-1.api.aws", endpoint.URL);
}
@@ -141,8 +141,8 @@ public void For_region_euwest1_with_FIPS_disabled_and_DualStack_disabled_Test()
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = false;
- parameters["Region"] = "eu-west-1";
parameters["UseDualStack"] = false;
+ parameters["Region"] = "eu-west-1";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
Assert.AreEqual("https://apprunner.eu-west-1.amazonaws.com", endpoint.URL);
}
@@ -156,8 +156,8 @@ public void For_region_apnortheast1_with_FIPS_enabled_and_DualStack_enabled_Test
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = true;
- parameters["Region"] = "ap-northeast-1";
parameters["UseDualStack"] = true;
+ parameters["Region"] = "ap-northeast-1";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
Assert.AreEqual("https://apprunner-fips.ap-northeast-1.api.aws", endpoint.URL);
}
@@ -171,8 +171,8 @@ public void For_region_apnortheast1_with_FIPS_enabled_and_DualStack_disabled_Tes
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = true;
- parameters["Region"] = "ap-northeast-1";
parameters["UseDualStack"] = false;
+ parameters["Region"] = "ap-northeast-1";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
Assert.AreEqual("https://apprunner-fips.ap-northeast-1.amazonaws.com", endpoint.URL);
}
@@ -186,8 +186,8 @@ public void For_region_apnortheast1_with_FIPS_disabled_and_DualStack_enabled_Tes
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = false;
- parameters["Region"] = "ap-northeast-1";
parameters["UseDualStack"] = true;
+ parameters["Region"] = "ap-northeast-1";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
Assert.AreEqual("https://apprunner.ap-northeast-1.api.aws", endpoint.URL);
}
@@ -201,8 +201,8 @@ public void For_region_apnortheast1_with_FIPS_disabled_and_DualStack_disabled_Te
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = false;
- parameters["Region"] = "ap-northeast-1";
parameters["UseDualStack"] = false;
+ parameters["Region"] = "ap-northeast-1";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
Assert.AreEqual("https://apprunner.ap-northeast-1.amazonaws.com", endpoint.URL);
}
@@ -216,8 +216,8 @@ public void For_region_useast1_with_FIPS_enabled_and_DualStack_enabled_Test()
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = true;
- parameters["Region"] = "us-east-1";
parameters["UseDualStack"] = true;
+ parameters["Region"] = "us-east-1";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
Assert.AreEqual("https://apprunner-fips.us-east-1.api.aws", endpoint.URL);
}
@@ -231,8 +231,8 @@ public void For_region_useast1_with_FIPS_enabled_and_DualStack_disabled_Test()
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = true;
- parameters["Region"] = "us-east-1";
parameters["UseDualStack"] = false;
+ parameters["Region"] = "us-east-1";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
Assert.AreEqual("https://apprunner-fips.us-east-1.amazonaws.com", endpoint.URL);
}
@@ -246,8 +246,8 @@ public void For_region_useast1_with_FIPS_disabled_and_DualStack_enabled_Test()
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = false;
- parameters["Region"] = "us-east-1";
parameters["UseDualStack"] = true;
+ parameters["Region"] = "us-east-1";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
Assert.AreEqual("https://apprunner.us-east-1.api.aws", endpoint.URL);
}
@@ -261,8 +261,8 @@ public void For_region_useast1_with_FIPS_disabled_and_DualStack_disabled_Test()
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = false;
- parameters["Region"] = "us-east-1";
parameters["UseDualStack"] = false;
+ parameters["Region"] = "us-east-1";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
Assert.AreEqual("https://apprunner.us-east-1.amazonaws.com", endpoint.URL);
}
@@ -276,8 +276,8 @@ public void For_region_useast2_with_FIPS_enabled_and_DualStack_enabled_Test()
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = true;
- parameters["Region"] = "us-east-2";
parameters["UseDualStack"] = true;
+ parameters["Region"] = "us-east-2";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
Assert.AreEqual("https://apprunner-fips.us-east-2.api.aws", endpoint.URL);
}
@@ -291,8 +291,8 @@ public void For_region_useast2_with_FIPS_enabled_and_DualStack_disabled_Test()
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = true;
- parameters["Region"] = "us-east-2";
parameters["UseDualStack"] = false;
+ parameters["Region"] = "us-east-2";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
Assert.AreEqual("https://apprunner-fips.us-east-2.amazonaws.com", endpoint.URL);
}
@@ -306,8 +306,8 @@ public void For_region_useast2_with_FIPS_disabled_and_DualStack_enabled_Test()
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = false;
- parameters["Region"] = "us-east-2";
parameters["UseDualStack"] = true;
+ parameters["Region"] = "us-east-2";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
Assert.AreEqual("https://apprunner.us-east-2.api.aws", endpoint.URL);
}
@@ -321,8 +321,8 @@ public void For_region_useast2_with_FIPS_disabled_and_DualStack_disabled_Test()
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = false;
- parameters["Region"] = "us-east-2";
parameters["UseDualStack"] = false;
+ parameters["Region"] = "us-east-2";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
Assert.AreEqual("https://apprunner.us-east-2.amazonaws.com", endpoint.URL);
}
@@ -336,8 +336,8 @@ public void For_custom_endpoint_with_fips_disabled_and_dualstack_disabled_Test()
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = false;
- parameters["Region"] = "us-east-1";
parameters["UseDualStack"] = false;
+ parameters["Region"] = "us-east-1";
parameters["Endpoint"] = "https://example.com";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
Assert.AreEqual("https://example.com", endpoint.URL);
@@ -353,8 +353,8 @@ public void For_custom_endpoint_with_fips_enabled_and_dualstack_disabled_Test()
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = true;
- parameters["Region"] = "us-east-1";
parameters["UseDualStack"] = false;
+ parameters["Region"] = "us-east-1";
parameters["Endpoint"] = "https://example.com";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
}
@@ -369,8 +369,8 @@ public void For_custom_endpoint_with_fips_disabled_and_dualstack_enabled_Test()
{
var parameters = new AppRunnerEndpointParameters();
parameters["UseFIPS"] = false;
- parameters["Region"] = "us-east-1";
parameters["UseDualStack"] = true;
+ parameters["Region"] = "us-east-1";
parameters["Endpoint"] = "https://example.com";
var endpoint = new AmazonAppRunnerEndpointProvider().ResolveEndpoint(parameters);
}
diff --git a/sdk/test/Services/AppRunner/UnitTests/Generated/Marshalling/AppRunnerMarshallingTests.cs b/sdk/test/Services/AppRunner/UnitTests/Generated/Marshalling/AppRunnerMarshallingTests.cs
index 97c69eb38361..c25e8013525f 100644
--- a/sdk/test/Services/AppRunner/UnitTests/Generated/Marshalling/AppRunnerMarshallingTests.cs
+++ b/sdk/test/Services/AppRunner/UnitTests/Generated/Marshalling/AppRunnerMarshallingTests.cs
@@ -778,6 +778,161 @@ public void CreateVpcConnector_ServiceQuotaExceededExceptionMarshallTest()
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void CreateVpcIngressConnectionMarshallTest()
+ {
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new CreateVpcIngressConnectionRequestMarshaller();
+
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"}
+ }
+ };
+ var jsonResponse = new JsonSampleGenerator(service_model, service_model.FindOperation("CreateVpcIngressConnection").ResponseStructure).Execute();
+ webResponse.Headers.Add("Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString());
+ UnmarshallerContext context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), false, webResponse);
+ var response = CreateVpcIngressConnectionResponseUnmarshaller.Instance.Unmarshall(context) as CreateVpcIngressConnectionResponse;
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
+
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void CreateVpcIngressConnection_InternalServiceErrorExceptionMarshallTest()
+ {
+ var operation = service_model.FindOperation("CreateVpcIngressConnection");
+
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new CreateVpcIngressConnectionRequestMarshaller();
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var exception = operation.Exceptions.First(e => e.Name.Equals("InternalServiceErrorException"));
+ var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"},
+ {"x-amzn-ErrorType","InternalServiceErrorException"},
+ {"Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString()}
+ }
+ };
+ var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
+ var response = CreateVpcIngressConnectionResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
+
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void CreateVpcIngressConnection_InvalidRequestExceptionMarshallTest()
+ {
+ var operation = service_model.FindOperation("CreateVpcIngressConnection");
+
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new CreateVpcIngressConnectionRequestMarshaller();
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var exception = operation.Exceptions.First(e => e.Name.Equals("InvalidRequestException"));
+ var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"},
+ {"x-amzn-ErrorType","InvalidRequestException"},
+ {"Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString()}
+ }
+ };
+ var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
+ var response = CreateVpcIngressConnectionResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
+
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void CreateVpcIngressConnection_InvalidStateExceptionMarshallTest()
+ {
+ var operation = service_model.FindOperation("CreateVpcIngressConnection");
+
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new CreateVpcIngressConnectionRequestMarshaller();
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var exception = operation.Exceptions.First(e => e.Name.Equals("InvalidStateException"));
+ var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"},
+ {"x-amzn-ErrorType","InvalidStateException"},
+ {"Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString()}
+ }
+ };
+ var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
+ var response = CreateVpcIngressConnectionResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
+
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void CreateVpcIngressConnection_ServiceQuotaExceededExceptionMarshallTest()
+ {
+ var operation = service_model.FindOperation("CreateVpcIngressConnection");
+
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new CreateVpcIngressConnectionRequestMarshaller();
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var exception = operation.Exceptions.First(e => e.Name.Equals("ServiceQuotaExceededException"));
+ var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"},
+ {"x-amzn-ErrorType","ServiceQuotaExceededException"},
+ {"Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString()}
+ }
+ };
+ var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
+ var response = CreateVpcIngressConnectionResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
+
[TestMethod]
[TestCategory("UnitTest")]
[TestCategory("Json")]
@@ -1425,6 +1580,161 @@ public void DeleteVpcConnector_ResourceNotFoundExceptionMarshallTest()
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void DeleteVpcIngressConnectionMarshallTest()
+ {
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new DeleteVpcIngressConnectionRequestMarshaller();
+
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"}
+ }
+ };
+ var jsonResponse = new JsonSampleGenerator(service_model, service_model.FindOperation("DeleteVpcIngressConnection").ResponseStructure).Execute();
+ webResponse.Headers.Add("Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString());
+ UnmarshallerContext context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), false, webResponse);
+ var response = DeleteVpcIngressConnectionResponseUnmarshaller.Instance.Unmarshall(context) as DeleteVpcIngressConnectionResponse;
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
+
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void DeleteVpcIngressConnection_InternalServiceErrorExceptionMarshallTest()
+ {
+ var operation = service_model.FindOperation("DeleteVpcIngressConnection");
+
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new DeleteVpcIngressConnectionRequestMarshaller();
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var exception = operation.Exceptions.First(e => e.Name.Equals("InternalServiceErrorException"));
+ var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"},
+ {"x-amzn-ErrorType","InternalServiceErrorException"},
+ {"Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString()}
+ }
+ };
+ var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
+ var response = DeleteVpcIngressConnectionResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
+
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void DeleteVpcIngressConnection_InvalidRequestExceptionMarshallTest()
+ {
+ var operation = service_model.FindOperation("DeleteVpcIngressConnection");
+
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new DeleteVpcIngressConnectionRequestMarshaller();
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var exception = operation.Exceptions.First(e => e.Name.Equals("InvalidRequestException"));
+ var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"},
+ {"x-amzn-ErrorType","InvalidRequestException"},
+ {"Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString()}
+ }
+ };
+ var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
+ var response = DeleteVpcIngressConnectionResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
+
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void DeleteVpcIngressConnection_InvalidStateExceptionMarshallTest()
+ {
+ var operation = service_model.FindOperation("DeleteVpcIngressConnection");
+
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new DeleteVpcIngressConnectionRequestMarshaller();
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var exception = operation.Exceptions.First(e => e.Name.Equals("InvalidStateException"));
+ var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"},
+ {"x-amzn-ErrorType","InvalidStateException"},
+ {"Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString()}
+ }
+ };
+ var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
+ var response = DeleteVpcIngressConnectionResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
+
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void DeleteVpcIngressConnection_ResourceNotFoundExceptionMarshallTest()
+ {
+ var operation = service_model.FindOperation("DeleteVpcIngressConnection");
+
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new DeleteVpcIngressConnectionRequestMarshaller();
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var exception = operation.Exceptions.First(e => e.Name.Equals("ResourceNotFoundException"));
+ var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"},
+ {"x-amzn-ErrorType","ResourceNotFoundException"},
+ {"Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString()}
+ }
+ };
+ var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
+ var response = DeleteVpcIngressConnectionResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
+
[TestMethod]
[TestCategory("UnitTest")]
[TestCategory("Json")]
@@ -1827,14 +2137,137 @@ public void DescribeServiceMarshallTest()
[TestCategory("AppRunner")]
public void DescribeService_InternalServiceErrorExceptionMarshallTest()
{
- var operation = service_model.FindOperation("DescribeService");
+ var operation = service_model.FindOperation("DescribeService");
+
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new DescribeServiceRequestMarshaller();
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var exception = operation.Exceptions.First(e => e.Name.Equals("InternalServiceErrorException"));
+ var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"},
+ {"x-amzn-ErrorType","InternalServiceErrorException"},
+ {"Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString()}
+ }
+ };
+ var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
+ var response = DescribeServiceResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
+
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void DescribeService_InvalidRequestExceptionMarshallTest()
+ {
+ var operation = service_model.FindOperation("DescribeService");
+
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new DescribeServiceRequestMarshaller();
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var exception = operation.Exceptions.First(e => e.Name.Equals("InvalidRequestException"));
+ var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"},
+ {"x-amzn-ErrorType","InvalidRequestException"},
+ {"Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString()}
+ }
+ };
+ var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
+ var response = DescribeServiceResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
+
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void DescribeService_ResourceNotFoundExceptionMarshallTest()
+ {
+ var operation = service_model.FindOperation("DescribeService");
+
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new DescribeServiceRequestMarshaller();
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var exception = operation.Exceptions.First(e => e.Name.Equals("ResourceNotFoundException"));
+ var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"},
+ {"x-amzn-ErrorType","ResourceNotFoundException"},
+ {"Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString()}
+ }
+ };
+ var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
+ var response = DescribeServiceResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
+
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void DescribeVpcConnectorMarshallTest()
+ {
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new DescribeVpcConnectorRequestMarshaller();
+
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"}
+ }
+ };
+ var jsonResponse = new JsonSampleGenerator(service_model, service_model.FindOperation("DescribeVpcConnector").ResponseStructure).Execute();
+ webResponse.Headers.Add("Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString());
+ UnmarshallerContext context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), false, webResponse);
+ var response = DescribeVpcConnectorResponseUnmarshaller.Instance.Unmarshall(context) as DescribeVpcConnectorResponse;
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
+
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void DescribeVpcConnector_InternalServiceErrorExceptionMarshallTest()
+ {
+ var operation = service_model.FindOperation("DescribeVpcConnector");
- var request = InstantiateClassGenerator.Execute();
- var marshaller = new DescribeServiceRequestMarshaller();
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new DescribeVpcConnectorRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
- Comparer.CompareObjectToJson(request,jsonRequest);
+ Comparer.CompareObjectToJson(request,jsonRequest);
var exception = operation.Exceptions.First(e => e.Name.Equals("InternalServiceErrorException"));
var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
@@ -1848,7 +2281,7 @@ public void DescribeService_InternalServiceErrorExceptionMarshallTest()
}
};
var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
- var response = DescribeServiceResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+ var response = DescribeVpcConnectorResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
@@ -1857,16 +2290,16 @@ public void DescribeService_InternalServiceErrorExceptionMarshallTest()
[TestCategory("UnitTest")]
[TestCategory("Json")]
[TestCategory("AppRunner")]
- public void DescribeService_InvalidRequestExceptionMarshallTest()
+ public void DescribeVpcConnector_InvalidRequestExceptionMarshallTest()
{
- var operation = service_model.FindOperation("DescribeService");
+ var operation = service_model.FindOperation("DescribeVpcConnector");
- var request = InstantiateClassGenerator.Execute();
- var marshaller = new DescribeServiceRequestMarshaller();
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new DescribeVpcConnectorRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
- Comparer.CompareObjectToJson(request,jsonRequest);
+ Comparer.CompareObjectToJson(request,jsonRequest);
var exception = operation.Exceptions.First(e => e.Name.Equals("InvalidRequestException"));
var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
@@ -1880,7 +2313,7 @@ public void DescribeService_InvalidRequestExceptionMarshallTest()
}
};
var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
- var response = DescribeServiceResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+ var response = DescribeVpcConnectorResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
@@ -1889,16 +2322,16 @@ public void DescribeService_InvalidRequestExceptionMarshallTest()
[TestCategory("UnitTest")]
[TestCategory("Json")]
[TestCategory("AppRunner")]
- public void DescribeService_ResourceNotFoundExceptionMarshallTest()
+ public void DescribeVpcConnector_ResourceNotFoundExceptionMarshallTest()
{
- var operation = service_model.FindOperation("DescribeService");
+ var operation = service_model.FindOperation("DescribeVpcConnector");
- var request = InstantiateClassGenerator.Execute();
- var marshaller = new DescribeServiceRequestMarshaller();
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new DescribeVpcConnectorRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
- Comparer.CompareObjectToJson(request,jsonRequest);
+ Comparer.CompareObjectToJson(request,jsonRequest);
var exception = operation.Exceptions.First(e => e.Name.Equals("ResourceNotFoundException"));
var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
@@ -1912,7 +2345,7 @@ public void DescribeService_ResourceNotFoundExceptionMarshallTest()
}
};
var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
- var response = DescribeServiceResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+ var response = DescribeVpcConnectorResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
@@ -1921,14 +2354,14 @@ public void DescribeService_ResourceNotFoundExceptionMarshallTest()
[TestCategory("UnitTest")]
[TestCategory("Json")]
[TestCategory("AppRunner")]
- public void DescribeVpcConnectorMarshallTest()
+ public void DescribeVpcIngressConnectionMarshallTest()
{
- var request = InstantiateClassGenerator.Execute();
- var marshaller = new DescribeVpcConnectorRequestMarshaller();
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new DescribeVpcIngressConnectionRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
- Comparer.CompareObjectToJson(request,jsonRequest);
+ Comparer.CompareObjectToJson(request,jsonRequest);
var webResponse = new WebResponseData
{
@@ -1937,10 +2370,10 @@ public void DescribeVpcConnectorMarshallTest()
{"x-amz-crc32","0"}
}
};
- var jsonResponse = new JsonSampleGenerator(service_model, service_model.FindOperation("DescribeVpcConnector").ResponseStructure).Execute();
+ var jsonResponse = new JsonSampleGenerator(service_model, service_model.FindOperation("DescribeVpcIngressConnection").ResponseStructure).Execute();
webResponse.Headers.Add("Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString());
UnmarshallerContext context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), false, webResponse);
- var response = DescribeVpcConnectorResponseUnmarshaller.Instance.Unmarshall(context) as DescribeVpcConnectorResponse;
+ var response = DescribeVpcIngressConnectionResponseUnmarshaller.Instance.Unmarshall(context) as DescribeVpcIngressConnectionResponse;
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
@@ -1948,16 +2381,16 @@ public void DescribeVpcConnectorMarshallTest()
[TestCategory("UnitTest")]
[TestCategory("Json")]
[TestCategory("AppRunner")]
- public void DescribeVpcConnector_InternalServiceErrorExceptionMarshallTest()
+ public void DescribeVpcIngressConnection_InternalServiceErrorExceptionMarshallTest()
{
- var operation = service_model.FindOperation("DescribeVpcConnector");
+ var operation = service_model.FindOperation("DescribeVpcIngressConnection");
- var request = InstantiateClassGenerator.Execute();
- var marshaller = new DescribeVpcConnectorRequestMarshaller();
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new DescribeVpcIngressConnectionRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
- Comparer.CompareObjectToJson(request,jsonRequest);
+ Comparer.CompareObjectToJson(request,jsonRequest);
var exception = operation.Exceptions.First(e => e.Name.Equals("InternalServiceErrorException"));
var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
@@ -1971,7 +2404,7 @@ public void DescribeVpcConnector_InternalServiceErrorExceptionMarshallTest()
}
};
var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
- var response = DescribeVpcConnectorResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+ var response = DescribeVpcIngressConnectionResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
@@ -1980,16 +2413,16 @@ public void DescribeVpcConnector_InternalServiceErrorExceptionMarshallTest()
[TestCategory("UnitTest")]
[TestCategory("Json")]
[TestCategory("AppRunner")]
- public void DescribeVpcConnector_InvalidRequestExceptionMarshallTest()
+ public void DescribeVpcIngressConnection_InvalidRequestExceptionMarshallTest()
{
- var operation = service_model.FindOperation("DescribeVpcConnector");
+ var operation = service_model.FindOperation("DescribeVpcIngressConnection");
- var request = InstantiateClassGenerator.Execute();
- var marshaller = new DescribeVpcConnectorRequestMarshaller();
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new DescribeVpcIngressConnectionRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
- Comparer.CompareObjectToJson(request,jsonRequest);
+ Comparer.CompareObjectToJson(request,jsonRequest);
var exception = operation.Exceptions.First(e => e.Name.Equals("InvalidRequestException"));
var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
@@ -2003,7 +2436,7 @@ public void DescribeVpcConnector_InvalidRequestExceptionMarshallTest()
}
};
var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
- var response = DescribeVpcConnectorResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+ var response = DescribeVpcIngressConnectionResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
@@ -2012,16 +2445,16 @@ public void DescribeVpcConnector_InvalidRequestExceptionMarshallTest()
[TestCategory("UnitTest")]
[TestCategory("Json")]
[TestCategory("AppRunner")]
- public void DescribeVpcConnector_ResourceNotFoundExceptionMarshallTest()
+ public void DescribeVpcIngressConnection_ResourceNotFoundExceptionMarshallTest()
{
- var operation = service_model.FindOperation("DescribeVpcConnector");
+ var operation = service_model.FindOperation("DescribeVpcIngressConnection");
- var request = InstantiateClassGenerator.Execute();
- var marshaller = new DescribeVpcConnectorRequestMarshaller();
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new DescribeVpcIngressConnectionRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
- Comparer.CompareObjectToJson(request,jsonRequest);
+ Comparer.CompareObjectToJson(request,jsonRequest);
var exception = operation.Exceptions.First(e => e.Name.Equals("ResourceNotFoundException"));
var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
@@ -2035,7 +2468,7 @@ public void DescribeVpcConnector_ResourceNotFoundExceptionMarshallTest()
}
};
var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
- var response = DescribeVpcConnectorResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+ var response = DescribeVpcIngressConnectionResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
@@ -2928,6 +3361,97 @@ public void ListVpcConnectors_InvalidRequestExceptionMarshallTest()
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void ListVpcIngressConnectionsMarshallTest()
+ {
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new ListVpcIngressConnectionsRequestMarshaller();
+
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"}
+ }
+ };
+ var jsonResponse = new JsonSampleGenerator(service_model, service_model.FindOperation("ListVpcIngressConnections").ResponseStructure).Execute();
+ webResponse.Headers.Add("Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString());
+ UnmarshallerContext context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), false, webResponse);
+ var response = ListVpcIngressConnectionsResponseUnmarshaller.Instance.Unmarshall(context) as ListVpcIngressConnectionsResponse;
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
+
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void ListVpcIngressConnections_InternalServiceErrorExceptionMarshallTest()
+ {
+ var operation = service_model.FindOperation("ListVpcIngressConnections");
+
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new ListVpcIngressConnectionsRequestMarshaller();
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var exception = operation.Exceptions.First(e => e.Name.Equals("InternalServiceErrorException"));
+ var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"},
+ {"x-amzn-ErrorType","InternalServiceErrorException"},
+ {"Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString()}
+ }
+ };
+ var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
+ var response = ListVpcIngressConnectionsResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
+
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void ListVpcIngressConnections_InvalidRequestExceptionMarshallTest()
+ {
+ var operation = service_model.FindOperation("ListVpcIngressConnections");
+
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new ListVpcIngressConnectionsRequestMarshaller();
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var exception = operation.Exceptions.First(e => e.Name.Equals("InvalidRequestException"));
+ var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"},
+ {"x-amzn-ErrorType","InvalidRequestException"},
+ {"Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString()}
+ }
+ };
+ var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
+ var response = ListVpcIngressConnectionsResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
+
[TestMethod]
[TestCategory("UnitTest")]
[TestCategory("Json")]
@@ -3825,5 +4349,160 @@ public void UpdateService_ResourceNotFoundExceptionMarshallTest()
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
+
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void UpdateVpcIngressConnectionMarshallTest()
+ {
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new UpdateVpcIngressConnectionRequestMarshaller();
+
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"}
+ }
+ };
+ var jsonResponse = new JsonSampleGenerator(service_model, service_model.FindOperation("UpdateVpcIngressConnection").ResponseStructure).Execute();
+ webResponse.Headers.Add("Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString());
+ UnmarshallerContext context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), false, webResponse);
+ var response = UpdateVpcIngressConnectionResponseUnmarshaller.Instance.Unmarshall(context) as UpdateVpcIngressConnectionResponse;
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
+
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void UpdateVpcIngressConnection_InternalServiceErrorExceptionMarshallTest()
+ {
+ var operation = service_model.FindOperation("UpdateVpcIngressConnection");
+
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new UpdateVpcIngressConnectionRequestMarshaller();
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var exception = operation.Exceptions.First(e => e.Name.Equals("InternalServiceErrorException"));
+ var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"},
+ {"x-amzn-ErrorType","InternalServiceErrorException"},
+ {"Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString()}
+ }
+ };
+ var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
+ var response = UpdateVpcIngressConnectionResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
+
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void UpdateVpcIngressConnection_InvalidRequestExceptionMarshallTest()
+ {
+ var operation = service_model.FindOperation("UpdateVpcIngressConnection");
+
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new UpdateVpcIngressConnectionRequestMarshaller();
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var exception = operation.Exceptions.First(e => e.Name.Equals("InvalidRequestException"));
+ var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"},
+ {"x-amzn-ErrorType","InvalidRequestException"},
+ {"Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString()}
+ }
+ };
+ var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
+ var response = UpdateVpcIngressConnectionResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
+
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void UpdateVpcIngressConnection_InvalidStateExceptionMarshallTest()
+ {
+ var operation = service_model.FindOperation("UpdateVpcIngressConnection");
+
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new UpdateVpcIngressConnectionRequestMarshaller();
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var exception = operation.Exceptions.First(e => e.Name.Equals("InvalidStateException"));
+ var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"},
+ {"x-amzn-ErrorType","InvalidStateException"},
+ {"Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString()}
+ }
+ };
+ var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
+ var response = UpdateVpcIngressConnectionResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
+
+ [TestMethod]
+ [TestCategory("UnitTest")]
+ [TestCategory("Json")]
+ [TestCategory("AppRunner")]
+ public void UpdateVpcIngressConnection_ResourceNotFoundExceptionMarshallTest()
+ {
+ var operation = service_model.FindOperation("UpdateVpcIngressConnection");
+
+ var request = InstantiateClassGenerator.Execute();
+ var marshaller = new UpdateVpcIngressConnectionRequestMarshaller();
+ var internalRequest = marshaller.Marshall(request);
+ var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content);
+
+ Comparer.CompareObjectToJson(request,jsonRequest);
+
+ var exception = operation.Exceptions.First(e => e.Name.Equals("ResourceNotFoundException"));
+ var jsonResponse = new JsonSampleGenerator(service_model, exception).Execute();
+ var webResponse = new WebResponseData
+ {
+ Headers = {
+ {"x-amzn-RequestId", Guid.NewGuid().ToString()},
+ {"x-amz-crc32","0"},
+ {"x-amzn-ErrorType","ResourceNotFoundException"},
+ {"Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString()}
+ }
+ };
+ var context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), true, webResponse, true);
+ var response = UpdateVpcIngressConnectionResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
+
+ InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
+ }
}
}
\ No newline at end of file