Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- AccessPreviewStatus
- AccessPreviewStatusReasonCode
- AclPermission
- AnalyzerStatus
- FindingChangeType
- FindingSourceType
- FindingStatus
- FindingStatusUpdate
- JobErrorCode
- JobStatus
- KmsGrantOperation
- Locale
- OrderBy
- PolicyType
- ReasonCode
- ResourceType
- Type
- ValidatePolicyFindingType
- AccessPreview
- AccessPreviewFinding
- AccessPreviewStatusReason
- AccessPreviewSummary
- AclGrantee
- AnalyzedResource
- AnalyzedResourceSummary
- AnalyzerSummary
- ArchiveRuleSummary
- CloudTrailDetails
- CloudTrailProperties
- Configuration
- Criterion
- Finding
- FindingSource
- FindingSourceDetail
- FindingSummary
- GeneratedPolicy
- GeneratedPolicyProperties
- GeneratedPolicyResult
- IamRoleConfiguration
- InlineArchiveRule
- InternetConfiguration
- JobDetails
- JobError
- KmsGrantConfiguration
- KmsGrantConstraints
- KmsKeyConfiguration
- Location
- NetworkOriginConfiguration
- PathElement
- PolicyGeneration
- PolicyGenerationDetails
- Position
- S3AccessPointConfiguration
- S3BucketAclGrantConfiguration
- S3BucketConfiguration
- S3PublicAccessBlockConfiguration
- SecretsManagerSecretConfiguration
- SortCriteria
- Span
- SqsQueueConfiguration
- StatusReason
- Substring
- Trail
- TrailProperties
- ValidatePolicyFinding
- VpcConfiguration
Synopsis
- defaultService :: Service
- _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ConflictException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) 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
- FindingSourceType' { }
- pattern FindingSourceType_BUCKET_ACL :: FindingSourceType
- pattern FindingSourceType_POLICY :: FindingSourceType
- pattern FindingSourceType_S3_ACCESS_POINT :: FindingSourceType
- 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__IAM__Role :: ResourceType
- pattern ResourceType_AWS__KMS__Key :: ResourceType
- pattern ResourceType_AWS__Lambda__Function :: ResourceType
- pattern ResourceType_AWS__Lambda__LayerVersion :: ResourceType
- pattern ResourceType_AWS__S3__Bucket :: 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
- data AccessPreview = AccessPreview' {}
- newAccessPreview :: Text -> UTCTime -> Text -> AccessPreviewStatus -> AccessPreview
- accessPreview_statusReason :: Lens' AccessPreview (Maybe AccessPreviewStatusReason)
- accessPreview_analyzerArn :: Lens' AccessPreview Text
- accessPreview_configurations :: Lens' AccessPreview (HashMap Text Configuration)
- accessPreview_createdAt :: Lens' AccessPreview UTCTime
- accessPreview_id :: Lens' AccessPreview Text
- accessPreview_status :: Lens' AccessPreview AccessPreviewStatus
- data AccessPreviewFinding = AccessPreviewFinding' {
- existingFindingStatus :: Maybe FindingStatus
- error :: Maybe Text
- isPublic :: Maybe Bool
- action :: Maybe [Text]
- sources :: Maybe [FindingSource]
- resource :: Maybe Text
- principal :: Maybe (HashMap Text Text)
- existingFindingId :: Maybe Text
- condition :: Maybe (HashMap Text Text)
- changeType :: FindingChangeType
- createdAt :: POSIX
- id :: Text
- resourceOwnerAccount :: Text
- resourceType :: ResourceType
- status :: FindingStatus
- newAccessPreviewFinding :: FindingChangeType -> UTCTime -> Text -> Text -> ResourceType -> FindingStatus -> AccessPreviewFinding
- accessPreviewFinding_existingFindingStatus :: Lens' AccessPreviewFinding (Maybe FindingStatus)
- accessPreviewFinding_error :: Lens' AccessPreviewFinding (Maybe Text)
- accessPreviewFinding_isPublic :: Lens' AccessPreviewFinding (Maybe Bool)
- accessPreviewFinding_action :: Lens' AccessPreviewFinding (Maybe [Text])
- accessPreviewFinding_sources :: Lens' AccessPreviewFinding (Maybe [FindingSource])
- accessPreviewFinding_resource :: Lens' AccessPreviewFinding (Maybe Text)
- accessPreviewFinding_principal :: Lens' AccessPreviewFinding (Maybe (HashMap Text Text))
- accessPreviewFinding_existingFindingId :: Lens' AccessPreviewFinding (Maybe Text)
- accessPreviewFinding_condition :: Lens' AccessPreviewFinding (Maybe (HashMap Text Text))
- accessPreviewFinding_changeType :: Lens' AccessPreviewFinding FindingChangeType
- accessPreviewFinding_createdAt :: Lens' AccessPreviewFinding UTCTime
- accessPreviewFinding_id :: Lens' AccessPreviewFinding Text
- accessPreviewFinding_resourceOwnerAccount :: Lens' AccessPreviewFinding Text
- accessPreviewFinding_resourceType :: Lens' AccessPreviewFinding ResourceType
- accessPreviewFinding_status :: Lens' AccessPreviewFinding FindingStatus
- data AccessPreviewStatusReason = AccessPreviewStatusReason' {}
- newAccessPreviewStatusReason :: AccessPreviewStatusReasonCode -> AccessPreviewStatusReason
- accessPreviewStatusReason_code :: Lens' AccessPreviewStatusReason AccessPreviewStatusReasonCode
- data AccessPreviewSummary = AccessPreviewSummary' {}
- newAccessPreviewSummary :: Text -> UTCTime -> Text -> AccessPreviewStatus -> AccessPreviewSummary
- accessPreviewSummary_statusReason :: Lens' AccessPreviewSummary (Maybe AccessPreviewStatusReason)
- accessPreviewSummary_analyzerArn :: Lens' AccessPreviewSummary Text
- accessPreviewSummary_createdAt :: Lens' AccessPreviewSummary UTCTime
- accessPreviewSummary_id :: Lens' AccessPreviewSummary Text
- accessPreviewSummary_status :: Lens' AccessPreviewSummary AccessPreviewStatus
- data AclGrantee = AclGrantee' {}
- newAclGrantee :: AclGrantee
- aclGrantee_uri :: Lens' AclGrantee (Maybe Text)
- aclGrantee_id :: Lens' AclGrantee (Maybe Text)
- data AnalyzedResource = AnalyzedResource' {
- status :: Maybe FindingStatus
- actions :: Maybe [Text]
- error :: Maybe Text
- sharedVia :: Maybe [Text]
- analyzedAt :: POSIX
- createdAt :: POSIX
- isPublic :: Bool
- resourceArn :: Text
- resourceOwnerAccount :: Text
- resourceType :: ResourceType
- updatedAt :: POSIX
- newAnalyzedResource :: UTCTime -> UTCTime -> Bool -> Text -> Text -> ResourceType -> UTCTime -> AnalyzedResource
- analyzedResource_status :: Lens' AnalyzedResource (Maybe FindingStatus)
- analyzedResource_actions :: Lens' AnalyzedResource (Maybe [Text])
- analyzedResource_error :: Lens' AnalyzedResource (Maybe Text)
- analyzedResource_sharedVia :: Lens' AnalyzedResource (Maybe [Text])
- analyzedResource_analyzedAt :: Lens' AnalyzedResource UTCTime
- analyzedResource_createdAt :: Lens' AnalyzedResource UTCTime
- analyzedResource_isPublic :: Lens' AnalyzedResource Bool
- analyzedResource_resourceArn :: Lens' AnalyzedResource Text
- analyzedResource_resourceOwnerAccount :: Lens' AnalyzedResource Text
- analyzedResource_resourceType :: Lens' AnalyzedResource ResourceType
- analyzedResource_updatedAt :: Lens' AnalyzedResource UTCTime
- 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' {
- lastResourceAnalyzedAt :: Maybe POSIX
- lastResourceAnalyzed :: Maybe Text
- statusReason :: Maybe StatusReason
- tags :: Maybe (HashMap Text Text)
- arn :: Text
- createdAt :: POSIX
- name :: Text
- status :: AnalyzerStatus
- type' :: Type
- newAnalyzerSummary :: Text -> UTCTime -> Text -> AnalyzerStatus -> Type -> AnalyzerSummary
- analyzerSummary_lastResourceAnalyzedAt :: Lens' AnalyzerSummary (Maybe UTCTime)
- analyzerSummary_lastResourceAnalyzed :: Lens' AnalyzerSummary (Maybe Text)
- analyzerSummary_statusReason :: Lens' AnalyzerSummary (Maybe StatusReason)
- analyzerSummary_tags :: Lens' AnalyzerSummary (Maybe (HashMap Text Text))
- analyzerSummary_arn :: Lens' AnalyzerSummary Text
- analyzerSummary_createdAt :: Lens' AnalyzerSummary UTCTime
- analyzerSummary_name :: Lens' AnalyzerSummary Text
- analyzerSummary_status :: Lens' AnalyzerSummary AnalyzerStatus
- analyzerSummary_type :: Lens' AnalyzerSummary Type
- data ArchiveRuleSummary = ArchiveRuleSummary' {}
- newArchiveRuleSummary :: UTCTime -> Text -> UTCTime -> ArchiveRuleSummary
- archiveRuleSummary_createdAt :: Lens' ArchiveRuleSummary UTCTime
- archiveRuleSummary_filter :: Lens' ArchiveRuleSummary (HashMap Text Criterion)
- archiveRuleSummary_ruleName :: Lens' ArchiveRuleSummary Text
- archiveRuleSummary_updatedAt :: Lens' ArchiveRuleSummary UTCTime
- data CloudTrailDetails = CloudTrailDetails' {}
- newCloudTrailDetails :: Text -> UTCTime -> CloudTrailDetails
- cloudTrailDetails_endTime :: Lens' CloudTrailDetails (Maybe UTCTime)
- cloudTrailDetails_accessRole :: Lens' CloudTrailDetails Text
- cloudTrailDetails_startTime :: Lens' CloudTrailDetails UTCTime
- cloudTrailDetails_trails :: Lens' CloudTrailDetails [Trail]
- data CloudTrailProperties = CloudTrailProperties' {
- endTime :: POSIX
- startTime :: POSIX
- trailProperties :: [TrailProperties]
- newCloudTrailProperties :: UTCTime -> UTCTime -> CloudTrailProperties
- cloudTrailProperties_endTime :: Lens' CloudTrailProperties UTCTime
- cloudTrailProperties_startTime :: Lens' CloudTrailProperties UTCTime
- cloudTrailProperties_trailProperties :: Lens' CloudTrailProperties [TrailProperties]
- data Configuration = Configuration' {}
- newConfiguration :: Configuration
- configuration_kmsKey :: Lens' Configuration (Maybe KmsKeyConfiguration)
- configuration_secretsManagerSecret :: Lens' Configuration (Maybe SecretsManagerSecretConfiguration)
- configuration_sqsQueue :: Lens' Configuration (Maybe SqsQueueConfiguration)
- configuration_s3Bucket :: Lens' Configuration (Maybe S3BucketConfiguration)
- configuration_iamRole :: Lens' Configuration (Maybe IamRoleConfiguration)
- data Criterion = Criterion' {}
- newCriterion :: Criterion
- criterion_eq :: Lens' Criterion (Maybe (NonEmpty Text))
- criterion_exists :: Lens' Criterion (Maybe Bool)
- criterion_neq :: Lens' Criterion (Maybe (NonEmpty Text))
- criterion_contains :: Lens' Criterion (Maybe (NonEmpty Text))
- data Finding = Finding' {
- error :: Maybe Text
- isPublic :: Maybe Bool
- action :: Maybe [Text]
- sources :: Maybe [FindingSource]
- resource :: Maybe Text
- principal :: Maybe (HashMap Text Text)
- analyzedAt :: POSIX
- condition :: HashMap Text Text
- createdAt :: POSIX
- id :: Text
- resourceOwnerAccount :: Text
- resourceType :: ResourceType
- status :: FindingStatus
- updatedAt :: POSIX
- newFinding :: UTCTime -> UTCTime -> Text -> Text -> ResourceType -> FindingStatus -> UTCTime -> Finding
- finding_error :: Lens' Finding (Maybe Text)
- finding_isPublic :: Lens' Finding (Maybe Bool)
- finding_action :: Lens' Finding (Maybe [Text])
- finding_sources :: Lens' Finding (Maybe [FindingSource])
- finding_resource :: Lens' Finding (Maybe Text)
- finding_principal :: Lens' Finding (Maybe (HashMap Text Text))
- finding_analyzedAt :: Lens' Finding UTCTime
- finding_condition :: Lens' Finding (HashMap Text Text)
- finding_createdAt :: Lens' Finding UTCTime
- finding_id :: Lens' Finding Text
- finding_resourceOwnerAccount :: Lens' Finding Text
- finding_resourceType :: Lens' Finding ResourceType
- finding_status :: Lens' Finding FindingStatus
- finding_updatedAt :: Lens' Finding UTCTime
- data FindingSource = FindingSource' {}
- newFindingSource :: FindingSourceType -> FindingSource
- findingSource_detail :: Lens' FindingSource (Maybe FindingSourceDetail)
- findingSource_type :: Lens' FindingSource FindingSourceType
- data FindingSourceDetail = FindingSourceDetail' {}
- newFindingSourceDetail :: FindingSourceDetail
- findingSourceDetail_accessPointArn :: Lens' FindingSourceDetail (Maybe Text)
- data FindingSummary = FindingSummary' {
- error :: Maybe Text
- isPublic :: Maybe Bool
- action :: Maybe [Text]
- sources :: Maybe [FindingSource]
- resource :: Maybe Text
- principal :: Maybe (HashMap Text Text)
- analyzedAt :: POSIX
- condition :: HashMap Text Text
- createdAt :: POSIX
- id :: Text
- resourceOwnerAccount :: Text
- resourceType :: ResourceType
- status :: FindingStatus
- updatedAt :: POSIX
- newFindingSummary :: UTCTime -> UTCTime -> Text -> Text -> ResourceType -> FindingStatus -> UTCTime -> FindingSummary
- findingSummary_error :: Lens' FindingSummary (Maybe Text)
- findingSummary_isPublic :: Lens' FindingSummary (Maybe Bool)
- findingSummary_action :: Lens' FindingSummary (Maybe [Text])
- findingSummary_sources :: Lens' FindingSummary (Maybe [FindingSource])
- findingSummary_resource :: Lens' FindingSummary (Maybe Text)
- findingSummary_principal :: Lens' FindingSummary (Maybe (HashMap Text Text))
- findingSummary_analyzedAt :: Lens' FindingSummary UTCTime
- findingSummary_condition :: Lens' FindingSummary (HashMap Text Text)
- findingSummary_createdAt :: Lens' FindingSummary UTCTime
- findingSummary_id :: Lens' FindingSummary Text
- findingSummary_resourceOwnerAccount :: Lens' FindingSummary Text
- findingSummary_resourceType :: Lens' FindingSummary ResourceType
- findingSummary_status :: Lens' FindingSummary FindingStatus
- findingSummary_updatedAt :: Lens' FindingSummary UTCTime
- data GeneratedPolicy = GeneratedPolicy' {}
- newGeneratedPolicy :: Text -> GeneratedPolicy
- generatedPolicy_policy :: Lens' GeneratedPolicy Text
- data GeneratedPolicyProperties = GeneratedPolicyProperties' {}
- newGeneratedPolicyProperties :: Text -> GeneratedPolicyProperties
- generatedPolicyProperties_isComplete :: Lens' GeneratedPolicyProperties (Maybe Bool)
- generatedPolicyProperties_cloudTrailProperties :: Lens' GeneratedPolicyProperties (Maybe CloudTrailProperties)
- 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_filter :: Lens' InlineArchiveRule (HashMap Text Criterion)
- inlineArchiveRule_ruleName :: Lens' InlineArchiveRule Text
- data InternetConfiguration = InternetConfiguration' {
- newInternetConfiguration :: InternetConfiguration
- data JobDetails = JobDetails' {}
- newJobDetails :: Text -> UTCTime -> JobStatus -> JobDetails
- jobDetails_completedOn :: Lens' JobDetails (Maybe UTCTime)
- jobDetails_jobError :: Lens' JobDetails (Maybe JobError)
- jobDetails_jobId :: Lens' JobDetails Text
- jobDetails_startedOn :: Lens' JobDetails UTCTime
- jobDetails_status :: Lens' JobDetails JobStatus
- 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_retiringPrincipal :: Lens' KmsGrantConfiguration (Maybe Text)
- kmsGrantConfiguration_constraints :: Lens' KmsGrantConfiguration (Maybe KmsGrantConstraints)
- kmsGrantConfiguration_granteePrincipal :: Lens' KmsGrantConfiguration Text
- kmsGrantConfiguration_issuingAccount :: Lens' KmsGrantConfiguration Text
- kmsGrantConfiguration_operations :: Lens' KmsGrantConfiguration [KmsGrantOperation]
- 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_value :: Lens' PathElement (Maybe Text)
- pathElement_substring :: Lens' PathElement (Maybe Substring)
- pathElement_key :: Lens' PathElement (Maybe Text)
- pathElement_index :: Lens' PathElement (Maybe Int)
- data PolicyGeneration = PolicyGeneration' {}
- newPolicyGeneration :: Text -> Text -> UTCTime -> JobStatus -> PolicyGeneration
- policyGeneration_completedOn :: Lens' PolicyGeneration (Maybe UTCTime)
- policyGeneration_jobId :: Lens' PolicyGeneration Text
- policyGeneration_principalArn :: Lens' PolicyGeneration Text
- policyGeneration_startedOn :: Lens' PolicyGeneration UTCTime
- policyGeneration_status :: Lens' PolicyGeneration JobStatus
- data PolicyGenerationDetails = PolicyGenerationDetails' {
- principalArn :: Text
- newPolicyGenerationDetails :: Text -> PolicyGenerationDetails
- policyGenerationDetails_principalArn :: Lens' PolicyGenerationDetails Text
- data Position = Position' {}
- newPosition :: Int -> Int -> Int -> Position
- position_column :: Lens' Position Int
- position_line :: Lens' Position Int
- position_offset :: Lens' Position Int
- data S3AccessPointConfiguration = S3AccessPointConfiguration' {}
- newS3AccessPointConfiguration :: S3AccessPointConfiguration
- s3AccessPointConfiguration_publicAccessBlock :: Lens' S3AccessPointConfiguration (Maybe S3PublicAccessBlockConfiguration)
- s3AccessPointConfiguration_accessPointPolicy :: Lens' S3AccessPointConfiguration (Maybe Text)
- s3AccessPointConfiguration_networkOrigin :: Lens' S3AccessPointConfiguration (Maybe NetworkOriginConfiguration)
- data S3BucketAclGrantConfiguration = S3BucketAclGrantConfiguration' {}
- newS3BucketAclGrantConfiguration :: AclGrantee -> AclPermission -> S3BucketAclGrantConfiguration
- s3BucketAclGrantConfiguration_grantee :: Lens' S3BucketAclGrantConfiguration AclGrantee
- s3BucketAclGrantConfiguration_permission :: Lens' S3BucketAclGrantConfiguration AclPermission
- data S3BucketConfiguration = S3BucketConfiguration' {}
- newS3BucketConfiguration :: S3BucketConfiguration
- s3BucketConfiguration_accessPoints :: Lens' S3BucketConfiguration (Maybe (HashMap Text S3AccessPointConfiguration))
- s3BucketConfiguration_bucketPublicAccessBlock :: Lens' S3BucketConfiguration (Maybe S3PublicAccessBlockConfiguration)
- s3BucketConfiguration_bucketAclGrants :: Lens' S3BucketConfiguration (Maybe [S3BucketAclGrantConfiguration])
- s3BucketConfiguration_bucketPolicy :: Lens' S3BucketConfiguration (Maybe Text)
- 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 SortCriteria = SortCriteria' {}
- newSortCriteria :: SortCriteria
- sortCriteria_orderBy :: Lens' SortCriteria (Maybe OrderBy)
- sortCriteria_attributeName :: Lens' SortCriteria (Maybe Text)
- data Span = Span' {}
- newSpan :: Position -> Position -> Span
- span_end :: Lens' Span Position
- span_start :: 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_length :: Lens' Substring Int
- substring_start :: Lens' Substring Int
- data Trail = Trail' {
- regions :: Maybe [Text]
- allRegions :: Maybe Bool
- cloudTrailArn :: Text
- newTrail :: Text -> Trail
- trail_regions :: Lens' Trail (Maybe [Text])
- trail_allRegions :: Lens' Trail (Maybe Bool)
- trail_cloudTrailArn :: Lens' Trail Text
- data TrailProperties = TrailProperties' {
- regions :: Maybe [Text]
- allRegions :: Maybe Bool
- cloudTrailArn :: Text
- newTrailProperties :: Text -> TrailProperties
- trailProperties_regions :: Lens' TrailProperties (Maybe [Text])
- trailProperties_allRegions :: Lens' TrailProperties (Maybe Bool)
- 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
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Validation exception error.
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You do not have sufficient access to perform this action.
_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A conflict exception error.
_ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Service quote met error.
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Throttling limit exceeded error.
_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Internal server error.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified resource could not be found.
AccessPreviewStatus
newtype AccessPreviewStatus Source #
pattern AccessPreviewStatus_COMPLETED :: AccessPreviewStatus | |
pattern AccessPreviewStatus_CREATING :: AccessPreviewStatus | |
pattern AccessPreviewStatus_FAILED :: AccessPreviewStatus |
Instances
AccessPreviewStatusReasonCode
newtype AccessPreviewStatusReasonCode Source #
pattern AccessPreviewStatusReasonCode_INTERNAL_ERROR :: AccessPreviewStatusReasonCode | |
pattern AccessPreviewStatusReasonCode_INVALID_CONFIGURATION :: AccessPreviewStatusReasonCode |
Instances
AclPermission
newtype AclPermission Source #
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 #
pattern AnalyzerStatus_ACTIVE :: AnalyzerStatus | |
pattern AnalyzerStatus_CREATING :: AnalyzerStatus | |
pattern AnalyzerStatus_DISABLED :: AnalyzerStatus | |
pattern AnalyzerStatus_FAILED :: AnalyzerStatus |
Instances
FindingChangeType
newtype FindingChangeType Source #
pattern FindingChangeType_CHANGED :: FindingChangeType | |
pattern FindingChangeType_NEW :: FindingChangeType | |
pattern FindingChangeType_UNCHANGED :: FindingChangeType |
Instances
FindingSourceType
newtype FindingSourceType Source #
pattern FindingSourceType_BUCKET_ACL :: FindingSourceType | |
pattern FindingSourceType_POLICY :: FindingSourceType | |
pattern FindingSourceType_S3_ACCESS_POINT :: FindingSourceType |
Instances
FindingStatus
newtype FindingStatus Source #
pattern FindingStatus_ACTIVE :: FindingStatus | |
pattern FindingStatus_ARCHIVED :: FindingStatus | |
pattern FindingStatus_RESOLVED :: FindingStatus |
Instances
FindingStatusUpdate
newtype FindingStatusUpdate Source #
pattern FindingStatusUpdate_ACTIVE :: FindingStatusUpdate | |
pattern FindingStatusUpdate_ARCHIVED :: FindingStatusUpdate |
Instances
JobErrorCode
newtype JobErrorCode Source #
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
pattern JobStatus_CANCELED :: JobStatus | |
pattern JobStatus_FAILED :: JobStatus | |
pattern JobStatus_IN_PROGRESS :: JobStatus | |
pattern JobStatus_SUCCEEDED :: JobStatus |
Instances
KmsGrantOperation
newtype KmsGrantOperation Source #
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
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
pattern OrderBy_ASC :: OrderBy | |
pattern OrderBy_DESC :: OrderBy |
Instances
PolicyType
newtype PolicyType Source #
pattern PolicyType_IDENTITY_POLICY :: PolicyType | |
pattern PolicyType_RESOURCE_POLICY :: PolicyType | |
pattern PolicyType_SERVICE_CONTROL_POLICY :: PolicyType |
Instances
ReasonCode
newtype ReasonCode Source #
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 #
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__S3__Bucket :: ResourceType | |
pattern ResourceType_AWS__SQS__Queue :: ResourceType | |
pattern ResourceType_AWS__SecretsManager__Secret :: ResourceType |
Instances
Type
pattern Type_ACCOUNT :: Type | |
pattern Type_ORGANIZATION :: Type |
Instances
ValidatePolicyFindingType
newtype ValidatePolicyFindingType Source #
Instances
AccessPreview
data AccessPreview Source #
Contains information about an access preview.
See: newAccessPreview
smart constructor.
AccessPreview' | |
|
Instances
:: Text | |
-> UTCTime | |
-> Text | |
-> 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: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:id:AccessPreview'
, accessPreview_id
- The unique ID for the access preview.
$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_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_id :: Lens' AccessPreview Text Source #
The unique ID for the access preview.
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.
AccessPreviewFinding' | |
|
Instances
newAccessPreviewFinding Source #
:: FindingChangeType | |
-> UTCTime | |
-> Text | |
-> Text | |
-> ResourceType | |
-> FindingStatus | |
-> 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:existingFindingStatus:AccessPreviewFinding'
, accessPreviewFinding_existingFindingStatus
- The existing status of the finding, provided only for existing findings.
$sel:error:AccessPreviewFinding'
, accessPreviewFinding_error
- An error.
$sel:isPublic:AccessPreviewFinding'
, accessPreviewFinding_isPublic
- Indicates whether the policy that generated the finding allows public
access to the resource.
$sel:action:AccessPreviewFinding'
, accessPreviewFinding_action
- The action in the analyzed policy statement that an external principal
has permission to perform.
$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:resource:AccessPreviewFinding'
, accessPreviewFinding_resource
- The resource that an external principal has access to. This is the
resource associated with the access preview.
$sel:principal:AccessPreviewFinding'
, accessPreviewFinding_principal
- The external principal that has access to a resource within the zone of
trust.
$sel:existingFindingId:AccessPreviewFinding'
, accessPreviewFinding_existingFindingId
- The existing ID of the finding in IAM Access Analyzer, provided only for
existing findings.
$sel:condition:AccessPreviewFinding'
, accessPreviewFinding_condition
- The condition in the analyzed policy statement that resulted in a
finding.
$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:createdAt:AccessPreviewFinding'
, accessPreviewFinding_createdAt
- The time at which the access preview finding was created.
$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: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.
$sel:resourceType:AccessPreviewFinding'
, accessPreviewFinding_resourceType
- The type of the resource that can be accessed in the finding.
$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.
accessPreviewFinding_existingFindingStatus :: Lens' AccessPreviewFinding (Maybe FindingStatus) Source #
The existing status of the finding, provided only for existing findings.
accessPreviewFinding_error :: Lens' AccessPreviewFinding (Maybe Text) Source #
An error.
accessPreviewFinding_isPublic :: Lens' AccessPreviewFinding (Maybe Bool) Source #
Indicates whether the policy that generated the finding allows public access to the resource.
accessPreviewFinding_action :: Lens' AccessPreviewFinding (Maybe [Text]) Source #
The action in the analyzed policy statement that an external principal has permission to perform.
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_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_principal :: Lens' AccessPreviewFinding (Maybe (HashMap Text Text)) Source #
The external principal that has access to a resource within the zone of trust.
accessPreviewFinding_existingFindingId :: Lens' AccessPreviewFinding (Maybe Text) Source #
The existing ID of the finding in IAM Access Analyzer, provided only for existing findings.
accessPreviewFinding_condition :: Lens' AccessPreviewFinding (Maybe (HashMap Text Text)) Source #
The condition in the analyzed policy statement that resulted in a finding.
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_createdAt :: Lens' AccessPreviewFinding UTCTime Source #
The time at which the access preview finding was created.
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_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.
accessPreviewFinding_resourceType :: Lens' AccessPreviewFinding ResourceType Source #
The type of the resource that can be accessed in the finding.
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.
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.
AccessPreviewStatusReason' | |
|
Instances
newAccessPreviewStatusReason Source #
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.
AccessPreviewSummary' | |
|
Instances
newAccessPreviewSummary Source #
:: Text | |
-> UTCTime | |
-> Text | |
-> 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: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:id:AccessPreviewSummary'
, accessPreviewSummary_id
- The unique ID for the access preview.
$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_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_id :: Lens' AccessPreviewSummary Text Source #
The unique ID for the access preview.
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.
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:uri:AclGrantee'
, aclGrantee_uri
- Used for granting permissions to a predefined group.
$sel:id:AclGrantee'
, aclGrantee_id
- 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.
aclGrantee_id :: Lens' AclGrantee (Maybe Text) Source #
The value specified is the canonical user ID of an Amazon Web Services account.
AnalyzedResource
data AnalyzedResource Source #
Contains details about the analyzed resource.
See: newAnalyzedResource
smart constructor.
AnalyzedResource' | |
|
Instances
:: UTCTime | |
-> UTCTime | |
-> Bool | |
-> Text | |
-> Text | |
-> ResourceType | |
-> UTCTime | |
-> 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:status:AnalyzedResource'
, analyzedResource_status
- The current status of the finding generated from the analyzed resource.
$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:analyzedAt:AnalyzedResource'
, analyzedResource_analyzedAt
- The time at which the resource was analyzed.
$sel:createdAt:AnalyzedResource'
, analyzedResource_createdAt
- The time at which the finding was created.
$sel:isPublic:AnalyzedResource'
, analyzedResource_isPublic
- Indicates whether the policy that generated the finding grants public
access to the resource.
$sel:resourceArn:AnalyzedResource'
, analyzedResource_resourceArn
- The ARN of the resource that was analyzed.
$sel:resourceOwnerAccount:AnalyzedResource'
, analyzedResource_resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource.
$sel:resourceType:AnalyzedResource'
, analyzedResource_resourceType
- The type of the resource that was analyzed.
$sel:updatedAt:AnalyzedResource'
, analyzedResource_updatedAt
- The time at which the finding was updated.
analyzedResource_status :: Lens' AnalyzedResource (Maybe FindingStatus) Source #
The current status of the finding generated from the analyzed 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_analyzedAt :: Lens' AnalyzedResource UTCTime Source #
The time at which the resource was analyzed.
analyzedResource_createdAt :: Lens' AnalyzedResource UTCTime Source #
The time at which the finding was created.
analyzedResource_isPublic :: Lens' AnalyzedResource Bool Source #
Indicates whether the policy that generated the finding grants public access to the resource.
analyzedResource_resourceArn :: Lens' AnalyzedResource Text Source #
The ARN of the resource that was analyzed.
analyzedResource_resourceOwnerAccount :: Lens' AnalyzedResource Text Source #
The Amazon Web Services account ID that owns the resource.
analyzedResource_resourceType :: Lens' AnalyzedResource ResourceType Source #
The type of the resource that was analyzed.
analyzedResource_updatedAt :: Lens' AnalyzedResource UTCTime Source #
The time at which the finding was updated.
AnalyzedResourceSummary
data AnalyzedResourceSummary Source #
Contains the ARN of the analyzed resource.
See: newAnalyzedResourceSummary
smart constructor.
AnalyzedResourceSummary' | |
|
Instances
newAnalyzedResourceSummary Source #
:: 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.
AnalyzerSummary' | |
|
Instances
:: Text | |
-> UTCTime | |
-> Text | |
-> AnalyzerStatus | |
-> Type | |
-> 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:lastResourceAnalyzedAt:AnalyzerSummary'
, analyzerSummary_lastResourceAnalyzedAt
- The time at which the most recently analyzed resource was analyzed.
$sel:lastResourceAnalyzed:AnalyzerSummary'
, analyzerSummary_lastResourceAnalyzed
- The resource that was most recently analyzed by the analyzer.
$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:createdAt:AnalyzerSummary'
, analyzerSummary_createdAt
- A timestamp for the time at which the analyzer was created.
$sel:name:AnalyzerSummary'
, analyzerSummary_name
- The name of the analyzer.
$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.
$sel:type':AnalyzerSummary'
, analyzerSummary_type
- The type of analyzer, which corresponds to the zone of trust chosen for
the analyzer.
analyzerSummary_lastResourceAnalyzedAt :: Lens' AnalyzerSummary (Maybe UTCTime) Source #
The time at which the most recently analyzed resource was analyzed.
analyzerSummary_lastResourceAnalyzed :: Lens' AnalyzerSummary (Maybe Text) Source #
The resource that was most recently analyzed by the analyzer.
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_createdAt :: Lens' AnalyzerSummary UTCTime Source #
A timestamp for the time at which the analyzer was created.
analyzerSummary_name :: Lens' AnalyzerSummary Text Source #
The name of the analyzer.
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.
analyzerSummary_type :: Lens' AnalyzerSummary Type Source #
The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.
ArchiveRuleSummary
data ArchiveRuleSummary Source #
Contains information about an archive rule.
See: newArchiveRuleSummary
smart constructor.
Instances
newArchiveRuleSummary Source #
:: UTCTime | |
-> Text | |
-> 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:createdAt:ArchiveRuleSummary'
, archiveRuleSummary_createdAt
- The time at which the archive rule was created.
$sel:filter':ArchiveRuleSummary'
, archiveRuleSummary_filter
- A filter used to define the archive rule.
$sel:ruleName:ArchiveRuleSummary'
, archiveRuleSummary_ruleName
- The name of the archive rule.
$sel:updatedAt:ArchiveRuleSummary'
, archiveRuleSummary_updatedAt
- The time at which the archive rule was last updated.
archiveRuleSummary_createdAt :: Lens' ArchiveRuleSummary UTCTime Source #
The time at which the archive rule was created.
archiveRuleSummary_filter :: Lens' ArchiveRuleSummary (HashMap Text Criterion) Source #
A filter used to define the archive rule.
archiveRuleSummary_ruleName :: Lens' ArchiveRuleSummary Text Source #
The name of the archive rule.
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.
CloudTrailDetails' | |
|
Instances
:: 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: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.
$sel:trails:CloudTrailDetails'
, cloudTrailDetails_trails
- A Trail
object that contains settings for a trail.
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_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.
cloudTrailDetails_trails :: Lens' CloudTrailDetails [Trail] Source #
A Trail
object that contains settings for a trail.
CloudTrailProperties
data CloudTrailProperties Source #
Contains information about CloudTrail access.
See: newCloudTrailProperties
smart constructor.
CloudTrailProperties' | |
|
Instances
newCloudTrailProperties Source #
:: 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: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.
$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:trailProperties:CloudTrailProperties'
, cloudTrailProperties_trailProperties
- A TrailProperties
object that contains settings for trail properties.
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.
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_trailProperties :: Lens' CloudTrailProperties [TrailProperties] Source #
A TrailProperties
object that contains settings for trail properties.
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.
Configuration' | |
|
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:kmsKey:Configuration'
, configuration_kmsKey
- The access control configuration is for a KMS key.
$sel:secretsManagerSecret:Configuration'
, configuration_secretsManagerSecret
- The access control configuration is for a Secrets Manager secret.
$sel:sqsQueue:Configuration'
, configuration_sqsQueue
- The access control configuration is for an Amazon SQS queue.
$sel:s3Bucket:Configuration'
, configuration_s3Bucket
- The access control configuration is for an Amazon S3 Bucket.
$sel:iamRole:Configuration'
, configuration_iamRole
- 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_secretsManagerSecret :: Lens' Configuration (Maybe SecretsManagerSecretConfiguration) Source #
The access control configuration is for a Secrets Manager secret.
configuration_sqsQueue :: Lens' Configuration (Maybe SqsQueueConfiguration) Source #
The access control configuration is for an Amazon SQS queue.
configuration_s3Bucket :: Lens' Configuration (Maybe S3BucketConfiguration) Source #
The access control configuration is for an Amazon S3 Bucket.
configuration_iamRole :: Lens' Configuration (Maybe IamRoleConfiguration) Source #
The access control configuration is for an IAM role.
Criterion
The criteria to use in the filter that defines the archive rule.
See: newCriterion
smart constructor.
Criterion' | |
|
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: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.
$sel:contains:Criterion'
, criterion_contains
- 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.
criterion_contains :: Lens' Criterion (Maybe (NonEmpty Text)) Source #
A "contains" operator to match for the filter used to create the rule.
Finding
Contains information about a finding.
See: newFinding
smart constructor.
Finding' | |
|
Instances
:: UTCTime | |
-> UTCTime | |
-> Text | |
-> Text | |
-> ResourceType | |
-> FindingStatus | |
-> UTCTime | |
-> 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: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:action:Finding'
, finding_action
- The action in the analyzed policy statement that an external principal
has permission to use.
$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:resource:Finding'
, finding_resource
- The resource that an external principal has access to.
$sel:principal:Finding'
, finding_principal
- The external principal that access to a resource within the zone of
trust.
$sel:analyzedAt:Finding'
, finding_analyzedAt
- The time at which the resource was analyzed.
$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:id:Finding'
, finding_id
- The ID of the finding.
$sel:resourceOwnerAccount:Finding'
, finding_resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource.
$sel:resourceType:Finding'
, finding_resourceType
- The type of the resource identified in the finding.
$sel:status:Finding'
, finding_status
- The current status of the finding.
$sel:updatedAt:Finding'
, finding_updatedAt
- The time at which the finding was updated.
finding_isPublic :: Lens' Finding (Maybe Bool) Source #
Indicates whether the policy that generated the finding allows public access to 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_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_resource :: Lens' Finding (Maybe Text) Source #
The resource that an external principal has access to.
finding_principal :: Lens' Finding (Maybe (HashMap Text Text)) Source #
The external principal that access to a resource within the zone of trust.
finding_condition :: Lens' Finding (HashMap Text Text) Source #
The condition in the analyzed policy statement that resulted in a finding.
finding_resourceOwnerAccount :: Lens' Finding Text Source #
The Amazon Web Services account ID that owns the resource.
finding_resourceType :: Lens' Finding ResourceType Source #
The type of the resource identified in the finding.
finding_status :: Lens' Finding FindingStatus Source #
The current status of the finding.
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.
FindingSource' | |
|
Instances
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.
FindingSourceDetail' | |
|
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: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_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.
FindingSummary' | |
|
Instances
:: UTCTime | |
-> UTCTime | |
-> Text | |
-> Text | |
-> ResourceType | |
-> FindingStatus | |
-> UTCTime | |
-> 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: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:action:FindingSummary'
, findingSummary_action
- The action in the analyzed policy statement that an external principal
has permission to use.
$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:resource:FindingSummary'
, findingSummary_resource
- The resource that the external principal has access to.
$sel:principal:FindingSummary'
, findingSummary_principal
- The external principal that has access to a resource within the zone of
trust.
$sel:analyzedAt:FindingSummary'
, findingSummary_analyzedAt
- The time at which the resource-based policy that generated the finding
was analyzed.
$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:id:FindingSummary'
, findingSummary_id
- The ID of the finding.
$sel:resourceOwnerAccount:FindingSummary'
, findingSummary_resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource.
$sel:resourceType:FindingSummary'
, findingSummary_resourceType
- The type of the resource that the external principal has access to.
$sel:status:FindingSummary'
, findingSummary_status
- The status of the finding.
$sel:updatedAt:FindingSummary'
, findingSummary_updatedAt
- The time at which the finding was most recently updated.
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_action :: Lens' FindingSummary (Maybe [Text]) Source #
The action in the analyzed policy statement that an external principal has permission to use.
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_resource :: Lens' FindingSummary (Maybe Text) Source #
The resource that the external principal has access to.
findingSummary_principal :: Lens' FindingSummary (Maybe (HashMap Text Text)) Source #
The external principal that has access to a resource within the zone of trust.
findingSummary_analyzedAt :: Lens' FindingSummary UTCTime Source #
The time at which the resource-based policy that generated the finding was analyzed.
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_id :: Lens' FindingSummary Text Source #
The ID of the finding.
findingSummary_resourceOwnerAccount :: Lens' FindingSummary Text Source #
The Amazon Web Services account ID that owns the resource.
findingSummary_resourceType :: Lens' FindingSummary ResourceType Source #
The type of the resource that the external principal has access to.
findingSummary_status :: Lens' FindingSummary FindingStatus Source #
The status of the finding.
findingSummary_updatedAt :: Lens' FindingSummary UTCTime Source #
The time at which the finding was most recently updated.
GeneratedPolicy
data GeneratedPolicy Source #
Contains the text for the generated policy.
See: newGeneratedPolicy
smart constructor.
GeneratedPolicy' | |
|
Instances
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.
GeneratedPolicyProperties' | |
|
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: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:cloudTrailProperties:GeneratedPolicyProperties'
, generatedPolicyProperties_cloudTrailProperties
- Lists details about the Trail
used to generated policy.
$sel:principalArn:GeneratedPolicyProperties'
, generatedPolicyProperties_principalArn
- The ARN of the IAM entity (user or role) for which you are generating a
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_cloudTrailProperties :: Lens' GeneratedPolicyProperties (Maybe CloudTrailProperties) Source #
Lists details about the Trail
used to generated policy.
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.
GeneratedPolicyResult' | |
|
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.
IamRoleConfiguration' | |
|
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.
Instances
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:filter':InlineArchiveRule'
, inlineArchiveRule_filter
- The condition and values for a criterion.
$sel:ruleName:InlineArchiveRule'
, inlineArchiveRule_ruleName
- The name of the rule.
inlineArchiveRule_filter :: Lens' InlineArchiveRule (HashMap Text Criterion) Source #
The condition and values for a criterion.
inlineArchiveRule_ruleName :: Lens' InlineArchiveRule Text Source #
The name of the rule.
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.
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.
JobDetails' | |
|
Instances
:: Text | |
-> UTCTime | |
-> JobStatus | |
-> 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:startedOn:JobDetails'
, jobDetails_startedOn
- A timestamp of when the job was started.
$sel:status:JobDetails'
, jobDetails_status
- The status of the job request.
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_startedOn :: Lens' JobDetails UTCTime Source #
A timestamp of when the job was started.
jobDetails_status :: Lens' JobDetails JobStatus Source #
The status of the job request.
JobError
Contains the details about the policy generation error.
See: newJobError
smart constructor.
JobError' | |
|
Instances
Eq JobError Source # | |
Read JobError Source # | |
Show JobError Source # | |
Generic JobError Source # | |
NFData JobError Source # | |
Defined in Amazonka.AccessAnalyzer.Types.JobError | |
Hashable JobError Source # | |
Defined in Amazonka.AccessAnalyzer.Types.JobError | |
FromJSON JobError Source # | |
type Rep JobError Source # | |
Defined in Amazonka.AccessAnalyzer.Types.JobError type Rep JobError = D1 ('MetaData "JobError" "Amazonka.AccessAnalyzer.Types.JobError" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "JobError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JobErrorCode) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
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.
KmsGrantConfiguration' | |
|
Instances
newKmsGrantConfiguration Source #
:: 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:retiringPrincipal:KmsGrantConfiguration'
, kmsGrantConfiguration_retiringPrincipal
- The principal that is given permission to retire the grant by using
RetireGrant
operation.
$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: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.
$sel:operations:KmsGrantConfiguration'
, kmsGrantConfiguration_operations
- A list of operations that the grant permits.
kmsGrantConfiguration_retiringPrincipal :: Lens' KmsGrantConfiguration (Maybe Text) Source #
The principal that is given permission to retire the grant by using RetireGrant operation.
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_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.
kmsGrantConfiguration_operations :: Lens' KmsGrantConfiguration [KmsGrantOperation] Source #
A list of operations that the grant permits.
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.
KmsGrantConstraints' | |
|
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.
KmsKeyConfiguration' | |
|
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.
Location' | |
|
Instances
Eq Location Source # | |
Read Location Source # | |
Show Location Source # | |
Generic Location Source # | |
NFData Location Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Location | |
Hashable Location Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Location | |
FromJSON Location Source # | |
type Rep Location Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Location type Rep Location = D1 ('MetaData "Location" "Amazonka.AccessAnalyzer.Types.Location" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" '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.
NetworkOriginConfiguration' | |
|
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.
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:value:PathElement'
, pathElement_value
- Refers to the value associated with a given key in a JSON object.
$sel:substring:PathElement'
, pathElement_substring
- Refers to a substring of a literal string in a JSON object.
$sel:key:PathElement'
, pathElement_key
- Refers to a key in a JSON object.
$sel:index:PathElement'
, pathElement_index
- Refers to an index in a JSON array.
pathElement_value :: Lens' PathElement (Maybe Text) Source #
Refers to the value associated with a given 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_key :: Lens' PathElement (Maybe Text) Source #
Refers to a key in a JSON object.
pathElement_index :: Lens' PathElement (Maybe Int) Source #
Refers to an index in a JSON array.
PolicyGeneration
data PolicyGeneration Source #
Contains details about the policy generation status and properties.
See: newPolicyGeneration
smart constructor.
PolicyGeneration' | |
|
Instances
:: Text | |
-> Text | |
-> UTCTime | |
-> JobStatus | |
-> 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:startedOn:PolicyGeneration'
, policyGeneration_startedOn
- A timestamp of when the policy generation started.
$sel:status:PolicyGeneration'
, policyGeneration_status
- The status of the policy generation request.
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_startedOn :: Lens' PolicyGeneration UTCTime Source #
A timestamp of when the policy generation started.
policyGeneration_status :: Lens' PolicyGeneration JobStatus Source #
The status of the policy generation request.
PolicyGenerationDetails
data PolicyGenerationDetails Source #
Contains the ARN details about the IAM entity for which the policy is generated.
See: newPolicyGenerationDetails
smart constructor.
PolicyGenerationDetails' | |
|
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.
Instances
Eq Position Source # | |
Read Position Source # | |
Show Position Source # | |
Generic Position Source # | |
NFData Position Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Position | |
Hashable Position Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Position | |
FromJSON Position Source # | |
type Rep Position Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Position type Rep Position = D1 ('MetaData "Position" "Amazonka.AccessAnalyzer.Types.Position" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "Position'" 'PrefixI 'True) (S1 ('MetaSel ('Just "column") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "line") '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:column:Position'
, position_column
- The column of the position, starting from 0.
$sel:line:Position'
, position_line
- The line of the position, starting from 1.
$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.
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.
S3AccessPointConfiguration' | |
|
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:publicAccessBlock:S3AccessPointConfiguration'
, s3AccessPointConfiguration_publicAccessBlock
- The proposed S3PublicAccessBlock
configuration to apply to this Amazon
S3 access point or multi-region access point.
$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.
s3AccessPointConfiguration_publicAccessBlock :: Lens' S3AccessPointConfiguration (Maybe S3PublicAccessBlockConfiguration) Source #
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.
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.
S3BucketAclGrantConfiguration' | |
|
Instances
newS3BucketAclGrantConfiguration Source #
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:grantee:S3BucketAclGrantConfiguration'
, s3BucketAclGrantConfiguration_grantee
- The grantee to whom you’re assigning access rights.
$sel:permission:S3BucketAclGrantConfiguration'
, s3BucketAclGrantConfiguration_permission
- The permissions being granted.
s3BucketAclGrantConfiguration_grantee :: Lens' S3BucketAclGrantConfiguration AclGrantee Source #
The grantee to whom you’re assigning access rights.
s3BucketAclGrantConfiguration_permission :: Lens' S3BucketAclGrantConfiguration AclPermission Source #
The permissions being granted.
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.
S3BucketConfiguration' | |
|
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:bucketPublicAccessBlock:S3BucketConfiguration'
, s3BucketConfiguration_bucketPublicAccessBlock
- The proposed block public access configuration for the Amazon S3 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.
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_bucketPublicAccessBlock :: Lens' S3BucketConfiguration (Maybe S3PublicAccessBlockConfiguration) Source #
The proposed block public access configuration for the Amazon S3 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.
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.
S3PublicAccessBlockConfiguration' | |
|
Instances
newS3PublicAccessBlockConfiguration Source #
:: 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 default CMK of the Amazon Web Services account. If you specify an empty string for the KMS key ID, the access preview uses the default CMK of the Amazon Web Services account. For more information about secret policy limits, see Quotas for Secrets Manager..
See: newSecretsManagerSecretConfiguration
smart constructor.
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 customer master key (CMK).
$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 customer master key (CMK).
secretsManagerSecretConfiguration_secretPolicy :: Lens' SecretsManagerSecretConfiguration (Maybe Text) Source #
The proposed resource policy defining who can access or manage the secret.
SortCriteria
data SortCriteria Source #
The criteria used to sort.
See: newSortCriteria
smart constructor.
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:orderBy:SortCriteria'
, sortCriteria_orderBy
- The sort order, ascending or descending.
$sel:attributeName:SortCriteria'
, sortCriteria_attributeName
- The name of the attribute to sort on.
sortCriteria_orderBy :: Lens' SortCriteria (Maybe OrderBy) Source #
The sort order, ascending or descending.
sortCriteria_attributeName :: Lens' SortCriteria (Maybe Text) Source #
The name of the attribute to sort on.
Span
A span in a policy. The span consists of a start position (inclusive) and end position (exclusive).
See: newSpan
smart constructor.
Instances
Eq Span Source # | |
Read Span Source # | |
Show Span Source # | |
Generic Span Source # | |
NFData Span Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Span | |
Hashable Span Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Span | |
FromJSON Span Source # | |
type Rep Span Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Span type Rep Span = D1 ('MetaData "Span" "Amazonka.AccessAnalyzer.Types.Span" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "Span'" 'PrefixI 'True) (S1 ('MetaSel ('Just "end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "start") '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:end:Span'
, span_end
- The end position of the span (exclusive).
$sel:start:Span'
, span_start
- The start position of the span (inclusive).
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.
SqsQueueConfiguration' | |
|
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.
StatusReason' | |
|
Instances
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.
Instances
Eq Substring Source # | |
Read Substring Source # | |
Show Substring Source # | |
Generic Substring Source # | |
NFData Substring Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Substring | |
Hashable Substring Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Substring | |
FromJSON Substring Source # | |
type Rep Substring Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Substring type Rep Substring = D1 ('MetaData "Substring" "Amazonka.AccessAnalyzer.Types.Substring" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "Substring'" 'PrefixI 'True) (S1 ('MetaSel ('Just "length") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "start") '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:length:Substring'
, substring_length
- The length of the substring.
$sel:start:Substring'
, substring_start
- The start index of the substring, starting from 0.
Trail
Contains details about the CloudTrail trail being analyzed to generate a policy.
See: newTrail
smart constructor.
Trail' | |
|
Instances
Eq Trail Source # | |
Read Trail Source # | |
Show Trail Source # | |
Generic Trail Source # | |
NFData Trail Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Trail | |
Hashable Trail Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Trail | |
ToJSON 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" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "Trail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "regions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "allRegions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: 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:regions:Trail'
, trail_regions
- A list of regions to get CloudTrail data from and analyze to generate a
policy.
$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: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_regions :: Lens' Trail (Maybe [Text]) Source #
A list of regions to get CloudTrail data from and analyze to generate a policy.
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_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.
TrailProperties' | |
|
Instances
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:regions:TrailProperties'
, trailProperties_regions
- A list of regions to get CloudTrail data from and analyze to generate a
policy.
$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: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_regions :: Lens' TrailProperties (Maybe [Text]) Source #
A list of regions to get CloudTrail data from and analyze to generate a policy.
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_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.
ValidatePolicyFinding' | |
|
Instances
newValidatePolicyFinding Source #
:: 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.
Instances
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.