amazonka-rolesanywhere-2.0: Amazon IAM Roles Anywhere SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.RolesAnywhere.Lens

Description

 
Synopsis

Operations

CreateProfile

createProfile_durationSeconds :: Lens' CreateProfile (Maybe Natural) Source #

The number of seconds the vended session credentials are valid for.

createProfile_enabled :: Lens' CreateProfile (Maybe Bool) Source #

Specifies whether the profile is enabled.

createProfile_managedPolicyArns :: Lens' CreateProfile (Maybe [Text]) Source #

A list of managed policy ARNs that apply to the vended session credentials.

createProfile_requireInstanceProperties :: Lens' CreateProfile (Maybe Bool) Source #

Specifies whether instance properties are required in CreateSession requests with this profile.

createProfile_sessionPolicy :: Lens' CreateProfile (Maybe Text) Source #

A session policy that applies to the trust boundary of the vended session credentials.

createProfile_tags :: Lens' CreateProfile (Maybe [Tag]) Source #

The tags to attach to the profile.

createProfile_name :: Lens' CreateProfile Text Source #

The name of the profile.

createProfile_roleArns :: Lens' CreateProfile [Text] Source #

A list of IAM roles that this profile can assume in a CreateSession operation.

profileDetailResponse_profile :: Lens' ProfileDetailResponse (Maybe ProfileDetail) Source #

The state of the profile after a read or write operation.

CreateTrustAnchor

createTrustAnchor_enabled :: Lens' CreateTrustAnchor (Maybe Bool) Source #

Specifies whether the trust anchor is enabled.

createTrustAnchor_tags :: Lens' CreateTrustAnchor (Maybe [Tag]) Source #

The tags to attach to the trust anchor.

createTrustAnchor_name :: Lens' CreateTrustAnchor Text Source #

The name of the trust anchor.

createTrustAnchor_source :: Lens' CreateTrustAnchor Source Source #

The trust anchor type and its related certificate data.

trustAnchorDetailResponse_trustAnchor :: Lens' TrustAnchorDetailResponse TrustAnchorDetail Source #

The state of the trust anchor after a read or write operation.

DeleteCrl

deleteCrl_crlId :: Lens' DeleteCrl Text Source #

The unique identifier of the certificate revocation list (CRL).

crlDetailResponse_crl :: Lens' CrlDetailResponse CrlDetail Source #

The state of the certificate revocation list (CRL) after a read or write operation.

DeleteProfile

deleteProfile_profileId :: Lens' DeleteProfile Text Source #

The unique identifier of the profile.

profileDetailResponse_profile :: Lens' ProfileDetailResponse (Maybe ProfileDetail) Source #

The state of the profile after a read or write operation.

DeleteTrustAnchor

deleteTrustAnchor_trustAnchorId :: Lens' DeleteTrustAnchor Text Source #

The unique identifier of the trust anchor.

trustAnchorDetailResponse_trustAnchor :: Lens' TrustAnchorDetailResponse TrustAnchorDetail Source #

The state of the trust anchor after a read or write operation.

DisableCrl

disableCrl_crlId :: Lens' DisableCrl Text Source #

The unique identifier of the certificate revocation list (CRL).

crlDetailResponse_crl :: Lens' CrlDetailResponse CrlDetail Source #

The state of the certificate revocation list (CRL) after a read or write operation.

DisableProfile

disableProfile_profileId :: Lens' DisableProfile Text Source #

The unique identifier of the profile.

profileDetailResponse_profile :: Lens' ProfileDetailResponse (Maybe ProfileDetail) Source #

The state of the profile after a read or write operation.

DisableTrustAnchor

disableTrustAnchor_trustAnchorId :: Lens' DisableTrustAnchor Text Source #

The unique identifier of the trust anchor.

trustAnchorDetailResponse_trustAnchor :: Lens' TrustAnchorDetailResponse TrustAnchorDetail Source #

The state of the trust anchor after a read or write operation.

EnableCrl

