libZSservicesZSamazonka-iamZSamazonka-iam
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.IAM.ListSigningCertificates

Description

Returns information about the signing certificates associated with the specified IAM user. If none exists, the operation returns an empty list.

Although each user is limited to a small number of signing certificates, you can still paginate the results using the MaxItems and Marker parameters.

If the UserName field is not specified, the user name is determined implicitly based on the Amazon Web Services access key ID used to sign the request for this operation. This operation works for access keys under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated users.

This operation returns paginated results.

Synopsis

Creating a Request

data ListSigningCertificates Source #

See: newListSigningCertificates smart constructor.

Constructors

ListSigningCertificates' 

Fields

  • userName :: Maybe Text

    The name of the IAM user whose signing certificates you want to examine.

    This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

  • marker :: Maybe Text

    Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.

  • maxItems :: Maybe Natural

    Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true.

    If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.

Instances

Instances details
Eq ListSigningCertificates Source # 
Instance details

Defined in Amazonka.IAM.ListSigningCertificates

Read ListSigningCertificates Source # 
Instance details

Defined in Amazonka.IAM.ListSigningCertificates

Show ListSigningCertificates Source # 
Instance details

Defined in Amazonka.IAM.ListSigningCertificates

Generic ListSigningCertificates Source # 
Instance details

Defined in Amazonka.IAM.ListSigningCertificates

Associated Types

type Rep ListSigningCertificates :: Type -> Type #

NFData ListSigningCertificates Source # 
Instance details

Defined in Amazonka.IAM.ListSigningCertificates

Methods

rnf :: ListSigningCertificates -> () #

Hashable ListSigningCertificates Source # 
Instance details

Defined in Amazonka.IAM.ListSigningCertificates

AWSPager ListSigningCertificates Source # 
Instance details

Defined in Amazonka.IAM.ListSigningCertificates

AWSRequest ListSigningCertificates Source # 
Instance details

Defined in Amazonka.IAM.ListSigningCertificates

ToHeaders ListSigningCertificates Source # 
Instance details

Defined in Amazonka.IAM.ListSigningCertificates

ToPath ListSigningCertificates Source # 
Instance details

Defined in Amazonka.IAM.ListSigningCertificates

ToQuery ListSigningCertificates Source # 
Instance details

Defined in Amazonka.IAM.ListSigningCertificates

type Rep ListSigningCertificates Source # 
Instance details

Defined in Amazonka.IAM.ListSigningCertificates

type Rep ListSigningCertificates = D1 ('MetaData "ListSigningCertificates" "Amazonka.IAM.ListSigningCertificates" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "ListSigningCertificates'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListSigningCertificates Source # 
Instance details

Defined in Amazonka.IAM.ListSigningCertificates

newListSigningCertificates :: ListSigningCertificates Source #

Create a value of ListSigningCertificates 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:userName:ListSigningCertificates', listSigningCertificates_userName - The name of the IAM user whose signing certificates you want to examine.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

$sel:marker:ListSigningCertificates', listSigningCertificates_marker - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.

$sel:maxItems:ListSigningCertificates', listSigningCertificates_maxItems - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true.

If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.

Request Lenses

listSigningCertificates_userName :: Lens' ListSigningCertificates (Maybe Text) Source #

The name of the IAM user whose signing certificates you want to examine.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

listSigningCertificates_marker :: Lens' ListSigningCertificates (Maybe Text) Source #

Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.

listSigningCertificates_maxItems :: Lens' ListSigningCertificates (Maybe Natural) Source #

Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true.

If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.

Destructuring the Response

data ListSigningCertificatesResponse Source #

Contains the response to a successful ListSigningCertificates request.

See: newListSigningCertificatesResponse smart constructor.

Constructors

ListSigningCertificatesResponse' 

Fields

  • marker :: Maybe Text

    When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

  • isTruncated :: Maybe Bool

    A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.

  • httpStatus :: Int

    The response's http status code.

  • certificates :: [SigningCertificate]

    A list of the user's signing certificate information.

Instances

Instances details
Eq ListSigningCertificatesResponse Source # 
Instance details

Defined in Amazonka.IAM.ListSigningCertificates

Read ListSigningCertificatesResponse Source # 
Instance details

Defined in Amazonka.IAM.ListSigningCertificates

Show ListSigningCertificatesResponse Source # 
Instance details

Defined in Amazonka.IAM.ListSigningCertificates

Generic ListSigningCertificatesResponse Source # 
Instance details

Defined in Amazonka.IAM.ListSigningCertificates

Associated Types

type Rep ListSigningCertificatesResponse :: Type -> Type #

NFData ListSigningCertificatesResponse Source # 
Instance details

Defined in Amazonka.IAM.ListSigningCertificates

type Rep ListSigningCertificatesResponse Source # 
Instance details

Defined in Amazonka.IAM.ListSigningCertificates

type Rep ListSigningCertificatesResponse = D1 ('MetaData "ListSigningCertificatesResponse" "Amazonka.IAM.ListSigningCertificates" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "ListSigningCertificatesResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "isTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "certificates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SigningCertificate]))))

newListSigningCertificatesResponse Source #

Create a value of ListSigningCertificatesResponse 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:marker:ListSigningCertificates', listSigningCertificatesResponse_marker - When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

$sel:isTruncated:ListSigningCertificatesResponse', listSigningCertificatesResponse_isTruncated - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.

$sel:httpStatus:ListSigningCertificatesResponse', listSigningCertificatesResponse_httpStatus - The response's http status code.

$sel:certificates:ListSigningCertificatesResponse', listSigningCertificatesResponse_certificates - A list of the user's signing certificate information.

Response Lenses

listSigningCertificatesResponse_marker :: Lens' ListSigningCertificatesResponse (Maybe Text) Source #

When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

listSigningCertificatesResponse_isTruncated :: Lens' ListSigningCertificatesResponse (Maybe Bool) Source #

A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.