| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeArtifact.DescribeDomain
Description
Returns a DomainDescription object that contains information about the requested domain.
Synopsis
- data DescribeDomain = DescribeDomain' {
- domainOwner :: Maybe Text
- domain :: Text
- newDescribeDomain :: Text -> DescribeDomain
- describeDomain_domainOwner :: Lens' DescribeDomain (Maybe Text)
- describeDomain_domain :: Lens' DescribeDomain Text
- data DescribeDomainResponse = DescribeDomainResponse' {}
- newDescribeDomainResponse :: Int -> DescribeDomainResponse
- describeDomainResponse_domain :: Lens' DescribeDomainResponse (Maybe DomainDescription)
- describeDomainResponse_httpStatus :: Lens' DescribeDomainResponse Int
Creating a Request
data DescribeDomain Source #
See: newDescribeDomain smart constructor.
Constructors
| DescribeDomain' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeDomain |
Create a value of DescribeDomain 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:
DescribeDomain, describeDomain_domainOwner - The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
DescribeDomain, describeDomain_domain - A string that specifies the name of the requested domain.
Request Lenses
describeDomain_domainOwner :: Lens' DescribeDomain (Maybe Text) Source #
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
describeDomain_domain :: Lens' DescribeDomain Text Source #
A string that specifies the name of the requested domain.
Destructuring the Response
data DescribeDomainResponse Source #
See: newDescribeDomainResponse smart constructor.
Constructors
| DescribeDomainResponse' | |
Fields
| |
Instances
newDescribeDomainResponse Source #
Create a value of DescribeDomainResponse 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:
DescribeDomain, describeDomainResponse_domain - Undocumented member.
$sel:httpStatus:DescribeDomainResponse', describeDomainResponse_httpStatus - The response's http status code.
Response Lenses
describeDomainResponse_domain :: Lens' DescribeDomainResponse (Maybe DomainDescription) Source #
Undocumented member.
describeDomainResponse_httpStatus :: Lens' DescribeDomainResponse Int Source #
The response's http status code.