enableCrl_crlId :: Lens' EnableCrl Text Source #

The unique identifier of the certificate revocation list (CRL).

crlDetailResponse_crl :: Lens' CrlDetailResponse CrlDetail Source #

The state of the certificate revocation list (CRL) after a read or write operation.

EnableProfile

enableProfile_profileId :: Lens' EnableProfile Text Source #

The unique identifier of the profile.

profileDetailResponse_profile :: Lens' ProfileDetailResponse (Maybe ProfileDetail) Source #

The state of the profile after a read or write operation.

EnableTrustAnchor

enableTrustAnchor_trustAnchorId :: Lens' EnableTrustAnchor Text Source #

The unique identifier of the trust anchor.

trustAnchorDetailResponse_trustAnchor :: Lens' TrustAnchorDetailResponse TrustAnchorDetail Source #

The state of the trust anchor after a read or write operation.

GetCrl

getCrl_crlId :: Lens' GetCrl Text Source #

The unique identifier of the certificate revocation list (CRL).

crlDetailResponse_crl :: Lens' CrlDetailResponse CrlDetail Source #

The state of the certificate revocation list (CRL) after a read or write operation.

GetProfile

getProfile_profileId :: Lens' GetProfile Text Source #

The unique identifier of the profile.

profileDetailResponse_profile :: Lens' ProfileDetailResponse (Maybe ProfileDetail) Source #

The state of the profile after a read or write operation.

GetSubject

getSubject_subjectId :: Lens' GetSubject Text Source #

The unique identifier of the subject.

getSubjectResponse_subject :: Lens' GetSubjectResponse (Maybe SubjectDetail) Source #

The state of the subject after a read or write operation.

GetTrustAnchor

getTrustAnchor_trustAnchorId :: Lens' GetTrustAnchor Text Source #

The unique identifier of the trust anchor.

trustAnchorDetailResponse_trustAnchor :: Lens' TrustAnchorDetailResponse TrustAnchorDetail Source #

The state of the trust anchor after a read or write operation.

ImportCrl

importCrl_enabled :: Lens' ImportCrl (Maybe Bool) Source #

Specifies whether the certificate revocation list (CRL) is enabled.

importCrl_tags :: Lens' ImportCrl (Maybe [Tag]) Source #

A list of tags to attach to the certificate revocation list (CRL).

importCrl_crlData :: Lens' ImportCrl ByteString Source #

The x509 v3 specified certificate revocation list-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

importCrl_name :: Lens' ImportCrl Text Source #

The name of the certificate revocation list (CRL).

importCrl_trustAnchorArn :: Lens' ImportCrl Text Source #

The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.

crlDetailResponse_crl :: Lens' CrlDetailResponse CrlDetail Source #

The state of the certificate revocation list (CRL) after a read or write operation.

ListCrls

listCrls_nextToken :: Lens' ListCrls (Maybe Text) Source #

A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.

listCrls_pageSize :: Lens' ListCrls (Maybe Int) Source #

The number of resources in the paginated list.

listCrlsResponse_crls :: Lens' ListCrlsResponse (Maybe [CrlDetail]) Source #

A list of certificate revocation lists (CRL).

listCrlsResponse_nextToken :: Lens' ListCrlsResponse (Maybe Text) Source #

A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.

listCrlsResponse_httpStatus :: Lens' ListCrlsResponse Int Source #

The response's http status code.

ListProfiles

listProfiles_nextToken :: Lens' ListProfiles (Maybe Text) Source #

A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.

listProfiles_pageSize :: Lens' ListProfiles (Maybe Int) Source #

The number of resources in the paginated list.

listProfilesResponse_nextToken :: Lens' ListProfilesResponse (Maybe Text) Source #

A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.

ListSubjects

listSubjects_nextToken :: Lens' ListSubjects (Maybe Text) Source #

A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.

listSubjects_pageSize :: Lens' ListSubjects (Maybe Int) Source #

The number of resources in the paginated list.

