Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Return a description of custom domain names that are associated with an App Runner service.
Synopsis
- data DescribeCustomDomains = DescribeCustomDomains' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- serviceArn :: Text
- newDescribeCustomDomains :: Text -> DescribeCustomDomains
- describeCustomDomains_nextToken :: Lens' DescribeCustomDomains (Maybe Text)
- describeCustomDomains_maxResults :: Lens' DescribeCustomDomains (Maybe Natural)
- describeCustomDomains_serviceArn :: Lens' DescribeCustomDomains Text
- data DescribeCustomDomainsResponse = DescribeCustomDomainsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- dNSTarget :: Text
- serviceArn :: Text
- customDomains :: [CustomDomain]
- newDescribeCustomDomainsResponse :: Int -> Text -> Text -> DescribeCustomDomainsResponse
- describeCustomDomainsResponse_nextToken :: Lens' DescribeCustomDomainsResponse (Maybe Text)
- describeCustomDomainsResponse_httpStatus :: Lens' DescribeCustomDomainsResponse Int
- describeCustomDomainsResponse_dNSTarget :: Lens' DescribeCustomDomainsResponse Text
- describeCustomDomainsResponse_serviceArn :: Lens' DescribeCustomDomainsResponse Text
- describeCustomDomainsResponse_customDomains :: Lens' DescribeCustomDomainsResponse [CustomDomain]
Creating a Request
data DescribeCustomDomains Source #
See: newDescribeCustomDomains
smart constructor.
DescribeCustomDomains' | |
|
Instances
newDescribeCustomDomains Source #
Create a value of DescribeCustomDomains
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:DescribeCustomDomains'
, describeCustomDomains_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.
$sel:maxResults:DescribeCustomDomains'
, describeCustomDomains_maxResults
- The maximum number of results that each response (result page) can
include. It's used for a paginated request.
If you don't specify MaxResults
, the request retrieves all available
results in a single response.
$sel:serviceArn:DescribeCustomDomains'
, describeCustomDomains_serviceArn
- The Amazon Resource Name (ARN) of the App Runner service that you want
associated custom domain names to be described for.
Request Lenses
describeCustomDomains_nextToken :: Lens' DescribeCustomDomains (Maybe Text) Source #
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.
describeCustomDomains_maxResults :: Lens' DescribeCustomDomains (Maybe Natural) Source #
The maximum number of results that each response (result page) can include. It's used for a paginated request.
If you don't specify MaxResults
, the request retrieves all available
results in a single response.
describeCustomDomains_serviceArn :: Lens' DescribeCustomDomains Text Source #
The Amazon Resource Name (ARN) of the App Runner service that you want associated custom domain names to be described for.
Destructuring the Response
data DescribeCustomDomainsResponse Source #
See: newDescribeCustomDomainsResponse
smart constructor.
DescribeCustomDomainsResponse' | |
|
Instances
newDescribeCustomDomainsResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> DescribeCustomDomainsResponse |
Create a value of DescribeCustomDomainsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:DescribeCustomDomains'
, 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.
$sel:httpStatus:DescribeCustomDomainsResponse'
, describeCustomDomainsResponse_httpStatus
- The response's http status code.
$sel:dNSTarget:DescribeCustomDomainsResponse'
, describeCustomDomainsResponse_dNSTarget
- The App Runner subdomain of the App Runner service. The associated
custom domain names are mapped to this target name.
$sel:serviceArn:DescribeCustomDomains'
, describeCustomDomainsResponse_serviceArn
- The Amazon Resource Name (ARN) of the App Runner service whose
associated custom domain names you want to describe.
$sel:customDomains:DescribeCustomDomainsResponse'
, 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.
Response Lenses
describeCustomDomainsResponse_nextToken :: Lens' DescribeCustomDomainsResponse (Maybe Text) Source #
The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
describeCustomDomainsResponse_httpStatus :: Lens' DescribeCustomDomainsResponse Int Source #
The response's http status code.
describeCustomDomainsResponse_dNSTarget :: Lens' DescribeCustomDomainsResponse Text Source #
The App Runner subdomain of the App Runner service. The associated custom domain names are mapped to this target name.
describeCustomDomainsResponse_serviceArn :: Lens' DescribeCustomDomainsResponse Text Source #
The Amazon Resource Name (ARN) of the App Runner service whose associated custom domain names you want to describe.
describeCustomDomainsResponse_customDomains :: Lens' DescribeCustomDomainsResponse [CustomDomain] Source #
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.