libZSservicesZSamazonka-appstreamZSamazonka-appstream
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.AppStream.DescribeImagePermissions

Description

Retrieves a list that describes the permissions for shared AWS account IDs on a private image that you own.

Synopsis

Creating a Request

data DescribeImagePermissions Source #

See: newDescribeImagePermissions smart constructor.

Constructors

DescribeImagePermissions' 

Fields

  • nextToken :: Maybe Text

    The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

  • sharedAwsAccountIds :: Maybe (NonEmpty Text)

    The 12-digit identifier of one or more AWS accounts with which the image is shared.

  • maxResults :: Maybe Natural

    The maximum size of each page of results.

  • name :: Text

    The name of the private image for which to describe permissions. The image must be one that you own.

Instances

Instances details
Eq DescribeImagePermissions Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImagePermissions

Read DescribeImagePermissions Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImagePermissions

Show DescribeImagePermissions Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImagePermissions

Generic DescribeImagePermissions Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImagePermissions

Associated Types

type Rep DescribeImagePermissions :: Type -> Type #

NFData DescribeImagePermissions Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImagePermissions

Hashable DescribeImagePermissions Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImagePermissions

ToJSON DescribeImagePermissions Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImagePermissions

AWSRequest DescribeImagePermissions Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImagePermissions

ToHeaders DescribeImagePermissions Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImagePermissions

ToPath DescribeImagePermissions Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImagePermissions

ToQuery DescribeImagePermissions Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImagePermissions

type Rep DescribeImagePermissions Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImagePermissions

type Rep DescribeImagePermissions = D1 ('MetaData "DescribeImagePermissions" "Amazonka.AppStream.DescribeImagePermissions" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" 'False) (C1 ('MetaCons "DescribeImagePermissions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sharedAwsAccountIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DescribeImagePermissions Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImagePermissions

newDescribeImagePermissions Source #

Create a value of DescribeImagePermissions 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:DescribeImagePermissions', describeImagePermissions_nextToken - The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

$sel:sharedAwsAccountIds:DescribeImagePermissions', describeImagePermissions_sharedAwsAccountIds - The 12-digit identifier of one or more AWS accounts with which the image is shared.

$sel:maxResults:DescribeImagePermissions', describeImagePermissions_maxResults - The maximum size of each page of results.

$sel:name:DescribeImagePermissions', describeImagePermissions_name - The name of the private image for which to describe permissions. The image must be one that you own.

Request Lenses

describeImagePermissions_nextToken :: Lens' DescribeImagePermissions (Maybe Text) Source #

The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

describeImagePermissions_sharedAwsAccountIds :: Lens' DescribeImagePermissions (Maybe (NonEmpty Text)) Source #

The 12-digit identifier of one or more AWS accounts with which the image is shared.

describeImagePermissions_name :: Lens' DescribeImagePermissions Text Source #

The name of the private image for which to describe permissions. The image must be one that you own.

Destructuring the Response

data DescribeImagePermissionsResponse Source #

See: newDescribeImagePermissionsResponse smart constructor.

Constructors

DescribeImagePermissionsResponse' 

Fields

Instances

Instances details
Eq DescribeImagePermissionsResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImagePermissions

Read DescribeImagePermissionsResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImagePermissions

Show DescribeImagePermissionsResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImagePermissions

Generic DescribeImagePermissionsResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImagePermissions

Associated Types

type Rep DescribeImagePermissionsResponse :: Type -> Type #

NFData DescribeImagePermissionsResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImagePermissions

type Rep DescribeImagePermissionsResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImagePermissions

type Rep DescribeImagePermissionsResponse = D1 ('MetaData "DescribeImagePermissionsResponse" "Amazonka.AppStream.DescribeImagePermissions" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" 'False) (C1 ('MetaCons "DescribeImagePermissionsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sharedImagePermissionsList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SharedImagePermissions])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeImagePermissionsResponse Source #

Create a value of DescribeImagePermissionsResponse 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:sharedImagePermissionsList:DescribeImagePermissionsResponse', describeImagePermissionsResponse_sharedImagePermissionsList - The permissions for a private image that you own.

$sel:nextToken:DescribeImagePermissions', describeImagePermissionsResponse_nextToken - The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

$sel:name:DescribeImagePermissions', describeImagePermissionsResponse_name - The name of the private image.

$sel:httpStatus:DescribeImagePermissionsResponse', describeImagePermissionsResponse_httpStatus - The response's http status code.

Response Lenses

describeImagePermissionsResponse_nextToken :: Lens' DescribeImagePermissionsResponse (Maybe Text) Source #

The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.