listSubjectsResponse_nextToken :: Lens' ListSubjectsResponse (Maybe Text) Source #

A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.

ListTagsForResource

listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag]) Source #

A list of tags attached to the resource.

ListTrustAnchors

listTrustAnchors_nextToken :: Lens' ListTrustAnchors (Maybe Text) Source #

A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.

listTrustAnchors_pageSize :: Lens' ListTrustAnchors (Maybe Int) Source #

The number of resources in the paginated list.

listTrustAnchorsResponse_nextToken :: Lens' ListTrustAnchorsResponse (Maybe Text) Source #

A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.

TagResource

tagResource_tags :: Lens' TagResource [Tag] Source #

The tags to attach to the resource.

UntagResource

untagResource_tagKeys :: Lens' UntagResource [Text] Source #

A list of keys. Tag keys are the unique identifiers of tags.

UpdateCrl

updateCrl_crlData :: Lens' UpdateCrl (Maybe ByteString) Source #

The x509 v3 specified certificate revocation list-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

updateCrl_name :: Lens' UpdateCrl (Maybe Text) Source #

The name of the Crl.

updateCrl_crlId :: Lens' UpdateCrl Text Source #

The unique identifier of the certificate revocation list (CRL).

crlDetailResponse_crl :: Lens' CrlDetailResponse CrlDetail Source #

The state of the certificate revocation list (CRL) after a read or write operation.

UpdateProfile

updateProfile_durationSeconds :: Lens' UpdateProfile (Maybe Natural) Source #

The number of seconds the vended session credentials are valid for.

updateProfile_managedPolicyArns :: Lens' UpdateProfile (Maybe [Text]) Source #

A list of managed policy ARNs that apply to the vended session credentials.

updateProfile_name :: Lens' UpdateProfile (Maybe Text) Source #

The name of the profile.

updateProfile_roleArns :: Lens' UpdateProfile (Maybe [Text]) Source #

A list of IAM roles that this profile can assume in a CreateSession operation.

updateProfile_sessionPolicy :: Lens' UpdateProfile (Maybe Text) Source #

A session policy that applies to the trust boundary of the vended session credentials.

updateProfile_profileId :: Lens' UpdateProfile Text Source #

The unique identifier of the profile.

profileDetailResponse_profile :: Lens' ProfileDetailResponse (Maybe ProfileDetail) Source #

The state of the profile after a read or write operation.

UpdateTrustAnchor

updateTrustAnchor_name :: Lens' UpdateTrustAnchor (Maybe Text) Source #

The name of the trust anchor.

updateTrustAnchor_source :: Lens' UpdateTrustAnchor (Maybe Source) Source #

The trust anchor type and its related certificate data.

updateTrustAnchor_trustAnchorId :: Lens' UpdateTrustAnchor Text Source #

The unique identifier of the trust anchor.

trustAnchorDetailResponse_trustAnchor :: Lens' TrustAnchorDetailResponse TrustAnchorDetail Source #

The state of the trust anchor after a read or write operation.

Types

CredentialSummary

credentialSummary_enabled :: Lens' CredentialSummary (Maybe Bool) Source #

Indicates whether the credential is enabled.

credentialSummary_failed :: Lens' CredentialSummary (Maybe Bool) Source #

Indicates whether the CreateSession operation was successful.

credentialSummary_issuer :: Lens' CredentialSummary (Maybe Text) Source #

The fully qualified domain name of the issuing certificate for the presented end-entity certificate.

credentialSummary_seenAt :: Lens' CredentialSummary (Maybe UTCTime) Source #

The ISO-8601 time stamp of when the certificate was last used in a CreateSession operation.

credentialSummary_serialNumber :: Lens' CredentialSummary (Maybe Text) Source #

The serial number of the certificate.

credentialSummary_x509CertificateData :: Lens' CredentialSummary (Maybe Text) Source #

The PEM-encoded data of the certificate.

CrlDetail

crlDetail_createdAt :: Lens' CrlDetail (Maybe UTCTime) Source #

