libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeArtifact.GetDomainPermissionsPolicy

Description

Returns the resource policy attached to the specified domain.

The policy is a resource-based policy, not an identity-based policy. For more information, see Identity-based policies and resource-based policies in the AWS Identity and Access Management User Guide.

Synopsis

Creating a Request

data GetDomainPermissionsPolicy Source #

See: newGetDomainPermissionsPolicy smart constructor.

Constructors

GetDomainPermissionsPolicy' 

Fields

  • domainOwner :: Maybe Text

    The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

  • domain :: Text

    The name of the domain to which the resource policy is attached.

Instances

Instances details
Eq GetDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy

Read GetDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy

Show GetDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy

Generic GetDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy

Associated Types

type Rep GetDomainPermissionsPolicy :: Type -> Type #

NFData GetDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy

Hashable GetDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy

AWSRequest GetDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy

ToHeaders GetDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy

ToPath GetDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy

ToQuery GetDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy

type Rep GetDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy

type Rep GetDomainPermissionsPolicy = D1 ('MetaData "GetDomainPermissionsPolicy" "Amazonka.CodeArtifact.GetDomainPermissionsPolicy" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "GetDomainPermissionsPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy

newGetDomainPermissionsPolicy Source #

Create a value of GetDomainPermissionsPolicy 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:domainOwner:GetDomainPermissionsPolicy', getDomainPermissionsPolicy_domainOwner - The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

$sel:domain:GetDomainPermissionsPolicy', getDomainPermissionsPolicy_domain - The name of the domain to which the resource policy is attached.

Request Lenses

getDomainPermissionsPolicy_domainOwner :: Lens' GetDomainPermissionsPolicy (Maybe Text) Source #

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

getDomainPermissionsPolicy_domain :: Lens' GetDomainPermissionsPolicy Text Source #

The name of the domain to which the resource policy is attached.

Destructuring the Response

data GetDomainPermissionsPolicyResponse Source #

Constructors

GetDomainPermissionsPolicyResponse' 

Fields

Instances

Instances details
Eq GetDomainPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy

Read GetDomainPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy

Show GetDomainPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy

Generic GetDomainPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy

Associated Types

type Rep GetDomainPermissionsPolicyResponse :: Type -> Type #

NFData GetDomainPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy

type Rep GetDomainPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy

type Rep GetDomainPermissionsPolicyResponse = D1 ('MetaData "GetDomainPermissionsPolicyResponse" "Amazonka.CodeArtifact.GetDomainPermissionsPolicy" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "GetDomainPermissionsPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourcePolicy)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetDomainPermissionsPolicyResponse Source #

Create a value of GetDomainPermissionsPolicyResponse 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:policy:GetDomainPermissionsPolicyResponse', getDomainPermissionsPolicyResponse_policy - The returned resource policy.

$sel:httpStatus:GetDomainPermissionsPolicyResponse', getDomainPermissionsPolicyResponse_httpStatus - The response's http status code.

Response Lenses