Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.AccessAnalyzer.Types
Contents
- Service Configuration
- Errors
- AccessPreviewStatus
- AccessPreviewStatusReasonCode
- AclPermission
- AnalyzerStatus
- FindingChangeType
- FindingSourceType
- FindingStatus
- FindingStatusUpdate
- JobErrorCode
- JobStatus
- KmsGrantOperation
- Locale
- OrderBy
- PolicyType
- ReasonCode
- ResourceType
- Type
- ValidatePolicyFindingType
- ValidatePolicyResourceType
- AccessPreview
- AccessPreviewFinding
- AccessPreviewStatusReason
- AccessPreviewSummary
- AclGrantee
- AnalyzedResource
- AnalyzedResourceSummary
- AnalyzerSummary
- ArchiveRuleSummary
- CloudTrailDetails
- CloudTrailProperties
- Configuration
- Criterion
- EbsSnapshotConfiguration
- EcrRepositoryConfiguration
- EfsFileSystemConfiguration
- Finding
- FindingSource
- FindingSourceDetail
- FindingSummary
- GeneratedPolicy
- GeneratedPolicyProperties
- GeneratedPolicyResult
- IamRoleConfiguration
- InlineArchiveRule
- InternetConfiguration
- JobDetails
- JobError
- KmsGrantConfiguration
- KmsGrantConstraints
- KmsKeyConfiguration
- Location
- NetworkOriginConfiguration
- PathElement
- PolicyGeneration
- PolicyGenerationDetails
- Position
- RdsDbClusterSnapshotAttributeValue
- RdsDbClusterSnapshotConfiguration
- RdsDbSnapshotAttributeValue
- RdsDbSnapshotConfiguration
- S3AccessPointConfiguration
- S3BucketAclGrantConfiguration
- S3BucketConfiguration
- S3PublicAccessBlockConfiguration
- SecretsManagerSecretConfiguration
- SnsTopicConfiguration
- SortCriteria
- Span
- SqsQueueConfiguration
- StatusReason
- Substring
- Trail
- TrailProperties
- ValidatePolicyFinding
- VpcConfiguration
Description
Synopsis
- defaultService :: Service
- _AccessDeniedException :: AsError a => Fold a ServiceError
- _ConflictException :: AsError a => Fold a ServiceError
- _InternalServerException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ServiceQuotaExceededException :: AsError a => Fold a ServiceError
- _ThrottlingException :: AsError a => Fold a ServiceError
- _ValidationException :: AsError a => Fold a ServiceError
- newtype AccessPreviewStatus where
- newtype AccessPreviewStatusReasonCode where
- newtype AclPermission where
- AclPermission' { }
- pattern AclPermission_FULL_CONTROL :: AclPermission
- pattern AclPermission_READ :: AclPermission
- pattern AclPermission_READ_ACP :: AclPermission
- pattern AclPermission_WRITE :: AclPermission
- pattern AclPermission_WRITE_ACP :: AclPermission
- newtype AnalyzerStatus where
- AnalyzerStatus' { }
- pattern AnalyzerStatus_ACTIVE :: AnalyzerStatus
- pattern AnalyzerStatus_CREATING :: AnalyzerStatus
- pattern AnalyzerStatus_DISABLED :: AnalyzerStatus
- pattern AnalyzerStatus_FAILED :: AnalyzerStatus
- newtype FindingChangeType where
- FindingChangeType' { }
- pattern FindingChangeType_CHANGED :: FindingChangeType
- pattern FindingChangeType_NEW :: FindingChangeType
- pattern FindingChangeType_UNCHANGED :: FindingChangeType
- newtype FindingSourceType where
- newtype FindingStatus where
- FindingStatus' { }
- pattern FindingStatus_ACTIVE :: FindingStatus
- pattern FindingStatus_ARCHIVED :: FindingStatus
- pattern FindingStatus_RESOLVED :: FindingStatus
- newtype FindingStatusUpdate where
- newtype JobErrorCode where
- JobErrorCode' { }
- pattern JobErrorCode_AUTHORIZATION_ERROR :: JobErrorCode
- pattern JobErrorCode_RESOURCE_NOT_FOUND_ERROR :: JobErrorCode
- pattern JobErrorCode_SERVICE_ERROR :: JobErrorCode
- pattern JobErrorCode_SERVICE_QUOTA_EXCEEDED_ERROR :: JobErrorCode
- newtype JobStatus where
- JobStatus' { }
- pattern JobStatus_CANCELED :: JobStatus
- pattern JobStatus_FAILED :: JobStatus
- pattern JobStatus_IN_PROGRESS :: JobStatus
- pattern JobStatus_SUCCEEDED :: JobStatus
- newtype KmsGrantOperation where
- KmsGrantOperation' { }
- pattern KmsGrantOperation_CreateGrant :: KmsGrantOperation
- pattern KmsGrantOperation_Decrypt :: KmsGrantOperation
- pattern KmsGrantOperation_DescribeKey :: KmsGrantOperation
- pattern KmsGrantOperation_Encrypt :: KmsGrantOperation
- pattern KmsGrantOperation_GenerateDataKey :: KmsGrantOperation
- pattern KmsGrantOperation_GenerateDataKeyPair :: KmsGrantOperation
- pattern KmsGrantOperation_GenerateDataKeyPairWithoutPlaintext :: KmsGrantOperation
- pattern KmsGrantOperation_GenerateDataKeyWithoutPlaintext :: KmsGrantOperation
- pattern KmsGrantOperation_GetPublicKey :: KmsGrantOperation
- pattern KmsGrantOperation_ReEncryptFrom :: KmsGrantOperation
- pattern KmsGrantOperation_ReEncryptTo :: KmsGrantOperation
- pattern KmsGrantOperation_RetireGrant :: KmsGrantOperation
- pattern KmsGrantOperation_Sign :: KmsGrantOperation
- pattern KmsGrantOperation_Verify :: KmsGrantOperation
- newtype Locale where
- Locale' {
- fromLocale :: Text
- pattern Locale_DE :: Locale
- pattern Locale_EN :: Locale
- pattern Locale_ES :: Locale
- pattern Locale_FR :: Locale
- pattern Locale_IT :: Locale
- pattern Locale_JA :: Locale
- pattern Locale_KO :: Locale
- pattern Locale_PT_BR :: Locale
- pattern Locale_ZH_CN :: Locale
- pattern Locale_ZH_TW :: Locale
- Locale' {
- newtype OrderBy where
- OrderBy' {
- fromOrderBy :: Text
- pattern OrderBy_ASC :: OrderBy
- pattern OrderBy_DESC :: OrderBy
- OrderBy' {
- newtype PolicyType where
- PolicyType' { }
- pattern PolicyType_IDENTITY_POLICY :: PolicyType
- pattern PolicyType_RESOURCE_POLICY :: PolicyType
- pattern PolicyType_SERVICE_CONTROL_POLICY :: PolicyType
- newtype ReasonCode where
- newtype ResourceType where
- ResourceType' { }
- pattern ResourceType_AWS__EC2__Snapshot :: ResourceType
- pattern ResourceType_AWS__ECR__Repository :: ResourceType
- pattern ResourceType_AWS__EFS__FileSystem :: ResourceType
- pattern ResourceType_AWS__IAM__Role :: ResourceType
- pattern ResourceType_AWS__KMS__Key :: ResourceType
- pattern ResourceType_AWS__Lambda__Function :: ResourceType
- pattern ResourceType_AWS__Lambda__LayerVersion :: ResourceType
- pattern ResourceType_AWS__RDS__DBClusterSnapshot :: ResourceType
- pattern ResourceType_AWS__RDS__DBSnapshot :: ResourceType
- pattern ResourceType_AWS__S3__Bucket :: ResourceType
- pattern ResourceType_AWS__SNS__Topic :: ResourceType
- pattern ResourceType_AWS__SQS__Queue :: ResourceType
- pattern ResourceType_AWS__SecretsManager__Secret :: ResourceType
- newtype Type where
- Type' { }
- pattern Type_ACCOUNT :: Type
- pattern Type_ORGANIZATION :: Type
- newtype ValidatePolicyFindingType where
- ValidatePolicyFindingType' { }
- pattern ValidatePolicyFindingType_ERROR :: ValidatePolicyFindingType
- pattern ValidatePolicyFindingType_SECURITY_WARNING :: ValidatePolicyFindingType
- pattern ValidatePolicyFindingType_SUGGESTION :: ValidatePolicyFindingType
- pattern ValidatePolicyFindingType_WARNING :: ValidatePolicyFindingType
- newtype ValidatePolicyResourceType where
- ValidatePolicyResourceType' { }
- pattern ValidatePolicyResourceType_AWS__IAM__AssumeRolePolicyDocument :: ValidatePolicyResourceType
- pattern ValidatePolicyResourceType_AWS__S3ObjectLambda__AccessPoint :: ValidatePolicyResourceType
- pattern ValidatePolicyResourceType_AWS__S3__AccessPoint :: ValidatePolicyResourceType
- pattern ValidatePolicyResourceType_AWS__S3__Bucket :: ValidatePolicyResourceType
- pattern ValidatePolicyResourceType_AWS__S3__MultiRegionAccessPoint :: ValidatePolicyResourceType
- data AccessPreview = AccessPreview' {}
- newAccessPreview :: Text -> Text -> UTCTime -> AccessPreviewStatus -> AccessPreview
- accessPreview_statusReason :: Lens' AccessPreview (Maybe AccessPreviewStatusReason)
- accessPreview_id :: Lens' AccessPreview Text
- accessPreview_analyzerArn :: Lens' AccessPreview Text
- accessPreview_configurations :: Lens' AccessPreview (HashMap Text Configuration)
- accessPreview_createdAt :: Lens' AccessPreview UTCTime
- accessPreview_status :: Lens' AccessPreview AccessPreviewStatus
- data AccessPreviewFinding = AccessPreviewFinding' {
- action :: Maybe [Text]
- condition :: Maybe (HashMap Text Text)
- error :: Maybe Text
- existingFindingId :: Maybe Text
- existingFindingStatus :: Maybe FindingStatus
- isPublic :: Maybe Bool
- principal :: Maybe (HashMap Text Text)
- resource :: Maybe Text
- sources :: Maybe [FindingSource]
- id :: Text
- resourceType :: ResourceType
- createdAt :: ISO8601
- changeType :: FindingChangeType
- status :: FindingStatus
- resourceOwnerAccount :: Text
- newAccessPreviewFinding :: Text -> ResourceType -> UTCTime -> FindingChangeType -> FindingStatus -> Text -> AccessPreviewFinding
- accessPreviewFinding_action :: Lens' AccessPreviewFinding (Maybe [Text])
- accessPreviewFinding_condition :: Lens' AccessPreviewFinding (Maybe (HashMap Text Text))
- accessPreviewFinding_error :: Lens' AccessPreviewFinding (Maybe Text)
- accessPreviewFinding_existingFindingId :: Lens' AccessPreviewFinding (Maybe Text)
- accessPreviewFinding_existingFindingStatus :: Lens' AccessPreviewFinding (Maybe FindingStatus)
- accessPreviewFinding_isPublic :: Lens' AccessPreviewFinding (Maybe Bool)
- accessPreviewFinding_principal :: Lens' AccessPreviewFinding (Maybe (HashMap Text Text))
- accessPreviewFinding_resource :: Lens' AccessPreviewFinding (Maybe Text)
- accessPreviewFinding_sources :: Lens' AccessPreviewFinding (Maybe [FindingSource])
- accessPreviewFinding_id :: Lens' AccessPreviewFinding Text
- accessPreviewFinding_resourceType :: Lens' AccessPreviewFinding ResourceType
- accessPreviewFinding_createdAt :: Lens' AccessPreviewFinding UTCTime
- accessPreviewFinding_changeType :: Lens' AccessPreviewFinding FindingChangeType
- accessPreviewFinding_status :: Lens' AccessPreviewFinding FindingStatus
- accessPreviewFinding_resourceOwnerAccount :: Lens' AccessPreviewFinding Text
- data AccessPreviewStatusReason = AccessPreviewStatusReason' {}
- newAccessPreviewStatusReason :: AccessPreviewStatusReasonCode -> AccessPreviewStatusReason
- accessPreviewStatusReason_code :: Lens' AccessPreviewStatusReason AccessPreviewStatusReasonCode
- data AccessPreviewSummary = AccessPreviewSummary' {}
- newAccessPreviewSummary :: Text -> Text -> UTCTime -> AccessPreviewStatus -> AccessPreviewSummary
- accessPreviewSummary_statusReason :: Lens' AccessPreviewSummary (Maybe AccessPreviewStatusReason)
- accessPreviewSummary_id :: Lens' AccessPreviewSummary Text
- accessPreviewSummary_analyzerArn :: Lens' AccessPreviewSummary Text
- accessPreviewSummary_createdAt :: Lens' AccessPreviewSummary UTCTime
- accessPreviewSummary_status :: Lens' AccessPreviewSummary AccessPreviewStatus
- data AclGrantee = AclGrantee' {}
- newAclGrantee :: AclGrantee
- aclGrantee_id :: Lens' AclGrantee (Maybe Text)
- aclGrantee_uri :: Lens' AclGrantee (Maybe Text)
- data AnalyzedResource = AnalyzedResource' {
- actions :: Maybe [Text]
- error :: Maybe Text
- sharedVia :: Maybe [Text]
- status :: Maybe FindingStatus
- resourceArn :: Text
- resourceType :: ResourceType
- createdAt :: ISO8601
- analyzedAt :: ISO8601
- updatedAt :: ISO8601
- isPublic :: Bool
- resourceOwnerAccount :: Text
- newAnalyzedResource :: Text -> ResourceType -> UTCTime -> UTCTime -> UTCTime -> Bool -> Text -> AnalyzedResource
- analyzedResource_actions :: Lens' AnalyzedResource (Maybe [Text])
- analyzedResource_error :: Lens' AnalyzedResource (Maybe Text)
- analyzedResource_sharedVia :: Lens' AnalyzedResource (Maybe [Text])
- analyzedResource_status :: Lens' AnalyzedResource (Maybe FindingStatus)
- analyzedResource_resourceArn :: Lens' AnalyzedResource Text
- analyzedResource_resourceType :: Lens' AnalyzedResource ResourceType
- analyzedResource_createdAt :: Lens' AnalyzedResource UTCTime
- analyzedResource_analyzedAt :: Lens' AnalyzedResource UTCTime
- analyzedResource_updatedAt :: Lens' AnalyzedResource UTCTime
- analyzedResource_isPublic :: Lens' AnalyzedResource Bool
- analyzedResource_resourceOwnerAccount :: Lens' AnalyzedResource Text
- data AnalyzedResourceSummary = AnalyzedResourceSummary' {}
- newAnalyzedResourceSummary :: Text -> Text -> ResourceType -> AnalyzedResourceSummary
- analyzedResourceSummary_resourceArn :: Lens' AnalyzedResourceSummary Text
- analyzedResourceSummary_resourceOwnerAccount :: Lens' AnalyzedResourceSummary Text
- analyzedResourceSummary_resourceType :: Lens' AnalyzedResourceSummary ResourceType
- data AnalyzerSummary = AnalyzerSummary' {
- lastResourceAnalyzed :: Maybe Text
- lastResourceAnalyzedAt :: Maybe ISO8601
- statusReason :: Maybe StatusReason
- tags :: Maybe (HashMap Text Text)
- arn :: Text
- name :: Text
- type' :: Type
- createdAt :: ISO8601
- status :: AnalyzerStatus
- newAnalyzerSummary :: Text -> Text -> Type -> UTCTime -> AnalyzerStatus -> AnalyzerSummary
- analyzerSummary_lastResourceAnalyzed :: Lens' AnalyzerSummary (Maybe Text)
- analyzerSummary_lastResourceAnalyzedAt :: Lens' AnalyzerSummary (Maybe UTCTime)
- analyzerSummary_statusReason :: Lens' AnalyzerSummary (Maybe StatusReason)
- analyzerSummary_tags :: Lens' AnalyzerSummary (Maybe (HashMap Text Text))
- analyzerSummary_arn :: Lens' AnalyzerSummary Text
- analyzerSummary_name :: Lens' AnalyzerSummary Text
- analyzerSummary_type :: Lens' AnalyzerSummary Type
- analyzerSummary_createdAt :: Lens' AnalyzerSummary UTCTime
- analyzerSummary_status :: Lens' AnalyzerSummary AnalyzerStatus
- data ArchiveRuleSummary = ArchiveRuleSummary' {}
- newArchiveRuleSummary :: Text -> UTCTime -> UTCTime -> ArchiveRuleSummary
- archiveRuleSummary_ruleName :: Lens' ArchiveRuleSummary Text
- archiveRuleSummary_filter :: Lens' ArchiveRuleSummary (HashMap Text Criterion)
- archiveRuleSummary_createdAt :: Lens' ArchiveRuleSummary UTCTime
- archiveRuleSummary_updatedAt :: Lens' ArchiveRuleSummary UTCTime
- data CloudTrailDetails = CloudTrailDetails' {}
- newCloudTrailDetails :: Text -> UTCTime -> CloudTrailDetails
- cloudTrailDetails_endTime :: Lens' CloudTrailDetails (Maybe UTCTime)
- cloudTrailDetails_trails :: Lens' CloudTrailDetails [Trail]
- cloudTrailDetails_accessRole :: Lens' CloudTrailDetails Text
- cloudTrailDetails_startTime :: Lens' CloudTrailDetails UTCTime
- data CloudTrailProperties = CloudTrailProperties' {}
- newCloudTrailProperties :: UTCTime -> UTCTime -> CloudTrailProperties
- cloudTrailProperties_trailProperties :: Lens' CloudTrailProperties [TrailProperties]
- cloudTrailProperties_startTime :: Lens' CloudTrailProperties UTCTime
- cloudTrailProperties_endTime :: Lens' CloudTrailProperties UTCTime
- data Configuration = Configuration' {
- ebsSnapshot :: Maybe EbsSnapshotConfiguration
- ecrRepository :: Maybe EcrRepositoryConfiguration
- efsFileSystem :: Maybe EfsFileSystemConfiguration
- iamRole :: Maybe IamRoleConfiguration
- kmsKey :: Maybe KmsKeyConfiguration
- rdsDbClusterSnapshot :: Maybe RdsDbClusterSnapshotConfiguration
- rdsDbSnapshot :: Maybe RdsDbSnapshotConfiguration
- s3Bucket :: Maybe S3BucketConfiguration
- secretsManagerSecret :: Maybe SecretsManagerSecretConfiguration
- snsTopic :: Maybe SnsTopicConfiguration
- sqsQueue :: Maybe SqsQueueConfiguration
- newConfiguration :: Configuration
- configuration_ebsSnapshot :: Lens' Configuration (Maybe EbsSnapshotConfiguration)
- configuration_ecrRepository :: Lens' Configuration (Maybe EcrRepositoryConfiguration)
- configuration_efsFileSystem :: Lens' Configuration (Maybe EfsFileSystemConfiguration)
- configuration_iamRole :: Lens' Configuration (Maybe IamRoleConfiguration)
- configuration_kmsKey :: Lens' Configuration (Maybe KmsKeyConfiguration)
- configuration_rdsDbClusterSnapshot :: Lens' Configuration (Maybe RdsDbClusterSnapshotConfiguration)
- configuration_rdsDbSnapshot :: Lens' Configuration (Maybe RdsDbSnapshotConfiguration)
- configuration_s3Bucket :: Lens' Configuration (Maybe S3BucketConfiguration)
- configuration_secretsManagerSecret :: Lens' Configuration (Maybe SecretsManagerSecretConfiguration)
- configuration_snsTopic :: Lens' Configuration (Maybe SnsTopicConfiguration)
- configuration_sqsQueue :: Lens' Configuration (Maybe SqsQueueConfiguration)
- data Criterion = Criterion' {}
- newCriterion :: Criterion
- criterion_contains :: Lens' Criterion (Maybe (NonEmpty Text))
- criterion_eq :: Lens' Criterion (Maybe (NonEmpty Text))
- criterion_exists :: Lens' Criterion (Maybe Bool)
- criterion_neq :: Lens' Criterion (Maybe (NonEmpty Text))
- data EbsSnapshotConfiguration = EbsSnapshotConfiguration' {}
- newEbsSnapshotConfiguration :: EbsSnapshotConfiguration
- ebsSnapshotConfiguration_groups :: Lens' EbsSnapshotConfiguration (Maybe [Text])
- ebsSnapshotConfiguration_kmsKeyId :: Lens' EbsSnapshotConfiguration (Maybe Text)
- ebsSnapshotConfiguration_userIds :: Lens' EbsSnapshotConfiguration (Maybe [Text])
- data EcrRepositoryConfiguration = EcrRepositoryConfiguration' {}
- newEcrRepositoryConfiguration :: EcrRepositoryConfiguration
- ecrRepositoryConfiguration_repositoryPolicy :: Lens' EcrRepositoryConfiguration (Maybe Text)
- data EfsFileSystemConfiguration = EfsFileSystemConfiguration' {}
- newEfsFileSystemConfiguration :: EfsFileSystemConfiguration
- efsFileSystemConfiguration_fileSystemPolicy :: Lens' EfsFileSystemConfiguration (Maybe Text)
- data Finding = Finding' {
- action :: Maybe [Text]
- error :: Maybe Text
- isPublic :: Maybe Bool
- principal :: Maybe (HashMap Text Text)
- resource :: Maybe Text
- sources :: Maybe [FindingSource]
- id :: Text
- resourceType :: ResourceType
- condition :: HashMap Text Text
- createdAt :: ISO8601
- analyzedAt :: ISO8601
- updatedAt :: ISO8601
- status :: FindingStatus
- resourceOwnerAccount :: Text
- newFinding :: Text -> ResourceType -> UTCTime -> UTCTime -> UTCTime -> FindingStatus -> Text -> Finding
- finding_action :: Lens' Finding (Maybe [Text])
- finding_error :: Lens' Finding (Maybe Text)
- finding_isPublic :: Lens' Finding (Maybe Bool)
- finding_principal :: Lens' Finding (Maybe (HashMap Text Text))
- finding_resource :: Lens' Finding (Maybe Text)
- finding_sources :: Lens' Finding (Maybe [FindingSource])
- finding_id :: Lens' Finding Text
- finding_resourceType :: Lens' Finding ResourceType
- finding_condition :: Lens' Finding (HashMap Text Text)
- finding_createdAt :: Lens' Finding UTCTime
- finding_analyzedAt :: Lens' Finding UTCTime
- finding_updatedAt :: Lens' Finding UTCTime
- finding_status :: Lens' Finding FindingStatus
- finding_resourceOwnerAccount :: Lens' Finding Text
- data FindingSource = FindingSource' {}
- newFindingSource :: FindingSourceType -> FindingSource
- findingSource_detail :: Lens' FindingSource (Maybe FindingSourceDetail)
- findingSource_type :: Lens' FindingSource FindingSourceType
- data FindingSourceDetail = FindingSourceDetail' {}
- newFindingSourceDetail :: FindingSourceDetail
- findingSourceDetail_accessPointAccount :: Lens' FindingSourceDetail (Maybe Text)
- findingSourceDetail_accessPointArn :: Lens' FindingSourceDetail (Maybe Text)
- data FindingSummary = FindingSummary' {
- action :: Maybe [Text]
- error :: Maybe Text
- isPublic :: Maybe Bool
- principal :: Maybe (HashMap Text Text)
- resource :: Maybe Text
- sources :: Maybe [FindingSource]
- id :: Text
- resourceType :: ResourceType
- condition :: HashMap Text Text
- createdAt :: ISO8601
- analyzedAt :: ISO8601
- updatedAt :: ISO8601
- status :: FindingStatus
- resourceOwnerAccount :: Text
- newFindingSummary :: Text -> ResourceType -> UTCTime -> UTCTime -> UTCTime -> FindingStatus -> Text -> FindingSummary
- findingSummary_action :: Lens' FindingSummary (Maybe [Text])
- findingSummary_error :: Lens' FindingSummary (Maybe Text)
- findingSummary_isPublic :: Lens' FindingSummary (Maybe Bool)
- findingSummary_principal :: Lens' FindingSummary (Maybe (HashMap Text Text))
- findingSummary_resource :: Lens' FindingSummary (Maybe Text)
- findingSummary_sources :: Lens' FindingSummary (Maybe [FindingSource])
- findingSummary_id :: Lens' FindingSummary Text
- findingSummary_resourceType :: Lens' FindingSummary ResourceType
- findingSummary_condition :: Lens' FindingSummary (HashMap Text Text)
- findingSummary_createdAt :: Lens' FindingSummary UTCTime
- findingSummary_analyzedAt :: Lens' FindingSummary UTCTime
- findingSummary_updatedAt :: Lens' FindingSummary UTCTime
- findingSummary_status :: Lens' FindingSummary FindingStatus
- findingSummary_resourceOwnerAccount :: Lens' FindingSummary Text
- data GeneratedPolicy = GeneratedPolicy' {}
- newGeneratedPolicy :: Text -> GeneratedPolicy
- generatedPolicy_policy :: Lens' GeneratedPolicy Text
- data GeneratedPolicyProperties = GeneratedPolicyProperties' {}
- newGeneratedPolicyProperties :: Text -> GeneratedPolicyProperties
- generatedPolicyProperties_cloudTrailProperties :: Lens' GeneratedPolicyProperties (Maybe CloudTrailProperties)
- generatedPolicyProperties_isComplete :: Lens' GeneratedPolicyProperties (Maybe Bool)
- generatedPolicyProperties_principalArn :: Lens' GeneratedPolicyProperties Text
- data GeneratedPolicyResult = GeneratedPolicyResult' {}
- newGeneratedPolicyResult :: GeneratedPolicyProperties -> GeneratedPolicyResult
- generatedPolicyResult_generatedPolicies :: Lens' GeneratedPolicyResult (Maybe [GeneratedPolicy])
- generatedPolicyResult_properties :: Lens' GeneratedPolicyResult GeneratedPolicyProperties
- data IamRoleConfiguration = IamRoleConfiguration' {
- trustPolicy :: Maybe Text
- newIamRoleConfiguration :: IamRoleConfiguration
- iamRoleConfiguration_trustPolicy :: Lens' IamRoleConfiguration (Maybe Text)
- data InlineArchiveRule = InlineArchiveRule' {}
- newInlineArchiveRule :: Text -> InlineArchiveRule
- inlineArchiveRule_ruleName :: Lens' InlineArchiveRule Text
- inlineArchiveRule_filter :: Lens' InlineArchiveRule (HashMap Text Criterion)
- data InternetConfiguration = InternetConfiguration' {
- newInternetConfiguration :: InternetConfiguration
- data JobDetails = JobDetails' {}
- newJobDetails :: Text -> JobStatus -> UTCTime -> JobDetails
- jobDetails_completedOn :: Lens' JobDetails (Maybe UTCTime)
- jobDetails_jobError :: Lens' JobDetails (Maybe JobError)
- jobDetails_jobId :: Lens' JobDetails Text
- jobDetails_status :: Lens' JobDetails JobStatus
- jobDetails_startedOn :: Lens' JobDetails UTCTime
- data JobError = JobError' {
- code :: JobErrorCode
- message :: Text
- newJobError :: JobErrorCode -> Text -> JobError
- jobError_code :: Lens' JobError JobErrorCode
- jobError_message :: Lens' JobError Text
- data KmsGrantConfiguration = KmsGrantConfiguration' {}
- newKmsGrantConfiguration :: Text -> Text -> KmsGrantConfiguration
- kmsGrantConfiguration_constraints :: Lens' KmsGrantConfiguration (Maybe KmsGrantConstraints)
- kmsGrantConfiguration_retiringPrincipal :: Lens' KmsGrantConfiguration (Maybe Text)
- kmsGrantConfiguration_operations :: Lens' KmsGrantConfiguration [KmsGrantOperation]
- kmsGrantConfiguration_granteePrincipal :: Lens' KmsGrantConfiguration Text
- kmsGrantConfiguration_issuingAccount :: Lens' KmsGrantConfiguration Text
- data KmsGrantConstraints = KmsGrantConstraints' {}
- newKmsGrantConstraints :: KmsGrantConstraints
- kmsGrantConstraints_encryptionContextEquals :: Lens' KmsGrantConstraints (Maybe (HashMap Text Text))
- kmsGrantConstraints_encryptionContextSubset :: Lens' KmsGrantConstraints (Maybe (HashMap Text Text))
- data KmsKeyConfiguration = KmsKeyConfiguration' {
- grants :: Maybe [KmsGrantConfiguration]
- keyPolicies :: Maybe (HashMap Text Text)
- newKmsKeyConfiguration :: KmsKeyConfiguration
- kmsKeyConfiguration_grants :: Lens' KmsKeyConfiguration (Maybe [KmsGrantConfiguration])
- kmsKeyConfiguration_keyPolicies :: Lens' KmsKeyConfiguration (Maybe (HashMap Text Text))
- data Location = Location' {
- path :: [PathElement]
- span :: Span
- newLocation :: Span -> Location
- location_path :: Lens' Location [PathElement]
- location_span :: Lens' Location Span
- data NetworkOriginConfiguration = NetworkOriginConfiguration' {}
- newNetworkOriginConfiguration :: NetworkOriginConfiguration
- networkOriginConfiguration_internetConfiguration :: Lens' NetworkOriginConfiguration (Maybe InternetConfiguration)
- networkOriginConfiguration_vpcConfiguration :: Lens' NetworkOriginConfiguration (Maybe VpcConfiguration)
- data PathElement = PathElement' {}
- newPathElement :: PathElement
- pathElement_index :: Lens' PathElement (Maybe Int)
- pathElement_key :: Lens' PathElement (Maybe Text)
- pathElement_substring :: Lens' PathElement (Maybe Substring)
- pathElement_value :: Lens' PathElement (Maybe Text)
- data PolicyGeneration = PolicyGeneration' {}
- newPolicyGeneration :: Text -> Text -> JobStatus -> UTCTime -> PolicyGeneration
- policyGeneration_completedOn :: Lens' PolicyGeneration (Maybe UTCTime)
- policyGeneration_jobId :: Lens' PolicyGeneration Text
- policyGeneration_principalArn :: Lens' PolicyGeneration Text
- policyGeneration_status :: Lens' PolicyGeneration JobStatus
- policyGeneration_startedOn :: Lens' PolicyGeneration UTCTime
- data PolicyGenerationDetails = PolicyGenerationDetails' {
- principalArn :: Text
- newPolicyGenerationDetails :: Text -> PolicyGenerationDetails
- policyGenerationDetails_principalArn :: Lens' PolicyGenerationDetails Text
- data Position = Position' {}
- newPosition :: Int -> Int -> Int -> Position
- position_line :: Lens' Position Int
- position_column :: Lens' Position Int
- position_offset :: Lens' Position Int
- data RdsDbClusterSnapshotAttributeValue = RdsDbClusterSnapshotAttributeValue' {
- accountIds :: Maybe [Text]
- newRdsDbClusterSnapshotAttributeValue :: RdsDbClusterSnapshotAttributeValue
- rdsDbClusterSnapshotAttributeValue_accountIds :: Lens' RdsDbClusterSnapshotAttributeValue (Maybe [Text])
- data RdsDbClusterSnapshotConfiguration = RdsDbClusterSnapshotConfiguration' {}
- newRdsDbClusterSnapshotConfiguration :: RdsDbClusterSnapshotConfiguration
- rdsDbClusterSnapshotConfiguration_attributes :: Lens' RdsDbClusterSnapshotConfiguration (Maybe (HashMap Text RdsDbClusterSnapshotAttributeValue))
- rdsDbClusterSnapshotConfiguration_kmsKeyId :: Lens' RdsDbClusterSnapshotConfiguration (Maybe Text)
- data RdsDbSnapshotAttributeValue = RdsDbSnapshotAttributeValue' {
- accountIds :: Maybe [Text]
- newRdsDbSnapshotAttributeValue :: RdsDbSnapshotAttributeValue
- rdsDbSnapshotAttributeValue_accountIds :: Lens' RdsDbSnapshotAttributeValue (Maybe [Text])
- data RdsDbSnapshotConfiguration = RdsDbSnapshotConfiguration' {}
- newRdsDbSnapshotConfiguration :: RdsDbSnapshotConfiguration
- rdsDbSnapshotConfiguration_attributes :: Lens' RdsDbSnapshotConfiguration (Maybe (HashMap Text RdsDbSnapshotAttributeValue))
- rdsDbSnapshotConfiguration_kmsKeyId :: Lens' RdsDbSnapshotConfiguration (Maybe Text)
- data S3AccessPointConfiguration = S3AccessPointConfiguration' {}
- newS3AccessPointConfiguration :: S3AccessPointConfiguration
- s3AccessPointConfiguration_accessPointPolicy :: Lens' S3AccessPointConfiguration (Maybe Text)
- s3AccessPointConfiguration_networkOrigin :: Lens' S3AccessPointConfiguration (Maybe NetworkOriginConfiguration)
- s3AccessPointConfiguration_publicAccessBlock :: Lens' S3AccessPointConfiguration (Maybe S3PublicAccessBlockConfiguration)
- data S3BucketAclGrantConfiguration = S3BucketAclGrantConfiguration' {}
- newS3BucketAclGrantConfiguration :: AclPermission -> AclGrantee -> S3BucketAclGrantConfiguration
- s3BucketAclGrantConfiguration_permission :: Lens' S3BucketAclGrantConfiguration AclPermission
- s3BucketAclGrantConfiguration_grantee :: Lens' S3BucketAclGrantConfiguration AclGrantee
- data S3BucketConfiguration = S3BucketConfiguration' {}
- newS3BucketConfiguration :: S3BucketConfiguration
- s3BucketConfiguration_accessPoints :: Lens' S3BucketConfiguration (Maybe (HashMap Text S3AccessPointConfiguration))
- s3BucketConfiguration_bucketAclGrants :: Lens' S3BucketConfiguration (Maybe [S3BucketAclGrantConfiguration])
- s3BucketConfiguration_bucketPolicy :: Lens' S3BucketConfiguration (Maybe Text)
- s3BucketConfiguration_bucketPublicAccessBlock :: Lens' S3BucketConfiguration (Maybe S3PublicAccessBlockConfiguration)
- data S3PublicAccessBlockConfiguration = S3PublicAccessBlockConfiguration' {}
- newS3PublicAccessBlockConfiguration :: Bool -> Bool -> S3PublicAccessBlockConfiguration
- s3PublicAccessBlockConfiguration_ignorePublicAcls :: Lens' S3PublicAccessBlockConfiguration Bool
- s3PublicAccessBlockConfiguration_restrictPublicBuckets :: Lens' S3PublicAccessBlockConfiguration Bool
- data SecretsManagerSecretConfiguration = SecretsManagerSecretConfiguration' {}
- newSecretsManagerSecretConfiguration :: SecretsManagerSecretConfiguration
- secretsManagerSecretConfiguration_kmsKeyId :: Lens' SecretsManagerSecretConfiguration (Maybe Text)
- secretsManagerSecretConfiguration_secretPolicy :: Lens' SecretsManagerSecretConfiguration (Maybe Text)
- data SnsTopicConfiguration = SnsTopicConfiguration' {
- topicPolicy :: Maybe Text
- newSnsTopicConfiguration :: SnsTopicConfiguration
- snsTopicConfiguration_topicPolicy :: Lens' SnsTopicConfiguration (Maybe Text)
- data SortCriteria = SortCriteria' {}
- newSortCriteria :: SortCriteria
- sortCriteria_attributeName :: Lens' SortCriteria (Maybe Text)
- sortCriteria_orderBy :: Lens' SortCriteria (Maybe OrderBy)
- data Span = Span' {}
- newSpan :: Position -> Position -> Span
- span_start :: Lens' Span Position
- span_end :: Lens' Span Position
- data SqsQueueConfiguration = SqsQueueConfiguration' {
- queuePolicy :: Maybe Text
- newSqsQueueConfiguration :: SqsQueueConfiguration
- sqsQueueConfiguration_queuePolicy :: Lens' SqsQueueConfiguration (Maybe Text)
- data StatusReason = StatusReason' {
- code :: ReasonCode
- newStatusReason :: ReasonCode -> StatusReason
- statusReason_code :: Lens' StatusReason ReasonCode
- data Substring = Substring' {}
- newSubstring :: Int -> Int -> Substring
- substring_start :: Lens' Substring Int
- substring_length :: Lens' Substring Int
- data Trail = Trail' {
- allRegions :: Maybe Bool
- regions :: Maybe [Text]
- cloudTrailArn :: Text
- newTrail :: Text -> Trail
- trail_allRegions :: Lens' Trail (Maybe Bool)
- trail_regions :: Lens' Trail (Maybe [Text])
- trail_cloudTrailArn :: Lens' Trail Text
- data TrailProperties = TrailProperties' {
- allRegions :: Maybe Bool
- regions :: Maybe [Text]
- cloudTrailArn :: Text
- newTrailProperties :: Text -> TrailProperties
- trailProperties_allRegions :: Lens' TrailProperties (Maybe Bool)
- trailProperties_regions :: Lens' TrailProperties (Maybe [Text])
- trailProperties_cloudTrailArn :: Lens' TrailProperties Text
- data ValidatePolicyFinding = ValidatePolicyFinding' {}
- newValidatePolicyFinding :: Text -> ValidatePolicyFindingType -> Text -> Text -> ValidatePolicyFinding
- validatePolicyFinding_findingDetails :: Lens' ValidatePolicyFinding Text
- validatePolicyFinding_findingType :: Lens' ValidatePolicyFinding ValidatePolicyFindingType
- validatePolicyFinding_issueCode :: Lens' ValidatePolicyFinding Text
- validatePolicyFinding_learnMoreLink :: Lens' ValidatePolicyFinding Text
- validatePolicyFinding_locations :: Lens' ValidatePolicyFinding [Location]
- data VpcConfiguration = VpcConfiguration' {}
- newVpcConfiguration :: Text -> VpcConfiguration
- vpcConfiguration_vpcId :: Lens' VpcConfiguration Text
Service Configuration
defaultService :: Service Source #
API version 2019-11-01
of the Amazon Access Analyzer SDK configuration.
Errors
_AccessDeniedException :: AsError a => Fold a ServiceError Source #
You do not have sufficient access to perform this action.
_ConflictException :: AsError a => Fold a ServiceError Source #
A conflict exception error.
_InternalServerException :: AsError a => Fold a ServiceError Source #
Internal server error.
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
The specified resource could not be found.
_ServiceQuotaExceededException :: AsError a => Fold a ServiceError Source #
Service quote met error.
_ThrottlingException :: AsError a => Fold a ServiceError Source #
Throttling limit exceeded error.
_ValidationException :: AsError a => Fold a ServiceError Source #
Validation exception error.
AccessPreviewStatus
newtype AccessPreviewStatus Source #
Constructors
AccessPreviewStatus' | |
Fields |
Bundled Patterns
pattern AccessPreviewStatus_COMPLETED :: AccessPreviewStatus | |
pattern AccessPreviewStatus_CREATING :: AccessPreviewStatus | |
pattern AccessPreviewStatus_FAILED :: AccessPreviewStatus |
Instances
AccessPreviewStatusReasonCode
newtype AccessPreviewStatusReasonCode Source #
Constructors
AccessPreviewStatusReasonCode' | |
Fields |
Bundled Patterns
pattern AccessPreviewStatusReasonCode_INTERNAL_ERROR :: AccessPreviewStatusReasonCode | |
pattern AccessPreviewStatusReasonCode_INVALID_CONFIGURATION :: AccessPreviewStatusReasonCode |
Instances
AclPermission
newtype AclPermission Source #
Constructors
AclPermission' | |
Fields |
Bundled Patterns
pattern AclPermission_FULL_CONTROL :: AclPermission | |
pattern AclPermission_READ :: AclPermission | |
pattern AclPermission_READ_ACP :: AclPermission | |
pattern AclPermission_WRITE :: AclPermission | |
pattern AclPermission_WRITE_ACP :: AclPermission |
Instances
AnalyzerStatus
newtype AnalyzerStatus Source #
Constructors
AnalyzerStatus' | |
Fields |
Bundled Patterns
pattern AnalyzerStatus_ACTIVE :: AnalyzerStatus | |
pattern AnalyzerStatus_CREATING :: AnalyzerStatus | |
pattern AnalyzerStatus_DISABLED :: AnalyzerStatus | |
pattern AnalyzerStatus_FAILED :: AnalyzerStatus |
Instances
FindingChangeType
newtype FindingChangeType Source #
Constructors
FindingChangeType' | |
Fields |
Bundled Patterns
pattern FindingChangeType_CHANGED :: FindingChangeType | |
pattern FindingChangeType_NEW :: FindingChangeType | |
pattern FindingChangeType_UNCHANGED :: FindingChangeType |
Instances
FindingSourceType
newtype FindingSourceType Source #
Constructors
FindingSourceType' | |
Fields |
Bundled Patterns
pattern FindingSourceType_BUCKET_ACL :: FindingSourceType | |
pattern FindingSourceType_POLICY :: FindingSourceType | |
pattern FindingSourceType_S3_ACCESS_POINT :: FindingSourceType | |
pattern FindingSourceType_S3_ACCESS_POINT_ACCOUNT :: FindingSourceType |
Instances
FindingStatus
newtype FindingStatus Source #
Constructors
FindingStatus' | |
Fields |
Bundled Patterns
pattern FindingStatus_ACTIVE :: FindingStatus | |
pattern FindingStatus_ARCHIVED :: FindingStatus | |
pattern FindingStatus_RESOLVED :: FindingStatus |
Instances
FindingStatusUpdate
newtype FindingStatusUpdate Source #
Constructors
FindingStatusUpdate' | |
Fields |
Bundled Patterns
pattern FindingStatusUpdate_ACTIVE :: FindingStatusUpdate | |
pattern FindingStatusUpdate_ARCHIVED :: FindingStatusUpdate |
Instances
JobErrorCode
newtype JobErrorCode Source #
Constructors
JobErrorCode' | |
Fields |
Bundled Patterns
pattern JobErrorCode_AUTHORIZATION_ERROR :: JobErrorCode | |
pattern JobErrorCode_RESOURCE_NOT_FOUND_ERROR :: JobErrorCode | |
pattern JobErrorCode_SERVICE_ERROR :: JobErrorCode | |
pattern JobErrorCode_SERVICE_QUOTA_EXCEEDED_ERROR :: JobErrorCode |
Instances
JobStatus
Constructors
JobStatus' | |
Fields |
Bundled Patterns
pattern JobStatus_CANCELED :: JobStatus | |
pattern JobStatus_FAILED :: JobStatus | |
pattern JobStatus_IN_PROGRESS :: JobStatus | |
pattern JobStatus_SUCCEEDED :: JobStatus |
Instances
KmsGrantOperation
newtype KmsGrantOperation Source #
Constructors
KmsGrantOperation' | |
Fields |
Bundled Patterns
pattern KmsGrantOperation_CreateGrant :: KmsGrantOperation | |
pattern KmsGrantOperation_Decrypt :: KmsGrantOperation | |
pattern KmsGrantOperation_DescribeKey :: KmsGrantOperation | |
pattern KmsGrantOperation_Encrypt :: KmsGrantOperation | |
pattern KmsGrantOperation_GenerateDataKey :: KmsGrantOperation | |
pattern KmsGrantOperation_GenerateDataKeyPair :: KmsGrantOperation | |
pattern KmsGrantOperation_GenerateDataKeyPairWithoutPlaintext :: KmsGrantOperation | |
pattern KmsGrantOperation_GenerateDataKeyWithoutPlaintext :: KmsGrantOperation | |
pattern KmsGrantOperation_GetPublicKey :: KmsGrantOperation | |
pattern KmsGrantOperation_ReEncryptFrom :: KmsGrantOperation | |
pattern KmsGrantOperation_ReEncryptTo :: KmsGrantOperation | |
pattern KmsGrantOperation_RetireGrant :: KmsGrantOperation | |
pattern KmsGrantOperation_Sign :: KmsGrantOperation | |
pattern KmsGrantOperation_Verify :: KmsGrantOperation |
Instances
Locale
Constructors
Locale' | |
Fields
|
Bundled Patterns
pattern Locale_DE :: Locale | |
pattern Locale_EN :: Locale | |
pattern Locale_ES :: Locale | |
pattern Locale_FR :: Locale | |
pattern Locale_IT :: Locale | |
pattern Locale_JA :: Locale | |
pattern Locale_KO :: Locale | |
pattern Locale_PT_BR :: Locale | |
pattern Locale_ZH_CN :: Locale | |
pattern Locale_ZH_TW :: Locale |
Instances
OrderBy
Constructors
OrderBy' | |
Fields
|
Bundled Patterns
pattern OrderBy_ASC :: OrderBy | |
pattern OrderBy_DESC :: OrderBy |
Instances
PolicyType
newtype PolicyType Source #
Constructors
PolicyType' | |
Fields |
Bundled Patterns
pattern PolicyType_IDENTITY_POLICY :: PolicyType | |
pattern PolicyType_RESOURCE_POLICY :: PolicyType | |
pattern PolicyType_SERVICE_CONTROL_POLICY :: PolicyType |
Instances
ReasonCode
newtype ReasonCode Source #
Constructors
ReasonCode' | |
Fields |
Bundled Patterns
pattern ReasonCode_AWS_SERVICE_ACCESS_DISABLED :: ReasonCode | |
pattern ReasonCode_DELEGATED_ADMINISTRATOR_DEREGISTERED :: ReasonCode | |
pattern ReasonCode_ORGANIZATION_DELETED :: ReasonCode | |
pattern ReasonCode_SERVICE_LINKED_ROLE_CREATION_FAILED :: ReasonCode |
Instances
ResourceType
newtype ResourceType Source #
Constructors
ResourceType' | |
Fields |
Bundled Patterns
pattern ResourceType_AWS__EC2__Snapshot :: ResourceType | |
pattern ResourceType_AWS__ECR__Repository :: ResourceType | |
pattern ResourceType_AWS__EFS__FileSystem :: ResourceType | |
pattern ResourceType_AWS__IAM__Role :: ResourceType | |
pattern ResourceType_AWS__KMS__Key :: ResourceType | |
pattern ResourceType_AWS__Lambda__Function :: ResourceType | |
pattern ResourceType_AWS__Lambda__LayerVersion :: ResourceType | |
pattern ResourceType_AWS__RDS__DBClusterSnapshot :: ResourceType | |
pattern ResourceType_AWS__RDS__DBSnapshot :: ResourceType | |
pattern ResourceType_AWS__S3__Bucket :: ResourceType | |
pattern ResourceType_AWS__SNS__Topic :: ResourceType | |
pattern ResourceType_AWS__SQS__Queue :: ResourceType | |
pattern ResourceType_AWS__SecretsManager__Secret :: ResourceType |
Instances
Type
Bundled Patterns
pattern Type_ACCOUNT :: Type | |
pattern Type_ORGANIZATION :: Type |
Instances
ValidatePolicyFindingType
newtype ValidatePolicyFindingType Source #
Constructors
ValidatePolicyFindingType' | |
Fields |
Bundled Patterns
Instances
ValidatePolicyResourceType
newtype ValidatePolicyResourceType Source #
Constructors
ValidatePolicyResourceType' | |
Fields |
Bundled Patterns
Instances
AccessPreview
data AccessPreview Source #
Contains information about an access preview.
See: newAccessPreview
smart constructor.
Constructors
AccessPreview' | |
Fields
|
Instances
Arguments
:: Text | |
-> Text | |
-> UTCTime | |
-> AccessPreviewStatus | |
-> AccessPreview |
Create a value of AccessPreview
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:statusReason:AccessPreview'
, accessPreview_statusReason
- Provides more details about the current status of the access preview.
For example, if the creation of the access preview fails, a Failed
status is returned. This failure can be due to an internal issue with
the analysis or due to an invalid resource configuration.
$sel:id:AccessPreview'
, accessPreview_id
- The unique ID for the access preview.
$sel:analyzerArn:AccessPreview'
, accessPreview_analyzerArn
- The ARN of the analyzer used to generate the access preview.
$sel:configurations:AccessPreview'
, accessPreview_configurations
- A map of resource ARNs for the proposed resource configuration.
$sel:createdAt:AccessPreview'
, accessPreview_createdAt
- The time at which the access preview was created.
$sel:status:AccessPreview'
, accessPreview_status
- The status of the access preview.
Creating
- The access preview creation is in progress.Completed
- The access preview is complete. You can preview findings for external access to the resource.Failed
- The access preview creation has failed.
accessPreview_statusReason :: Lens' AccessPreview (Maybe AccessPreviewStatusReason) Source #
Provides more details about the current status of the access preview.
For example, if the creation of the access preview fails, a Failed
status is returned. This failure can be due to an internal issue with
the analysis or due to an invalid resource configuration.
accessPreview_id :: Lens' AccessPreview Text Source #
The unique ID for the access preview.
accessPreview_analyzerArn :: Lens' AccessPreview Text Source #
The ARN of the analyzer used to generate the access preview.
accessPreview_configurations :: Lens' AccessPreview (HashMap Text Configuration) Source #
A map of resource ARNs for the proposed resource configuration.
accessPreview_createdAt :: Lens' AccessPreview UTCTime Source #
The time at which the access preview was created.
accessPreview_status :: Lens' AccessPreview AccessPreviewStatus Source #
The status of the access preview.
Creating
- The access preview creation is in progress.Completed
- The access preview is complete. You can preview findings for external access to the resource.Failed
- The access preview creation has failed.
AccessPreviewFinding
data AccessPreviewFinding Source #
An access preview finding generated by the access preview.
See: newAccessPreviewFinding
smart constructor.
Constructors
AccessPreviewFinding' | |
Fields
|
Instances
newAccessPreviewFinding Source #
Arguments
:: Text | |
-> ResourceType | |
-> UTCTime | |
-> FindingChangeType | |
-> FindingStatus | |
-> Text | |
-> AccessPreviewFinding |
Create a value of AccessPreviewFinding
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:action:AccessPreviewFinding'
, accessPreviewFinding_action
- The action in the analyzed policy statement that an external principal
has permission to perform.
$sel:condition:AccessPreviewFinding'
, accessPreviewFinding_condition
- The condition in the analyzed policy statement that resulted in a
finding.
$sel:error:AccessPreviewFinding'
, accessPreviewFinding_error
- An error.
$sel:existingFindingId:AccessPreviewFinding'
, accessPreviewFinding_existingFindingId
- The existing ID of the finding in IAM Access Analyzer, provided only for
existing findings.
$sel:existingFindingStatus:AccessPreviewFinding'
, accessPreviewFinding_existingFindingStatus
- The existing status of the finding, provided only for existing findings.
$sel:isPublic:AccessPreviewFinding'
, accessPreviewFinding_isPublic
- Indicates whether the policy that generated the finding allows public
access to the resource.
$sel:principal:AccessPreviewFinding'
, accessPreviewFinding_principal
- The external principal that has access to a resource within the zone of
trust.
$sel:resource:AccessPreviewFinding'
, accessPreviewFinding_resource
- The resource that an external principal has access to. This is the
resource associated with the access preview.
$sel:sources:AccessPreviewFinding'
, accessPreviewFinding_sources
- The sources of the finding. This indicates how the access that generated
the finding is granted. It is populated for Amazon S3 bucket findings.
$sel:id:AccessPreviewFinding'
, accessPreviewFinding_id
- The ID of the access preview finding. This ID uniquely identifies the
element in the list of access preview findings and is not related to the
finding ID in Access Analyzer.
$sel:resourceType:AccessPreviewFinding'
, accessPreviewFinding_resourceType
- The type of the resource that can be accessed in the finding.
$sel:createdAt:AccessPreviewFinding'
, accessPreviewFinding_createdAt
- The time at which the access preview finding was created.
$sel:changeType:AccessPreviewFinding'
, accessPreviewFinding_changeType
- Provides context on how the access preview finding compares to existing
access identified in IAM Access Analyzer.
New
- The finding is for newly-introduced access.Unchanged
- The preview finding is an existing finding that would remain unchanged.Changed
- The preview finding is an existing finding with a change in status.
For example, a Changed
finding with preview status Resolved
and
existing status Active
indicates the existing Active
finding would
become Resolved
as a result of the proposed permissions change.
$sel:status:AccessPreviewFinding'
, accessPreviewFinding_status
- The preview status of the finding. This is what the status of the
finding would be after permissions deployment. For example, a Changed
finding with preview status Resolved
and existing status Active
indicates the existing Active
finding would become Resolved
as a
result of the proposed permissions change.
$sel:resourceOwnerAccount:AccessPreviewFinding'
, accessPreviewFinding_resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource. For most
Amazon Web Services resources, the owning account is the account in
which the resource was created.
accessPreviewFinding_action :: Lens' AccessPreviewFinding (Maybe [Text]) Source #
The action in the analyzed policy statement that an external principal has permission to perform.
accessPreviewFinding_condition :: Lens' AccessPreviewFinding (Maybe (HashMap Text Text)) Source #
The condition in the analyzed policy statement that resulted in a finding.
accessPreviewFinding_error :: Lens' AccessPreviewFinding (Maybe Text) Source #
An error.
accessPreviewFinding_existingFindingId :: Lens' AccessPreviewFinding (Maybe Text) Source #
The existing ID of the finding in IAM Access Analyzer, provided only for existing findings.
accessPreviewFinding_existingFindingStatus :: Lens' AccessPreviewFinding (Maybe FindingStatus) Source #
The existing status of the finding, provided only for existing findings.
accessPreviewFinding_isPublic :: Lens' AccessPreviewFinding (Maybe Bool) Source #
Indicates whether the policy that generated the finding allows public access to the resource.
accessPreviewFinding_principal :: Lens' AccessPreviewFinding (Maybe (HashMap Text Text)) Source #
The external principal that has access to a resource within the zone of trust.
accessPreviewFinding_resource :: Lens' AccessPreviewFinding (Maybe Text) Source #
The resource that an external principal has access to. This is the resource associated with the access preview.
accessPreviewFinding_sources :: Lens' AccessPreviewFinding (Maybe [FindingSource]) Source #
The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.
accessPreviewFinding_id :: Lens' AccessPreviewFinding Text Source #
The ID of the access preview finding. This ID uniquely identifies the element in the list of access preview findings and is not related to the finding ID in Access Analyzer.
accessPreviewFinding_resourceType :: Lens' AccessPreviewFinding ResourceType Source #
The type of the resource that can be accessed in the finding.
accessPreviewFinding_createdAt :: Lens' AccessPreviewFinding UTCTime Source #
The time at which the access preview finding was created.
accessPreviewFinding_changeType :: Lens' AccessPreviewFinding FindingChangeType Source #
Provides context on how the access preview finding compares to existing access identified in IAM Access Analyzer.
New
- The finding is for newly-introduced access.Unchanged
- The preview finding is an existing finding that would remain unchanged.Changed
- The preview finding is an existing finding with a change in status.
For example, a Changed
finding with preview status Resolved
and
existing status Active
indicates the existing Active
finding would
become Resolved
as a result of the proposed permissions change.
accessPreviewFinding_status :: Lens' AccessPreviewFinding FindingStatus Source #
The preview status of the finding. This is what the status of the
finding would be after permissions deployment. For example, a Changed
finding with preview status Resolved
and existing status Active
indicates the existing Active
finding would become Resolved
as a
result of the proposed permissions change.
accessPreviewFinding_resourceOwnerAccount :: Lens' AccessPreviewFinding Text Source #
The Amazon Web Services account ID that owns the resource. For most Amazon Web Services resources, the owning account is the account in which the resource was created.
AccessPreviewStatusReason
data AccessPreviewStatusReason Source #
Provides more details about the current status of the access preview.
For example, if the creation of the access preview fails, a Failed
status is returned. This failure can be due to an internal issue with
the analysis or due to an invalid proposed resource configuration.
See: newAccessPreviewStatusReason
smart constructor.
Constructors
AccessPreviewStatusReason' | |
Fields
|
Instances
newAccessPreviewStatusReason Source #
Arguments
:: AccessPreviewStatusReasonCode | |
-> AccessPreviewStatusReason |
Create a value of AccessPreviewStatusReason
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:code:AccessPreviewStatusReason'
, accessPreviewStatusReason_code
- The reason code for the current status of the access preview.
accessPreviewStatusReason_code :: Lens' AccessPreviewStatusReason AccessPreviewStatusReasonCode Source #
The reason code for the current status of the access preview.
AccessPreviewSummary
data AccessPreviewSummary Source #
Contains a summary of information about an access preview.
See: newAccessPreviewSummary
smart constructor.
Constructors
AccessPreviewSummary' | |
Fields
|
Instances
newAccessPreviewSummary Source #
Arguments
:: Text | |
-> Text | |
-> UTCTime | |
-> AccessPreviewStatus | |
-> AccessPreviewSummary |
Create a value of AccessPreviewSummary
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:statusReason:AccessPreviewSummary'
, accessPreviewSummary_statusReason
- Undocumented member.
$sel:id:AccessPreviewSummary'
, accessPreviewSummary_id
- The unique ID for the access preview.
$sel:analyzerArn:AccessPreviewSummary'
, accessPreviewSummary_analyzerArn
- The ARN of the analyzer used to generate the access preview.
$sel:createdAt:AccessPreviewSummary'
, accessPreviewSummary_createdAt
- The time at which the access preview was created.
$sel:status:AccessPreviewSummary'
, accessPreviewSummary_status
- The status of the access preview.
Creating
- The access preview creation is in progress.Completed
- The access preview is complete and previews the findings for external access to the resource.Failed
- The access preview creation has failed.
accessPreviewSummary_statusReason :: Lens' AccessPreviewSummary (Maybe AccessPreviewStatusReason) Source #
Undocumented member.
accessPreviewSummary_id :: Lens' AccessPreviewSummary Text Source #
The unique ID for the access preview.
accessPreviewSummary_analyzerArn :: Lens' AccessPreviewSummary Text Source #
The ARN of the analyzer used to generate the access preview.
accessPreviewSummary_createdAt :: Lens' AccessPreviewSummary UTCTime Source #
The time at which the access preview was created.
accessPreviewSummary_status :: Lens' AccessPreviewSummary AccessPreviewStatus Source #
The status of the access preview.
Creating
- The access preview creation is in progress.Completed
- The access preview is complete and previews the findings for external access to the resource.Failed
- The access preview creation has failed.
AclGrantee
data AclGrantee Source #
You specify each grantee as a type-value pair using one of these types. You can specify only one type of grantee. For more information, see PutBucketAcl.
See: newAclGrantee
smart constructor.
Constructors
AclGrantee' | |
Instances
newAclGrantee :: AclGrantee Source #
Create a value of AclGrantee
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:id:AclGrantee'
, aclGrantee_id
- The value specified is the canonical user ID of an Amazon Web Services
account.
$sel:uri:AclGrantee'
, aclGrantee_uri
- Used for granting permissions to a predefined group.
aclGrantee_id :: Lens' AclGrantee (Maybe Text) Source #
The value specified is the canonical user ID of an Amazon Web Services account.
aclGrantee_uri :: Lens' AclGrantee (Maybe Text) Source #
Used for granting permissions to a predefined group.
AnalyzedResource
data AnalyzedResource Source #
Contains details about the analyzed resource.
See: newAnalyzedResource
smart constructor.
Constructors
AnalyzedResource' | |
Fields
|
Instances
Arguments
:: Text | |
-> ResourceType | |
-> UTCTime | |
-> UTCTime | |
-> UTCTime | |
-> Bool | |
-> Text | |
-> AnalyzedResource |
Create a value of AnalyzedResource
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:actions:AnalyzedResource'
, analyzedResource_actions
- The actions that an external principal is granted permission to use by
the policy that generated the finding.
$sel:error:AnalyzedResource'
, analyzedResource_error
- An error message.
$sel:sharedVia:AnalyzedResource'
, analyzedResource_sharedVia
- Indicates how the access that generated the finding is granted. This is
populated for Amazon S3 bucket findings.
$sel:status:AnalyzedResource'
, analyzedResource_status
- The current status of the finding generated from the analyzed resource.
$sel:resourceArn:AnalyzedResource'
, analyzedResource_resourceArn
- The ARN of the resource that was analyzed.
$sel:resourceType:AnalyzedResource'
, analyzedResource_resourceType
- The type of the resource that was analyzed.
$sel:createdAt:AnalyzedResource'
, analyzedResource_createdAt
- The time at which the finding was created.
$sel:analyzedAt:AnalyzedResource'
, analyzedResource_analyzedAt
- The time at which the resource was analyzed.
$sel:updatedAt:AnalyzedResource'
, analyzedResource_updatedAt
- The time at which the finding was updated.
$sel:isPublic:AnalyzedResource'
, analyzedResource_isPublic
- Indicates whether the policy that generated the finding grants public
access to the resource.
$sel:resourceOwnerAccount:AnalyzedResource'
, analyzedResource_resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource.
analyzedResource_actions :: Lens' AnalyzedResource (Maybe [Text]) Source #
The actions that an external principal is granted permission to use by the policy that generated the finding.
analyzedResource_error :: Lens' AnalyzedResource (Maybe Text) Source #
An error message.
analyzedResource_sharedVia :: Lens' AnalyzedResource (Maybe [Text]) Source #
Indicates how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
analyzedResource_status :: Lens' AnalyzedResource (Maybe FindingStatus) Source #
The current status of the finding generated from the analyzed resource.
analyzedResource_resourceArn :: Lens' AnalyzedResource Text Source #
The ARN of the resource that was analyzed.
analyzedResource_resourceType :: Lens' AnalyzedResource ResourceType Source #
The type of the resource that was analyzed.
analyzedResource_createdAt :: Lens' AnalyzedResource UTCTime Source #
The time at which the finding was created.
analyzedResource_analyzedAt :: Lens' AnalyzedResource UTCTime Source #
The time at which the resource was analyzed.
analyzedResource_updatedAt :: Lens' AnalyzedResource UTCTime Source #
The time at which the finding was updated.
analyzedResource_isPublic :: Lens' AnalyzedResource Bool Source #
Indicates whether the policy that generated the finding grants public access to the resource.
analyzedResource_resourceOwnerAccount :: Lens' AnalyzedResource Text Source #
The Amazon Web Services account ID that owns the resource.
AnalyzedResourceSummary
data AnalyzedResourceSummary Source #
Contains the ARN of the analyzed resource.
See: newAnalyzedResourceSummary
smart constructor.
Constructors
AnalyzedResourceSummary' | |
Fields
|
Instances
newAnalyzedResourceSummary Source #
Arguments
:: Text | |
-> Text | |
-> ResourceType | |
-> AnalyzedResourceSummary |
Create a value of AnalyzedResourceSummary
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:resourceArn:AnalyzedResourceSummary'
, analyzedResourceSummary_resourceArn
- The ARN of the analyzed resource.
$sel:resourceOwnerAccount:AnalyzedResourceSummary'
, analyzedResourceSummary_resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource.
$sel:resourceType:AnalyzedResourceSummary'
, analyzedResourceSummary_resourceType
- The type of resource that was analyzed.
analyzedResourceSummary_resourceArn :: Lens' AnalyzedResourceSummary Text Source #
The ARN of the analyzed resource.
analyzedResourceSummary_resourceOwnerAccount :: Lens' AnalyzedResourceSummary Text Source #
The Amazon Web Services account ID that owns the resource.
analyzedResourceSummary_resourceType :: Lens' AnalyzedResourceSummary ResourceType Source #
The type of resource that was analyzed.
AnalyzerSummary
data AnalyzerSummary Source #
Contains information about the analyzer.
See: newAnalyzerSummary
smart constructor.
Constructors
AnalyzerSummary' | |
Fields
|
Instances
Arguments
:: Text | |
-> Text | |
-> Type | |
-> UTCTime | |
-> AnalyzerStatus | |
-> AnalyzerSummary |
Create a value of AnalyzerSummary
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:lastResourceAnalyzed:AnalyzerSummary'
, analyzerSummary_lastResourceAnalyzed
- The resource that was most recently analyzed by the analyzer.
$sel:lastResourceAnalyzedAt:AnalyzerSummary'
, analyzerSummary_lastResourceAnalyzedAt
- The time at which the most recently analyzed resource was analyzed.
$sel:statusReason:AnalyzerSummary'
, analyzerSummary_statusReason
- The statusReason
provides more details about the current status of the
analyzer. For example, if the creation for the analyzer fails, a
Failed
status is returned. For an analyzer with organization as the
type, this failure can be due to an issue with creating the
service-linked roles required in the member accounts of the Amazon Web
Services organization.
$sel:tags:AnalyzerSummary'
, analyzerSummary_tags
- The tags added to the analyzer.
$sel:arn:AnalyzerSummary'
, analyzerSummary_arn
- The ARN of the analyzer.
$sel:name:AnalyzerSummary'
, analyzerSummary_name
- The name of the analyzer.
$sel:type':AnalyzerSummary'
, analyzerSummary_type
- The type of analyzer, which corresponds to the zone of trust chosen for
the analyzer.
$sel:createdAt:AnalyzerSummary'
, analyzerSummary_createdAt
- A timestamp for the time at which the analyzer was created.
$sel:status:AnalyzerSummary'
, analyzerSummary_status
- The status of the analyzer. An Active
analyzer successfully monitors
supported resources and generates new findings. The analyzer is
Disabled
when a user action, such as removing trusted access for
Identity and Access Management Access Analyzer from Organizations,
causes the analyzer to stop generating new findings. The status is
Creating
when the analyzer creation is in progress and Failed
when
the analyzer creation has failed.
analyzerSummary_lastResourceAnalyzed :: Lens' AnalyzerSummary (Maybe Text) Source #
The resource that was most recently analyzed by the analyzer.
analyzerSummary_lastResourceAnalyzedAt :: Lens' AnalyzerSummary (Maybe UTCTime) Source #
The time at which the most recently analyzed resource was analyzed.
analyzerSummary_statusReason :: Lens' AnalyzerSummary (Maybe StatusReason) Source #
The statusReason
provides more details about the current status of the
analyzer. For example, if the creation for the analyzer fails, a
Failed
status is returned. For an analyzer with organization as the
type, this failure can be due to an issue with creating the
service-linked roles required in the member accounts of the Amazon Web
Services organization.
analyzerSummary_tags :: Lens' AnalyzerSummary (Maybe (HashMap Text Text)) Source #
The tags added to the analyzer.
analyzerSummary_arn :: Lens' AnalyzerSummary Text Source #
The ARN of the analyzer.
analyzerSummary_name :: Lens' AnalyzerSummary Text Source #
The name of the analyzer.
analyzerSummary_type :: Lens' AnalyzerSummary Type Source #
The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.
analyzerSummary_createdAt :: Lens' AnalyzerSummary UTCTime Source #
A timestamp for the time at which the analyzer was created.
analyzerSummary_status :: Lens' AnalyzerSummary AnalyzerStatus Source #
The status of the analyzer. An Active
analyzer successfully monitors
supported resources and generates new findings. The analyzer is
Disabled
when a user action, such as removing trusted access for
Identity and Access Management Access Analyzer from Organizations,
causes the analyzer to stop generating new findings. The status is
Creating
when the analyzer creation is in progress and Failed
when
the analyzer creation has failed.
ArchiveRuleSummary
data ArchiveRuleSummary Source #
Contains information about an archive rule.
See: newArchiveRuleSummary
smart constructor.
Constructors
ArchiveRuleSummary' | |
Instances
newArchiveRuleSummary Source #
Arguments
:: Text | |
-> UTCTime | |
-> UTCTime | |
-> ArchiveRuleSummary |
Create a value of ArchiveRuleSummary
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:ruleName:ArchiveRuleSummary'
, archiveRuleSummary_ruleName
- The name of the archive rule.
$sel:filter':ArchiveRuleSummary'
, archiveRuleSummary_filter
- A filter used to define the archive rule.
$sel:createdAt:ArchiveRuleSummary'
, archiveRuleSummary_createdAt
- The time at which the archive rule was created.
$sel:updatedAt:ArchiveRuleSummary'
, archiveRuleSummary_updatedAt
- The time at which the archive rule was last updated.
archiveRuleSummary_ruleName :: Lens' ArchiveRuleSummary Text Source #
The name of the archive rule.
archiveRuleSummary_filter :: Lens' ArchiveRuleSummary (HashMap Text Criterion) Source #
A filter used to define the archive rule.
archiveRuleSummary_createdAt :: Lens' ArchiveRuleSummary UTCTime Source #
The time at which the archive rule was created.
archiveRuleSummary_updatedAt :: Lens' ArchiveRuleSummary UTCTime Source #
The time at which the archive rule was last updated.
CloudTrailDetails
data CloudTrailDetails Source #
Contains information about CloudTrail access.
See: newCloudTrailDetails
smart constructor.
Constructors
CloudTrailDetails' | |
Fields
|
Instances
Arguments
:: Text | |
-> UTCTime | |
-> CloudTrailDetails |
Create a value of CloudTrailDetails
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:endTime:CloudTrailDetails'
, cloudTrailDetails_endTime
- The end of the time range for which IAM Access Analyzer reviews your
CloudTrail events. Events with a timestamp after this time are not
considered to generate a policy. If this is not included in the request,
the default value is the current time.
$sel:trails:CloudTrailDetails'
, cloudTrailDetails_trails
- A Trail
object that contains settings for a trail.
$sel:accessRole:CloudTrailDetails'
, cloudTrailDetails_accessRole
- The ARN of the service role that IAM Access Analyzer uses to access your
CloudTrail trail and service last accessed information.
$sel:startTime:CloudTrailDetails'
, cloudTrailDetails_startTime
- The start of the time range for which IAM Access Analyzer reviews your
CloudTrail events. Events with a timestamp before this time are not
considered to generate a policy.
cloudTrailDetails_endTime :: Lens' CloudTrailDetails (Maybe UTCTime) Source #
The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp after this time are not considered to generate a policy. If this is not included in the request, the default value is the current time.
cloudTrailDetails_trails :: Lens' CloudTrailDetails [Trail] Source #
A Trail
object that contains settings for a trail.
cloudTrailDetails_accessRole :: Lens' CloudTrailDetails Text Source #
The ARN of the service role that IAM Access Analyzer uses to access your CloudTrail trail and service last accessed information.
cloudTrailDetails_startTime :: Lens' CloudTrailDetails UTCTime Source #
The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp before this time are not considered to generate a policy.
CloudTrailProperties
data CloudTrailProperties Source #
Contains information about CloudTrail access.
See: newCloudTrailProperties
smart constructor.
Constructors
CloudTrailProperties' | |
Fields
|
Instances
newCloudTrailProperties Source #
Arguments
:: UTCTime | |
-> UTCTime | |
-> CloudTrailProperties |
Create a value of CloudTrailProperties
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:trailProperties:CloudTrailProperties'
, cloudTrailProperties_trailProperties
- A TrailProperties
object that contains settings for trail properties.
$sel:startTime:CloudTrailProperties'
, cloudTrailProperties_startTime
- The start of the time range for which IAM Access Analyzer reviews your
CloudTrail events. Events with a timestamp before this time are not
considered to generate a policy.
$sel:endTime:CloudTrailProperties'
, cloudTrailProperties_endTime
- The end of the time range for which IAM Access Analyzer reviews your
CloudTrail events. Events with a timestamp after this time are not
considered to generate a policy. If this is not included in the request,
the default value is the current time.
cloudTrailProperties_trailProperties :: Lens' CloudTrailProperties [TrailProperties] Source #
A TrailProperties
object that contains settings for trail properties.
cloudTrailProperties_startTime :: Lens' CloudTrailProperties UTCTime Source #
The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp before this time are not considered to generate a policy.
cloudTrailProperties_endTime :: Lens' CloudTrailProperties UTCTime Source #
The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp after this time are not considered to generate a policy. If this is not included in the request, the default value is the current time.
Configuration
data Configuration Source #
Access control configuration structures for your resource. You specify the configuration as a type-value pair. You can specify only one type of access control configuration.
See: newConfiguration
smart constructor.
Constructors
Configuration' | |
Fields
|
Instances
newConfiguration :: Configuration Source #
Create a value of Configuration
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:ebsSnapshot:Configuration'
, configuration_ebsSnapshot
- The access control configuration is for an Amazon EBS volume snapshot.
$sel:ecrRepository:Configuration'
, configuration_ecrRepository
- The access control configuration is for an Amazon ECR repository.
$sel:efsFileSystem:Configuration'
, configuration_efsFileSystem
- The access control configuration is for an Amazon EFS file system.
$sel:iamRole:Configuration'
, configuration_iamRole
- The access control configuration is for an IAM role.
$sel:kmsKey:Configuration'
, configuration_kmsKey
- The access control configuration is for a KMS key.
$sel:rdsDbClusterSnapshot:Configuration'
, configuration_rdsDbClusterSnapshot
- The access control configuration is for an Amazon RDS DB cluster
snapshot.
$sel:rdsDbSnapshot:Configuration'
, configuration_rdsDbSnapshot
- The access control configuration is for an Amazon RDS DB snapshot.
$sel:s3Bucket:Configuration'
, configuration_s3Bucket
- The access control configuration is for an Amazon S3 Bucket.
$sel:secretsManagerSecret:Configuration'
, configuration_secretsManagerSecret
- The access control configuration is for a Secrets Manager secret.
$sel:snsTopic:Configuration'
, configuration_snsTopic
- The access control configuration is for an Amazon SNS topic
$sel:sqsQueue:Configuration'
, configuration_sqsQueue
- The access control configuration is for an Amazon SQS queue.
configuration_ebsSnapshot :: Lens' Configuration (Maybe EbsSnapshotConfiguration) Source #
The access control configuration is for an Amazon EBS volume snapshot.
configuration_ecrRepository :: Lens' Configuration (Maybe EcrRepositoryConfiguration) Source #
The access control configuration is for an Amazon ECR repository.
configuration_efsFileSystem :: Lens' Configuration (Maybe EfsFileSystemConfiguration) Source #
The access control configuration is for an Amazon EFS file system.
configuration_iamRole :: Lens' Configuration (Maybe IamRoleConfiguration) Source #
The access control configuration is for an IAM role.
configuration_kmsKey :: Lens' Configuration (Maybe KmsKeyConfiguration) Source #
The access control configuration is for a KMS key.
configuration_rdsDbClusterSnapshot :: Lens' Configuration (Maybe RdsDbClusterSnapshotConfiguration) Source #
The access control configuration is for an Amazon RDS DB cluster snapshot.
configuration_rdsDbSnapshot :: Lens' Configuration (Maybe RdsDbSnapshotConfiguration) Source #
The access control configuration is for an Amazon RDS DB snapshot.
configuration_s3Bucket :: Lens' Configuration (Maybe S3BucketConfiguration) Source #
The access control configuration is for an Amazon S3 Bucket.
configuration_secretsManagerSecret :: Lens' Configuration (Maybe SecretsManagerSecretConfiguration) Source #
The access control configuration is for a Secrets Manager secret.
configuration_snsTopic :: Lens' Configuration (Maybe SnsTopicConfiguration) Source #
The access control configuration is for an Amazon SNS topic
configuration_sqsQueue :: Lens' Configuration (Maybe SqsQueueConfiguration) Source #
The access control configuration is for an Amazon SQS queue.
Criterion
The criteria to use in the filter that defines the archive rule. For more information on available filter keys, see IAM Access Analyzer filter keys.
See: newCriterion
smart constructor.
Constructors
Criterion' | |
Fields
|
Instances
newCriterion :: Criterion Source #
Create a value of Criterion
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:contains:Criterion'
, criterion_contains
- A "contains" operator to match for the filter used to create the rule.
$sel:eq:Criterion'
, criterion_eq
- An "equals" operator to match for the filter used to create the rule.
$sel:exists:Criterion'
, criterion_exists
- An "exists" operator to match for the filter used to create the rule.
$sel:neq:Criterion'
, criterion_neq
- A "not equals" operator to match for the filter used to create the
rule.
criterion_contains :: Lens' Criterion (Maybe (NonEmpty Text)) Source #
A "contains" operator to match for the filter used to create the rule.
criterion_eq :: Lens' Criterion (Maybe (NonEmpty Text)) Source #
An "equals" operator to match for the filter used to create the rule.
criterion_exists :: Lens' Criterion (Maybe Bool) Source #
An "exists" operator to match for the filter used to create the rule.
criterion_neq :: Lens' Criterion (Maybe (NonEmpty Text)) Source #
A "not equals" operator to match for the filter used to create the rule.
EbsSnapshotConfiguration
data EbsSnapshotConfiguration Source #
The proposed access control configuration for an Amazon EBS volume snapshot. You can propose a configuration for a new Amazon EBS volume snapshot or an Amazon EBS volume snapshot that you own by specifying the user IDs, groups, and optional KMS encryption key. For more information, see ModifySnapshotAttribute.
See: newEbsSnapshotConfiguration
smart constructor.
Constructors
EbsSnapshotConfiguration' | |
Fields
|
Instances
newEbsSnapshotConfiguration :: EbsSnapshotConfiguration Source #
Create a value of EbsSnapshotConfiguration
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:groups:EbsSnapshotConfiguration'
, ebsSnapshotConfiguration_groups
- The groups that have access to the Amazon EBS volume snapshot. If the
value all
is specified, then the Amazon EBS volume snapshot is public.
- If the configuration is for an existing Amazon EBS volume snapshot
and you do not specify the
groups
, then the access preview uses the existing sharedgroups
for the snapshot. - If the access preview is for a new resource and you do not specify
the
groups
, then the access preview considers the snapshot without anygroups
. - To propose deletion of existing shared
groups
, you can specify an empty list forgroups
.
$sel:kmsKeyId:EbsSnapshotConfiguration'
, ebsSnapshotConfiguration_kmsKeyId
- The KMS key identifier for an encrypted Amazon EBS volume snapshot. The
KMS key identifier is the key ARN, key ID, alias ARN, or alias name for
the KMS key.
- If the configuration is for an existing Amazon EBS volume snapshot
and you do not specify the
kmsKeyId
, or you specify an empty string, then the access preview uses the existingkmsKeyId
of the snapshot. - If the access preview is for a new resource and you do not specify
the
kmsKeyId
, the access preview considers the snapshot as unencrypted.
$sel:userIds:EbsSnapshotConfiguration'
, ebsSnapshotConfiguration_userIds
- The IDs of the Amazon Web Services accounts that have access to the
Amazon EBS volume snapshot.
- If the configuration is for an existing Amazon EBS volume snapshot
and you do not specify the
userIds
, then the access preview uses the existing shareduserIds
for the snapshot. - If the access preview is for a new resource and you do not specify
the
userIds
, then the access preview considers the snapshot without anyuserIds
. - To propose deletion of existing shared
accountIds
, you can specify an empty list foruserIds
.
ebsSnapshotConfiguration_groups :: Lens' EbsSnapshotConfiguration (Maybe [Text]) Source #
The groups that have access to the Amazon EBS volume snapshot. If the
value all
is specified, then the Amazon EBS volume snapshot is public.
- If the configuration is for an existing Amazon EBS volume snapshot
and you do not specify the
groups
, then the access preview uses the existing sharedgroups
for the snapshot. - If the access preview is for a new resource and you do not specify
the
groups
, then the access preview considers the snapshot without anygroups
. - To propose deletion of existing shared
groups
, you can specify an empty list forgroups
.
ebsSnapshotConfiguration_kmsKeyId :: Lens' EbsSnapshotConfiguration (Maybe Text) Source #
The KMS key identifier for an encrypted Amazon EBS volume snapshot. The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
- If the configuration is for an existing Amazon EBS volume snapshot
and you do not specify the
kmsKeyId
, or you specify an empty string, then the access preview uses the existingkmsKeyId
of the snapshot. - If the access preview is for a new resource and you do not specify
the
kmsKeyId
, the access preview considers the snapshot as unencrypted.
ebsSnapshotConfiguration_userIds :: Lens' EbsSnapshotConfiguration (Maybe [Text]) Source #
The IDs of the Amazon Web Services accounts that have access to the Amazon EBS volume snapshot.
- If the configuration is for an existing Amazon EBS volume snapshot
and you do not specify the
userIds
, then the access preview uses the existing shareduserIds
for the snapshot. - If the access preview is for a new resource and you do not specify
the
userIds
, then the access preview considers the snapshot without anyuserIds
. - To propose deletion of existing shared
accountIds
, you can specify an empty list foruserIds
.
EcrRepositoryConfiguration
data EcrRepositoryConfiguration Source #
The proposed access control configuration for an Amazon ECR repository. You can propose a configuration for a new Amazon ECR repository or an existing Amazon ECR repository that you own by specifying the Amazon ECR policy. For more information, see Repository.
- If the configuration is for an existing Amazon ECR repository and you do not specify the Amazon ECR policy, then the access preview uses the existing Amazon ECR policy for the repository.
- If the access preview is for a new resource and you do not specify the policy, then the access preview assumes an Amazon ECR repository without a policy.
- To propose deletion of an existing Amazon ECR repository policy, you can specify an empty string for the Amazon ECR policy.
See: newEcrRepositoryConfiguration
smart constructor.
Constructors
EcrRepositoryConfiguration' | |
Fields
|
Instances
newEcrRepositoryConfiguration :: EcrRepositoryConfiguration Source #
Create a value of EcrRepositoryConfiguration
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:repositoryPolicy:EcrRepositoryConfiguration'
, ecrRepositoryConfiguration_repositoryPolicy
- The JSON repository policy text to apply to the Amazon ECR repository.
For more information, see
Private repository policy examples
in the Amazon ECR User Guide.
ecrRepositoryConfiguration_repositoryPolicy :: Lens' EcrRepositoryConfiguration (Maybe Text) Source #
The JSON repository policy text to apply to the Amazon ECR repository. For more information, see Private repository policy examples in the Amazon ECR User Guide.
EfsFileSystemConfiguration
data EfsFileSystemConfiguration Source #
The proposed access control configuration for an Amazon EFS file system. You can propose a configuration for a new Amazon EFS file system or an existing Amazon EFS file system that you own by specifying the Amazon EFS policy. For more information, see Using file systems in Amazon EFS.
- If the configuration is for an existing Amazon EFS file system and you do not specify the Amazon EFS policy, then the access preview uses the existing Amazon EFS policy for the file system.
- If the access preview is for a new resource and you do not specify the policy, then the access preview assumes an Amazon EFS file system without a policy.
- To propose deletion of an existing Amazon EFS file system policy, you can specify an empty string for the Amazon EFS policy.
See: newEfsFileSystemConfiguration
smart constructor.
Constructors
EfsFileSystemConfiguration' | |
Fields
|
Instances
newEfsFileSystemConfiguration :: EfsFileSystemConfiguration Source #
Create a value of EfsFileSystemConfiguration
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:fileSystemPolicy:EfsFileSystemConfiguration'
, efsFileSystemConfiguration_fileSystemPolicy
- The JSON policy definition to apply to the Amazon EFS file system. For
more information on the elements that make up a file system policy, see
Amazon EFS Resource-based policies.
efsFileSystemConfiguration_fileSystemPolicy :: Lens' EfsFileSystemConfiguration (Maybe Text) Source #
The JSON policy definition to apply to the Amazon EFS file system. For more information on the elements that make up a file system policy, see Amazon EFS Resource-based policies.
Finding
Contains information about a finding.
See: newFinding
smart constructor.
Constructors
Finding' | |
Fields
|
Instances
Arguments
:: Text | |
-> ResourceType | |
-> UTCTime | |
-> UTCTime | |
-> UTCTime | |
-> FindingStatus | |
-> Text | |
-> Finding |
Create a value of Finding
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:action:Finding'
, finding_action
- The action in the analyzed policy statement that an external principal
has permission to use.
$sel:error:Finding'
, finding_error
- An error.
$sel:isPublic:Finding'
, finding_isPublic
- Indicates whether the policy that generated the finding allows public
access to the resource.
$sel:principal:Finding'
, finding_principal
- The external principal that access to a resource within the zone of
trust.
$sel:resource:Finding'
, finding_resource
- The resource that an external principal has access to.
$sel:sources:Finding'
, finding_sources
- The sources of the finding. This indicates how the access that generated
the finding is granted. It is populated for Amazon S3 bucket findings.
$sel:id:Finding'
, finding_id
- The ID of the finding.
$sel:resourceType:Finding'
, finding_resourceType
- The type of the resource identified in the finding.
$sel:condition:Finding'
, finding_condition
- The condition in the analyzed policy statement that resulted in a
finding.
$sel:createdAt:Finding'
, finding_createdAt
- The time at which the finding was generated.
$sel:analyzedAt:Finding'
, finding_analyzedAt
- The time at which the resource was analyzed.
$sel:updatedAt:Finding'
, finding_updatedAt
- The time at which the finding was updated.
$sel:status:Finding'
, finding_status
- The current status of the finding.
$sel:resourceOwnerAccount:Finding'
, finding_resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource.
finding_action :: Lens' Finding (Maybe [Text]) Source #
The action in the analyzed policy statement that an external principal has permission to use.
finding_isPublic :: Lens' Finding (Maybe Bool) Source #
Indicates whether the policy that generated the finding allows public access to the resource.
finding_principal :: Lens' Finding (Maybe (HashMap Text Text)) Source #
The external principal that access to a resource within the zone of trust.
finding_resource :: Lens' Finding (Maybe Text) Source #
The resource that an external principal has access to.
finding_sources :: Lens' Finding (Maybe [FindingSource]) Source #
The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.
finding_resourceType :: Lens' Finding ResourceType Source #
The type of the resource identified in the finding.
finding_condition :: Lens' Finding (HashMap Text Text) Source #
The condition in the analyzed policy statement that resulted in a finding.
finding_status :: Lens' Finding FindingStatus Source #
The current status of the finding.
finding_resourceOwnerAccount :: Lens' Finding Text Source #
The Amazon Web Services account ID that owns the resource.
FindingSource
data FindingSource Source #
The source of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.
See: newFindingSource
smart constructor.
Constructors
FindingSource' | |
Fields
|
Instances
Arguments
:: FindingSourceType | |
-> FindingSource |
Create a value of FindingSource
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:detail:FindingSource'
, findingSource_detail
- Includes details about how the access that generated the finding is
granted. This is populated for Amazon S3 bucket findings.
$sel:type':FindingSource'
, findingSource_type
- Indicates the type of access that generated the finding.
findingSource_detail :: Lens' FindingSource (Maybe FindingSourceDetail) Source #
Includes details about how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
findingSource_type :: Lens' FindingSource FindingSourceType Source #
Indicates the type of access that generated the finding.
FindingSourceDetail
data FindingSourceDetail Source #
Includes details about how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
See: newFindingSourceDetail
smart constructor.
Constructors
FindingSourceDetail' | |
Fields
|
Instances
newFindingSourceDetail :: FindingSourceDetail Source #
Create a value of FindingSourceDetail
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:accessPointAccount:FindingSourceDetail'
, findingSourceDetail_accessPointAccount
- The account of the cross-account access point that generated the
finding.
$sel:accessPointArn:FindingSourceDetail'
, findingSourceDetail_accessPointArn
- The ARN of the access point that generated the finding. The ARN format
depends on whether the ARN represents an access point or a multi-region
access point.
findingSourceDetail_accessPointAccount :: Lens' FindingSourceDetail (Maybe Text) Source #
The account of the cross-account access point that generated the finding.
findingSourceDetail_accessPointArn :: Lens' FindingSourceDetail (Maybe Text) Source #
The ARN of the access point that generated the finding. The ARN format depends on whether the ARN represents an access point or a multi-region access point.
FindingSummary
data FindingSummary Source #
Contains information about a finding.
See: newFindingSummary
smart constructor.
Constructors
FindingSummary' | |
Fields
|
Instances
Arguments
:: Text | |
-> ResourceType | |
-> UTCTime | |
-> UTCTime | |
-> UTCTime | |
-> FindingStatus | |
-> Text | |
-> FindingSummary |
Create a value of FindingSummary
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:action:FindingSummary'
, findingSummary_action
- The action in the analyzed policy statement that an external principal
has permission to use.
$sel:error:FindingSummary'
, findingSummary_error
- The error that resulted in an Error finding.
$sel:isPublic:FindingSummary'
, findingSummary_isPublic
- Indicates whether the finding reports a resource that has a policy that
allows public access.
$sel:principal:FindingSummary'
, findingSummary_principal
- The external principal that has access to a resource within the zone of
trust.
$sel:resource:FindingSummary'
, findingSummary_resource
- The resource that the external principal has access to.
$sel:sources:FindingSummary'
, findingSummary_sources
- The sources of the finding. This indicates how the access that generated
the finding is granted. It is populated for Amazon S3 bucket findings.
$sel:id:FindingSummary'
, findingSummary_id
- The ID of the finding.
$sel:resourceType:FindingSummary'
, findingSummary_resourceType
- The type of the resource that the external principal has access to.
$sel:condition:FindingSummary'
, findingSummary_condition
- The condition in the analyzed policy statement that resulted in a
finding.
$sel:createdAt:FindingSummary'
, findingSummary_createdAt
- The time at which the finding was created.
$sel:analyzedAt:FindingSummary'
, findingSummary_analyzedAt
- The time at which the resource-based policy that generated the finding
was analyzed.
$sel:updatedAt:FindingSummary'
, findingSummary_updatedAt
- The time at which the finding was most recently updated.
$sel:status:FindingSummary'
, findingSummary_status
- The status of the finding.
$sel:resourceOwnerAccount:FindingSummary'
, findingSummary_resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource.
findingSummary_action :: Lens' FindingSummary (Maybe [Text]) Source #
The action in the analyzed policy statement that an external principal has permission to use.
findingSummary_error :: Lens' FindingSummary (Maybe Text) Source #
The error that resulted in an Error finding.
findingSummary_isPublic :: Lens' FindingSummary (Maybe Bool) Source #
Indicates whether the finding reports a resource that has a policy that allows public access.
findingSummary_principal :: Lens' FindingSummary (Maybe (HashMap Text Text)) Source #
The external principal that has access to a resource within the zone of trust.
findingSummary_resource :: Lens' FindingSummary (Maybe Text) Source #
The resource that the external principal has access to.
findingSummary_sources :: Lens' FindingSummary (Maybe [FindingSource]) Source #
The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.
findingSummary_id :: Lens' FindingSummary Text Source #
The ID of the finding.
findingSummary_resourceType :: Lens' FindingSummary ResourceType Source #
The type of the resource that the external principal has access to.
findingSummary_condition :: Lens' FindingSummary (HashMap Text Text) Source #
The condition in the analyzed policy statement that resulted in a finding.
findingSummary_createdAt :: Lens' FindingSummary UTCTime Source #
The time at which the finding was created.
findingSummary_analyzedAt :: Lens' FindingSummary UTCTime Source #
The time at which the resource-based policy that generated the finding was analyzed.
findingSummary_updatedAt :: Lens' FindingSummary UTCTime Source #
The time at which the finding was most recently updated.
findingSummary_status :: Lens' FindingSummary FindingStatus Source #
The status of the finding.
findingSummary_resourceOwnerAccount :: Lens' FindingSummary Text Source #
The Amazon Web Services account ID that owns the resource.
GeneratedPolicy
data GeneratedPolicy Source #
Contains the text for the generated policy.
See: newGeneratedPolicy
smart constructor.
Constructors
GeneratedPolicy' | |
Fields
|
Instances
Arguments
:: Text | |
-> GeneratedPolicy |
Create a value of GeneratedPolicy
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:GeneratedPolicy'
, generatedPolicy_policy
- The text to use as the content for the new policy. The policy is created
using the
CreatePolicy
action.
generatedPolicy_policy :: Lens' GeneratedPolicy Text Source #
The text to use as the content for the new policy. The policy is created using the CreatePolicy action.
GeneratedPolicyProperties
data GeneratedPolicyProperties Source #
Contains the generated policy details.
See: newGeneratedPolicyProperties
smart constructor.
Constructors
GeneratedPolicyProperties' | |
Fields
|
Instances
newGeneratedPolicyProperties Source #
Create a value of GeneratedPolicyProperties
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:cloudTrailProperties:GeneratedPolicyProperties'
, generatedPolicyProperties_cloudTrailProperties
- Lists details about the Trail
used to generated policy.
$sel:isComplete:GeneratedPolicyProperties'
, generatedPolicyProperties_isComplete
- This value is set to true
if the generated policy contains all
possible actions for a service that IAM Access Analyzer identified from
the CloudTrail trail that you specified, and false
otherwise.
$sel:principalArn:GeneratedPolicyProperties'
, generatedPolicyProperties_principalArn
- The ARN of the IAM entity (user or role) for which you are generating a
policy.
generatedPolicyProperties_cloudTrailProperties :: Lens' GeneratedPolicyProperties (Maybe CloudTrailProperties) Source #
Lists details about the Trail
used to generated policy.
generatedPolicyProperties_isComplete :: Lens' GeneratedPolicyProperties (Maybe Bool) Source #
This value is set to true
if the generated policy contains all
possible actions for a service that IAM Access Analyzer identified from
the CloudTrail trail that you specified, and false
otherwise.
generatedPolicyProperties_principalArn :: Lens' GeneratedPolicyProperties Text Source #
The ARN of the IAM entity (user or role) for which you are generating a policy.
GeneratedPolicyResult
data GeneratedPolicyResult Source #
Contains the text for the generated policy and its details.
See: newGeneratedPolicyResult
smart constructor.
Constructors
GeneratedPolicyResult' | |
Fields
|
Instances
newGeneratedPolicyResult Source #
Create a value of GeneratedPolicyResult
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:generatedPolicies:GeneratedPolicyResult'
, generatedPolicyResult_generatedPolicies
- The text to use as the content for the new policy. The policy is created
using the
CreatePolicy
action.
$sel:properties:GeneratedPolicyResult'
, generatedPolicyResult_properties
- A GeneratedPolicyProperties
object that contains properties of the
generated policy.
generatedPolicyResult_generatedPolicies :: Lens' GeneratedPolicyResult (Maybe [GeneratedPolicy]) Source #
The text to use as the content for the new policy. The policy is created using the CreatePolicy action.
generatedPolicyResult_properties :: Lens' GeneratedPolicyResult GeneratedPolicyProperties Source #
A GeneratedPolicyProperties
object that contains properties of the
generated policy.
IamRoleConfiguration
data IamRoleConfiguration Source #
The proposed access control configuration for an IAM role. You can propose a configuration for a new IAM role or an existing IAM role that you own by specifying the trust policy. If the configuration is for a new IAM role, you must specify the trust policy. If the configuration is for an existing IAM role that you own and you do not propose the trust policy, the access preview uses the existing trust policy for the role. The proposed trust policy cannot be an empty string. For more information about role trust policy limits, see IAM and STS quotas.
See: newIamRoleConfiguration
smart constructor.
Constructors
IamRoleConfiguration' | |
Fields
|
Instances
newIamRoleConfiguration :: IamRoleConfiguration Source #
Create a value of IamRoleConfiguration
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:trustPolicy:IamRoleConfiguration'
, iamRoleConfiguration_trustPolicy
- The proposed trust policy for the IAM role.
iamRoleConfiguration_trustPolicy :: Lens' IamRoleConfiguration (Maybe Text) Source #
The proposed trust policy for the IAM role.
InlineArchiveRule
data InlineArchiveRule Source #
An criterion statement in an archive rule. Each archive rule may have multiple criteria.
See: newInlineArchiveRule
smart constructor.
Constructors
InlineArchiveRule' | |
Instances
Arguments
:: Text | |
-> InlineArchiveRule |
Create a value of InlineArchiveRule
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:ruleName:InlineArchiveRule'
, inlineArchiveRule_ruleName
- The name of the rule.
$sel:filter':InlineArchiveRule'
, inlineArchiveRule_filter
- The condition and values for a criterion.
inlineArchiveRule_ruleName :: Lens' InlineArchiveRule Text Source #
The name of the rule.
inlineArchiveRule_filter :: Lens' InlineArchiveRule (HashMap Text Criterion) Source #
The condition and values for a criterion.
InternetConfiguration
data InternetConfiguration Source #
This configuration sets the network origin for the Amazon S3 access
point or multi-region access point to Internet
.
See: newInternetConfiguration
smart constructor.
Constructors
InternetConfiguration' | |
Instances
newInternetConfiguration :: InternetConfiguration Source #
Create a value of InternetConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
JobDetails
data JobDetails Source #
Contains details about the policy generation request.
See: newJobDetails
smart constructor.
Constructors
JobDetails' | |
Fields
|
Instances
Arguments
:: Text | |
-> JobStatus | |
-> UTCTime | |
-> JobDetails |
Create a value of JobDetails
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:completedOn:JobDetails'
, jobDetails_completedOn
- A timestamp of when the job was completed.
$sel:jobError:JobDetails'
, jobDetails_jobError
- The job error for the policy generation request.
$sel:jobId:JobDetails'
, jobDetails_jobId
- The JobId
that is returned by the StartPolicyGeneration
operation.
The JobId
can be used with GetGeneratedPolicy
to retrieve the
generated policies or used with CancelPolicyGeneration
to cancel the
policy generation request.
$sel:status:JobDetails'
, jobDetails_status
- The status of the job request.
$sel:startedOn:JobDetails'
, jobDetails_startedOn
- A timestamp of when the job was started.
jobDetails_completedOn :: Lens' JobDetails (Maybe UTCTime) Source #
A timestamp of when the job was completed.
jobDetails_jobError :: Lens' JobDetails (Maybe JobError) Source #
The job error for the policy generation request.
jobDetails_jobId :: Lens' JobDetails Text Source #
The JobId
that is returned by the StartPolicyGeneration
operation.
The JobId
can be used with GetGeneratedPolicy
to retrieve the
generated policies or used with CancelPolicyGeneration
to cancel the
policy generation request.
jobDetails_status :: Lens' JobDetails JobStatus Source #
The status of the job request.
jobDetails_startedOn :: Lens' JobDetails UTCTime Source #
A timestamp of when the job was started.
JobError
Contains the details about the policy generation error.
See: newJobError
smart constructor.
Constructors
JobError' | |
Fields
|
Instances
FromJSON JobError Source # | |
Generic JobError Source # | |
Read JobError Source # | |
Show JobError Source # | |
NFData JobError Source # | |
Defined in Amazonka.AccessAnalyzer.Types.JobError | |
Eq JobError Source # | |
Hashable JobError Source # | |
Defined in Amazonka.AccessAnalyzer.Types.JobError | |
type Rep JobError Source # | |
Defined in Amazonka.AccessAnalyzer.Types.JobError type Rep JobError = D1 ('MetaData "JobError" "Amazonka.AccessAnalyzer.Types.JobError" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "JobError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JobErrorCode) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Arguments
:: JobErrorCode | |
-> Text | |
-> JobError |
Create a value of JobError
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:code:JobError'
, jobError_code
- The job error code.
$sel:message:JobError'
, jobError_message
- Specific information about the error. For example, which service quota
was exceeded or which resource was not found.
jobError_code :: Lens' JobError JobErrorCode Source #
The job error code.
jobError_message :: Lens' JobError Text Source #
Specific information about the error. For example, which service quota was exceeded or which resource was not found.
KmsGrantConfiguration
data KmsGrantConfiguration Source #
A proposed grant configuration for a KMS key. For more information, see CreateGrant.
See: newKmsGrantConfiguration
smart constructor.
Constructors
KmsGrantConfiguration' | |
Fields
|
Instances
newKmsGrantConfiguration Source #
Arguments
:: Text | |
-> Text | |
-> KmsGrantConfiguration |
Create a value of KmsGrantConfiguration
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:constraints:KmsGrantConfiguration'
, kmsGrantConfiguration_constraints
- Use this structure to propose allowing
cryptographic operations
in the grant only when the operation request includes the specified
encryption context.
$sel:retiringPrincipal:KmsGrantConfiguration'
, kmsGrantConfiguration_retiringPrincipal
- The principal that is given permission to retire the grant by using
RetireGrant
operation.
$sel:operations:KmsGrantConfiguration'
, kmsGrantConfiguration_operations
- A list of operations that the grant permits.
$sel:granteePrincipal:KmsGrantConfiguration'
, kmsGrantConfiguration_granteePrincipal
- The principal that is given permission to perform the operations that
the grant permits.
$sel:issuingAccount:KmsGrantConfiguration'
, kmsGrantConfiguration_issuingAccount
- The Amazon Web Services account under which the grant was issued. The
account is used to propose KMS grants issued by accounts other than the
owner of the key.
kmsGrantConfiguration_constraints :: Lens' KmsGrantConfiguration (Maybe KmsGrantConstraints) Source #
Use this structure to propose allowing cryptographic operations in the grant only when the operation request includes the specified encryption context.
kmsGrantConfiguration_retiringPrincipal :: Lens' KmsGrantConfiguration (Maybe Text) Source #
The principal that is given permission to retire the grant by using RetireGrant operation.
kmsGrantConfiguration_operations :: Lens' KmsGrantConfiguration [KmsGrantOperation] Source #
A list of operations that the grant permits.
kmsGrantConfiguration_granteePrincipal :: Lens' KmsGrantConfiguration Text Source #
The principal that is given permission to perform the operations that the grant permits.
kmsGrantConfiguration_issuingAccount :: Lens' KmsGrantConfiguration Text Source #
The Amazon Web Services account under which the grant was issued. The account is used to propose KMS grants issued by accounts other than the owner of the key.
KmsGrantConstraints
data KmsGrantConstraints Source #
Use this structure to propose allowing cryptographic operations in the grant only when the operation request includes the specified encryption context. You can specify only one type of encryption context. An empty map is treated as not specified. For more information, see GrantConstraints.
See: newKmsGrantConstraints
smart constructor.
Constructors
KmsGrantConstraints' | |
Fields
|
Instances
newKmsGrantConstraints :: KmsGrantConstraints Source #
Create a value of KmsGrantConstraints
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:encryptionContextEquals:KmsGrantConstraints'
, kmsGrantConstraints_encryptionContextEquals
- A list of key-value pairs that must match the encryption context in the
cryptographic operation
request. The grant allows the operation only when the encryption context
in the request is the same as the encryption context specified in this
constraint.
$sel:encryptionContextSubset:KmsGrantConstraints'
, kmsGrantConstraints_encryptionContextSubset
- A list of key-value pairs that must be included in the encryption
context of the
cryptographic operation
request. The grant allows the cryptographic operation only when the
encryption context in the request includes the key-value pairs specified
in this constraint, although it can include additional key-value pairs.
kmsGrantConstraints_encryptionContextEquals :: Lens' KmsGrantConstraints (Maybe (HashMap Text Text)) Source #
A list of key-value pairs that must match the encryption context in the cryptographic operation request. The grant allows the operation only when the encryption context in the request is the same as the encryption context specified in this constraint.
kmsGrantConstraints_encryptionContextSubset :: Lens' KmsGrantConstraints (Maybe (HashMap Text Text)) Source #
A list of key-value pairs that must be included in the encryption context of the cryptographic operation request. The grant allows the cryptographic operation only when the encryption context in the request includes the key-value pairs specified in this constraint, although it can include additional key-value pairs.
KmsKeyConfiguration
data KmsKeyConfiguration Source #
Proposed access control configuration for a KMS key. You can propose a configuration for a new KMS key or an existing KMS key that you own by specifying the key policy and KMS grant configuration. If the configuration is for an existing key and you do not specify the key policy, the access preview uses the existing policy for the key. If the access preview is for a new resource and you do not specify the key policy, then the access preview uses the default key policy. The proposed key policy cannot be an empty string. For more information, see Default key policy. For more information about key policy limits, see Resource quotas.
See: newKmsKeyConfiguration
smart constructor.
Constructors
KmsKeyConfiguration' | |
Fields
|
Instances
newKmsKeyConfiguration :: KmsKeyConfiguration Source #
Create a value of KmsKeyConfiguration
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:grants:KmsKeyConfiguration'
, kmsKeyConfiguration_grants
- A list of proposed grant configurations for the KMS key. If the proposed
grant configuration is for an existing key, the access preview uses the
proposed list of grant configurations in place of the existing grants.
Otherwise, the access preview uses the existing grants for the key.
$sel:keyPolicies:KmsKeyConfiguration'
, kmsKeyConfiguration_keyPolicies
- Resource policy configuration for the KMS key. The only valid value for
the name of the key policy is default
. For more information, see
Default key policy.
kmsKeyConfiguration_grants :: Lens' KmsKeyConfiguration (Maybe [KmsGrantConfiguration]) Source #
A list of proposed grant configurations for the KMS key. If the proposed grant configuration is for an existing key, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the key.
kmsKeyConfiguration_keyPolicies :: Lens' KmsKeyConfiguration (Maybe (HashMap Text Text)) Source #
Resource policy configuration for the KMS key. The only valid value for
the name of the key policy is default
. For more information, see
Default key policy.
Location
A location in a policy that is represented as a path through the JSON representation and a corresponding span.
See: newLocation
smart constructor.
Constructors
Location' | |
Fields
|
Instances
FromJSON Location Source # | |
Generic Location Source # | |
Read Location Source # | |
Show Location Source # | |
NFData Location Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Location | |
Eq Location Source # | |
Hashable Location Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Location | |
type Rep Location Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Location type Rep Location = D1 ('MetaData "Location" "Amazonka.AccessAnalyzer.Types.Location" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "Location'" 'PrefixI 'True) (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [PathElement]) :*: S1 ('MetaSel ('Just "span") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Span))) |
Create a value of Location
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:path:Location'
, location_path
- A path in a policy, represented as a sequence of path elements.
$sel:span:Location'
, location_span
- A span in a policy.
location_path :: Lens' Location [PathElement] Source #
A path in a policy, represented as a sequence of path elements.
NetworkOriginConfiguration
data NetworkOriginConfiguration Source #
The proposed InternetConfiguration
or VpcConfiguration
to apply to
the Amazon S3 access point. VpcConfiguration
does not apply to
multi-region access points. You can make the access point accessible
from the internet, or you can specify that all requests made through
that access point must originate from a specific virtual private cloud
(VPC). You can specify only one type of network configuration. For more
information, see
Creating access points.
See: newNetworkOriginConfiguration
smart constructor.
Constructors
NetworkOriginConfiguration' | |
Fields
|
Instances
newNetworkOriginConfiguration :: NetworkOriginConfiguration Source #
Create a value of NetworkOriginConfiguration
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:internetConfiguration:NetworkOriginConfiguration'
, networkOriginConfiguration_internetConfiguration
- The configuration for the Amazon S3 access point or multi-region access
point with an Internet
origin.
$sel:vpcConfiguration:NetworkOriginConfiguration'
, networkOriginConfiguration_vpcConfiguration
- Undocumented member.
networkOriginConfiguration_internetConfiguration :: Lens' NetworkOriginConfiguration (Maybe InternetConfiguration) Source #
The configuration for the Amazon S3 access point or multi-region access
point with an Internet
origin.
networkOriginConfiguration_vpcConfiguration :: Lens' NetworkOriginConfiguration (Maybe VpcConfiguration) Source #
Undocumented member.
PathElement
data PathElement Source #
A single element in a path through the JSON representation of a policy.
See: newPathElement
smart constructor.
Constructors
PathElement' | |
Instances
newPathElement :: PathElement Source #
Create a value of PathElement
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:index:PathElement'
, pathElement_index
- Refers to an index in a JSON array.
$sel:key:PathElement'
, pathElement_key
- Refers to a key in a JSON object.
$sel:substring:PathElement'
, pathElement_substring
- Refers to a substring of a literal string in a JSON object.
$sel:value:PathElement'
, pathElement_value
- Refers to the value associated with a given key in a JSON object.
pathElement_index :: Lens' PathElement (Maybe Int) Source #
Refers to an index in a JSON array.
pathElement_key :: Lens' PathElement (Maybe Text) Source #
Refers to a key in a JSON object.
pathElement_substring :: Lens' PathElement (Maybe Substring) Source #
Refers to a substring of a literal string in a JSON object.
pathElement_value :: Lens' PathElement (Maybe Text) Source #
Refers to the value associated with a given key in a JSON object.
PolicyGeneration
data PolicyGeneration Source #
Contains details about the policy generation status and properties.
See: newPolicyGeneration
smart constructor.
Constructors
PolicyGeneration' | |
Fields
|
Instances
Arguments
:: Text | |
-> Text | |
-> JobStatus | |
-> UTCTime | |
-> PolicyGeneration |
Create a value of PolicyGeneration
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:completedOn:PolicyGeneration'
, policyGeneration_completedOn
- A timestamp of when the policy generation was completed.
$sel:jobId:PolicyGeneration'
, policyGeneration_jobId
- The JobId
that is returned by the StartPolicyGeneration
operation.
The JobId
can be used with GetGeneratedPolicy
to retrieve the
generated policies or used with CancelPolicyGeneration
to cancel the
policy generation request.
$sel:principalArn:PolicyGeneration'
, policyGeneration_principalArn
- The ARN of the IAM entity (user or role) for which you are generating a
policy.
$sel:status:PolicyGeneration'
, policyGeneration_status
- The status of the policy generation request.
$sel:startedOn:PolicyGeneration'
, policyGeneration_startedOn
- A timestamp of when the policy generation started.
policyGeneration_completedOn :: Lens' PolicyGeneration (Maybe UTCTime) Source #
A timestamp of when the policy generation was completed.
policyGeneration_jobId :: Lens' PolicyGeneration Text Source #
The JobId
that is returned by the StartPolicyGeneration
operation.
The JobId
can be used with GetGeneratedPolicy
to retrieve the
generated policies or used with CancelPolicyGeneration
to cancel the
policy generation request.
policyGeneration_principalArn :: Lens' PolicyGeneration Text Source #
The ARN of the IAM entity (user or role) for which you are generating a policy.
policyGeneration_status :: Lens' PolicyGeneration JobStatus Source #
The status of the policy generation request.
policyGeneration_startedOn :: Lens' PolicyGeneration UTCTime Source #
A timestamp of when the policy generation started.
PolicyGenerationDetails
data PolicyGenerationDetails Source #
Contains the ARN details about the IAM entity for which the policy is generated.
See: newPolicyGenerationDetails
smart constructor.
Constructors
PolicyGenerationDetails' | |
Fields
|
Instances
newPolicyGenerationDetails Source #
Create a value of PolicyGenerationDetails
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:principalArn:PolicyGenerationDetails'
, policyGenerationDetails_principalArn
- The ARN of the IAM entity (user or role) for which you are generating a
policy.
policyGenerationDetails_principalArn :: Lens' PolicyGenerationDetails Text Source #
The ARN of the IAM entity (user or role) for which you are generating a policy.
Position
A position in a policy.
See: newPosition
smart constructor.
Constructors
Position' | |
Instances
FromJSON Position Source # | |
Generic Position Source # | |
Read Position Source # | |
Show Position Source # | |
NFData Position Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Position | |
Eq Position Source # | |
Hashable Position Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Position | |
type Rep Position Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Position type Rep Position = D1 ('MetaData "Position" "Amazonka.AccessAnalyzer.Types.Position" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "Position'" 'PrefixI 'True) (S1 ('MetaSel ('Just "line") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "column") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "offset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) |
Create a value of Position
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:line:Position'
, position_line
- The line of the position, starting from 1.
$sel:column:Position'
, position_column
- The column of the position, starting from 0.
$sel:offset:Position'
, position_offset
- The offset within the policy that corresponds to the position, starting
from 0.
position_offset :: Lens' Position Int Source #
The offset within the policy that corresponds to the position, starting from 0.
RdsDbClusterSnapshotAttributeValue
data RdsDbClusterSnapshotAttributeValue Source #
The values for a manual Amazon RDS DB cluster snapshot attribute.
See: newRdsDbClusterSnapshotAttributeValue
smart constructor.
Constructors
RdsDbClusterSnapshotAttributeValue' | |
Fields
|
Instances
newRdsDbClusterSnapshotAttributeValue :: RdsDbClusterSnapshotAttributeValue Source #
Create a value of RdsDbClusterSnapshotAttributeValue
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:accountIds:RdsDbClusterSnapshotAttributeValue'
, rdsDbClusterSnapshotAttributeValue_accountIds
- The Amazon Web Services account IDs that have access to the manual
Amazon RDS DB cluster snapshot. If the value all
is specified, then
the Amazon RDS DB cluster snapshot is public and can be copied or
restored by all Amazon Web Services accounts.
- If the configuration is for an existing Amazon RDS DB cluster
snapshot and you do not specify the
accountIds
inRdsDbClusterSnapshotAttributeValue
, then the access preview uses the existing sharedaccountIds
for the snapshot. - If the access preview is for a new resource and you do not specify
the specify the
accountIds
inRdsDbClusterSnapshotAttributeValue
, then the access preview considers the snapshot without any attributes. - To propose deletion of existing shared
accountIds
, you can specify an empty list foraccountIds
in theRdsDbClusterSnapshotAttributeValue
.
rdsDbClusterSnapshotAttributeValue_accountIds :: Lens' RdsDbClusterSnapshotAttributeValue (Maybe [Text]) Source #
The Amazon Web Services account IDs that have access to the manual
Amazon RDS DB cluster snapshot. If the value all
is specified, then
the Amazon RDS DB cluster snapshot is public and can be copied or
restored by all Amazon Web Services accounts.
- If the configuration is for an existing Amazon RDS DB cluster
snapshot and you do not specify the
accountIds
inRdsDbClusterSnapshotAttributeValue
, then the access preview uses the existing sharedaccountIds
for the snapshot. - If the access preview is for a new resource and you do not specify
the specify the
accountIds
inRdsDbClusterSnapshotAttributeValue
, then the access preview considers the snapshot without any attributes. - To propose deletion of existing shared
accountIds
, you can specify an empty list foraccountIds
in theRdsDbClusterSnapshotAttributeValue
.
RdsDbClusterSnapshotConfiguration
data RdsDbClusterSnapshotConfiguration Source #
The proposed access control configuration for an Amazon RDS DB cluster
snapshot. You can propose a configuration for a new Amazon RDS DB
cluster snapshot or an Amazon RDS DB cluster snapshot that you own by
specifying the RdsDbClusterSnapshotAttributeValue
and optional KMS
encryption key. For more information, see
ModifyDBClusterSnapshotAttribute.
See: newRdsDbClusterSnapshotConfiguration
smart constructor.
Constructors
RdsDbClusterSnapshotConfiguration' | |
Fields
|
Instances
newRdsDbClusterSnapshotConfiguration :: RdsDbClusterSnapshotConfiguration Source #
Create a value of RdsDbClusterSnapshotConfiguration
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:attributes:RdsDbClusterSnapshotConfiguration'
, rdsDbClusterSnapshotConfiguration_attributes
- The names and values of manual DB cluster snapshot attributes. Manual DB
cluster snapshot attributes are used to authorize other Amazon Web
Services accounts to restore a manual DB cluster snapshot. The only
valid value for AttributeName
for the attribute map is restore
$sel:kmsKeyId:RdsDbClusterSnapshotConfiguration'
, rdsDbClusterSnapshotConfiguration_kmsKeyId
- The KMS key identifier for an encrypted Amazon RDS DB cluster snapshot.
The KMS key identifier is the key ARN, key ID, alias ARN, or alias name
for the KMS key.
- If the configuration is for an existing Amazon RDS DB cluster
snapshot and you do not specify the
kmsKeyId
, or you specify an empty string, then the access preview uses the existingkmsKeyId
of the snapshot. - If the access preview is for a new resource and you do not specify
the specify the
kmsKeyId
, then the access preview considers the snapshot as unencrypted.
rdsDbClusterSnapshotConfiguration_attributes :: Lens' RdsDbClusterSnapshotConfiguration (Maybe (HashMap Text RdsDbClusterSnapshotAttributeValue)) Source #
The names and values of manual DB cluster snapshot attributes. Manual DB
cluster snapshot attributes are used to authorize other Amazon Web
Services accounts to restore a manual DB cluster snapshot. The only
valid value for AttributeName
for the attribute map is restore
rdsDbClusterSnapshotConfiguration_kmsKeyId :: Lens' RdsDbClusterSnapshotConfiguration (Maybe Text) Source #
The KMS key identifier for an encrypted Amazon RDS DB cluster snapshot. The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
- If the configuration is for an existing Amazon RDS DB cluster
snapshot and you do not specify the
kmsKeyId
, or you specify an empty string, then the access preview uses the existingkmsKeyId
of the snapshot. - If the access preview is for a new resource and you do not specify
the specify the
kmsKeyId
, then the access preview considers the snapshot as unencrypted.
RdsDbSnapshotAttributeValue
data RdsDbSnapshotAttributeValue Source #
The name and values of a manual Amazon RDS DB snapshot attribute. Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts to restore a manual DB snapshot.
See: newRdsDbSnapshotAttributeValue
smart constructor.
Constructors
RdsDbSnapshotAttributeValue' | |
Fields
|
Instances
newRdsDbSnapshotAttributeValue :: RdsDbSnapshotAttributeValue Source #
Create a value of RdsDbSnapshotAttributeValue
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:accountIds:RdsDbSnapshotAttributeValue'
, rdsDbSnapshotAttributeValue_accountIds
- The Amazon Web Services account IDs that have access to the manual
Amazon RDS DB snapshot. If the value all
is specified, then the Amazon
RDS DB snapshot is public and can be copied or restored by all Amazon
Web Services accounts.
- If the configuration is for an existing Amazon RDS DB snapshot and
you do not specify the
accountIds
inRdsDbSnapshotAttributeValue
, then the access preview uses the existing sharedaccountIds
for the snapshot. - If the access preview is for a new resource and you do not specify
the specify the
accountIds
inRdsDbSnapshotAttributeValue
, then the access preview considers the snapshot without any attributes. - To propose deletion of an existing shared
accountIds
, you can specify an empty list foraccountIds
in theRdsDbSnapshotAttributeValue
.
rdsDbSnapshotAttributeValue_accountIds :: Lens' RdsDbSnapshotAttributeValue (Maybe [Text]) Source #
The Amazon Web Services account IDs that have access to the manual
Amazon RDS DB snapshot. If the value all
is specified, then the Amazon
RDS DB snapshot is public and can be copied or restored by all Amazon
Web Services accounts.
- If the configuration is for an existing Amazon RDS DB snapshot and
you do not specify the
accountIds
inRdsDbSnapshotAttributeValue
, then the access preview uses the existing sharedaccountIds
for the snapshot. - If the access preview is for a new resource and you do not specify
the specify the
accountIds
inRdsDbSnapshotAttributeValue
, then the access preview considers the snapshot without any attributes. - To propose deletion of an existing shared
accountIds
, you can specify an empty list foraccountIds
in theRdsDbSnapshotAttributeValue
.
RdsDbSnapshotConfiguration
data RdsDbSnapshotConfiguration Source #
The proposed access control configuration for an Amazon RDS DB snapshot.
You can propose a configuration for a new Amazon RDS DB snapshot or an
Amazon RDS DB snapshot that you own by specifying the
RdsDbSnapshotAttributeValue
and optional KMS encryption key. For more
information, see
ModifyDBSnapshotAttribute.
See: newRdsDbSnapshotConfiguration
smart constructor.
Constructors
RdsDbSnapshotConfiguration' | |
Fields
|
Instances
newRdsDbSnapshotConfiguration :: RdsDbSnapshotConfiguration Source #
Create a value of RdsDbSnapshotConfiguration
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:attributes:RdsDbSnapshotConfiguration'
, rdsDbSnapshotConfiguration_attributes
- The names and values of manual DB snapshot attributes. Manual DB
snapshot attributes are used to authorize other Amazon Web Services
accounts to restore a manual DB snapshot. The only valid value for
attributeName
for the attribute map is restore.
$sel:kmsKeyId:RdsDbSnapshotConfiguration'
, rdsDbSnapshotConfiguration_kmsKeyId
- The KMS key identifier for an encrypted Amazon RDS DB snapshot. The KMS
key identifier is the key ARN, key ID, alias ARN, or alias name for the
KMS key.
- If the configuration is for an existing Amazon RDS DB snapshot and
you do not specify the
kmsKeyId
, or you specify an empty string, then the access preview uses the existingkmsKeyId
of the snapshot. - If the access preview is for a new resource and you do not specify
the specify the
kmsKeyId
, then the access preview considers the snapshot as unencrypted.
rdsDbSnapshotConfiguration_attributes :: Lens' RdsDbSnapshotConfiguration (Maybe (HashMap Text RdsDbSnapshotAttributeValue)) Source #
The names and values of manual DB snapshot attributes. Manual DB
snapshot attributes are used to authorize other Amazon Web Services
accounts to restore a manual DB snapshot. The only valid value for
attributeName
for the attribute map is restore.
rdsDbSnapshotConfiguration_kmsKeyId :: Lens' RdsDbSnapshotConfiguration (Maybe Text) Source #
The KMS key identifier for an encrypted Amazon RDS DB snapshot. The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
- If the configuration is for an existing Amazon RDS DB snapshot and
you do not specify the
kmsKeyId
, or you specify an empty string, then the access preview uses the existingkmsKeyId
of the snapshot. - If the access preview is for a new resource and you do not specify
the specify the
kmsKeyId
, then the access preview considers the snapshot as unencrypted.
S3AccessPointConfiguration
data S3AccessPointConfiguration Source #
The configuration for an Amazon S3 access point or multi-region access point for the bucket. You can propose up to 10 access points or multi-region access points per bucket. If the proposed Amazon S3 access point configuration is for an existing bucket, the access preview uses the proposed access point configuration in place of the existing access points. To propose an access point without a policy, you can provide an empty string as the access point policy. For more information, see Creating access points. For more information about access point policy limits, see Access points restrictions and limitations.
See: newS3AccessPointConfiguration
smart constructor.
Constructors
S3AccessPointConfiguration' | |
Fields
|
Instances
newS3AccessPointConfiguration :: S3AccessPointConfiguration Source #
Create a value of S3AccessPointConfiguration
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:accessPointPolicy:S3AccessPointConfiguration'
, s3AccessPointConfiguration_accessPointPolicy
- The access point or multi-region access point policy.
$sel:networkOrigin:S3AccessPointConfiguration'
, s3AccessPointConfiguration_networkOrigin
- The proposed Internet
and VpcConfiguration
to apply to this Amazon
S3 access point. VpcConfiguration
does not apply to multi-region
access points. If the access preview is for a new resource and neither
is specified, the access preview uses Internet
for the network origin.
If the access preview is for an existing resource and neither is
specified, the access preview uses the exiting network origin.
$sel:publicAccessBlock:S3AccessPointConfiguration'
, s3AccessPointConfiguration_publicAccessBlock
- The proposed S3PublicAccessBlock
configuration to apply to this Amazon
S3 access point or multi-region access point.
s3AccessPointConfiguration_accessPointPolicy :: Lens' S3AccessPointConfiguration (Maybe Text) Source #
The access point or multi-region access point policy.
s3AccessPointConfiguration_networkOrigin :: Lens' S3AccessPointConfiguration (Maybe NetworkOriginConfiguration) Source #
The proposed Internet
and VpcConfiguration
to apply to this Amazon
S3 access point. VpcConfiguration
does not apply to multi-region
access points. If the access preview is for a new resource and neither
is specified, the access preview uses Internet
for the network origin.
If the access preview is for an existing resource and neither is
specified, the access preview uses the exiting network origin.
s3AccessPointConfiguration_publicAccessBlock :: Lens' S3AccessPointConfiguration (Maybe S3PublicAccessBlockConfiguration) Source #
The proposed S3PublicAccessBlock
configuration to apply to this Amazon
S3 access point or multi-region access point.
S3BucketAclGrantConfiguration
data S3BucketAclGrantConfiguration Source #
A proposed access control list grant configuration for an Amazon S3 bucket. For more information, see How to Specify an ACL.
See: newS3BucketAclGrantConfiguration
smart constructor.
Constructors
S3BucketAclGrantConfiguration' | |
Fields
|
Instances
newS3BucketAclGrantConfiguration Source #
Arguments
:: AclPermission | |
-> AclGrantee | |
-> S3BucketAclGrantConfiguration |
Create a value of S3BucketAclGrantConfiguration
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:permission:S3BucketAclGrantConfiguration'
, s3BucketAclGrantConfiguration_permission
- The permissions being granted.
$sel:grantee:S3BucketAclGrantConfiguration'
, s3BucketAclGrantConfiguration_grantee
- The grantee to whom you’re assigning access rights.
s3BucketAclGrantConfiguration_permission :: Lens' S3BucketAclGrantConfiguration AclPermission Source #
The permissions being granted.
s3BucketAclGrantConfiguration_grantee :: Lens' S3BucketAclGrantConfiguration AclGrantee Source #
The grantee to whom you’re assigning access rights.
S3BucketConfiguration
data S3BucketConfiguration Source #
Proposed access control configuration for an Amazon S3 bucket. You can propose a configuration for a new Amazon S3 bucket or an existing Amazon S3 bucket that you own by specifying the Amazon S3 bucket policy, bucket ACLs, bucket BPA settings, Amazon S3 access points, and multi-region access points attached to the bucket. If the configuration is for an existing Amazon S3 bucket and you do not specify the Amazon S3 bucket policy, the access preview uses the existing policy attached to the bucket. If the access preview is for a new resource and you do not specify the Amazon S3 bucket policy, the access preview assumes a bucket without a policy. To propose deletion of an existing bucket policy, you can specify an empty string. For more information about bucket policy limits, see Bucket Policy Examples.
See: newS3BucketConfiguration
smart constructor.
Constructors
S3BucketConfiguration' | |
Fields
|
Instances
newS3BucketConfiguration :: S3BucketConfiguration Source #
Create a value of S3BucketConfiguration
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:accessPoints:S3BucketConfiguration'
, s3BucketConfiguration_accessPoints
- The configuration of Amazon S3 access points or multi-region access
points for the bucket. You can propose up to 10 new access points per
bucket.
$sel:bucketAclGrants:S3BucketConfiguration'
, s3BucketConfiguration_bucketAclGrants
- The proposed list of ACL grants for the Amazon S3 bucket. You can
propose up to 100 ACL grants per bucket. If the proposed grant
configuration is for an existing bucket, the access preview uses the
proposed list of grant configurations in place of the existing grants.
Otherwise, the access preview uses the existing grants for the bucket.
$sel:bucketPolicy:S3BucketConfiguration'
, s3BucketConfiguration_bucketPolicy
- The proposed bucket policy for the Amazon S3 bucket.
$sel:bucketPublicAccessBlock:S3BucketConfiguration'
, s3BucketConfiguration_bucketPublicAccessBlock
- The proposed block public access configuration for the Amazon S3 bucket.
s3BucketConfiguration_accessPoints :: Lens' S3BucketConfiguration (Maybe (HashMap Text S3AccessPointConfiguration)) Source #
The configuration of Amazon S3 access points or multi-region access points for the bucket. You can propose up to 10 new access points per bucket.
s3BucketConfiguration_bucketAclGrants :: Lens' S3BucketConfiguration (Maybe [S3BucketAclGrantConfiguration]) Source #
The proposed list of ACL grants for the Amazon S3 bucket. You can propose up to 100 ACL grants per bucket. If the proposed grant configuration is for an existing bucket, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the bucket.
s3BucketConfiguration_bucketPolicy :: Lens' S3BucketConfiguration (Maybe Text) Source #
The proposed bucket policy for the Amazon S3 bucket.
s3BucketConfiguration_bucketPublicAccessBlock :: Lens' S3BucketConfiguration (Maybe S3PublicAccessBlockConfiguration) Source #
The proposed block public access configuration for the Amazon S3 bucket.
S3PublicAccessBlockConfiguration
data S3PublicAccessBlockConfiguration Source #
The PublicAccessBlock
configuration to apply to this Amazon S3 bucket.
If the proposed configuration is for an existing Amazon S3 bucket and
the configuration is not specified, the access preview uses the existing
setting. If the proposed configuration is for a new bucket and the
configuration is not specified, the access preview uses false
. If the
proposed configuration is for a new access point or multi-region access
point and the access point BPA configuration is not specified, the
access preview uses true
. For more information, see
PublicAccessBlockConfiguration.
See: newS3PublicAccessBlockConfiguration
smart constructor.
Constructors
S3PublicAccessBlockConfiguration' | |
Fields
|
Instances
newS3PublicAccessBlockConfiguration Source #
Arguments
:: Bool | |
-> Bool |
|
-> S3PublicAccessBlockConfiguration |
Create a value of S3PublicAccessBlockConfiguration
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:ignorePublicAcls:S3PublicAccessBlockConfiguration'
, s3PublicAccessBlockConfiguration_ignorePublicAcls
- Specifies whether Amazon S3 should ignore public ACLs for this bucket
and objects in this bucket.
$sel:restrictPublicBuckets:S3PublicAccessBlockConfiguration'
, s3PublicAccessBlockConfiguration_restrictPublicBuckets
- Specifies whether Amazon S3 should restrict public bucket policies for
this bucket.
s3PublicAccessBlockConfiguration_ignorePublicAcls :: Lens' S3PublicAccessBlockConfiguration Bool Source #
Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket.
s3PublicAccessBlockConfiguration_restrictPublicBuckets :: Lens' S3PublicAccessBlockConfiguration Bool Source #
Specifies whether Amazon S3 should restrict public bucket policies for this bucket.
SecretsManagerSecretConfiguration
data SecretsManagerSecretConfiguration Source #
The configuration for a Secrets Manager secret. For more information, see CreateSecret.
You can propose a configuration for a new secret or an existing secret
that you own by specifying the secret policy and optional KMS encryption
key. If the configuration is for an existing secret and you do not
specify the secret policy, the access preview uses the existing policy
for the secret. If the access preview is for a new resource and you do
not specify the policy, the access preview assumes a secret without a
policy. To propose deletion of an existing policy, you can specify an
empty string. If the proposed configuration is for a new secret and you
do not specify the KMS key ID, the access preview uses the Amazon Web
Services managed key aws/secretsmanager
. If you specify an empty
string for the KMS key ID, the access preview uses the Amazon Web
Services managed key of the Amazon Web Services account. For more
information about secret policy limits, see
Quotas for Secrets Manager..
See: newSecretsManagerSecretConfiguration
smart constructor.
Constructors
SecretsManagerSecretConfiguration' | |
Instances
newSecretsManagerSecretConfiguration :: SecretsManagerSecretConfiguration Source #
Create a value of SecretsManagerSecretConfiguration
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:kmsKeyId:SecretsManagerSecretConfiguration'
, secretsManagerSecretConfiguration_kmsKeyId
- The proposed ARN, key ID, or alias of the KMS key.
$sel:secretPolicy:SecretsManagerSecretConfiguration'
, secretsManagerSecretConfiguration_secretPolicy
- The proposed resource policy defining who can access or manage the
secret.
secretsManagerSecretConfiguration_kmsKeyId :: Lens' SecretsManagerSecretConfiguration (Maybe Text) Source #
The proposed ARN, key ID, or alias of the KMS key.
secretsManagerSecretConfiguration_secretPolicy :: Lens' SecretsManagerSecretConfiguration (Maybe Text) Source #
The proposed resource policy defining who can access or manage the secret.
SnsTopicConfiguration
data SnsTopicConfiguration Source #
The proposed access control configuration for an Amazon SNS topic. You can propose a configuration for a new Amazon SNS topic or an existing Amazon SNS topic that you own by specifying the policy. If the configuration is for an existing Amazon SNS topic and you do not specify the Amazon SNS policy, then the access preview uses the existing Amazon SNS policy for the topic. If the access preview is for a new resource and you do not specify the policy, then the access preview assumes an Amazon SNS topic without a policy. To propose deletion of an existing Amazon SNS topic policy, you can specify an empty string for the Amazon SNS policy. For more information, see Topic.
See: newSnsTopicConfiguration
smart constructor.
Constructors
SnsTopicConfiguration' | |
Fields
|
Instances
newSnsTopicConfiguration :: SnsTopicConfiguration Source #
Create a value of SnsTopicConfiguration
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:topicPolicy:SnsTopicConfiguration'
, snsTopicConfiguration_topicPolicy
- The JSON policy text that defines who can access an Amazon SNS topic.
For more information, see
Example cases for Amazon SNS access control
in the Amazon SNS Developer Guide.
snsTopicConfiguration_topicPolicy :: Lens' SnsTopicConfiguration (Maybe Text) Source #
The JSON policy text that defines who can access an Amazon SNS topic. For more information, see Example cases for Amazon SNS access control in the Amazon SNS Developer Guide.
SortCriteria
data SortCriteria Source #
The criteria used to sort.
See: newSortCriteria
smart constructor.
Constructors
SortCriteria' | |
Instances
newSortCriteria :: SortCriteria Source #
Create a value of SortCriteria
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:attributeName:SortCriteria'
, sortCriteria_attributeName
- The name of the attribute to sort on.
$sel:orderBy:SortCriteria'
, sortCriteria_orderBy
- The sort order, ascending or descending.
sortCriteria_attributeName :: Lens' SortCriteria (Maybe Text) Source #
The name of the attribute to sort on.
sortCriteria_orderBy :: Lens' SortCriteria (Maybe OrderBy) Source #
The sort order, ascending or descending.
Span
A span in a policy. The span consists of a start position (inclusive) and end position (exclusive).
See: newSpan
smart constructor.
Constructors
Span' | |
Instances
FromJSON Span Source # | |
Generic Span Source # | |
Read Span Source # | |
Show Span Source # | |
NFData Span Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Span | |
Eq Span Source # | |
Hashable Span Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Span | |
type Rep Span Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Span type Rep Span = D1 ('MetaData "Span" "Amazonka.AccessAnalyzer.Types.Span" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "Span'" 'PrefixI 'True) (S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position))) |
Create a value of Span
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:start:Span'
, span_start
- The start position of the span (inclusive).
$sel:end:Span'
, span_end
- The end position of the span (exclusive).
SqsQueueConfiguration
data SqsQueueConfiguration Source #
The proposed access control configuration for an Amazon SQS queue. You can propose a configuration for a new Amazon SQS queue or an existing Amazon SQS queue that you own by specifying the Amazon SQS policy. If the configuration is for an existing Amazon SQS queue and you do not specify the Amazon SQS policy, the access preview uses the existing Amazon SQS policy for the queue. If the access preview is for a new resource and you do not specify the policy, the access preview assumes an Amazon SQS queue without a policy. To propose deletion of an existing Amazon SQS queue policy, you can specify an empty string for the Amazon SQS policy. For more information about Amazon SQS policy limits, see Quotas related to policies.
See: newSqsQueueConfiguration
smart constructor.
Constructors
SqsQueueConfiguration' | |
Fields
|
Instances
newSqsQueueConfiguration :: SqsQueueConfiguration Source #
Create a value of SqsQueueConfiguration
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:queuePolicy:SqsQueueConfiguration'
, sqsQueueConfiguration_queuePolicy
- The proposed resource policy for the Amazon SQS queue.
sqsQueueConfiguration_queuePolicy :: Lens' SqsQueueConfiguration (Maybe Text) Source #
The proposed resource policy for the Amazon SQS queue.
StatusReason
data StatusReason Source #
Provides more details about the current status of the analyzer. For
example, if the creation for the analyzer fails, a Failed
status is
returned. For an analyzer with organization as the type, this failure
can be due to an issue with creating the service-linked roles required
in the member accounts of the Amazon Web Services organization.
See: newStatusReason
smart constructor.
Constructors
StatusReason' | |
Fields
|
Instances
Arguments
:: ReasonCode | |
-> StatusReason |
Create a value of StatusReason
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:code:StatusReason'
, statusReason_code
- The reason code for the current status of the analyzer.
statusReason_code :: Lens' StatusReason ReasonCode Source #
The reason code for the current status of the analyzer.
Substring
A reference to a substring of a literal string in a JSON document.
See: newSubstring
smart constructor.
Constructors
Substring' | |
Instances
FromJSON Substring Source # | |
Generic Substring Source # | |
Read Substring Source # | |
Show Substring Source # | |
NFData Substring Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Substring | |
Eq Substring Source # | |
Hashable Substring Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Substring | |
type Rep Substring Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Substring type Rep Substring = D1 ('MetaData "Substring" "Amazonka.AccessAnalyzer.Types.Substring" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "Substring'" 'PrefixI 'True) (S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "length") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
Create a value of Substring
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:start:Substring'
, substring_start
- The start index of the substring, starting from 0.
$sel:length:Substring'
, substring_length
- The length of the substring.
Trail
Contains details about the CloudTrail trail being analyzed to generate a policy.
See: newTrail
smart constructor.
Constructors
Trail' | |
Fields
|
Instances
ToJSON Trail Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Trail | |
Generic Trail Source # | |
Read Trail Source # | |
Show Trail Source # | |
NFData Trail Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Trail | |
Eq Trail Source # | |
Hashable Trail Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Trail | |
type Rep Trail Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Trail type Rep Trail = D1 ('MetaData "Trail" "Amazonka.AccessAnalyzer.Types.Trail" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "Trail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "allRegions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "regions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "cloudTrailArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
Create a value of Trail
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:allRegions:Trail'
, trail_allRegions
- Possible values are true
or false
. If set to true
, IAM Access
Analyzer retrieves CloudTrail data from all regions to analyze and
generate a policy.
$sel:regions:Trail'
, trail_regions
- A list of regions to get CloudTrail data from and analyze to generate a
policy.
$sel:cloudTrailArn:Trail'
, trail_cloudTrailArn
- Specifies the ARN of the trail. The format of a trail ARN is
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
.
trail_allRegions :: Lens' Trail (Maybe Bool) Source #
Possible values are true
or false
. If set to true
, IAM Access
Analyzer retrieves CloudTrail data from all regions to analyze and
generate a policy.
trail_regions :: Lens' Trail (Maybe [Text]) Source #
A list of regions to get CloudTrail data from and analyze to generate a policy.
trail_cloudTrailArn :: Lens' Trail Text Source #
Specifies the ARN of the trail. The format of a trail ARN is
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
.
TrailProperties
data TrailProperties Source #
Contains details about the CloudTrail trail being analyzed to generate a policy.
See: newTrailProperties
smart constructor.
Constructors
TrailProperties' | |
Fields
|
Instances
Arguments
:: Text | |
-> TrailProperties |
Create a value of TrailProperties
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:allRegions:TrailProperties'
, trailProperties_allRegions
- Possible values are true
or false
. If set to true
, IAM Access
Analyzer retrieves CloudTrail data from all regions to analyze and
generate a policy.
$sel:regions:TrailProperties'
, trailProperties_regions
- A list of regions to get CloudTrail data from and analyze to generate a
policy.
$sel:cloudTrailArn:TrailProperties'
, trailProperties_cloudTrailArn
- Specifies the ARN of the trail. The format of a trail ARN is
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
.
trailProperties_allRegions :: Lens' TrailProperties (Maybe Bool) Source #
Possible values are true
or false
. If set to true
, IAM Access
Analyzer retrieves CloudTrail data from all regions to analyze and
generate a policy.
trailProperties_regions :: Lens' TrailProperties (Maybe [Text]) Source #
A list of regions to get CloudTrail data from and analyze to generate a policy.
trailProperties_cloudTrailArn :: Lens' TrailProperties Text Source #
Specifies the ARN of the trail. The format of a trail ARN is
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
.
ValidatePolicyFinding
data ValidatePolicyFinding Source #
A finding in a policy. Each finding is an actionable recommendation that can be used to improve the policy.
See: newValidatePolicyFinding
smart constructor.
Constructors
ValidatePolicyFinding' | |
Fields
|
Instances
newValidatePolicyFinding Source #
Arguments
:: Text | |
-> ValidatePolicyFindingType | |
-> Text | |
-> Text | |
-> ValidatePolicyFinding |
Create a value of ValidatePolicyFinding
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:findingDetails:ValidatePolicyFinding'
, validatePolicyFinding_findingDetails
- A localized message that explains the finding and provides guidance on
how to address it.
$sel:findingType:ValidatePolicyFinding'
, validatePolicyFinding_findingType
- The impact of the finding.
Security warnings report when the policy allows access that we consider overly permissive.
Errors report when a part of the policy is not functional.
Warnings report non-security issues when a policy does not conform to policy writing best practices.
Suggestions recommend stylistic improvements in the policy that do not impact access.
$sel:issueCode:ValidatePolicyFinding'
, validatePolicyFinding_issueCode
- The issue code provides an identifier of the issue associated with this
finding.
$sel:learnMoreLink:ValidatePolicyFinding'
, validatePolicyFinding_learnMoreLink
- A link to additional documentation about the type of finding.
$sel:locations:ValidatePolicyFinding'
, validatePolicyFinding_locations
- The list of locations in the policy document that are related to the
finding. The issue code provides a summary of an issue identified by the
finding.
validatePolicyFinding_findingDetails :: Lens' ValidatePolicyFinding Text Source #
A localized message that explains the finding and provides guidance on how to address it.
validatePolicyFinding_findingType :: Lens' ValidatePolicyFinding ValidatePolicyFindingType Source #
The impact of the finding.
Security warnings report when the policy allows access that we consider overly permissive.
Errors report when a part of the policy is not functional.
Warnings report non-security issues when a policy does not conform to policy writing best practices.
Suggestions recommend stylistic improvements in the policy that do not impact access.
validatePolicyFinding_issueCode :: Lens' ValidatePolicyFinding Text Source #
The issue code provides an identifier of the issue associated with this finding.
validatePolicyFinding_learnMoreLink :: Lens' ValidatePolicyFinding Text Source #
A link to additional documentation about the type of finding.
validatePolicyFinding_locations :: Lens' ValidatePolicyFinding [Location] Source #
The list of locations in the policy document that are related to the finding. The issue code provides a summary of an issue identified by the finding.
VpcConfiguration
data VpcConfiguration Source #
The proposed virtual private cloud (VPC) configuration for the Amazon S3 access point. VPC configuration does not apply to multi-region access points. For more information, see VpcConfiguration.
See: newVpcConfiguration
smart constructor.
Constructors
VpcConfiguration' | |
Instances
Arguments
:: Text | |
-> VpcConfiguration |
Create a value of VpcConfiguration
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:vpcId:VpcConfiguration'
, vpcConfiguration_vpcId
- If this field is specified, this access point will only allow
connections from the specified VPC ID.
vpcConfiguration_vpcId :: Lens' VpcConfiguration Text Source #
If this field is specified, this access point will only allow connections from the specified VPC ID.