The ISO-8601 timestamp when the certificate revocation list (CRL) was created.

crlDetail_crlArn :: Lens' CrlDetail (Maybe Text) Source #

The ARN of the certificate revocation list (CRL).

crlDetail_crlData :: Lens' CrlDetail (Maybe ByteString) Source #

The state of the certificate revocation list (CRL) after a read or write operation.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

crlDetail_crlId :: Lens' CrlDetail (Maybe Text) Source #

The unique identifier of the certificate revocation list (CRL).

crlDetail_enabled :: Lens' CrlDetail (Maybe Bool) Source #

Indicates whether the certificate revocation list (CRL) is enabled.

crlDetail_name :: Lens' CrlDetail (Maybe Text) Source #

The name of the certificate revocation list (CRL).

crlDetail_trustAnchorArn :: Lens' CrlDetail (Maybe Text) Source #

The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.

crlDetail_updatedAt :: Lens' CrlDetail (Maybe UTCTime) Source #

The ISO-8601 timestamp when the certificate revocation list (CRL) was last updated.

CrlDetailResponse

crlDetailResponse_crl :: Lens' CrlDetailResponse CrlDetail Source #

The state of the certificate revocation list (CRL) after a read or write operation.

InstanceProperty

instanceProperty_failed :: Lens' InstanceProperty (Maybe Bool) Source #

Indicates whether the CreateSession operation was successful.

instanceProperty_properties :: Lens' InstanceProperty (Maybe (HashMap Text Text)) Source #

A list of instanceProperty objects.

instanceProperty_seenAt :: Lens' InstanceProperty (Maybe UTCTime) Source #

The ISO-8601 time stamp of when the certificate was last used in a CreateSession operation.

ListRequest

listRequest_nextToken :: Lens' ListRequest (Maybe Text) Source #

A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.

listRequest_pageSize :: Lens' ListRequest (Maybe Int) Source #

The number of resources in the paginated list.

ProfileDetail

profileDetail_createdAt :: Lens' ProfileDetail (Maybe UTCTime) Source #

The ISO-8601 timestamp when the profile was created.

profileDetail_createdBy :: Lens' ProfileDetail (Maybe Text) Source #

The Amazon Web Services account that created the profile.

profileDetail_durationSeconds :: Lens' ProfileDetail (Maybe Int) Source #

The number of seconds the vended session credentials are valid for.

profileDetail_enabled :: Lens' ProfileDetail (Maybe Bool) Source #

Indicates whether the profile is enabled.

profileDetail_managedPolicyArns :: Lens' ProfileDetail (Maybe [Text]) Source #

A list of managed policy ARNs that apply to the vended session credentials.

profileDetail_name :: Lens' ProfileDetail (Maybe Text) Source #

The name of the profile.

profileDetail_profileId :: Lens' ProfileDetail (Maybe Text) Source #

The unique identifier of the profile.

profileDetail_requireInstanceProperties :: Lens' ProfileDetail (Maybe Bool) Source #

Specifies whether instance properties are required in CreateSession requests with this profile.

profileDetail_roleArns :: Lens' ProfileDetail (Maybe [Text]) Source #

A list of IAM roles that this profile can assume in a CreateSession operation.

profileDetail_sessionPolicy :: Lens' ProfileDetail (Maybe Text) Source #

A session policy that applies to the trust boundary of the vended session credentials.

profileDetail_updatedAt :: Lens' ProfileDetail (Maybe UTCTime) Source #

The ISO-8601 timestamp when the profile was last updated.

ProfileDetailResponse

profileDetailResponse_profile :: Lens' ProfileDetailResponse (Maybe ProfileDetail) Source #

The state of the profile after a read or write operation.

ScalarCrlRequest

scalarCrlRequest_crlId :: Lens' ScalarCrlRequest Text Source #

The unique identifier of the certificate revocation list (CRL).

ScalarProfileRequest

scalarProfileRequest_profileId :: Lens' ScalarProfileRequest Text Source #

