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.GetRepositoryPermissionsPolicy

Description

Returns the resource policy that is set on a repository.

Synopsis

Creating a Request

data GetRepositoryPermissionsPolicy Source #

See: newGetRepositoryPermissionsPolicy smart constructor.

Constructors

GetRepositoryPermissionsPolicy' 

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 containing the repository whose associated resource policy is to be retrieved.

  • repository :: Text

    The name of the repository whose associated resource policy is to be retrieved.

Instances

Instances details
Eq GetRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy

Read GetRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy

Show GetRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy

Generic GetRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy

Associated Types

type Rep GetRepositoryPermissionsPolicy :: Type -> Type #

NFData GetRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy

Hashable GetRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy

AWSRequest GetRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy

ToHeaders GetRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy

ToPath GetRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy

ToQuery GetRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy

type Rep GetRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy

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

Defined in Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy

newGetRepositoryPermissionsPolicy Source #

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

$sel:domain:GetRepositoryPermissionsPolicy', getRepositoryPermissionsPolicy_domain - The name of the domain containing the repository whose associated resource policy is to be retrieved.

$sel:repository:GetRepositoryPermissionsPolicy', getRepositoryPermissionsPolicy_repository - The name of the repository whose associated resource policy is to be retrieved.

Request Lenses

getRepositoryPermissionsPolicy_domainOwner :: Lens' GetRepositoryPermissionsPolicy (Maybe Text) Source #

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

getRepositoryPermissionsPolicy_domain :: Lens' GetRepositoryPermissionsPolicy Text Source #

The name of the domain containing the repository whose associated resource policy is to be retrieved.

getRepositoryPermissionsPolicy_repository :: Lens' GetRepositoryPermissionsPolicy Text Source #

The name of the repository whose associated resource policy is to be retrieved.

Destructuring the Response

data GetRepositoryPermissionsPolicyResponse Source #

Constructors

GetRepositoryPermissionsPolicyResponse' 

Fields

Instances

Instances details
Eq GetRepositoryPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy

Read GetRepositoryPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy

Show GetRepositoryPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy

Generic GetRepositoryPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy

NFData GetRepositoryPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy

type Rep GetRepositoryPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy

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

newGetRepositoryPermissionsPolicyResponse Source #

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

$sel:httpStatus:GetRepositoryPermissionsPolicyResponse', getRepositoryPermissionsPolicyResponse_httpStatus - The response's http status code.

Response Lenses