The unique identifier of the profile.

ScalarTrustAnchorRequest

Source

source_sourceData :: Lens' Source (Maybe SourceData) Source #

The data field of the trust anchor depending on its type.

source_sourceType :: Lens' Source (Maybe TrustAnchorType) Source #

The type of the trust anchor.

SourceData

sourceData_acmPcaArn :: Lens' SourceData (Maybe Text) Source #

The root certificate of the Certificate Manager Private Certificate Authority specified by this ARN is used in trust validation for CreateSession operations. Included for trust anchors of type AWS_ACM_PCA.

sourceData_x509CertificateData :: Lens' SourceData (Maybe Text) Source #

The PEM-encoded data for the certificate anchor. Included for trust anchors of type CERTIFICATE_BUNDLE.

SubjectDetail

subjectDetail_createdAt :: Lens' SubjectDetail (Maybe UTCTime) Source #

The ISO-8601 timestamp when the subject was created.

subjectDetail_credentials :: Lens' SubjectDetail (Maybe [CredentialSummary]) Source #

The temporary session credentials vended at the last authenticating call with this Subject.

subjectDetail_enabled :: Lens' SubjectDetail (Maybe Bool) Source #

The enabled status of the subject.

subjectDetail_instanceProperties :: Lens' SubjectDetail (Maybe [InstanceProperty]) Source #

The specified instance properties associated with the request.

subjectDetail_lastSeenAt :: Lens' SubjectDetail (Maybe UTCTime) Source #

The ISO-8601 timestamp of the last time this Subject requested temporary session credentials.

subjectDetail_updatedAt :: Lens' SubjectDetail (Maybe UTCTime) Source #

The ISO-8601 timestamp when the subject was last updated.

subjectDetail_x509Subject :: Lens' SubjectDetail (Maybe Text) Source #

The x509 principal identifier of the authenticating certificate.

SubjectSummary

subjectSummary_createdAt :: Lens' SubjectSummary (Maybe UTCTime) Source #

The ISO-8601 time stamp of when the certificate was first used in a CreateSession operation.

subjectSummary_enabled :: Lens' SubjectSummary (Maybe Bool) Source #

The enabled status of the Subject.

subjectSummary_lastSeenAt :: Lens' SubjectSummary (Maybe UTCTime) Source #

The ISO-8601 time stamp of when the certificate was last used in a CreateSession operation.

subjectSummary_updatedAt :: Lens' SubjectSummary (Maybe UTCTime) Source #

The ISO-8601 timestamp when the subject was last updated.

subjectSummary_x509Subject :: Lens' SubjectSummary (Maybe Text) Source #

The x509 principal identifier of the authenticating certificate.

Tag

tag_key :: Lens' Tag Text Source #

The tag key.

tag_value :: Lens' Tag Text Source #

The tag value.

TrustAnchorDetail

trustAnchorDetail_createdAt :: Lens' TrustAnchorDetail (Maybe UTCTime) Source #

The ISO-8601 timestamp when the trust anchor was created.

trustAnchorDetail_enabled :: Lens' TrustAnchorDetail (Maybe Bool) Source #

Indicates whether the trust anchor is enabled.

trustAnchorDetail_name :: Lens' TrustAnchorDetail (Maybe Text) Source #

The name of the trust anchor.

trustAnchorDetail_source :: Lens' TrustAnchorDetail (Maybe Source) Source #

The trust anchor type and its related certificate data.

trustAnchorDetail_trustAnchorId :: Lens' TrustAnchorDetail (Maybe Text) Source #

The unique identifier of the trust anchor.

trustAnchorDetail_updatedAt :: Lens' TrustAnchorDetail (Maybe UTCTime) Source #

The ISO-8601 timestamp when the trust anchor was last updated.

TrustAnchorDetailResponse

trustAnchorDetailResponse_trustAnchor :: Lens' TrustAnchorDetailResponse TrustAnchorDetail Source #

The state of the trust anchor after a read or write operation.