Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.AccessAnalyzer
Contents
- Service Configuration
- Errors
- Waiters
- Operations
- ApplyArchiveRule
- CancelPolicyGeneration
- CreateAccessPreview
- CreateAnalyzer
- CreateArchiveRule
- DeleteAnalyzer
- DeleteArchiveRule
- GetAccessPreview
- GetAnalyzedResource
- GetAnalyzer
- GetArchiveRule
- GetFinding
- GetGeneratedPolicy
- ListAccessPreviewFindings (Paginated)
- ListAccessPreviews (Paginated)
- ListAnalyzedResources (Paginated)
- ListAnalyzers (Paginated)
- ListArchiveRules (Paginated)
- ListFindings (Paginated)
- ListPolicyGenerations (Paginated)
- ListTagsForResource
- StartPolicyGeneration
- StartResourceScan
- TagResource
- UntagResource
- UpdateArchiveRule
- UpdateFindings
- ValidatePolicy (Paginated)
- Types
- AccessPreviewStatus
- AccessPreviewStatusReasonCode
- AclPermission
- AnalyzerStatus
- FindingChangeType
- FindingSourceType
- FindingStatus
- FindingStatusUpdate
- JobErrorCode
- JobStatus
- KmsGrantOperation
- Locale
- OrderBy
- PolicyType
- ReasonCode
- ResourceType
- Type
- ValidatePolicyFindingType
- ValidatePolicyResourceType
- AccessPreview
- AccessPreviewFinding
- AccessPreviewStatusReason
- AccessPreviewSummary
- AclGrantee
- AnalyzedResource
- AnalyzedResourceSummary
- AnalyzerSummary
- ArchiveRuleSummary
- CloudTrailDetails
- CloudTrailProperties
- Configuration
- Criterion
- EbsSnapshotConfiguration
- EcrRepositoryConfiguration
- EfsFileSystemConfiguration
- Finding
- FindingSource
- FindingSourceDetail
- FindingSummary
- GeneratedPolicy
- GeneratedPolicyProperties
- GeneratedPolicyResult
- IamRoleConfiguration
- InlineArchiveRule
- InternetConfiguration
- JobDetails
- JobError
- KmsGrantConfiguration
- KmsGrantConstraints
- KmsKeyConfiguration
- Location
- NetworkOriginConfiguration
- PathElement
- PolicyGeneration
- PolicyGenerationDetails
- Position
- RdsDbClusterSnapshotAttributeValue
- RdsDbClusterSnapshotConfiguration
- RdsDbSnapshotAttributeValue
- RdsDbSnapshotConfiguration
- S3AccessPointConfiguration
- S3BucketAclGrantConfiguration
- S3BucketConfiguration
- S3PublicAccessBlockConfiguration
- SecretsManagerSecretConfiguration
- SnsTopicConfiguration
- SortCriteria
- Span
- SqsQueueConfiguration
- StatusReason
- Substring
- Trail
- TrailProperties
- ValidatePolicyFinding
- VpcConfiguration
Description
Derived from API version 2019-11-01
of the AWS service descriptions, licensed under Apache 2.0.
Identity and Access Management Access Analyzer helps identify potential resource-access risks by enabling you to identify any policies that grant access to an external principal. It does this by using logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An external principal can be another Amazon Web Services account, a root user, an IAM user or role, a federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to preview and validate public and cross-account access to your resources before deploying permissions changes. This guide describes the Identity and Access Management Access Analyzer operations that you can call programmatically. For general information about IAM Access Analyzer, see Identity and Access Management Access Analyzer in the IAM User Guide.
To start using IAM Access Analyzer, you first need to create an analyzer.
Synopsis
- defaultService :: Service
- _AccessDeniedException :: AsError a => Fold a ServiceError
- _ConflictException :: AsError a => Fold a ServiceError
- _InternalServerException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ServiceQuotaExceededException :: AsError a => Fold a ServiceError
- _ThrottlingException :: AsError a => Fold a ServiceError
- _ValidationException :: AsError a => Fold a ServiceError
- data ApplyArchiveRule = ApplyArchiveRule' (Maybe Text) Text Text
- newApplyArchiveRule :: Text -> Text -> ApplyArchiveRule
- data ApplyArchiveRuleResponse = ApplyArchiveRuleResponse' {
- newApplyArchiveRuleResponse :: ApplyArchiveRuleResponse
- data CancelPolicyGeneration = CancelPolicyGeneration' Text
- newCancelPolicyGeneration :: Text -> CancelPolicyGeneration
- data CancelPolicyGenerationResponse = CancelPolicyGenerationResponse' Int
- newCancelPolicyGenerationResponse :: Int -> CancelPolicyGenerationResponse
- data CreateAccessPreview = CreateAccessPreview' (Maybe Text) Text (HashMap Text Configuration)
- newCreateAccessPreview :: Text -> CreateAccessPreview
- data CreateAccessPreviewResponse = CreateAccessPreviewResponse' Int Text
- newCreateAccessPreviewResponse :: Int -> Text -> CreateAccessPreviewResponse
- data CreateAnalyzer = CreateAnalyzer' (Maybe [InlineArchiveRule]) (Maybe Text) (Maybe (HashMap Text Text)) Text Type
- newCreateAnalyzer :: Text -> Type -> CreateAnalyzer
- data CreateAnalyzerResponse = CreateAnalyzerResponse' (Maybe Text) Int
- newCreateAnalyzerResponse :: Int -> CreateAnalyzerResponse
- data CreateArchiveRule = CreateArchiveRule' (Maybe Text) Text Text (HashMap Text Criterion)
- newCreateArchiveRule :: Text -> Text -> CreateArchiveRule
- data CreateArchiveRuleResponse = CreateArchiveRuleResponse' {
- newCreateArchiveRuleResponse :: CreateArchiveRuleResponse
- data DeleteAnalyzer = DeleteAnalyzer' (Maybe Text) Text
- newDeleteAnalyzer :: Text -> DeleteAnalyzer
- data DeleteAnalyzerResponse = DeleteAnalyzerResponse' {
- newDeleteAnalyzerResponse :: DeleteAnalyzerResponse
- data DeleteArchiveRule = DeleteArchiveRule' (Maybe Text) Text Text
- newDeleteArchiveRule :: Text -> Text -> DeleteArchiveRule
- data DeleteArchiveRuleResponse = DeleteArchiveRuleResponse' {
- newDeleteArchiveRuleResponse :: DeleteArchiveRuleResponse
- data GetAccessPreview = GetAccessPreview' Text Text
- newGetAccessPreview :: Text -> Text -> GetAccessPreview
- data GetAccessPreviewResponse = GetAccessPreviewResponse' Int AccessPreview
- newGetAccessPreviewResponse :: Int -> AccessPreview -> GetAccessPreviewResponse
- data GetAnalyzedResource = GetAnalyzedResource' Text Text
- newGetAnalyzedResource :: Text -> Text -> GetAnalyzedResource
- data GetAnalyzedResourceResponse = GetAnalyzedResourceResponse' (Maybe AnalyzedResource) Int
- newGetAnalyzedResourceResponse :: Int -> GetAnalyzedResourceResponse
- data GetAnalyzer = GetAnalyzer' Text
- newGetAnalyzer :: Text -> GetAnalyzer
- data GetAnalyzerResponse = GetAnalyzerResponse' Int AnalyzerSummary
- newGetAnalyzerResponse :: Int -> AnalyzerSummary -> GetAnalyzerResponse
- data GetArchiveRule = GetArchiveRule' Text Text
- newGetArchiveRule :: Text -> Text -> GetArchiveRule
- data GetArchiveRuleResponse = GetArchiveRuleResponse' Int ArchiveRuleSummary
- newGetArchiveRuleResponse :: Int -> ArchiveRuleSummary -> GetArchiveRuleResponse
- data GetFinding = GetFinding' Text Text
- newGetFinding :: Text -> Text -> GetFinding
- data GetFindingResponse = GetFindingResponse' (Maybe Finding) Int
- newGetFindingResponse :: Int -> GetFindingResponse
- data GetGeneratedPolicy = GetGeneratedPolicy' (Maybe Bool) (Maybe Bool) Text
- newGetGeneratedPolicy :: Text -> GetGeneratedPolicy
- data GetGeneratedPolicyResponse = GetGeneratedPolicyResponse' Int JobDetails GeneratedPolicyResult
- newGetGeneratedPolicyResponse :: Int -> JobDetails -> GeneratedPolicyResult -> GetGeneratedPolicyResponse
- data ListAccessPreviewFindings = ListAccessPreviewFindings' (Maybe (HashMap Text Criterion)) (Maybe Int) (Maybe Text) Text Text
- newListAccessPreviewFindings :: Text -> Text -> ListAccessPreviewFindings
- data ListAccessPreviewFindingsResponse = ListAccessPreviewFindingsResponse' (Maybe Text) Int [AccessPreviewFinding]
- newListAccessPreviewFindingsResponse :: Int -> ListAccessPreviewFindingsResponse
- data ListAccessPreviews = ListAccessPreviews' (Maybe Int) (Maybe Text) Text
- newListAccessPreviews :: Text -> ListAccessPreviews
- data ListAccessPreviewsResponse = ListAccessPreviewsResponse' (Maybe Text) Int [AccessPreviewSummary]
- newListAccessPreviewsResponse :: Int -> ListAccessPreviewsResponse
- data ListAnalyzedResources = ListAnalyzedResources' (Maybe Int) (Maybe Text) (Maybe ResourceType) Text
- newListAnalyzedResources :: Text -> ListAnalyzedResources
- data ListAnalyzedResourcesResponse = ListAnalyzedResourcesResponse' (Maybe Text) Int [AnalyzedResourceSummary]
- newListAnalyzedResourcesResponse :: Int -> ListAnalyzedResourcesResponse
- data ListAnalyzers = ListAnalyzers' (Maybe Int) (Maybe Text) (Maybe Type)
- newListAnalyzers :: ListAnalyzers
- data ListAnalyzersResponse = ListAnalyzersResponse' (Maybe Text) Int [AnalyzerSummary]
- newListAnalyzersResponse :: Int -> ListAnalyzersResponse
- data ListArchiveRules = ListArchiveRules' (Maybe Int) (Maybe Text) Text
- newListArchiveRules :: Text -> ListArchiveRules
- data ListArchiveRulesResponse = ListArchiveRulesResponse' (Maybe Text) Int [ArchiveRuleSummary]
- newListArchiveRulesResponse :: Int -> ListArchiveRulesResponse
- data ListFindings = ListFindings' (Maybe (HashMap Text Criterion)) (Maybe Int) (Maybe Text) (Maybe SortCriteria) Text
- newListFindings :: Text -> ListFindings
- data ListFindingsResponse = ListFindingsResponse' (Maybe Text) Int [FindingSummary]
- newListFindingsResponse :: Int -> ListFindingsResponse
- data ListPolicyGenerations = ListPolicyGenerations' (Maybe Natural) (Maybe Text) (Maybe Text)
- newListPolicyGenerations :: ListPolicyGenerations
- data ListPolicyGenerationsResponse = ListPolicyGenerationsResponse' (Maybe Text) Int [PolicyGeneration]
- newListPolicyGenerationsResponse :: Int -> ListPolicyGenerationsResponse
- data ListTagsForResource = ListTagsForResource' Text
- newListTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResourceResponse = ListTagsForResourceResponse' (Maybe (HashMap Text Text)) Int
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data StartPolicyGeneration = StartPolicyGeneration' (Maybe Text) (Maybe CloudTrailDetails) PolicyGenerationDetails
- newStartPolicyGeneration :: PolicyGenerationDetails -> StartPolicyGeneration
- data StartPolicyGenerationResponse = StartPolicyGenerationResponse' Int Text
- newStartPolicyGenerationResponse :: Int -> Text -> StartPolicyGenerationResponse
- data StartResourceScan = StartResourceScan' (Maybe Text) Text Text
- newStartResourceScan :: Text -> Text -> StartResourceScan
- data StartResourceScanResponse = StartResourceScanResponse' {
- newStartResourceScanResponse :: StartResourceScanResponse
- data TagResource = TagResource' Text (HashMap Text Text)
- newTagResource :: Text -> TagResource
- data TagResourceResponse = TagResourceResponse' Int
- newTagResourceResponse :: Int -> TagResourceResponse
- data UntagResource = UntagResource' Text [Text]
- newUntagResource :: Text -> UntagResource
- data UntagResourceResponse = UntagResourceResponse' Int
- newUntagResourceResponse :: Int -> UntagResourceResponse
- data UpdateArchiveRule = UpdateArchiveRule' (Maybe Text) Text Text (HashMap Text Criterion)
- newUpdateArchiveRule :: Text -> Text -> UpdateArchiveRule
- data UpdateArchiveRuleResponse = UpdateArchiveRuleResponse' {
- newUpdateArchiveRuleResponse :: UpdateArchiveRuleResponse
- data UpdateFindings = UpdateFindings' (Maybe Text) (Maybe [Text]) (Maybe Text) Text FindingStatusUpdate
- newUpdateFindings :: Text -> FindingStatusUpdate -> UpdateFindings
- data UpdateFindingsResponse = UpdateFindingsResponse' {
- newUpdateFindingsResponse :: UpdateFindingsResponse
- data ValidatePolicy = ValidatePolicy' (Maybe Locale) (Maybe Int) (Maybe Text) (Maybe ValidatePolicyResourceType) Text PolicyType
- newValidatePolicy :: Text -> PolicyType -> ValidatePolicy
- data ValidatePolicyResponse = ValidatePolicyResponse' (Maybe Text) Int [ValidatePolicyFinding]
- newValidatePolicyResponse :: Int -> ValidatePolicyResponse
- newtype AccessPreviewStatus where
- newtype AccessPreviewStatusReasonCode where
- newtype AclPermission where
- AclPermission' { }
- pattern AclPermission_FULL_CONTROL :: AclPermission
- pattern AclPermission_READ :: AclPermission
- pattern AclPermission_READ_ACP :: AclPermission
- pattern AclPermission_WRITE :: AclPermission
- pattern AclPermission_WRITE_ACP :: AclPermission
- newtype AnalyzerStatus where
- AnalyzerStatus' { }
- pattern AnalyzerStatus_ACTIVE :: AnalyzerStatus
- pattern AnalyzerStatus_CREATING :: AnalyzerStatus
- pattern AnalyzerStatus_DISABLED :: AnalyzerStatus
- pattern AnalyzerStatus_FAILED :: AnalyzerStatus
- newtype FindingChangeType where
- FindingChangeType' { }
- pattern FindingChangeType_CHANGED :: FindingChangeType
- pattern FindingChangeType_NEW :: FindingChangeType
- pattern FindingChangeType_UNCHANGED :: FindingChangeType
- newtype FindingSourceType where
- newtype FindingStatus where
- FindingStatus' { }
- pattern FindingStatus_ACTIVE :: FindingStatus
- pattern FindingStatus_ARCHIVED :: FindingStatus
- pattern FindingStatus_RESOLVED :: FindingStatus
- newtype FindingStatusUpdate where
- newtype JobErrorCode where
- JobErrorCode' { }
- pattern JobErrorCode_AUTHORIZATION_ERROR :: JobErrorCode
- pattern JobErrorCode_RESOURCE_NOT_FOUND_ERROR :: JobErrorCode
- pattern JobErrorCode_SERVICE_ERROR :: JobErrorCode
- pattern JobErrorCode_SERVICE_QUOTA_EXCEEDED_ERROR :: JobErrorCode
- newtype JobStatus where
- JobStatus' { }
- pattern JobStatus_CANCELED :: JobStatus
- pattern JobStatus_FAILED :: JobStatus
- pattern JobStatus_IN_PROGRESS :: JobStatus
- pattern JobStatus_SUCCEEDED :: JobStatus
- newtype KmsGrantOperation where
- KmsGrantOperation' { }
- pattern KmsGrantOperation_CreateGrant :: KmsGrantOperation
- pattern KmsGrantOperation_Decrypt :: KmsGrantOperation
- pattern KmsGrantOperation_DescribeKey :: KmsGrantOperation
- pattern KmsGrantOperation_Encrypt :: KmsGrantOperation
- pattern KmsGrantOperation_GenerateDataKey :: KmsGrantOperation
- pattern KmsGrantOperation_GenerateDataKeyPair :: KmsGrantOperation
- pattern KmsGrantOperation_GenerateDataKeyPairWithoutPlaintext :: KmsGrantOperation
- pattern KmsGrantOperation_GenerateDataKeyWithoutPlaintext :: KmsGrantOperation
- pattern KmsGrantOperation_GetPublicKey :: KmsGrantOperation
- pattern KmsGrantOperation_ReEncryptFrom :: KmsGrantOperation
- pattern KmsGrantOperation_ReEncryptTo :: KmsGrantOperation
- pattern KmsGrantOperation_RetireGrant :: KmsGrantOperation
- pattern KmsGrantOperation_Sign :: KmsGrantOperation
- pattern KmsGrantOperation_Verify :: KmsGrantOperation
- newtype Locale where
- Locale' {
- fromLocale :: Text
- pattern Locale_DE :: Locale
- pattern Locale_EN :: Locale
- pattern Locale_ES :: Locale
- pattern Locale_FR :: Locale
- pattern Locale_IT :: Locale
- pattern Locale_JA :: Locale
- pattern Locale_KO :: Locale
- pattern Locale_PT_BR :: Locale
- pattern Locale_ZH_CN :: Locale
- pattern Locale_ZH_TW :: Locale
- Locale' {
- newtype OrderBy where
- OrderBy' {
- fromOrderBy :: Text
- pattern OrderBy_ASC :: OrderBy
- pattern OrderBy_DESC :: OrderBy
- OrderBy' {
- newtype PolicyType where
- PolicyType' { }
- pattern PolicyType_IDENTITY_POLICY :: PolicyType
- pattern PolicyType_RESOURCE_POLICY :: PolicyType
- pattern PolicyType_SERVICE_CONTROL_POLICY :: PolicyType
- newtype ReasonCode where
- newtype ResourceType where
- ResourceType' { }
- pattern ResourceType_AWS__EC2__Snapshot :: ResourceType
- pattern ResourceType_AWS__ECR__Repository :: ResourceType
- pattern ResourceType_AWS__EFS__FileSystem :: ResourceType
- pattern ResourceType_AWS__IAM__Role :: ResourceType
- pattern ResourceType_AWS__KMS__Key :: ResourceType
- pattern ResourceType_AWS__Lambda__Function :: ResourceType
- pattern ResourceType_AWS__Lambda__LayerVersion :: ResourceType
- pattern ResourceType_AWS__RDS__DBClusterSnapshot :: ResourceType
- pattern ResourceType_AWS__RDS__DBSnapshot :: ResourceType
- pattern ResourceType_AWS__S3__Bucket :: ResourceType
- pattern ResourceType_AWS__SNS__Topic :: ResourceType
- pattern ResourceType_AWS__SQS__Queue :: ResourceType
- pattern ResourceType_AWS__SecretsManager__Secret :: ResourceType
- newtype Type where
- Type' { }
- pattern Type_ACCOUNT :: Type
- pattern Type_ORGANIZATION :: Type
- newtype ValidatePolicyFindingType where
- ValidatePolicyFindingType' { }
- pattern ValidatePolicyFindingType_ERROR :: ValidatePolicyFindingType
- pattern ValidatePolicyFindingType_SECURITY_WARNING :: ValidatePolicyFindingType
- pattern ValidatePolicyFindingType_SUGGESTION :: ValidatePolicyFindingType
- pattern ValidatePolicyFindingType_WARNING :: ValidatePolicyFindingType
- newtype ValidatePolicyResourceType where
- ValidatePolicyResourceType' { }
- pattern ValidatePolicyResourceType_AWS__IAM__AssumeRolePolicyDocument :: ValidatePolicyResourceType
- pattern ValidatePolicyResourceType_AWS__S3ObjectLambda__AccessPoint :: ValidatePolicyResourceType
- pattern ValidatePolicyResourceType_AWS__S3__AccessPoint :: ValidatePolicyResourceType
- pattern ValidatePolicyResourceType_AWS__S3__Bucket :: ValidatePolicyResourceType
- pattern ValidatePolicyResourceType_AWS__S3__MultiRegionAccessPoint :: ValidatePolicyResourceType
- data AccessPreview = AccessPreview' (Maybe AccessPreviewStatusReason) Text Text (HashMap Text Configuration) ISO8601 AccessPreviewStatus
- newAccessPreview :: Text -> Text -> UTCTime -> AccessPreviewStatus -> AccessPreview
- data AccessPreviewFinding = AccessPreviewFinding' (Maybe [Text]) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe Text) (Maybe FindingStatus) (Maybe Bool) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe [FindingSource]) Text ResourceType ISO8601 FindingChangeType FindingStatus Text
- newAccessPreviewFinding :: Text -> ResourceType -> UTCTime -> FindingChangeType -> FindingStatus -> Text -> AccessPreviewFinding
- data AccessPreviewStatusReason = AccessPreviewStatusReason' AccessPreviewStatusReasonCode
- newAccessPreviewStatusReason :: AccessPreviewStatusReasonCode -> AccessPreviewStatusReason
- data AccessPreviewSummary = AccessPreviewSummary' (Maybe AccessPreviewStatusReason) Text Text ISO8601 AccessPreviewStatus
- newAccessPreviewSummary :: Text -> Text -> UTCTime -> AccessPreviewStatus -> AccessPreviewSummary
- data AclGrantee = AclGrantee' (Maybe Text) (Maybe Text)
- newAclGrantee :: AclGrantee
- data AnalyzedResource = AnalyzedResource' (Maybe [Text]) (Maybe Text) (Maybe [Text]) (Maybe FindingStatus) Text ResourceType ISO8601 ISO8601 ISO8601 Bool Text
- newAnalyzedResource :: Text -> ResourceType -> UTCTime -> UTCTime -> UTCTime -> Bool -> Text -> AnalyzedResource
- data AnalyzedResourceSummary = AnalyzedResourceSummary' Text Text ResourceType
- newAnalyzedResourceSummary :: Text -> Text -> ResourceType -> AnalyzedResourceSummary
- data AnalyzerSummary = AnalyzerSummary' (Maybe Text) (Maybe ISO8601) (Maybe StatusReason) (Maybe (HashMap Text Text)) Text Text Type ISO8601 AnalyzerStatus
- newAnalyzerSummary :: Text -> Text -> Type -> UTCTime -> AnalyzerStatus -> AnalyzerSummary
- data ArchiveRuleSummary = ArchiveRuleSummary' Text (HashMap Text Criterion) ISO8601 ISO8601
- newArchiveRuleSummary :: Text -> UTCTime -> UTCTime -> ArchiveRuleSummary
- data CloudTrailDetails = CloudTrailDetails' (Maybe ISO8601) [Trail] Text ISO8601
- newCloudTrailDetails :: Text -> UTCTime -> CloudTrailDetails
- data CloudTrailProperties = CloudTrailProperties' [TrailProperties] ISO8601 ISO8601
- newCloudTrailProperties :: UTCTime -> UTCTime -> CloudTrailProperties
- data Configuration = Configuration' (Maybe EbsSnapshotConfiguration) (Maybe EcrRepositoryConfiguration) (Maybe EfsFileSystemConfiguration) (Maybe IamRoleConfiguration) (Maybe KmsKeyConfiguration) (Maybe RdsDbClusterSnapshotConfiguration) (Maybe RdsDbSnapshotConfiguration) (Maybe S3BucketConfiguration) (Maybe SecretsManagerSecretConfiguration) (Maybe SnsTopicConfiguration) (Maybe SqsQueueConfiguration)
- newConfiguration :: Configuration
- data Criterion = Criterion' (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe Bool) (Maybe (NonEmpty Text))
- newCriterion :: Criterion
- data EbsSnapshotConfiguration = EbsSnapshotConfiguration' (Maybe [Text]) (Maybe Text) (Maybe [Text])
- newEbsSnapshotConfiguration :: EbsSnapshotConfiguration
- data EcrRepositoryConfiguration = EcrRepositoryConfiguration' (Maybe Text)
- newEcrRepositoryConfiguration :: EcrRepositoryConfiguration
- data EfsFileSystemConfiguration = EfsFileSystemConfiguration' (Maybe Text)
- newEfsFileSystemConfiguration :: EfsFileSystemConfiguration
- data Finding = Finding' (Maybe [Text]) (Maybe Text) (Maybe Bool) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe [FindingSource]) Text ResourceType (HashMap Text Text) ISO8601 ISO8601 ISO8601 FindingStatus Text
- newFinding :: Text -> ResourceType -> UTCTime -> UTCTime -> UTCTime -> FindingStatus -> Text -> Finding
- data FindingSource = FindingSource' (Maybe FindingSourceDetail) FindingSourceType
- newFindingSource :: FindingSourceType -> FindingSource
- data FindingSourceDetail = FindingSourceDetail' (Maybe Text) (Maybe Text)
- newFindingSourceDetail :: FindingSourceDetail
- data FindingSummary = FindingSummary' (Maybe [Text]) (Maybe Text) (Maybe Bool) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe [FindingSource]) Text ResourceType (HashMap Text Text) ISO8601 ISO8601 ISO8601 FindingStatus Text
- newFindingSummary :: Text -> ResourceType -> UTCTime -> UTCTime -> UTCTime -> FindingStatus -> Text -> FindingSummary
- data GeneratedPolicy = GeneratedPolicy' Text
- newGeneratedPolicy :: Text -> GeneratedPolicy
- data GeneratedPolicyProperties = GeneratedPolicyProperties' (Maybe CloudTrailProperties) (Maybe Bool) Text
- newGeneratedPolicyProperties :: Text -> GeneratedPolicyProperties
- data GeneratedPolicyResult = GeneratedPolicyResult' (Maybe [GeneratedPolicy]) GeneratedPolicyProperties
- newGeneratedPolicyResult :: GeneratedPolicyProperties -> GeneratedPolicyResult
- data IamRoleConfiguration = IamRoleConfiguration' (Maybe Text)
- newIamRoleConfiguration :: IamRoleConfiguration
- data InlineArchiveRule = InlineArchiveRule' Text (HashMap Text Criterion)
- newInlineArchiveRule :: Text -> InlineArchiveRule
- data InternetConfiguration = InternetConfiguration' {
- newInternetConfiguration :: InternetConfiguration
- data JobDetails = JobDetails' (Maybe ISO8601) (Maybe JobError) Text JobStatus ISO8601
- newJobDetails :: Text -> JobStatus -> UTCTime -> JobDetails
- data JobError = JobError' JobErrorCode Text
- newJobError :: JobErrorCode -> Text -> JobError
- data KmsGrantConfiguration = KmsGrantConfiguration' (Maybe KmsGrantConstraints) (Maybe Text) [KmsGrantOperation] Text Text
- newKmsGrantConfiguration :: Text -> Text -> KmsGrantConfiguration
- data KmsGrantConstraints = KmsGrantConstraints' (Maybe (HashMap Text Text)) (Maybe (HashMap Text Text))
- newKmsGrantConstraints :: KmsGrantConstraints
- data KmsKeyConfiguration = KmsKeyConfiguration' (Maybe [KmsGrantConfiguration]) (Maybe (HashMap Text Text))
- newKmsKeyConfiguration :: KmsKeyConfiguration
- data Location = Location' [PathElement] Span
- newLocation :: Span -> Location
- data NetworkOriginConfiguration = NetworkOriginConfiguration' (Maybe InternetConfiguration) (Maybe VpcConfiguration)
- newNetworkOriginConfiguration :: NetworkOriginConfiguration
- data PathElement = PathElement' (Maybe Int) (Maybe Text) (Maybe Substring) (Maybe Text)
- newPathElement :: PathElement
- data PolicyGeneration = PolicyGeneration' (Maybe ISO8601) Text Text JobStatus ISO8601
- newPolicyGeneration :: Text -> Text -> JobStatus -> UTCTime -> PolicyGeneration
- data PolicyGenerationDetails = PolicyGenerationDetails' Text
- newPolicyGenerationDetails :: Text -> PolicyGenerationDetails
- data Position = Position' Int Int Int
- newPosition :: Int -> Int -> Int -> Position
- data RdsDbClusterSnapshotAttributeValue = RdsDbClusterSnapshotAttributeValue' (Maybe [Text])
- newRdsDbClusterSnapshotAttributeValue :: RdsDbClusterSnapshotAttributeValue
- data RdsDbClusterSnapshotConfiguration = RdsDbClusterSnapshotConfiguration' (Maybe (HashMap Text RdsDbClusterSnapshotAttributeValue)) (Maybe Text)
- newRdsDbClusterSnapshotConfiguration :: RdsDbClusterSnapshotConfiguration
- data RdsDbSnapshotAttributeValue = RdsDbSnapshotAttributeValue' (Maybe [Text])
- newRdsDbSnapshotAttributeValue :: RdsDbSnapshotAttributeValue
- data RdsDbSnapshotConfiguration = RdsDbSnapshotConfiguration' (Maybe (HashMap Text RdsDbSnapshotAttributeValue)) (Maybe Text)
- newRdsDbSnapshotConfiguration :: RdsDbSnapshotConfiguration
- data S3AccessPointConfiguration = S3AccessPointConfiguration' (Maybe Text) (Maybe NetworkOriginConfiguration) (Maybe S3PublicAccessBlockConfiguration)
- newS3AccessPointConfiguration :: S3AccessPointConfiguration
- data S3BucketAclGrantConfiguration = S3BucketAclGrantConfiguration' AclPermission AclGrantee
- newS3BucketAclGrantConfiguration :: AclPermission -> AclGrantee -> S3BucketAclGrantConfiguration
- data S3BucketConfiguration = S3BucketConfiguration' (Maybe (HashMap Text S3AccessPointConfiguration)) (Maybe [S3BucketAclGrantConfiguration]) (Maybe Text) (Maybe S3PublicAccessBlockConfiguration)
- newS3BucketConfiguration :: S3BucketConfiguration
- data S3PublicAccessBlockConfiguration = S3PublicAccessBlockConfiguration' Bool Bool
- newS3PublicAccessBlockConfiguration :: Bool -> Bool -> S3PublicAccessBlockConfiguration
- data SecretsManagerSecretConfiguration = SecretsManagerSecretConfiguration' (Maybe Text) (Maybe Text)
- newSecretsManagerSecretConfiguration :: SecretsManagerSecretConfiguration
- data SnsTopicConfiguration = SnsTopicConfiguration' (Maybe Text)
- newSnsTopicConfiguration :: SnsTopicConfiguration
- data SortCriteria = SortCriteria' (Maybe Text) (Maybe OrderBy)
- newSortCriteria :: SortCriteria
- data Span = Span' Position Position
- newSpan :: Position -> Position -> Span
- data SqsQueueConfiguration = SqsQueueConfiguration' (Maybe Text)
- newSqsQueueConfiguration :: SqsQueueConfiguration
- data StatusReason = StatusReason' ReasonCode
- newStatusReason :: ReasonCode -> StatusReason
- data Substring = Substring' Int Int
- newSubstring :: Int -> Int -> Substring
- data Trail = Trail' (Maybe Bool) (Maybe [Text]) Text
- newTrail :: Text -> Trail
- data TrailProperties = TrailProperties' (Maybe Bool) (Maybe [Text]) Text
- newTrailProperties :: Text -> TrailProperties
- data ValidatePolicyFinding = ValidatePolicyFinding' Text ValidatePolicyFindingType Text Text [Location]
- newValidatePolicyFinding :: Text -> ValidatePolicyFindingType -> Text -> Text -> ValidatePolicyFinding
- data VpcConfiguration = VpcConfiguration' Text
- newVpcConfiguration :: Text -> VpcConfiguration
Service Configuration
defaultService :: Service Source #
API version 2019-11-01
of the Amazon Access Analyzer SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by AccessAnalyzer
.
AccessDeniedException
_AccessDeniedException :: AsError a => Fold a ServiceError Source #
You do not have sufficient access to perform this action.
ConflictException
_ConflictException :: AsError a => Fold a ServiceError Source #
A conflict exception error.
InternalServerException
_InternalServerException :: AsError a => Fold a ServiceError Source #
Internal server error.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
The specified resource could not be found.
ServiceQuotaExceededException
_ServiceQuotaExceededException :: AsError a => Fold a ServiceError Source #
Service quote met error.
ThrottlingException
_ThrottlingException :: AsError a => Fold a ServiceError Source #
Throttling limit exceeded error.
ValidationException
_ValidationException :: AsError a => Fold a ServiceError Source #
Validation exception error.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
ApplyArchiveRule
data ApplyArchiveRule Source #
Retroactively applies an archive rule.
See: newApplyArchiveRule
smart constructor.
Constructors
ApplyArchiveRule' (Maybe Text) Text Text |
Instances
Arguments
:: Text | |
-> Text | |
-> ApplyArchiveRule |
Create a value of ApplyArchiveRule
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:clientToken:ApplyArchiveRule'
, applyArchiveRule_clientToken
- A client token.
ApplyArchiveRule
, applyArchiveRule_analyzerArn
- The Amazon resource name (ARN) of the analyzer.
ApplyArchiveRule
, applyArchiveRule_ruleName
- The name of the rule to apply.
data ApplyArchiveRuleResponse Source #
See: newApplyArchiveRuleResponse
smart constructor.
Constructors
ApplyArchiveRuleResponse' | |
Instances
newApplyArchiveRuleResponse :: ApplyArchiveRuleResponse Source #
Create a value of ApplyArchiveRuleResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
CancelPolicyGeneration
data CancelPolicyGeneration Source #
See: newCancelPolicyGeneration
smart constructor.
Constructors
CancelPolicyGeneration' Text |
Instances
newCancelPolicyGeneration Source #
Arguments
:: Text | |
-> CancelPolicyGeneration |
Create a value of CancelPolicyGeneration
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:
CancelPolicyGeneration
, cancelPolicyGeneration_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.
data CancelPolicyGenerationResponse Source #
See: newCancelPolicyGenerationResponse
smart constructor.
Constructors
CancelPolicyGenerationResponse' Int |
Instances
newCancelPolicyGenerationResponse Source #
Create a value of CancelPolicyGenerationResponse
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:httpStatus:CancelPolicyGenerationResponse'
, cancelPolicyGenerationResponse_httpStatus
- The response's http status code.
CreateAccessPreview
data CreateAccessPreview Source #
See: newCreateAccessPreview
smart constructor.
Constructors
CreateAccessPreview' (Maybe Text) Text (HashMap Text Configuration) |
Instances
newCreateAccessPreview Source #
Arguments
:: Text | |
-> CreateAccessPreview |
Create a value of CreateAccessPreview
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:clientToken:CreateAccessPreview'
, createAccessPreview_clientToken
- A client token.
CreateAccessPreview
, createAccessPreview_analyzerArn
- The
ARN of the account analyzer
used to generate the access preview. You can only create an access
preview for analyzers with an Account
type and Active
status.
CreateAccessPreview
, createAccessPreview_configurations
- Access control configuration for your resource that is used to generate
the access preview. The access preview includes findings for external
access allowed to the resource with the proposed access control
configuration. The configuration must contain exactly one element.
data CreateAccessPreviewResponse Source #
See: newCreateAccessPreviewResponse
smart constructor.
Constructors
CreateAccessPreviewResponse' Int Text |
Instances
newCreateAccessPreviewResponse Source #
Arguments
:: Int | |
-> Text | |
-> CreateAccessPreviewResponse |
Create a value of CreateAccessPreviewResponse
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:httpStatus:CreateAccessPreviewResponse'
, createAccessPreviewResponse_httpStatus
- The response's http status code.
CreateAccessPreviewResponse
, createAccessPreviewResponse_id
- The unique ID for the access preview.
CreateAnalyzer
data CreateAnalyzer Source #
Creates an analyzer.
See: newCreateAnalyzer
smart constructor.
Constructors
CreateAnalyzer' (Maybe [InlineArchiveRule]) (Maybe Text) (Maybe (HashMap Text Text)) Text Type |
Instances
Arguments
:: Text | |
-> Type | |
-> CreateAnalyzer |
Create a value of CreateAnalyzer
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:archiveRules:CreateAnalyzer'
, createAnalyzer_archiveRules
- Specifies the archive rules to add for the analyzer. Archive rules
automatically archive findings that meet the criteria you define for the
rule.
$sel:clientToken:CreateAnalyzer'
, createAnalyzer_clientToken
- A client token.
CreateAnalyzer
, createAnalyzer_tags
- The tags to apply to the analyzer.
$sel:analyzerName:CreateAnalyzer'
, createAnalyzer_analyzerName
- The name of the analyzer to create.
CreateAnalyzer
, createAnalyzer_type
- The type of analyzer to create. Only ACCOUNT and ORGANIZATION analyzers
are supported. You can create only one analyzer per account per Region.
You can create up to 5 analyzers per organization per Region.
data CreateAnalyzerResponse Source #
The response to the request to create an analyzer.
See: newCreateAnalyzerResponse
smart constructor.
Constructors
CreateAnalyzerResponse' (Maybe Text) Int |
Instances
newCreateAnalyzerResponse Source #
Create a value of CreateAnalyzerResponse
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:
CreateAnalyzerResponse
, createAnalyzerResponse_arn
- The ARN of the analyzer that was created by the request.
$sel:httpStatus:CreateAnalyzerResponse'
, createAnalyzerResponse_httpStatus
- The response's http status code.
CreateArchiveRule
data CreateArchiveRule Source #
Creates an archive rule.
See: newCreateArchiveRule
smart constructor.
Instances
Create a value of CreateArchiveRule
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:clientToken:CreateArchiveRule'
, createArchiveRule_clientToken
- A client token.
$sel:analyzerName:CreateArchiveRule'
, createArchiveRule_analyzerName
- The name of the created analyzer.
CreateArchiveRule
, createArchiveRule_ruleName
- The name of the rule to create.
CreateArchiveRule
, createArchiveRule_filter
- The criteria for the rule.
data CreateArchiveRuleResponse Source #
See: newCreateArchiveRuleResponse
smart constructor.
Constructors
CreateArchiveRuleResponse' | |
Instances
newCreateArchiveRuleResponse :: CreateArchiveRuleResponse Source #
Create a value of CreateArchiveRuleResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DeleteAnalyzer
data DeleteAnalyzer Source #
Deletes an analyzer.
See: newDeleteAnalyzer
smart constructor.
Constructors
DeleteAnalyzer' (Maybe Text) Text |
Instances
Arguments
:: Text | |
-> DeleteAnalyzer |
Create a value of DeleteAnalyzer
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:clientToken:DeleteAnalyzer'
, deleteAnalyzer_clientToken
- A client token.
$sel:analyzerName:DeleteAnalyzer'
, deleteAnalyzer_analyzerName
- The name of the analyzer to delete.
data DeleteAnalyzerResponse Source #
See: newDeleteAnalyzerResponse
smart constructor.
Constructors
DeleteAnalyzerResponse' | |
Instances
newDeleteAnalyzerResponse :: DeleteAnalyzerResponse Source #
Create a value of DeleteAnalyzerResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DeleteArchiveRule
data DeleteArchiveRule Source #
Deletes an archive rule.
See: newDeleteArchiveRule
smart constructor.
Constructors
DeleteArchiveRule' (Maybe Text) Text Text |
Instances
Create a value of DeleteArchiveRule
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:clientToken:DeleteArchiveRule'
, deleteArchiveRule_clientToken
- A client token.
$sel:analyzerName:DeleteArchiveRule'
, deleteArchiveRule_analyzerName
- The name of the analyzer that associated with the archive rule to
delete.
DeleteArchiveRule
, deleteArchiveRule_ruleName
- The name of the rule to delete.
data DeleteArchiveRuleResponse Source #
See: newDeleteArchiveRuleResponse
smart constructor.
Constructors
DeleteArchiveRuleResponse' | |
Instances
newDeleteArchiveRuleResponse :: DeleteArchiveRuleResponse Source #
Create a value of DeleteArchiveRuleResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
GetAccessPreview
data GetAccessPreview Source #
See: newGetAccessPreview
smart constructor.
Constructors
GetAccessPreview' Text Text |
Instances
Create a value of GetAccessPreview
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:accessPreviewId:GetAccessPreview'
, getAccessPreview_accessPreviewId
- The unique ID for the access preview.
GetAccessPreview
, getAccessPreview_analyzerArn
- The
ARN of the analyzer
used to generate the access preview.
data GetAccessPreviewResponse Source #
See: newGetAccessPreviewResponse
smart constructor.
Constructors
GetAccessPreviewResponse' Int AccessPreview |
Instances
newGetAccessPreviewResponse Source #
Arguments
:: Int | |
-> AccessPreview | |
-> GetAccessPreviewResponse |
Create a value of GetAccessPreviewResponse
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:httpStatus:GetAccessPreviewResponse'
, getAccessPreviewResponse_httpStatus
- The response's http status code.
$sel:accessPreview:GetAccessPreviewResponse'
, getAccessPreviewResponse_accessPreview
- An object that contains information about the access preview.
GetAnalyzedResource
data GetAnalyzedResource Source #
Retrieves an analyzed resource.
See: newGetAnalyzedResource
smart constructor.
Constructors
GetAnalyzedResource' Text Text |
Instances
newGetAnalyzedResource Source #
Arguments
:: Text | |
-> Text | |
-> GetAnalyzedResource |
Create a value of GetAnalyzedResource
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:
GetAnalyzedResource
, getAnalyzedResource_analyzerArn
- The
ARN of the analyzer
to retrieve information from.
GetAnalyzedResource
, getAnalyzedResource_resourceArn
- The ARN of the resource to retrieve information about.
data GetAnalyzedResourceResponse Source #
The response to the request.
See: newGetAnalyzedResourceResponse
smart constructor.
Constructors
GetAnalyzedResourceResponse' (Maybe AnalyzedResource) Int |
Instances
newGetAnalyzedResourceResponse Source #
Create a value of GetAnalyzedResourceResponse
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:
GetAnalyzedResourceResponse
, getAnalyzedResourceResponse_resource
- An AnalyzedResource
object that contains information that IAM Access
Analyzer found when it analyzed the resource.
$sel:httpStatus:GetAnalyzedResourceResponse'
, getAnalyzedResourceResponse_httpStatus
- The response's http status code.
GetAnalyzer
data GetAnalyzer Source #
Retrieves an analyzer.
See: newGetAnalyzer
smart constructor.
Constructors
GetAnalyzer' Text |
Instances
Arguments
:: Text | |
-> GetAnalyzer |
Create a value of GetAnalyzer
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:analyzerName:GetAnalyzer'
, getAnalyzer_analyzerName
- The name of the analyzer retrieved.
data GetAnalyzerResponse Source #
The response to the request.
See: newGetAnalyzerResponse
smart constructor.
Constructors
GetAnalyzerResponse' Int AnalyzerSummary |
Instances
newGetAnalyzerResponse Source #
Arguments
:: Int | |
-> AnalyzerSummary | |
-> GetAnalyzerResponse |
Create a value of GetAnalyzerResponse
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:httpStatus:GetAnalyzerResponse'
, getAnalyzerResponse_httpStatus
- The response's http status code.
$sel:analyzer:GetAnalyzerResponse'
, getAnalyzerResponse_analyzer
- An AnalyzerSummary
object that contains information about the
analyzer.
GetArchiveRule
data GetArchiveRule Source #
Retrieves an archive rule.
See: newGetArchiveRule
smart constructor.
Constructors
GetArchiveRule' Text Text |
Instances
Arguments
:: Text | |
-> Text | |
-> GetArchiveRule |
Create a value of GetArchiveRule
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:analyzerName:GetArchiveRule'
, getArchiveRule_analyzerName
- The name of the analyzer to retrieve rules from.
GetArchiveRule
, getArchiveRule_ruleName
- The name of the rule to retrieve.
data GetArchiveRuleResponse Source #
The response to the request.
See: newGetArchiveRuleResponse
smart constructor.
Constructors
GetArchiveRuleResponse' Int ArchiveRuleSummary |
Instances
newGetArchiveRuleResponse Source #
Arguments
:: Int | |
-> ArchiveRuleSummary | |
-> GetArchiveRuleResponse |
Create a value of GetArchiveRuleResponse
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:httpStatus:GetArchiveRuleResponse'
, getArchiveRuleResponse_httpStatus
- The response's http status code.
$sel:archiveRule:GetArchiveRuleResponse'
, getArchiveRuleResponse_archiveRule
- Undocumented member.
GetFinding
data GetFinding Source #
Retrieves a finding.
See: newGetFinding
smart constructor.
Constructors
GetFinding' Text Text |
Instances
Arguments
:: Text | |
-> Text | |
-> GetFinding |
Create a value of GetFinding
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:
GetFinding
, getFinding_analyzerArn
- The
ARN of the analyzer
that generated the finding.
GetFinding
, getFinding_id
- The ID of the finding to retrieve.
data GetFindingResponse Source #
The response to the request.
See: newGetFindingResponse
smart constructor.
Constructors
GetFindingResponse' (Maybe Finding) Int |
Instances
newGetFindingResponse Source #
Arguments
:: Int | |
-> GetFindingResponse |
Create a value of GetFindingResponse
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:finding:GetFindingResponse'
, getFindingResponse_finding
- A finding
object that contains finding details.
$sel:httpStatus:GetFindingResponse'
, getFindingResponse_httpStatus
- The response's http status code.
GetGeneratedPolicy
data GetGeneratedPolicy Source #
See: newGetGeneratedPolicy
smart constructor.
Instances
newGetGeneratedPolicy Source #
Arguments
:: Text | |
-> GetGeneratedPolicy |
Create a value of GetGeneratedPolicy
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:includeResourcePlaceholders:GetGeneratedPolicy'
, getGeneratedPolicy_includeResourcePlaceholders
- The level of detail that you want to generate. You can specify whether
to generate policies with placeholders for resource ARNs for actions
that support resource level granularity in policies.
For example, in the resource section of a policy, you can receive a
placeholder such as "Resource":"arn:aws:s3:::${BucketName}"
instead of "*"
.
$sel:includeServiceLevelTemplate:GetGeneratedPolicy'
, getGeneratedPolicy_includeServiceLevelTemplate
- The level of detail that you want to generate. You can specify whether
to generate service-level policies.
IAM Access Analyzer uses iam:servicelastaccessed
to identify services
that have been used recently to create this service-level template.
GetGeneratedPolicy
, getGeneratedPolicy_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.
data GetGeneratedPolicyResponse Source #
See: newGetGeneratedPolicyResponse
smart constructor.
Instances
newGetGeneratedPolicyResponse Source #
Arguments
:: Int | |
-> JobDetails | |
-> GeneratedPolicyResult | |
-> GetGeneratedPolicyResponse |
Create a value of GetGeneratedPolicyResponse
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:httpStatus:GetGeneratedPolicyResponse'
, getGeneratedPolicyResponse_httpStatus
- The response's http status code.
$sel:jobDetails:GetGeneratedPolicyResponse'
, getGeneratedPolicyResponse_jobDetails
- A GeneratedPolicyDetails
object that contains details about the
generated policy.
$sel:generatedPolicyResult:GetGeneratedPolicyResponse'
, getGeneratedPolicyResponse_generatedPolicyResult
- A GeneratedPolicyResult
object that contains the generated policies
and associated details.
ListAccessPreviewFindings (Paginated)
data ListAccessPreviewFindings Source #
See: newListAccessPreviewFindings
smart constructor.
Constructors
ListAccessPreviewFindings' (Maybe (HashMap Text Criterion)) (Maybe Int) (Maybe Text) Text Text |
Instances
newListAccessPreviewFindings Source #
Arguments
:: Text | |
-> Text | |
-> ListAccessPreviewFindings |
Create a value of ListAccessPreviewFindings
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:
ListAccessPreviewFindings
, listAccessPreviewFindings_filter
- Criteria to filter the returned findings.
$sel:maxResults:ListAccessPreviewFindings'
, listAccessPreviewFindings_maxResults
- The maximum number of results to return in the response.
ListAccessPreviewFindings
, listAccessPreviewFindings_nextToken
- A token used for pagination of results returned.
$sel:accessPreviewId:ListAccessPreviewFindings'
, listAccessPreviewFindings_accessPreviewId
- The unique ID for the access preview.
ListAccessPreviewFindings
, listAccessPreviewFindings_analyzerArn
- The
ARN of the analyzer
used to generate the access.
data ListAccessPreviewFindingsResponse Source #
See: newListAccessPreviewFindingsResponse
smart constructor.
Constructors
ListAccessPreviewFindingsResponse' (Maybe Text) Int [AccessPreviewFinding] |
Instances
newListAccessPreviewFindingsResponse Source #
Arguments
:: Int | |
-> ListAccessPreviewFindingsResponse |
Create a value of ListAccessPreviewFindingsResponse
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:
ListAccessPreviewFindings
, listAccessPreviewFindingsResponse_nextToken
- A token used for pagination of results returned.
$sel:httpStatus:ListAccessPreviewFindingsResponse'
, listAccessPreviewFindingsResponse_httpStatus
- The response's http status code.
$sel:findings:ListAccessPreviewFindingsResponse'
, listAccessPreviewFindingsResponse_findings
- A list of access preview findings that match the specified filter
criteria.
ListAccessPreviews (Paginated)
data ListAccessPreviews Source #
See: newListAccessPreviews
smart constructor.
Instances
newListAccessPreviews Source #
Arguments
:: Text | |
-> ListAccessPreviews |
Create a value of ListAccessPreviews
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:maxResults:ListAccessPreviews'
, listAccessPreviews_maxResults
- The maximum number of results to return in the response.
ListAccessPreviews
, listAccessPreviews_nextToken
- A token used for pagination of results returned.
ListAccessPreviews
, listAccessPreviews_analyzerArn
- The
ARN of the analyzer
used to generate the access preview.
data ListAccessPreviewsResponse Source #
See: newListAccessPreviewsResponse
smart constructor.
Constructors
ListAccessPreviewsResponse' (Maybe Text) Int [AccessPreviewSummary] |
Instances
newListAccessPreviewsResponse Source #
Create a value of ListAccessPreviewsResponse
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:
ListAccessPreviews
, listAccessPreviewsResponse_nextToken
- A token used for pagination of results returned.
$sel:httpStatus:ListAccessPreviewsResponse'
, listAccessPreviewsResponse_httpStatus
- The response's http status code.
$sel:accessPreviews:ListAccessPreviewsResponse'
, listAccessPreviewsResponse_accessPreviews
- A list of access previews retrieved for the analyzer.
ListAnalyzedResources (Paginated)
data ListAnalyzedResources Source #
Retrieves a list of resources that have been analyzed.
See: newListAnalyzedResources
smart constructor.
Constructors
ListAnalyzedResources' (Maybe Int) (Maybe Text) (Maybe ResourceType) Text |
Instances
newListAnalyzedResources Source #
Arguments
:: Text | |
-> ListAnalyzedResources |
Create a value of ListAnalyzedResources
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:maxResults:ListAnalyzedResources'
, listAnalyzedResources_maxResults
- The maximum number of results to return in the response.
ListAnalyzedResources
, listAnalyzedResources_nextToken
- A token used for pagination of results returned.
ListAnalyzedResources
, listAnalyzedResources_resourceType
- The type of resource.
ListAnalyzedResources
, listAnalyzedResources_analyzerArn
- The
ARN of the analyzer
to retrieve a list of analyzed resources from.
data ListAnalyzedResourcesResponse Source #
The response to the request.
See: newListAnalyzedResourcesResponse
smart constructor.
Constructors
ListAnalyzedResourcesResponse' (Maybe Text) Int [AnalyzedResourceSummary] |
Instances
newListAnalyzedResourcesResponse Source #
Create a value of ListAnalyzedResourcesResponse
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:
ListAnalyzedResources
, listAnalyzedResourcesResponse_nextToken
- A token used for pagination of results returned.
$sel:httpStatus:ListAnalyzedResourcesResponse'
, listAnalyzedResourcesResponse_httpStatus
- The response's http status code.
$sel:analyzedResources:ListAnalyzedResourcesResponse'
, listAnalyzedResourcesResponse_analyzedResources
- A list of resources that were analyzed.
ListAnalyzers (Paginated)
data ListAnalyzers Source #
Retrieves a list of analyzers.
See: newListAnalyzers
smart constructor.
Instances
newListAnalyzers :: ListAnalyzers Source #
Create a value of ListAnalyzers
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:maxResults:ListAnalyzers'
, listAnalyzers_maxResults
- The maximum number of results to return in the response.
ListAnalyzers
, listAnalyzers_nextToken
- A token used for pagination of results returned.
ListAnalyzers
, listAnalyzers_type
- The type of analyzer.
data ListAnalyzersResponse Source #
The response to the request.
See: newListAnalyzersResponse
smart constructor.
Constructors
ListAnalyzersResponse' (Maybe Text) Int [AnalyzerSummary] |
Instances
newListAnalyzersResponse Source #
Create a value of ListAnalyzersResponse
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:
ListAnalyzers
, listAnalyzersResponse_nextToken
- A token used for pagination of results returned.
$sel:httpStatus:ListAnalyzersResponse'
, listAnalyzersResponse_httpStatus
- The response's http status code.
$sel:analyzers:ListAnalyzersResponse'
, listAnalyzersResponse_analyzers
- The analyzers retrieved.
ListArchiveRules (Paginated)
data ListArchiveRules Source #
Retrieves a list of archive rules created for the specified analyzer.
See: newListArchiveRules
smart constructor.
Instances
Arguments
:: Text | |
-> ListArchiveRules |
Create a value of ListArchiveRules
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:maxResults:ListArchiveRules'
, listArchiveRules_maxResults
- The maximum number of results to return in the request.
ListArchiveRules
, listArchiveRules_nextToken
- A token used for pagination of results returned.
$sel:analyzerName:ListArchiveRules'
, listArchiveRules_analyzerName
- The name of the analyzer to retrieve rules from.
data ListArchiveRulesResponse Source #
The response to the request.
See: newListArchiveRulesResponse
smart constructor.
Constructors
ListArchiveRulesResponse' (Maybe Text) Int [ArchiveRuleSummary] |
Instances
newListArchiveRulesResponse Source #
Create a value of ListArchiveRulesResponse
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:
ListArchiveRules
, listArchiveRulesResponse_nextToken
- A token used for pagination of results returned.
$sel:httpStatus:ListArchiveRulesResponse'
, listArchiveRulesResponse_httpStatus
- The response's http status code.
$sel:archiveRules:ListArchiveRulesResponse'
, listArchiveRulesResponse_archiveRules
- A list of archive rules created for the specified analyzer.
ListFindings (Paginated)
data ListFindings Source #
Retrieves a list of findings generated by the specified analyzer.
See: newListFindings
smart constructor.
Constructors
ListFindings' (Maybe (HashMap Text Criterion)) (Maybe Int) (Maybe Text) (Maybe SortCriteria) Text |
Instances
Arguments
:: Text | |
-> ListFindings |
Create a value of ListFindings
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:
ListFindings
, listFindings_filter
- A filter to match for the findings to return.
$sel:maxResults:ListFindings'
, listFindings_maxResults
- The maximum number of results to return in the response.
ListFindings
, listFindings_nextToken
- A token used for pagination of results returned.
$sel:sort:ListFindings'
, listFindings_sort
- The sort order for the findings returned.
ListFindings
, listFindings_analyzerArn
- The
ARN of the analyzer
to retrieve findings from.
data ListFindingsResponse Source #
The response to the request.
See: newListFindingsResponse
smart constructor.
Constructors
ListFindingsResponse' (Maybe Text) Int [FindingSummary] |
Instances
newListFindingsResponse Source #
Arguments
:: Int | |
-> ListFindingsResponse |
Create a value of ListFindingsResponse
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:
ListFindings
, listFindingsResponse_nextToken
- A token used for pagination of results returned.
$sel:httpStatus:ListFindingsResponse'
, listFindingsResponse_httpStatus
- The response's http status code.
$sel:findings:ListFindingsResponse'
, listFindingsResponse_findings
- A list of findings retrieved from the analyzer that match the filter
criteria specified, if any.
ListPolicyGenerations (Paginated)
data ListPolicyGenerations Source #
See: newListPolicyGenerations
smart constructor.
Instances
newListPolicyGenerations :: ListPolicyGenerations Source #
Create a value of ListPolicyGenerations
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:maxResults:ListPolicyGenerations'
, listPolicyGenerations_maxResults
- The maximum number of results to return in the response.
ListPolicyGenerations
, listPolicyGenerations_nextToken
- A token used for pagination of results returned.
ListPolicyGenerations
, listPolicyGenerations_principalArn
- The ARN of the IAM entity (user or role) for which you are generating a
policy. Use this with ListGeneratedPolicies
to filter the results to
only include results for a specific principal.
data ListPolicyGenerationsResponse Source #
See: newListPolicyGenerationsResponse
smart constructor.
Constructors
ListPolicyGenerationsResponse' (Maybe Text) Int [PolicyGeneration] |
Instances
newListPolicyGenerationsResponse Source #
Create a value of ListPolicyGenerationsResponse
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:
ListPolicyGenerations
, listPolicyGenerationsResponse_nextToken
- A token used for pagination of results returned.
$sel:httpStatus:ListPolicyGenerationsResponse'
, listPolicyGenerationsResponse_httpStatus
- The response's http status code.
$sel:policyGenerations:ListPolicyGenerationsResponse'
, listPolicyGenerationsResponse_policyGenerations
- A PolicyGeneration
object that contains details about the generated
policy.
ListTagsForResource
data ListTagsForResource Source #
Retrieves a list of tags applied to the specified resource.
See: newListTagsForResource
smart constructor.
Constructors
ListTagsForResource' Text |
Instances
newListTagsForResource Source #
Arguments
:: Text | |
-> ListTagsForResource |
Create a value of ListTagsForResource
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:
ListTagsForResource
, listTagsForResource_resourceArn
- The ARN of the resource to retrieve tags from.
data ListTagsForResourceResponse Source #
The response to the request.
See: newListTagsForResourceResponse
smart constructor.
Instances
newListTagsForResourceResponse Source #
Create a value of ListTagsForResourceResponse
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:
ListTagsForResourceResponse
, listTagsForResourceResponse_tags
- The tags that are applied to the specified resource.
$sel:httpStatus:ListTagsForResourceResponse'
, listTagsForResourceResponse_httpStatus
- The response's http status code.
StartPolicyGeneration
data StartPolicyGeneration Source #
See: newStartPolicyGeneration
smart constructor.
Constructors
StartPolicyGeneration' (Maybe Text) (Maybe CloudTrailDetails) PolicyGenerationDetails |
Instances
newStartPolicyGeneration Source #
Arguments
:: PolicyGenerationDetails | |
-> StartPolicyGeneration |
Create a value of StartPolicyGeneration
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:clientToken:StartPolicyGeneration'
, startPolicyGeneration_clientToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. Idempotency ensures that an API request
completes only once. With an idempotent request, if the original request
completes successfully, the subsequent retries with the same client
token return the result from the original successful request and they
have no additional effect.
If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.
$sel:cloudTrailDetails:StartPolicyGeneration'
, startPolicyGeneration_cloudTrailDetails
- A CloudTrailDetails
object that contains details about a Trail
that
you want to analyze to generate policies.
$sel:policyGenerationDetails:StartPolicyGeneration'
, startPolicyGeneration_policyGenerationDetails
- Contains the ARN of the IAM entity (user or role) for which you are
generating a policy.
data StartPolicyGenerationResponse Source #
See: newStartPolicyGenerationResponse
smart constructor.
Constructors
StartPolicyGenerationResponse' Int Text |
Instances
newStartPolicyGenerationResponse Source #
Arguments
:: Int | |
-> Text | |
-> StartPolicyGenerationResponse |
Create a value of StartPolicyGenerationResponse
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:httpStatus:StartPolicyGenerationResponse'
, startPolicyGenerationResponse_httpStatus
- The response's http status code.
StartPolicyGenerationResponse
, startPolicyGenerationResponse_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.
StartResourceScan
data StartResourceScan Source #
Starts a scan of the policies applied to the specified resource.
See: newStartResourceScan
smart constructor.
Constructors
StartResourceScan' (Maybe Text) Text Text |
Instances
Arguments
:: Text | |
-> Text | |
-> StartResourceScan |
Create a value of StartResourceScan
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:
StartResourceScan
, startResourceScan_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.
StartResourceScan
, startResourceScan_analyzerArn
- The
ARN of the analyzer
to use to scan the policies applied to the specified resource.
StartResourceScan
, startResourceScan_resourceArn
- The ARN of the resource to scan.
data StartResourceScanResponse Source #
See: newStartResourceScanResponse
smart constructor.
Constructors
StartResourceScanResponse' | |
Instances
newStartResourceScanResponse :: StartResourceScanResponse Source #
Create a value of StartResourceScanResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
TagResource
data TagResource Source #
Adds a tag to the specified resource.
See: newTagResource
smart constructor.
Constructors
TagResource' Text (HashMap Text Text) |
Instances
Arguments
:: Text | |
-> TagResource |
Create a value of TagResource
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:
TagResource
, tagResource_resourceArn
- The ARN of the resource to add the tag to.
TagResource
, tagResource_tags
- The tags to add to the resource.
data TagResourceResponse Source #
The response to the request.
See: newTagResourceResponse
smart constructor.
Constructors
TagResourceResponse' Int |
Instances
newTagResourceResponse Source #
Arguments
:: Int | |
-> TagResourceResponse |
Create a value of TagResourceResponse
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:httpStatus:TagResourceResponse'
, tagResourceResponse_httpStatus
- The response's http status code.
UntagResource
data UntagResource Source #
Removes a tag from the specified resource.
See: newUntagResource
smart constructor.
Constructors
UntagResource' Text [Text] |
Instances
Arguments
:: Text | |
-> UntagResource |
Create a value of UntagResource
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:
UntagResource
, untagResource_resourceArn
- The ARN of the resource to remove the tag from.
$sel:tagKeys:UntagResource'
, untagResource_tagKeys
- The key for the tag to add.
data UntagResourceResponse Source #
The response to the request.
See: newUntagResourceResponse
smart constructor.
Constructors
UntagResourceResponse' Int |
Instances
newUntagResourceResponse Source #
Create a value of UntagResourceResponse
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:httpStatus:UntagResourceResponse'
, untagResourceResponse_httpStatus
- The response's http status code.
UpdateArchiveRule
data UpdateArchiveRule Source #
Updates the specified archive rule.
See: newUpdateArchiveRule
smart constructor.
Instances
Create a value of UpdateArchiveRule
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:clientToken:UpdateArchiveRule'
, updateArchiveRule_clientToken
- A client token.
$sel:analyzerName:UpdateArchiveRule'
, updateArchiveRule_analyzerName
- The name of the analyzer to update the archive rules for.
UpdateArchiveRule
, updateArchiveRule_ruleName
- The name of the rule to update.
UpdateArchiveRule
, updateArchiveRule_filter
- A filter to match for the rules to update. Only rules that match the
filter are updated.
data UpdateArchiveRuleResponse Source #
See: newUpdateArchiveRuleResponse
smart constructor.
Constructors
UpdateArchiveRuleResponse' | |
Instances
newUpdateArchiveRuleResponse :: UpdateArchiveRuleResponse Source #
Create a value of UpdateArchiveRuleResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
UpdateFindings
data UpdateFindings Source #
Updates findings with the new values provided in the request.
See: newUpdateFindings
smart constructor.
Constructors
UpdateFindings' (Maybe Text) (Maybe [Text]) (Maybe Text) Text FindingStatusUpdate |
Instances
Arguments
:: Text | |
-> FindingStatusUpdate | |
-> UpdateFindings |
Create a value of UpdateFindings
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:clientToken:UpdateFindings'
, updateFindings_clientToken
- A client token.
$sel:ids:UpdateFindings'
, updateFindings_ids
- The IDs of the findings to update.
UpdateFindings
, updateFindings_resourceArn
- The ARN of the resource identified in the finding.
UpdateFindings
, updateFindings_analyzerArn
- The
ARN of the analyzer
that generated the findings to update.
UpdateFindings
, updateFindings_status
- The state represents the action to take to update the finding Status.
Use ARCHIVE
to change an Active finding to an Archived finding. Use
ACTIVE
to change an Archived finding to an Active finding.
data UpdateFindingsResponse Source #
See: newUpdateFindingsResponse
smart constructor.
Constructors
UpdateFindingsResponse' | |
Instances
newUpdateFindingsResponse :: UpdateFindingsResponse Source #
Create a value of UpdateFindingsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
ValidatePolicy (Paginated)
data ValidatePolicy Source #
See: newValidatePolicy
smart constructor.
Constructors
ValidatePolicy' (Maybe Locale) (Maybe Int) (Maybe Text) (Maybe ValidatePolicyResourceType) Text PolicyType |
Instances
Arguments
:: Text | |
-> PolicyType | |
-> ValidatePolicy |
Create a value of ValidatePolicy
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:locale:ValidatePolicy'
, validatePolicy_locale
- The locale to use for localizing the findings.
$sel:maxResults:ValidatePolicy'
, validatePolicy_maxResults
- The maximum number of results to return in the response.
ValidatePolicy
, validatePolicy_nextToken
- A token used for pagination of results returned.
$sel:validatePolicyResourceType:ValidatePolicy'
, validatePolicy_validatePolicyResourceType
- The type of resource to attach to your resource policy. Specify a value
for the policy validation resource type only if the policy type is
RESOURCE_POLICY
. For example, to validate a resource policy to attach
to an Amazon S3 bucket, you can choose AWS::S3::Bucket
for the policy
validation resource type.
For resource types not supported as valid values, IAM Access Analyzer runs policy checks that apply to all resource policies. For example, to validate a resource policy to attach to a KMS key, do not specify a value for the policy validation resource type and IAM Access Analyzer will run policy checks that apply to all resource policies.
$sel:policyDocument:ValidatePolicy'
, validatePolicy_policyDocument
- The JSON policy document to use as the content for the policy.
$sel:policyType:ValidatePolicy'
, validatePolicy_policyType
- The type of policy to validate. Identity policies grant permissions to
IAM principals. Identity policies include managed and inline policies
for IAM roles, users, and groups. They also include service-control
policies (SCPs) that are attached to an Amazon Web Services
organization, organizational unit (OU), or an account.
Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
data ValidatePolicyResponse Source #
See: newValidatePolicyResponse
smart constructor.
Constructors
ValidatePolicyResponse' (Maybe Text) Int [ValidatePolicyFinding] |
Instances
newValidatePolicyResponse Source #
Create a value of ValidatePolicyResponse
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:
ValidatePolicy
, validatePolicyResponse_nextToken
- A token used for pagination of results returned.
$sel:httpStatus:ValidatePolicyResponse'
, validatePolicyResponse_httpStatus
- The response's http status code.
$sel:findings:ValidatePolicyResponse'
, validatePolicyResponse_findings
- The list of findings in a policy returned by IAM Access Analyzer based
on its suite of policy checks.
Types
AccessPreviewStatus
newtype AccessPreviewStatus Source #
Constructors
AccessPreviewStatus' | |
Fields |
Bundled Patterns
pattern AccessPreviewStatus_COMPLETED :: AccessPreviewStatus | |
pattern AccessPreviewStatus_CREATING :: AccessPreviewStatus | |
pattern AccessPreviewStatus_FAILED :: AccessPreviewStatus |
Instances
AccessPreviewStatusReasonCode
newtype AccessPreviewStatusReasonCode Source #
Constructors
AccessPreviewStatusReasonCode' | |
Fields |
Bundled Patterns
pattern AccessPreviewStatusReasonCode_INTERNAL_ERROR :: AccessPreviewStatusReasonCode | |
pattern AccessPreviewStatusReasonCode_INVALID_CONFIGURATION :: AccessPreviewStatusReasonCode |
Instances
AclPermission
newtype AclPermission Source #
Constructors
AclPermission' | |
Fields |
Bundled Patterns
pattern AclPermission_FULL_CONTROL :: AclPermission | |
pattern AclPermission_READ :: AclPermission | |
pattern AclPermission_READ_ACP :: AclPermission | |
pattern AclPermission_WRITE :: AclPermission | |
pattern AclPermission_WRITE_ACP :: AclPermission |
Instances
AnalyzerStatus
newtype AnalyzerStatus Source #
Constructors
AnalyzerStatus' | |
Fields |
Bundled Patterns
pattern AnalyzerStatus_ACTIVE :: AnalyzerStatus | |
pattern AnalyzerStatus_CREATING :: AnalyzerStatus | |
pattern AnalyzerStatus_DISABLED :: AnalyzerStatus | |
pattern AnalyzerStatus_FAILED :: AnalyzerStatus |
Instances
FindingChangeType
newtype FindingChangeType Source #
Constructors
FindingChangeType' | |
Fields |
Bundled Patterns
pattern FindingChangeType_CHANGED :: FindingChangeType | |
pattern FindingChangeType_NEW :: FindingChangeType | |
pattern FindingChangeType_UNCHANGED :: FindingChangeType |
Instances
FindingSourceType
newtype FindingSourceType Source #
Constructors
FindingSourceType' | |
Fields |
Bundled Patterns
pattern FindingSourceType_BUCKET_ACL :: FindingSourceType | |
pattern FindingSourceType_POLICY :: FindingSourceType | |
pattern FindingSourceType_S3_ACCESS_POINT :: FindingSourceType | |
pattern FindingSourceType_S3_ACCESS_POINT_ACCOUNT :: FindingSourceType |
Instances
FindingStatus
newtype FindingStatus Source #
Constructors
FindingStatus' | |
Fields |
Bundled Patterns
pattern FindingStatus_ACTIVE :: FindingStatus | |
pattern FindingStatus_ARCHIVED :: FindingStatus | |
pattern FindingStatus_RESOLVED :: FindingStatus |
Instances
FindingStatusUpdate
newtype FindingStatusUpdate Source #
Constructors
FindingStatusUpdate' | |
Fields |
Bundled Patterns
pattern FindingStatusUpdate_ACTIVE :: FindingStatusUpdate | |
pattern FindingStatusUpdate_ARCHIVED :: FindingStatusUpdate |
Instances
JobErrorCode
newtype JobErrorCode Source #
Constructors
JobErrorCode' | |
Fields |
Bundled Patterns
pattern JobErrorCode_AUTHORIZATION_ERROR :: JobErrorCode | |
pattern JobErrorCode_RESOURCE_NOT_FOUND_ERROR :: JobErrorCode | |
pattern JobErrorCode_SERVICE_ERROR :: JobErrorCode | |
pattern JobErrorCode_SERVICE_QUOTA_EXCEEDED_ERROR :: JobErrorCode |
Instances
JobStatus
Constructors
JobStatus' | |
Fields |
Bundled Patterns
pattern JobStatus_CANCELED :: JobStatus | |
pattern JobStatus_FAILED :: JobStatus | |
pattern JobStatus_IN_PROGRESS :: JobStatus | |
pattern JobStatus_SUCCEEDED :: JobStatus |
Instances
KmsGrantOperation
newtype KmsGrantOperation Source #
Constructors
KmsGrantOperation' | |
Fields |
Bundled Patterns
pattern KmsGrantOperation_CreateGrant :: KmsGrantOperation | |
pattern KmsGrantOperation_Decrypt :: KmsGrantOperation | |
pattern KmsGrantOperation_DescribeKey :: KmsGrantOperation | |
pattern KmsGrantOperation_Encrypt :: KmsGrantOperation | |
pattern KmsGrantOperation_GenerateDataKey :: KmsGrantOperation | |
pattern KmsGrantOperation_GenerateDataKeyPair :: KmsGrantOperation | |
pattern KmsGrantOperation_GenerateDataKeyPairWithoutPlaintext :: KmsGrantOperation | |
pattern KmsGrantOperation_GenerateDataKeyWithoutPlaintext :: KmsGrantOperation | |
pattern KmsGrantOperation_GetPublicKey :: KmsGrantOperation | |
pattern KmsGrantOperation_ReEncryptFrom :: KmsGrantOperation | |
pattern KmsGrantOperation_ReEncryptTo :: KmsGrantOperation | |
pattern KmsGrantOperation_RetireGrant :: KmsGrantOperation | |
pattern KmsGrantOperation_Sign :: KmsGrantOperation | |
pattern KmsGrantOperation_Verify :: KmsGrantOperation |
Instances
Locale
Constructors
Locale' | |
Fields
|
Bundled Patterns
pattern Locale_DE :: Locale | |
pattern Locale_EN :: Locale | |
pattern Locale_ES :: Locale | |
pattern Locale_FR :: Locale | |
pattern Locale_IT :: Locale | |
pattern Locale_JA :: Locale | |
pattern Locale_KO :: Locale | |
pattern Locale_PT_BR :: Locale | |
pattern Locale_ZH_CN :: Locale | |
pattern Locale_ZH_TW :: Locale |
Instances
OrderBy
Constructors
OrderBy' | |
Fields
|
Bundled Patterns
pattern OrderBy_ASC :: OrderBy | |
pattern OrderBy_DESC :: OrderBy |
Instances
PolicyType
newtype PolicyType Source #
Constructors
PolicyType' | |
Fields |
Bundled Patterns
pattern PolicyType_IDENTITY_POLICY :: PolicyType | |
pattern PolicyType_RESOURCE_POLICY :: PolicyType | |
pattern PolicyType_SERVICE_CONTROL_POLICY :: PolicyType |
Instances
ReasonCode
newtype ReasonCode Source #
Constructors
ReasonCode' | |
Fields |
Bundled Patterns
pattern ReasonCode_AWS_SERVICE_ACCESS_DISABLED :: ReasonCode | |
pattern ReasonCode_DELEGATED_ADMINISTRATOR_DEREGISTERED :: ReasonCode | |
pattern ReasonCode_ORGANIZATION_DELETED :: ReasonCode | |
pattern ReasonCode_SERVICE_LINKED_ROLE_CREATION_FAILED :: ReasonCode |
Instances
ResourceType
newtype ResourceType Source #
Constructors
ResourceType' | |
Fields |
Bundled Patterns
pattern ResourceType_AWS__EC2__Snapshot :: ResourceType | |
pattern ResourceType_AWS__ECR__Repository :: ResourceType | |
pattern ResourceType_AWS__EFS__FileSystem :: ResourceType | |
pattern ResourceType_AWS__IAM__Role :: ResourceType | |
pattern ResourceType_AWS__KMS__Key :: ResourceType | |
pattern ResourceType_AWS__Lambda__Function :: ResourceType | |
pattern ResourceType_AWS__Lambda__LayerVersion :: ResourceType | |
pattern ResourceType_AWS__RDS__DBClusterSnapshot :: ResourceType | |
pattern ResourceType_AWS__RDS__DBSnapshot :: ResourceType | |
pattern ResourceType_AWS__S3__Bucket :: ResourceType | |
pattern ResourceType_AWS__SNS__Topic :: ResourceType | |
pattern ResourceType_AWS__SQS__Queue :: ResourceType | |
pattern ResourceType_AWS__SecretsManager__Secret :: ResourceType |
Instances
Type
Bundled Patterns
pattern Type_ACCOUNT :: Type | |
pattern Type_ORGANIZATION :: Type |
Instances
ValidatePolicyFindingType
newtype ValidatePolicyFindingType Source #
Constructors
ValidatePolicyFindingType' | |
Fields |
Bundled Patterns
Instances
ValidatePolicyResourceType
newtype ValidatePolicyResourceType Source #
Constructors
ValidatePolicyResourceType' | |
Fields |
Bundled Patterns
Instances
AccessPreview
data AccessPreview Source #
Contains information about an access preview.
See: newAccessPreview
smart constructor.
Constructors
AccessPreview' (Maybe AccessPreviewStatusReason) Text Text (HashMap Text Configuration) ISO8601 AccessPreviewStatus |
Instances
Arguments
:: Text | |
-> Text | |
-> UTCTime | |
-> AccessPreviewStatus | |
-> AccessPreview |
Create a value of AccessPreview
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:statusReason:AccessPreview'
, accessPreview_statusReason
- Provides more details about the current status of the access preview.
For example, if the creation of the access preview fails, a Failed
status is returned. This failure can be due to an internal issue with
the analysis or due to an invalid resource configuration.
$sel:id:AccessPreview'
, accessPreview_id
- The unique ID for the access preview.
$sel:analyzerArn:AccessPreview'
, accessPreview_analyzerArn
- The ARN of the analyzer used to generate the access preview.
$sel:configurations:AccessPreview'
, accessPreview_configurations
- A map of resource ARNs for the proposed resource configuration.
$sel:createdAt:AccessPreview'
, accessPreview_createdAt
- The time at which the access preview was created.
$sel:status:AccessPreview'
, accessPreview_status
- The status of the access preview.
Creating
- The access preview creation is in progress.Completed
- The access preview is complete. You can preview findings for external access to the resource.Failed
- The access preview creation has failed.
AccessPreviewFinding
data AccessPreviewFinding Source #
An access preview finding generated by the access preview.
See: newAccessPreviewFinding
smart constructor.
Constructors
AccessPreviewFinding' (Maybe [Text]) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe Text) (Maybe FindingStatus) (Maybe Bool) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe [FindingSource]) Text ResourceType ISO8601 FindingChangeType FindingStatus Text |
Instances
newAccessPreviewFinding Source #
Arguments
:: Text | |
-> ResourceType | |
-> UTCTime | |
-> FindingChangeType | |
-> FindingStatus | |
-> Text | |
-> AccessPreviewFinding |
Create a value of AccessPreviewFinding
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:action:AccessPreviewFinding'
, accessPreviewFinding_action
- The action in the analyzed policy statement that an external principal
has permission to perform.
$sel:condition:AccessPreviewFinding'
, accessPreviewFinding_condition
- The condition in the analyzed policy statement that resulted in a
finding.
$sel:error:AccessPreviewFinding'
, accessPreviewFinding_error
- An error.
$sel:existingFindingId:AccessPreviewFinding'
, accessPreviewFinding_existingFindingId
- The existing ID of the finding in IAM Access Analyzer, provided only for
existing findings.
$sel:existingFindingStatus:AccessPreviewFinding'
, accessPreviewFinding_existingFindingStatus
- The existing status of the finding, provided only for existing findings.
$sel:isPublic:AccessPreviewFinding'
, accessPreviewFinding_isPublic
- Indicates whether the policy that generated the finding allows public
access to the resource.
$sel:principal:AccessPreviewFinding'
, accessPreviewFinding_principal
- The external principal that has access to a resource within the zone of
trust.
$sel:resource:AccessPreviewFinding'
, accessPreviewFinding_resource
- The resource that an external principal has access to. This is the
resource associated with the access preview.
$sel:sources:AccessPreviewFinding'
, accessPreviewFinding_sources
- The sources of the finding. This indicates how the access that generated
the finding is granted. It is populated for Amazon S3 bucket findings.
$sel:id:AccessPreviewFinding'
, accessPreviewFinding_id
- The ID of the access preview finding. This ID uniquely identifies the
element in the list of access preview findings and is not related to the
finding ID in Access Analyzer.
$sel:resourceType:AccessPreviewFinding'
, accessPreviewFinding_resourceType
- The type of the resource that can be accessed in the finding.
$sel:createdAt:AccessPreviewFinding'
, accessPreviewFinding_createdAt
- The time at which the access preview finding was created.
$sel:changeType:AccessPreviewFinding'
, accessPreviewFinding_changeType
- Provides context on how the access preview finding compares to existing
access identified in IAM Access Analyzer.
New
- The finding is for newly-introduced access.Unchanged
- The preview finding is an existing finding that would remain unchanged.Changed
- The preview finding is an existing finding with a change in status.
For example, a Changed
finding with preview status Resolved
and
existing status Active
indicates the existing Active
finding would
become Resolved
as a result of the proposed permissions change.
$sel:status:AccessPreviewFinding'
, accessPreviewFinding_status
- The preview status of the finding. This is what the status of the
finding would be after permissions deployment. For example, a Changed
finding with preview status Resolved
and existing status Active
indicates the existing Active
finding would become Resolved
as a
result of the proposed permissions change.
$sel:resourceOwnerAccount:AccessPreviewFinding'
, accessPreviewFinding_resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource. For most
Amazon Web Services resources, the owning account is the account in
which the resource was created.
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.
Instances
newAccessPreviewStatusReason Source #
Arguments
:: AccessPreviewStatusReasonCode | |
-> AccessPreviewStatusReason |
Create a value of AccessPreviewStatusReason
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:AccessPreviewStatusReason'
, accessPreviewStatusReason_code
- The reason code for the current status of the access preview.
AccessPreviewSummary
data AccessPreviewSummary Source #
Contains a summary of information about an access preview.
See: newAccessPreviewSummary
smart constructor.
Constructors
AccessPreviewSummary' (Maybe AccessPreviewStatusReason) Text Text ISO8601 AccessPreviewStatus |
Instances
newAccessPreviewSummary Source #
Arguments
:: Text | |
-> Text | |
-> UTCTime | |
-> AccessPreviewStatus | |
-> AccessPreviewSummary |
Create a value of AccessPreviewSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:statusReason:AccessPreviewSummary'
, accessPreviewSummary_statusReason
- Undocumented member.
$sel:id:AccessPreviewSummary'
, accessPreviewSummary_id
- The unique ID for the access preview.
$sel:analyzerArn:AccessPreviewSummary'
, accessPreviewSummary_analyzerArn
- The ARN of the analyzer used to generate the access preview.
$sel:createdAt:AccessPreviewSummary'
, accessPreviewSummary_createdAt
- The time at which the access preview was created.
$sel:status:AccessPreviewSummary'
, accessPreviewSummary_status
- The status of the access preview.
Creating
- The access preview creation is in progress.Completed
- The access preview is complete and previews the findings for external access to the resource.Failed
- The access preview creation has failed.
AclGrantee
data AclGrantee Source #
You specify each grantee as a type-value pair using one of these types. You can specify only one type of grantee. For more information, see PutBucketAcl.
See: newAclGrantee
smart constructor.
Constructors
AclGrantee' (Maybe Text) (Maybe Text) |
Instances
newAclGrantee :: AclGrantee Source #
Create a value of AclGrantee
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:id:AclGrantee'
, aclGrantee_id
- The value specified is the canonical user ID of an Amazon Web Services
account.
$sel:uri:AclGrantee'
, aclGrantee_uri
- Used for granting permissions to a predefined group.
AnalyzedResource
data AnalyzedResource Source #
Contains details about the analyzed resource.
See: newAnalyzedResource
smart constructor.
Constructors
AnalyzedResource' (Maybe [Text]) (Maybe Text) (Maybe [Text]) (Maybe FindingStatus) Text ResourceType ISO8601 ISO8601 ISO8601 Bool Text |
Instances
Arguments
:: Text | |
-> ResourceType | |
-> UTCTime | |
-> UTCTime | |
-> UTCTime | |
-> Bool | |
-> Text | |
-> AnalyzedResource |
Create a value of AnalyzedResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:actions:AnalyzedResource'
, analyzedResource_actions
- The actions that an external principal is granted permission to use by
the policy that generated the finding.
$sel:error:AnalyzedResource'
, analyzedResource_error
- An error message.
$sel:sharedVia:AnalyzedResource'
, analyzedResource_sharedVia
- Indicates how the access that generated the finding is granted. This is
populated for Amazon S3 bucket findings.
$sel:status:AnalyzedResource'
, analyzedResource_status
- The current status of the finding generated from the analyzed resource.
$sel:resourceArn:AnalyzedResource'
, analyzedResource_resourceArn
- The ARN of the resource that was analyzed.
$sel:resourceType:AnalyzedResource'
, analyzedResource_resourceType
- The type of the resource that was analyzed.
$sel:createdAt:AnalyzedResource'
, analyzedResource_createdAt
- The time at which the finding was created.
$sel:analyzedAt:AnalyzedResource'
, analyzedResource_analyzedAt
- The time at which the resource was analyzed.
$sel:updatedAt:AnalyzedResource'
, analyzedResource_updatedAt
- The time at which the finding was updated.
$sel:isPublic:AnalyzedResource'
, analyzedResource_isPublic
- Indicates whether the policy that generated the finding grants public
access to the resource.
$sel:resourceOwnerAccount:AnalyzedResource'
, analyzedResource_resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource.
AnalyzedResourceSummary
data AnalyzedResourceSummary Source #
Contains the ARN of the analyzed resource.
See: newAnalyzedResourceSummary
smart constructor.
Constructors
AnalyzedResourceSummary' Text Text ResourceType |
Instances
newAnalyzedResourceSummary Source #
Arguments
:: Text | |
-> Text | |
-> ResourceType | |
-> AnalyzedResourceSummary |
Create a value of AnalyzedResourceSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceArn:AnalyzedResourceSummary'
, analyzedResourceSummary_resourceArn
- The ARN of the analyzed resource.
$sel:resourceOwnerAccount:AnalyzedResourceSummary'
, analyzedResourceSummary_resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource.
$sel:resourceType:AnalyzedResourceSummary'
, analyzedResourceSummary_resourceType
- The type of resource that was analyzed.
AnalyzerSummary
data AnalyzerSummary Source #
Contains information about the analyzer.
See: newAnalyzerSummary
smart constructor.
Constructors
AnalyzerSummary' (Maybe Text) (Maybe ISO8601) (Maybe StatusReason) (Maybe (HashMap Text Text)) Text Text Type ISO8601 AnalyzerStatus |
Instances
Arguments
:: Text | |
-> Text | |
-> Type | |
-> UTCTime | |
-> AnalyzerStatus | |
-> AnalyzerSummary |
Create a value of AnalyzerSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lastResourceAnalyzed:AnalyzerSummary'
, analyzerSummary_lastResourceAnalyzed
- The resource that was most recently analyzed by the analyzer.
$sel:lastResourceAnalyzedAt:AnalyzerSummary'
, analyzerSummary_lastResourceAnalyzedAt
- The time at which the most recently analyzed resource was analyzed.
$sel:statusReason:AnalyzerSummary'
, analyzerSummary_statusReason
- The statusReason
provides more details about the current status of the
analyzer. For example, if the creation for the analyzer fails, a
Failed
status is returned. For an analyzer with organization as the
type, this failure can be due to an issue with creating the
service-linked roles required in the member accounts of the Amazon Web
Services organization.
$sel:tags:AnalyzerSummary'
, analyzerSummary_tags
- The tags added to the analyzer.
$sel:arn:AnalyzerSummary'
, analyzerSummary_arn
- The ARN of the analyzer.
$sel:name:AnalyzerSummary'
, analyzerSummary_name
- The name of the analyzer.
$sel:type':AnalyzerSummary'
, analyzerSummary_type
- The type of analyzer, which corresponds to the zone of trust chosen for
the analyzer.
$sel:createdAt:AnalyzerSummary'
, analyzerSummary_createdAt
- A timestamp for the time at which the analyzer was created.
$sel:status:AnalyzerSummary'
, analyzerSummary_status
- The status of the analyzer. An Active
analyzer successfully monitors
supported resources and generates new findings. The analyzer is
Disabled
when a user action, such as removing trusted access for
Identity and Access Management Access Analyzer from Organizations,
causes the analyzer to stop generating new findings. The status is
Creating
when the analyzer creation is in progress and Failed
when
the analyzer creation has failed.
ArchiveRuleSummary
data ArchiveRuleSummary Source #
Contains information about an archive rule.
See: newArchiveRuleSummary
smart constructor.
Instances
newArchiveRuleSummary Source #
Arguments
:: Text | |
-> UTCTime | |
-> UTCTime | |
-> ArchiveRuleSummary |
Create a value of ArchiveRuleSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ruleName:ArchiveRuleSummary'
, archiveRuleSummary_ruleName
- The name of the archive rule.
$sel:filter':ArchiveRuleSummary'
, archiveRuleSummary_filter
- A filter used to define the archive rule.
$sel:createdAt:ArchiveRuleSummary'
, archiveRuleSummary_createdAt
- The time at which the archive rule was created.
$sel:updatedAt:ArchiveRuleSummary'
, archiveRuleSummary_updatedAt
- The time at which the archive rule was last updated.
CloudTrailDetails
data CloudTrailDetails Source #
Contains information about CloudTrail access.
See: newCloudTrailDetails
smart constructor.
Instances
Arguments
:: Text | |
-> UTCTime | |
-> CloudTrailDetails |
Create a value of CloudTrailDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:endTime:CloudTrailDetails'
, cloudTrailDetails_endTime
- The end of the time range for which IAM Access Analyzer reviews your
CloudTrail events. Events with a timestamp after this time are not
considered to generate a policy. If this is not included in the request,
the default value is the current time.
$sel:trails:CloudTrailDetails'
, cloudTrailDetails_trails
- A Trail
object that contains settings for a trail.
$sel:accessRole:CloudTrailDetails'
, cloudTrailDetails_accessRole
- The ARN of the service role that IAM Access Analyzer uses to access your
CloudTrail trail and service last accessed information.
$sel:startTime:CloudTrailDetails'
, cloudTrailDetails_startTime
- The start of the time range for which IAM Access Analyzer reviews your
CloudTrail events. Events with a timestamp before this time are not
considered to generate a policy.
CloudTrailProperties
data CloudTrailProperties Source #
Contains information about CloudTrail access.
See: newCloudTrailProperties
smart constructor.
Constructors
CloudTrailProperties' [TrailProperties] ISO8601 ISO8601 |
Instances
newCloudTrailProperties Source #
Arguments
:: UTCTime | |
-> UTCTime | |
-> CloudTrailProperties |
Create a value of CloudTrailProperties
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:trailProperties:CloudTrailProperties'
, cloudTrailProperties_trailProperties
- A TrailProperties
object that contains settings for trail properties.
$sel:startTime:CloudTrailProperties'
, cloudTrailProperties_startTime
- The start of the time range for which IAM Access Analyzer reviews your
CloudTrail events. Events with a timestamp before this time are not
considered to generate a policy.
$sel:endTime:CloudTrailProperties'
, cloudTrailProperties_endTime
- The end of the time range for which IAM Access Analyzer reviews your
CloudTrail events. Events with a timestamp after this time are not
considered to generate a policy. If this is not included in the request,
the default value is the current time.
Configuration
data Configuration Source #
Access control configuration structures for your resource. You specify the configuration as a type-value pair. You can specify only one type of access control configuration.
See: newConfiguration
smart constructor.
Constructors
Instances
newConfiguration :: Configuration Source #
Create a value of Configuration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ebsSnapshot:Configuration'
, configuration_ebsSnapshot
- The access control configuration is for an Amazon EBS volume snapshot.
$sel:ecrRepository:Configuration'
, configuration_ecrRepository
- The access control configuration is for an Amazon ECR repository.
$sel:efsFileSystem:Configuration'
, configuration_efsFileSystem
- The access control configuration is for an Amazon EFS file system.
$sel:iamRole:Configuration'
, configuration_iamRole
- The access control configuration is for an IAM role.
$sel:kmsKey:Configuration'
, configuration_kmsKey
- The access control configuration is for a KMS key.
$sel:rdsDbClusterSnapshot:Configuration'
, configuration_rdsDbClusterSnapshot
- The access control configuration is for an Amazon RDS DB cluster
snapshot.
$sel:rdsDbSnapshot:Configuration'
, configuration_rdsDbSnapshot
- The access control configuration is for an Amazon RDS DB snapshot.
$sel:s3Bucket:Configuration'
, configuration_s3Bucket
- The access control configuration is for an Amazon S3 Bucket.
$sel:secretsManagerSecret:Configuration'
, configuration_secretsManagerSecret
- The access control configuration is for a Secrets Manager secret.
$sel:snsTopic:Configuration'
, configuration_snsTopic
- The access control configuration is for an Amazon SNS topic
$sel:sqsQueue:Configuration'
, configuration_sqsQueue
- The access control configuration is for an Amazon SQS queue.
Criterion
The criteria to use in the filter that defines the archive rule. For more information on available filter keys, see IAM Access Analyzer filter keys.
See: newCriterion
smart constructor.
Constructors
Criterion' (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe Bool) (Maybe (NonEmpty Text)) |
Instances
newCriterion :: Criterion Source #
Create a value of Criterion
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:contains:Criterion'
, criterion_contains
- A "contains" operator to match for the filter used to create the rule.
$sel:eq:Criterion'
, criterion_eq
- An "equals" operator to match for the filter used to create the rule.
$sel:exists:Criterion'
, criterion_exists
- An "exists" operator to match for the filter used to create the rule.
$sel:neq:Criterion'
, criterion_neq
- A "not equals" operator to match for the filter used to create the
rule.
EbsSnapshotConfiguration
data EbsSnapshotConfiguration Source #
The proposed access control configuration for an Amazon EBS volume snapshot. You can propose a configuration for a new Amazon EBS volume snapshot or an Amazon EBS volume snapshot that you own by specifying the user IDs, groups, and optional KMS encryption key. For more information, see ModifySnapshotAttribute.
See: newEbsSnapshotConfiguration
smart constructor.
Instances
newEbsSnapshotConfiguration :: EbsSnapshotConfiguration Source #
Create a value of EbsSnapshotConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:groups:EbsSnapshotConfiguration'
, ebsSnapshotConfiguration_groups
- The groups that have access to the Amazon EBS volume snapshot. If the
value all
is specified, then the Amazon EBS volume snapshot is public.
- If the configuration is for an existing Amazon EBS volume snapshot
and you do not specify the
groups
, then the access preview uses the existing sharedgroups
for the snapshot. - If the access preview is for a new resource and you do not specify
the
groups
, then the access preview considers the snapshot without anygroups
. - To propose deletion of existing shared
groups
, you can specify an empty list forgroups
.
$sel:kmsKeyId:EbsSnapshotConfiguration'
, ebsSnapshotConfiguration_kmsKeyId
- The KMS key identifier for an encrypted Amazon EBS volume snapshot. The
KMS key identifier is the key ARN, key ID, alias ARN, or alias name for
the KMS key.
- If the configuration is for an existing Amazon EBS volume snapshot
and you do not specify the
kmsKeyId
, or you specify an empty string, then the access preview uses the existingkmsKeyId
of the snapshot. - If the access preview is for a new resource and you do not specify
the
kmsKeyId
, the access preview considers the snapshot as unencrypted.
$sel:userIds:EbsSnapshotConfiguration'
, ebsSnapshotConfiguration_userIds
- The IDs of the Amazon Web Services accounts that have access to the
Amazon EBS volume snapshot.
- If the configuration is for an existing Amazon EBS volume snapshot
and you do not specify the
userIds
, then the access preview uses the existing shareduserIds
for the snapshot. - If the access preview is for a new resource and you do not specify
the
userIds
, then the access preview considers the snapshot without anyuserIds
. - To propose deletion of existing shared
accountIds
, you can specify an empty list foruserIds
.
EcrRepositoryConfiguration
data EcrRepositoryConfiguration Source #
The proposed access control configuration for an Amazon ECR repository. You can propose a configuration for a new Amazon ECR repository or an existing Amazon ECR repository that you own by specifying the Amazon ECR policy. For more information, see Repository.
- If the configuration is for an existing Amazon ECR repository and you do not specify the Amazon ECR policy, then the access preview uses the existing Amazon ECR policy for the repository.
- If the access preview is for a new resource and you do not specify the policy, then the access preview assumes an Amazon ECR repository without a policy.
- To propose deletion of an existing Amazon ECR repository policy, you can specify an empty string for the Amazon ECR policy.
See: newEcrRepositoryConfiguration
smart constructor.
Constructors
EcrRepositoryConfiguration' (Maybe Text) |
Instances
newEcrRepositoryConfiguration :: EcrRepositoryConfiguration Source #
Create a value of EcrRepositoryConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:repositoryPolicy:EcrRepositoryConfiguration'
, ecrRepositoryConfiguration_repositoryPolicy
- The JSON repository policy text to apply to the Amazon ECR repository.
For more information, see
Private repository policy examples
in the Amazon ECR User Guide.
EfsFileSystemConfiguration
data EfsFileSystemConfiguration Source #
The proposed access control configuration for an Amazon EFS file system. You can propose a configuration for a new Amazon EFS file system or an existing Amazon EFS file system that you own by specifying the Amazon EFS policy. For more information, see Using file systems in Amazon EFS.
- If the configuration is for an existing Amazon EFS file system and you do not specify the Amazon EFS policy, then the access preview uses the existing Amazon EFS policy for the file system.
- If the access preview is for a new resource and you do not specify the policy, then the access preview assumes an Amazon EFS file system without a policy.
- To propose deletion of an existing Amazon EFS file system policy, you can specify an empty string for the Amazon EFS policy.
See: newEfsFileSystemConfiguration
smart constructor.
Constructors
EfsFileSystemConfiguration' (Maybe Text) |
Instances
newEfsFileSystemConfiguration :: EfsFileSystemConfiguration Source #
Create a value of EfsFileSystemConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fileSystemPolicy:EfsFileSystemConfiguration'
, efsFileSystemConfiguration_fileSystemPolicy
- The JSON policy definition to apply to the Amazon EFS file system. For
more information on the elements that make up a file system policy, see
Amazon EFS Resource-based policies.
Finding
Contains information about a finding.
See: newFinding
smart constructor.
Constructors
Finding' (Maybe [Text]) (Maybe Text) (Maybe Bool) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe [FindingSource]) Text ResourceType (HashMap Text Text) ISO8601 ISO8601 ISO8601 FindingStatus Text |
Instances
Arguments
:: Text | |
-> ResourceType | |
-> UTCTime | |
-> UTCTime | |
-> UTCTime | |
-> FindingStatus | |
-> Text | |
-> Finding |
Create a value of Finding
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:action:Finding'
, finding_action
- The action in the analyzed policy statement that an external principal
has permission to use.
$sel:error:Finding'
, finding_error
- An error.
$sel:isPublic:Finding'
, finding_isPublic
- Indicates whether the policy that generated the finding allows public
access to the resource.
$sel:principal:Finding'
, finding_principal
- The external principal that access to a resource within the zone of
trust.
$sel:resource:Finding'
, finding_resource
- The resource that an external principal has access to.
$sel:sources:Finding'
, finding_sources
- The sources of the finding. This indicates how the access that generated
the finding is granted. It is populated for Amazon S3 bucket findings.
$sel:id:Finding'
, finding_id
- The ID of the finding.
$sel:resourceType:Finding'
, finding_resourceType
- The type of the resource identified in the finding.
$sel:condition:Finding'
, finding_condition
- The condition in the analyzed policy statement that resulted in a
finding.
$sel:createdAt:Finding'
, finding_createdAt
- The time at which the finding was generated.
$sel:analyzedAt:Finding'
, finding_analyzedAt
- The time at which the resource was analyzed.
$sel:updatedAt:Finding'
, finding_updatedAt
- The time at which the finding was updated.
$sel:status:Finding'
, finding_status
- The current status of the finding.
$sel:resourceOwnerAccount:Finding'
, finding_resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource.
FindingSource
data FindingSource Source #
The source of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.
See: newFindingSource
smart constructor.
Constructors
FindingSource' (Maybe FindingSourceDetail) FindingSourceType |
Instances
Arguments
:: FindingSourceType | |
-> FindingSource |
Create a value of FindingSource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:detail:FindingSource'
, findingSource_detail
- Includes details about how the access that generated the finding is
granted. This is populated for Amazon S3 bucket findings.
$sel:type':FindingSource'
, findingSource_type
- Indicates the type of access that generated the finding.
FindingSourceDetail
data FindingSourceDetail Source #
Includes details about how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
See: newFindingSourceDetail
smart constructor.
Constructors
FindingSourceDetail' (Maybe Text) (Maybe Text) |
Instances
newFindingSourceDetail :: FindingSourceDetail Source #
Create a value of FindingSourceDetail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accessPointAccount:FindingSourceDetail'
, findingSourceDetail_accessPointAccount
- The account of the cross-account access point that generated the
finding.
$sel:accessPointArn:FindingSourceDetail'
, findingSourceDetail_accessPointArn
- The ARN of the access point that generated the finding. The ARN format
depends on whether the ARN represents an access point or a multi-region
access point.
FindingSummary
data FindingSummary Source #
Contains information about a finding.
See: newFindingSummary
smart constructor.
Constructors
FindingSummary' (Maybe [Text]) (Maybe Text) (Maybe Bool) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe [FindingSource]) Text ResourceType (HashMap Text Text) ISO8601 ISO8601 ISO8601 FindingStatus Text |
Instances
Arguments
:: Text | |
-> ResourceType | |
-> UTCTime | |
-> UTCTime | |
-> UTCTime | |
-> FindingStatus | |
-> Text | |
-> FindingSummary |
Create a value of FindingSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:action:FindingSummary'
, findingSummary_action
- The action in the analyzed policy statement that an external principal
has permission to use.
$sel:error:FindingSummary'
, findingSummary_error
- The error that resulted in an Error finding.
$sel:isPublic:FindingSummary'
, findingSummary_isPublic
- Indicates whether the finding reports a resource that has a policy that
allows public access.
$sel:principal:FindingSummary'
, findingSummary_principal
- The external principal that has access to a resource within the zone of
trust.
$sel:resource:FindingSummary'
, findingSummary_resource
- The resource that the external principal has access to.
$sel:sources:FindingSummary'
, findingSummary_sources
- The sources of the finding. This indicates how the access that generated
the finding is granted. It is populated for Amazon S3 bucket findings.
$sel:id:FindingSummary'
, findingSummary_id
- The ID of the finding.
$sel:resourceType:FindingSummary'
, findingSummary_resourceType
- The type of the resource that the external principal has access to.
$sel:condition:FindingSummary'
, findingSummary_condition
- The condition in the analyzed policy statement that resulted in a
finding.
$sel:createdAt:FindingSummary'
, findingSummary_createdAt
- The time at which the finding was created.
$sel:analyzedAt:FindingSummary'
, findingSummary_analyzedAt
- The time at which the resource-based policy that generated the finding
was analyzed.
$sel:updatedAt:FindingSummary'
, findingSummary_updatedAt
- The time at which the finding was most recently updated.
$sel:status:FindingSummary'
, findingSummary_status
- The status of the finding.
$sel:resourceOwnerAccount:FindingSummary'
, findingSummary_resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource.
GeneratedPolicy
data GeneratedPolicy Source #
Contains the text for the generated policy.
See: newGeneratedPolicy
smart constructor.
Constructors
GeneratedPolicy' Text |
Instances
Arguments
:: Text | |
-> GeneratedPolicy |
Create a value of GeneratedPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:policy:GeneratedPolicy'
, generatedPolicy_policy
- The text to use as the content for the new policy. The policy is created
using the
CreatePolicy
action.
GeneratedPolicyProperties
data GeneratedPolicyProperties Source #
Contains the generated policy details.
See: newGeneratedPolicyProperties
smart constructor.
Constructors
GeneratedPolicyProperties' (Maybe CloudTrailProperties) (Maybe Bool) Text |
Instances
newGeneratedPolicyProperties Source #
Create a value of GeneratedPolicyProperties
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cloudTrailProperties:GeneratedPolicyProperties'
, generatedPolicyProperties_cloudTrailProperties
- Lists details about the Trail
used to generated policy.
$sel:isComplete:GeneratedPolicyProperties'
, generatedPolicyProperties_isComplete
- This value is set to true
if the generated policy contains all
possible actions for a service that IAM Access Analyzer identified from
the CloudTrail trail that you specified, and false
otherwise.
$sel:principalArn:GeneratedPolicyProperties'
, generatedPolicyProperties_principalArn
- The ARN of the IAM entity (user or role) for which you are generating a
policy.
GeneratedPolicyResult
data GeneratedPolicyResult Source #
Contains the text for the generated policy and its details.
See: newGeneratedPolicyResult
smart constructor.
Constructors
GeneratedPolicyResult' (Maybe [GeneratedPolicy]) GeneratedPolicyProperties |
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.
IamRoleConfiguration
data IamRoleConfiguration Source #
The proposed access control configuration for an IAM role. You can propose a configuration for a new IAM role or an existing IAM role that you own by specifying the trust policy. If the configuration is for a new IAM role, you must specify the trust policy. If the configuration is for an existing IAM role that you own and you do not propose the trust policy, the access preview uses the existing trust policy for the role. The proposed trust policy cannot be an empty string. For more information about role trust policy limits, see IAM and STS quotas.
See: newIamRoleConfiguration
smart constructor.
Constructors
IamRoleConfiguration' (Maybe Text) |
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.
InlineArchiveRule
data InlineArchiveRule Source #
An criterion statement in an archive rule. Each archive rule may have multiple criteria.
See: newInlineArchiveRule
smart constructor.
Constructors
InlineArchiveRule' Text (HashMap Text Criterion) |
Instances
Arguments
:: Text | |
-> InlineArchiveRule |
Create a value of InlineArchiveRule
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ruleName:InlineArchiveRule'
, inlineArchiveRule_ruleName
- The name of the rule.
$sel:filter':InlineArchiveRule'
, inlineArchiveRule_filter
- The condition and values for a criterion.
InternetConfiguration
data InternetConfiguration Source #
This configuration sets the network origin for the Amazon S3 access
point or multi-region access point to Internet
.
See: newInternetConfiguration
smart constructor.
Constructors
InternetConfiguration' | |
Instances
newInternetConfiguration :: InternetConfiguration Source #
Create a value of InternetConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
JobDetails
data JobDetails Source #
Contains details about the policy generation request.
See: newJobDetails
smart constructor.
Instances
Arguments
:: Text | |
-> JobStatus | |
-> UTCTime | |
-> JobDetails |
Create a value of JobDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:completedOn:JobDetails'
, jobDetails_completedOn
- A timestamp of when the job was completed.
$sel:jobError:JobDetails'
, jobDetails_jobError
- The job error for the policy generation request.
$sel:jobId:JobDetails'
, jobDetails_jobId
- The JobId
that is returned by the StartPolicyGeneration
operation.
The JobId
can be used with GetGeneratedPolicy
to retrieve the
generated policies or used with CancelPolicyGeneration
to cancel the
policy generation request.
$sel:status:JobDetails'
, jobDetails_status
- The status of the job request.
$sel:startedOn:JobDetails'
, jobDetails_startedOn
- A timestamp of when the job was started.
JobError
Contains the details about the policy generation error.
See: newJobError
smart constructor.
Constructors
JobError' JobErrorCode Text |
Instances
FromJSON JobError Source # | |
Generic JobError Source # | |
Read JobError Source # | |
Show JobError Source # | |
NFData JobError Source # | |
Defined in Amazonka.AccessAnalyzer.Types.JobError | |
Eq JobError Source # | |
Hashable JobError Source # | |
Defined in Amazonka.AccessAnalyzer.Types.JobError | |
type Rep JobError Source # | |
Defined in Amazonka.AccessAnalyzer.Types.JobError type Rep JobError = D1 ('MetaData "JobError" "Amazonka.AccessAnalyzer.Types.JobError" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "JobError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JobErrorCode) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Arguments
:: JobErrorCode | |
-> Text | |
-> JobError |
Create a value of JobError
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:JobError'
, jobError_code
- The job error code.
$sel:message:JobError'
, jobError_message
- Specific information about the error. For example, which service quota
was exceeded or which resource was not found.
KmsGrantConfiguration
data KmsGrantConfiguration Source #
A proposed grant configuration for a KMS key. For more information, see CreateGrant.
See: newKmsGrantConfiguration
smart constructor.
Constructors
KmsGrantConfiguration' (Maybe KmsGrantConstraints) (Maybe Text) [KmsGrantOperation] Text Text |
Instances
newKmsGrantConfiguration Source #
Arguments
:: Text | |
-> Text | |
-> KmsGrantConfiguration |
Create a value of KmsGrantConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:constraints:KmsGrantConfiguration'
, kmsGrantConfiguration_constraints
- Use this structure to propose allowing
cryptographic operations
in the grant only when the operation request includes the specified
encryption context.
$sel:retiringPrincipal:KmsGrantConfiguration'
, kmsGrantConfiguration_retiringPrincipal
- The principal that is given permission to retire the grant by using
RetireGrant
operation.
$sel:operations:KmsGrantConfiguration'
, kmsGrantConfiguration_operations
- A list of operations that the grant permits.
$sel:granteePrincipal:KmsGrantConfiguration'
, kmsGrantConfiguration_granteePrincipal
- The principal that is given permission to perform the operations that
the grant permits.
$sel:issuingAccount:KmsGrantConfiguration'
, kmsGrantConfiguration_issuingAccount
- The Amazon Web Services account under which the grant was issued. The
account is used to propose KMS grants issued by accounts other than the
owner of the key.
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.
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.
KmsKeyConfiguration
data KmsKeyConfiguration Source #
Proposed access control configuration for a KMS key. You can propose a configuration for a new KMS key or an existing KMS key that you own by specifying the key policy and KMS grant configuration. If the configuration is for an existing key and you do not specify the key policy, the access preview uses the existing policy for the key. If the access preview is for a new resource and you do not specify the key policy, then the access preview uses the default key policy. The proposed key policy cannot be an empty string. For more information, see Default key policy. For more information about key policy limits, see Resource quotas.
See: newKmsKeyConfiguration
smart constructor.
Constructors
KmsKeyConfiguration' (Maybe [KmsGrantConfiguration]) (Maybe (HashMap Text Text)) |
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.
Location
A location in a policy that is represented as a path through the JSON representation and a corresponding span.
See: newLocation
smart constructor.
Constructors
Location' [PathElement] Span |
Instances
FromJSON Location Source # | |
Generic Location Source # | |
Read Location Source # | |
Show Location Source # | |
NFData Location Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Location | |
Eq Location Source # | |
Hashable Location Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Location | |
type Rep Location Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Location type Rep Location = D1 ('MetaData "Location" "Amazonka.AccessAnalyzer.Types.Location" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "Location'" 'PrefixI 'True) (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [PathElement]) :*: S1 ('MetaSel ('Just "span") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Span))) |
Create a value of Location
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:path:Location'
, location_path
- A path in a policy, represented as a sequence of path elements.
$sel:span:Location'
, location_span
- A span in a policy.
NetworkOriginConfiguration
data NetworkOriginConfiguration Source #
The proposed InternetConfiguration
or VpcConfiguration
to apply to
the Amazon S3 access point. VpcConfiguration
does not apply to
multi-region access points. You can make the access point accessible
from the internet, or you can specify that all requests made through
that access point must originate from a specific virtual private cloud
(VPC). You can specify only one type of network configuration. For more
information, see
Creating access points.
See: newNetworkOriginConfiguration
smart constructor.
Constructors
NetworkOriginConfiguration' (Maybe InternetConfiguration) (Maybe VpcConfiguration) |
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.
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:index:PathElement'
, pathElement_index
- Refers to an index in a JSON array.
$sel:key:PathElement'
, pathElement_key
- Refers to a key in a JSON object.
$sel:substring:PathElement'
, pathElement_substring
- Refers to a substring of a literal string in a JSON object.
$sel:value:PathElement'
, pathElement_value
- Refers to the value associated with a given key in a JSON object.
PolicyGeneration
data PolicyGeneration Source #
Contains details about the policy generation status and properties.
See: newPolicyGeneration
smart constructor.
Instances
Arguments
:: Text | |
-> Text | |
-> JobStatus | |
-> UTCTime | |
-> PolicyGeneration |
Create a value of PolicyGeneration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:completedOn:PolicyGeneration'
, policyGeneration_completedOn
- A timestamp of when the policy generation was completed.
$sel:jobId:PolicyGeneration'
, policyGeneration_jobId
- The JobId
that is returned by the StartPolicyGeneration
operation.
The JobId
can be used with GetGeneratedPolicy
to retrieve the
generated policies or used with CancelPolicyGeneration
to cancel the
policy generation request.
$sel:principalArn:PolicyGeneration'
, policyGeneration_principalArn
- The ARN of the IAM entity (user or role) for which you are generating a
policy.
$sel:status:PolicyGeneration'
, policyGeneration_status
- The status of the policy generation request.
$sel:startedOn:PolicyGeneration'
, policyGeneration_startedOn
- A timestamp of when the policy generation started.
PolicyGenerationDetails
data PolicyGenerationDetails Source #
Contains the ARN details about the IAM entity for which the policy is generated.
See: newPolicyGenerationDetails
smart constructor.
Constructors
PolicyGenerationDetails' Text |
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.
Position
A position in a policy.
See: newPosition
smart constructor.
Instances
FromJSON Position Source # | |
Generic Position Source # | |
Read Position Source # | |
Show Position Source # | |
NFData Position Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Position | |
Eq Position Source # | |
Hashable Position Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Position | |
type Rep Position Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Position type Rep Position = D1 ('MetaData "Position" "Amazonka.AccessAnalyzer.Types.Position" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "Position'" 'PrefixI 'True) (S1 ('MetaSel ('Just "line") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "column") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "offset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) |
Create a value of Position
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:line:Position'
, position_line
- The line of the position, starting from 1.
$sel:column:Position'
, position_column
- The column of the position, starting from 0.
$sel:offset:Position'
, position_offset
- The offset within the policy that corresponds to the position, starting
from 0.
RdsDbClusterSnapshotAttributeValue
data RdsDbClusterSnapshotAttributeValue Source #
The values for a manual Amazon RDS DB cluster snapshot attribute.
See: newRdsDbClusterSnapshotAttributeValue
smart constructor.
Constructors
RdsDbClusterSnapshotAttributeValue' (Maybe [Text]) |
Instances
newRdsDbClusterSnapshotAttributeValue :: RdsDbClusterSnapshotAttributeValue Source #
Create a value of RdsDbClusterSnapshotAttributeValue
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accountIds:RdsDbClusterSnapshotAttributeValue'
, rdsDbClusterSnapshotAttributeValue_accountIds
- The Amazon Web Services account IDs that have access to the manual
Amazon RDS DB cluster snapshot. If the value all
is specified, then
the Amazon RDS DB cluster snapshot is public and can be copied or
restored by all Amazon Web Services accounts.
- If the configuration is for an existing Amazon RDS DB cluster
snapshot and you do not specify the
accountIds
inRdsDbClusterSnapshotAttributeValue
, then the access preview uses the existing sharedaccountIds
for the snapshot. - If the access preview is for a new resource and you do not specify
the specify the
accountIds
inRdsDbClusterSnapshotAttributeValue
, then the access preview considers the snapshot without any attributes. - To propose deletion of existing shared
accountIds
, you can specify an empty list foraccountIds
in theRdsDbClusterSnapshotAttributeValue
.
RdsDbClusterSnapshotConfiguration
data RdsDbClusterSnapshotConfiguration Source #
The proposed access control configuration for an Amazon RDS DB cluster
snapshot. You can propose a configuration for a new Amazon RDS DB
cluster snapshot or an Amazon RDS DB cluster snapshot that you own by
specifying the RdsDbClusterSnapshotAttributeValue
and optional KMS
encryption key. For more information, see
ModifyDBClusterSnapshotAttribute.
See: newRdsDbClusterSnapshotConfiguration
smart constructor.
Constructors
RdsDbClusterSnapshotConfiguration' (Maybe (HashMap Text RdsDbClusterSnapshotAttributeValue)) (Maybe Text) |
Instances
newRdsDbClusterSnapshotConfiguration :: RdsDbClusterSnapshotConfiguration Source #
Create a value of RdsDbClusterSnapshotConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attributes:RdsDbClusterSnapshotConfiguration'
, rdsDbClusterSnapshotConfiguration_attributes
- The names and values of manual DB cluster snapshot attributes. Manual DB
cluster snapshot attributes are used to authorize other Amazon Web
Services accounts to restore a manual DB cluster snapshot. The only
valid value for AttributeName
for the attribute map is restore
$sel:kmsKeyId:RdsDbClusterSnapshotConfiguration'
, rdsDbClusterSnapshotConfiguration_kmsKeyId
- The KMS key identifier for an encrypted Amazon RDS DB cluster snapshot.
The KMS key identifier is the key ARN, key ID, alias ARN, or alias name
for the KMS key.
- If the configuration is for an existing Amazon RDS DB cluster
snapshot and you do not specify the
kmsKeyId
, or you specify an empty string, then the access preview uses the existingkmsKeyId
of the snapshot. - If the access preview is for a new resource and you do not specify
the specify the
kmsKeyId
, then the access preview considers the snapshot as unencrypted.
RdsDbSnapshotAttributeValue
data RdsDbSnapshotAttributeValue Source #
The name and values of a manual Amazon RDS DB snapshot attribute. Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts to restore a manual DB snapshot.
See: newRdsDbSnapshotAttributeValue
smart constructor.
Constructors
RdsDbSnapshotAttributeValue' (Maybe [Text]) |
Instances
newRdsDbSnapshotAttributeValue :: RdsDbSnapshotAttributeValue Source #
Create a value of RdsDbSnapshotAttributeValue
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accountIds:RdsDbSnapshotAttributeValue'
, rdsDbSnapshotAttributeValue_accountIds
- The Amazon Web Services account IDs that have access to the manual
Amazon RDS DB snapshot. If the value all
is specified, then the Amazon
RDS DB snapshot is public and can be copied or restored by all Amazon
Web Services accounts.
- If the configuration is for an existing Amazon RDS DB snapshot and
you do not specify the
accountIds
inRdsDbSnapshotAttributeValue
, then the access preview uses the existing sharedaccountIds
for the snapshot. - If the access preview is for a new resource and you do not specify
the specify the
accountIds
inRdsDbSnapshotAttributeValue
, then the access preview considers the snapshot without any attributes. - To propose deletion of an existing shared
accountIds
, you can specify an empty list foraccountIds
in theRdsDbSnapshotAttributeValue
.
RdsDbSnapshotConfiguration
data RdsDbSnapshotConfiguration Source #
The proposed access control configuration for an Amazon RDS DB snapshot.
You can propose a configuration for a new Amazon RDS DB snapshot or an
Amazon RDS DB snapshot that you own by specifying the
RdsDbSnapshotAttributeValue
and optional KMS encryption key. For more
information, see
ModifyDBSnapshotAttribute.
See: newRdsDbSnapshotConfiguration
smart constructor.
Constructors
RdsDbSnapshotConfiguration' (Maybe (HashMap Text RdsDbSnapshotAttributeValue)) (Maybe Text) |
Instances
newRdsDbSnapshotConfiguration :: RdsDbSnapshotConfiguration Source #
Create a value of RdsDbSnapshotConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attributes:RdsDbSnapshotConfiguration'
, rdsDbSnapshotConfiguration_attributes
- The names and values of manual DB snapshot attributes. Manual DB
snapshot attributes are used to authorize other Amazon Web Services
accounts to restore a manual DB snapshot. The only valid value for
attributeName
for the attribute map is restore.
$sel:kmsKeyId:RdsDbSnapshotConfiguration'
, rdsDbSnapshotConfiguration_kmsKeyId
- The KMS key identifier for an encrypted Amazon RDS DB snapshot. The KMS
key identifier is the key ARN, key ID, alias ARN, or alias name for the
KMS key.
- If the configuration is for an existing Amazon RDS DB snapshot and
you do not specify the
kmsKeyId
, or you specify an empty string, then the access preview uses the existingkmsKeyId
of the snapshot. - If the access preview is for a new resource and you do not specify
the specify the
kmsKeyId
, then the access preview considers the snapshot as unencrypted.
S3AccessPointConfiguration
data S3AccessPointConfiguration Source #
The configuration for an Amazon S3 access point or multi-region access point for the bucket. You can propose up to 10 access points or multi-region access points per bucket. If the proposed Amazon S3 access point configuration is for an existing bucket, the access preview uses the proposed access point configuration in place of the existing access points. To propose an access point without a policy, you can provide an empty string as the access point policy. For more information, see Creating access points. For more information about access point policy limits, see Access points restrictions and limitations.
See: newS3AccessPointConfiguration
smart constructor.
Constructors
S3AccessPointConfiguration' (Maybe Text) (Maybe NetworkOriginConfiguration) (Maybe S3PublicAccessBlockConfiguration) |
Instances
newS3AccessPointConfiguration :: S3AccessPointConfiguration Source #
Create a value of S3AccessPointConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accessPointPolicy:S3AccessPointConfiguration'
, s3AccessPointConfiguration_accessPointPolicy
- The access point or multi-region access point policy.
$sel:networkOrigin:S3AccessPointConfiguration'
, s3AccessPointConfiguration_networkOrigin
- The proposed Internet
and VpcConfiguration
to apply to this Amazon
S3 access point. VpcConfiguration
does not apply to multi-region
access points. If the access preview is for a new resource and neither
is specified, the access preview uses Internet
for the network origin.
If the access preview is for an existing resource and neither is
specified, the access preview uses the exiting network origin.
$sel:publicAccessBlock:S3AccessPointConfiguration'
, s3AccessPointConfiguration_publicAccessBlock
- The proposed S3PublicAccessBlock
configuration to apply to this Amazon
S3 access point or multi-region access point.
S3BucketAclGrantConfiguration
data S3BucketAclGrantConfiguration Source #
A proposed access control list grant configuration for an Amazon S3 bucket. For more information, see How to Specify an ACL.
See: newS3BucketAclGrantConfiguration
smart constructor.
Constructors
S3BucketAclGrantConfiguration' AclPermission AclGrantee |
Instances
newS3BucketAclGrantConfiguration Source #
Arguments
:: AclPermission | |
-> AclGrantee | |
-> S3BucketAclGrantConfiguration |
Create a value of S3BucketAclGrantConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:permission:S3BucketAclGrantConfiguration'
, s3BucketAclGrantConfiguration_permission
- The permissions being granted.
$sel:grantee:S3BucketAclGrantConfiguration'
, s3BucketAclGrantConfiguration_grantee
- The grantee to whom you’re assigning access rights.
S3BucketConfiguration
data S3BucketConfiguration Source #
Proposed access control configuration for an Amazon S3 bucket. You can propose a configuration for a new Amazon S3 bucket or an existing Amazon S3 bucket that you own by specifying the Amazon S3 bucket policy, bucket ACLs, bucket BPA settings, Amazon S3 access points, and multi-region access points attached to the bucket. If the configuration is for an existing Amazon S3 bucket and you do not specify the Amazon S3 bucket policy, the access preview uses the existing policy attached to the bucket. If the access preview is for a new resource and you do not specify the Amazon S3 bucket policy, the access preview assumes a bucket without a policy. To propose deletion of an existing bucket policy, you can specify an empty string. For more information about bucket policy limits, see Bucket Policy Examples.
See: newS3BucketConfiguration
smart constructor.
Constructors
S3BucketConfiguration' (Maybe (HashMap Text S3AccessPointConfiguration)) (Maybe [S3BucketAclGrantConfiguration]) (Maybe Text) (Maybe S3PublicAccessBlockConfiguration) |
Instances
newS3BucketConfiguration :: S3BucketConfiguration Source #
Create a value of S3BucketConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accessPoints:S3BucketConfiguration'
, s3BucketConfiguration_accessPoints
- The configuration of Amazon S3 access points or multi-region access
points for the bucket. You can propose up to 10 new access points per
bucket.
$sel:bucketAclGrants:S3BucketConfiguration'
, s3BucketConfiguration_bucketAclGrants
- The proposed list of ACL grants for the Amazon S3 bucket. You can
propose up to 100 ACL grants per bucket. If the proposed grant
configuration is for an existing bucket, the access preview uses the
proposed list of grant configurations in place of the existing grants.
Otherwise, the access preview uses the existing grants for the bucket.
$sel:bucketPolicy:S3BucketConfiguration'
, s3BucketConfiguration_bucketPolicy
- The proposed bucket policy for the Amazon S3 bucket.
$sel:bucketPublicAccessBlock:S3BucketConfiguration'
, s3BucketConfiguration_bucketPublicAccessBlock
- The proposed block public access configuration for the Amazon S3 bucket.
S3PublicAccessBlockConfiguration
data S3PublicAccessBlockConfiguration Source #
The PublicAccessBlock
configuration to apply to this Amazon S3 bucket.
If the proposed configuration is for an existing Amazon S3 bucket and
the configuration is not specified, the access preview uses the existing
setting. If the proposed configuration is for a new bucket and the
configuration is not specified, the access preview uses false
. If the
proposed configuration is for a new access point or multi-region access
point and the access point BPA configuration is not specified, the
access preview uses true
. For more information, see
PublicAccessBlockConfiguration.
See: newS3PublicAccessBlockConfiguration
smart constructor.
Constructors
S3PublicAccessBlockConfiguration' Bool Bool |
Instances
newS3PublicAccessBlockConfiguration Source #
Arguments
:: Bool | |
-> Bool |
|
-> S3PublicAccessBlockConfiguration |
Create a value of S3PublicAccessBlockConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ignorePublicAcls:S3PublicAccessBlockConfiguration'
, s3PublicAccessBlockConfiguration_ignorePublicAcls
- Specifies whether Amazon S3 should ignore public ACLs for this bucket
and objects in this bucket.
$sel:restrictPublicBuckets:S3PublicAccessBlockConfiguration'
, s3PublicAccessBlockConfiguration_restrictPublicBuckets
- Specifies whether Amazon S3 should restrict public bucket policies for
this bucket.
SecretsManagerSecretConfiguration
data SecretsManagerSecretConfiguration Source #
The configuration for a Secrets Manager secret. For more information, see CreateSecret.
You can propose a configuration for a new secret or an existing secret
that you own by specifying the secret policy and optional KMS encryption
key. If the configuration is for an existing secret and you do not
specify the secret policy, the access preview uses the existing policy
for the secret. If the access preview is for a new resource and you do
not specify the policy, the access preview assumes a secret without a
policy. To propose deletion of an existing policy, you can specify an
empty string. If the proposed configuration is for a new secret and you
do not specify the KMS key ID, the access preview uses the Amazon Web
Services managed key aws/secretsmanager
. If you specify an empty
string for the KMS key ID, the access preview uses the Amazon Web
Services managed key of the Amazon Web Services account. For more
information about secret policy limits, see
Quotas for Secrets Manager..
See: newSecretsManagerSecretConfiguration
smart constructor.
Constructors
SecretsManagerSecretConfiguration' (Maybe Text) (Maybe Text) |
Instances
newSecretsManagerSecretConfiguration :: SecretsManagerSecretConfiguration Source #
Create a value of SecretsManagerSecretConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:kmsKeyId:SecretsManagerSecretConfiguration'
, secretsManagerSecretConfiguration_kmsKeyId
- The proposed ARN, key ID, or alias of the KMS key.
$sel:secretPolicy:SecretsManagerSecretConfiguration'
, secretsManagerSecretConfiguration_secretPolicy
- The proposed resource policy defining who can access or manage the
secret.
SnsTopicConfiguration
data SnsTopicConfiguration Source #
The proposed access control configuration for an Amazon SNS topic. You can propose a configuration for a new Amazon SNS topic or an existing Amazon SNS topic that you own by specifying the policy. If the configuration is for an existing Amazon SNS topic and you do not specify the Amazon SNS policy, then the access preview uses the existing Amazon SNS policy for the topic. If the access preview is for a new resource and you do not specify the policy, then the access preview assumes an Amazon SNS topic without a policy. To propose deletion of an existing Amazon SNS topic policy, you can specify an empty string for the Amazon SNS policy. For more information, see Topic.
See: newSnsTopicConfiguration
smart constructor.
Constructors
SnsTopicConfiguration' (Maybe Text) |
Instances
newSnsTopicConfiguration :: SnsTopicConfiguration Source #
Create a value of SnsTopicConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:topicPolicy:SnsTopicConfiguration'
, snsTopicConfiguration_topicPolicy
- The JSON policy text that defines who can access an Amazon SNS topic.
For more information, see
Example cases for Amazon SNS access control
in the Amazon SNS Developer Guide.
SortCriteria
data SortCriteria Source #
The criteria used to sort.
See: newSortCriteria
smart constructor.
Constructors
SortCriteria' (Maybe Text) (Maybe OrderBy) |
Instances
newSortCriteria :: SortCriteria Source #
Create a value of SortCriteria
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attributeName:SortCriteria'
, sortCriteria_attributeName
- The name of the attribute to sort on.
$sel:orderBy:SortCriteria'
, sortCriteria_orderBy
- The sort order, ascending or descending.
Span
A span in a policy. The span consists of a start position (inclusive) and end position (exclusive).
See: newSpan
smart constructor.
Instances
FromJSON Span Source # | |
Generic Span Source # | |
Read Span Source # | |
Show Span Source # | |
NFData Span Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Span | |
Eq Span Source # | |
Hashable Span Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Span | |
type Rep Span Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Span type Rep Span = D1 ('MetaData "Span" "Amazonka.AccessAnalyzer.Types.Span" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "Span'" 'PrefixI 'True) (S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position))) |
Create a value of Span
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:start:Span'
, span_start
- The start position of the span (inclusive).
$sel:end:Span'
, span_end
- The end position of the span (exclusive).
SqsQueueConfiguration
data SqsQueueConfiguration Source #
The proposed access control configuration for an Amazon SQS queue. You can propose a configuration for a new Amazon SQS queue or an existing Amazon SQS queue that you own by specifying the Amazon SQS policy. If the configuration is for an existing Amazon SQS queue and you do not specify the Amazon SQS policy, the access preview uses the existing Amazon SQS policy for the queue. If the access preview is for a new resource and you do not specify the policy, the access preview assumes an Amazon SQS queue without a policy. To propose deletion of an existing Amazon SQS queue policy, you can specify an empty string for the Amazon SQS policy. For more information about Amazon SQS policy limits, see Quotas related to policies.
See: newSqsQueueConfiguration
smart constructor.
Constructors
SqsQueueConfiguration' (Maybe Text) |
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.
StatusReason
data StatusReason Source #
Provides more details about the current status of the analyzer. For
example, if the creation for the analyzer fails, a Failed
status is
returned. For an analyzer with organization as the type, this failure
can be due to an issue with creating the service-linked roles required
in the member accounts of the Amazon Web Services organization.
See: newStatusReason
smart constructor.
Constructors
StatusReason' ReasonCode |
Instances
Arguments
:: ReasonCode | |
-> StatusReason |
Create a value of StatusReason
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:StatusReason'
, statusReason_code
- The reason code for the current status of the analyzer.
Substring
A reference to a substring of a literal string in a JSON document.
See: newSubstring
smart constructor.
Constructors
Substring' Int Int |
Instances
FromJSON Substring Source # | |
Generic Substring Source # | |
Read Substring Source # | |
Show Substring Source # | |
NFData Substring Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Substring | |
Eq Substring Source # | |
Hashable Substring Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Substring | |
type Rep Substring Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Substring type Rep Substring = D1 ('MetaData "Substring" "Amazonka.AccessAnalyzer.Types.Substring" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "Substring'" 'PrefixI 'True) (S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "length") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
Create a value of Substring
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:start:Substring'
, substring_start
- The start index of the substring, starting from 0.
$sel:length:Substring'
, substring_length
- The length of the substring.
Trail
Contains details about the CloudTrail trail being analyzed to generate a policy.
See: newTrail
smart constructor.
Instances
ToJSON Trail Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Trail | |
Generic Trail Source # | |
Read Trail Source # | |
Show Trail Source # | |
NFData Trail Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Trail | |
Eq Trail Source # | |
Hashable Trail Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Trail | |
type Rep Trail Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Trail type Rep Trail = D1 ('MetaData "Trail" "Amazonka.AccessAnalyzer.Types.Trail" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "Trail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "allRegions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "regions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "cloudTrailArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
Create a value of Trail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:allRegions:Trail'
, trail_allRegions
- Possible values are true
or false
. If set to true
, IAM Access
Analyzer retrieves CloudTrail data from all regions to analyze and
generate a policy.
$sel:regions:Trail'
, trail_regions
- A list of regions to get CloudTrail data from and analyze to generate a
policy.
$sel:cloudTrailArn:Trail'
, trail_cloudTrailArn
- Specifies the ARN of the trail. The format of a trail ARN is
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
.
TrailProperties
data TrailProperties Source #
Contains details about the CloudTrail trail being analyzed to generate a policy.
See: newTrailProperties
smart constructor.
Instances
Arguments
:: Text | |
-> TrailProperties |
Create a value of TrailProperties
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:allRegions:TrailProperties'
, trailProperties_allRegions
- Possible values are true
or false
. If set to true
, IAM Access
Analyzer retrieves CloudTrail data from all regions to analyze and
generate a policy.
$sel:regions:TrailProperties'
, trailProperties_regions
- A list of regions to get CloudTrail data from and analyze to generate a
policy.
$sel:cloudTrailArn:TrailProperties'
, trailProperties_cloudTrailArn
- Specifies the ARN of the trail. The format of a trail ARN is
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
.
ValidatePolicyFinding
data ValidatePolicyFinding Source #
A finding in a policy. Each finding is an actionable recommendation that can be used to improve the policy.
See: newValidatePolicyFinding
smart constructor.
Constructors
ValidatePolicyFinding' Text ValidatePolicyFindingType Text Text [Location] |
Instances
newValidatePolicyFinding Source #
Arguments
:: Text | |
-> ValidatePolicyFindingType | |
-> Text | |
-> Text | |
-> ValidatePolicyFinding |
Create a value of ValidatePolicyFinding
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:findingDetails:ValidatePolicyFinding'
, validatePolicyFinding_findingDetails
- A localized message that explains the finding and provides guidance on
how to address it.
$sel:findingType:ValidatePolicyFinding'
, validatePolicyFinding_findingType
- The impact of the finding.
Security warnings report when the policy allows access that we consider overly permissive.
Errors report when a part of the policy is not functional.
Warnings report non-security issues when a policy does not conform to policy writing best practices.
Suggestions recommend stylistic improvements in the policy that do not impact access.
$sel:issueCode:ValidatePolicyFinding'
, validatePolicyFinding_issueCode
- The issue code provides an identifier of the issue associated with this
finding.
$sel:learnMoreLink:ValidatePolicyFinding'
, validatePolicyFinding_learnMoreLink
- A link to additional documentation about the type of finding.
$sel:locations:ValidatePolicyFinding'
, validatePolicyFinding_locations
- The list of locations in the policy document that are related to the
finding. The issue code provides a summary of an issue identified by the
finding.
VpcConfiguration
data VpcConfiguration Source #
The proposed virtual private cloud (VPC) configuration for the Amazon S3 access point. VPC configuration does not apply to multi-region access points. For more information, see VpcConfiguration.
See: newVpcConfiguration
smart constructor.
Constructors
VpcConfiguration' Text |
Instances
Arguments
:: Text | |
-> VpcConfiguration |
Create a value of VpcConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:vpcId:VpcConfiguration'
, vpcConfiguration_vpcId
- If this field is specified, this access point will only allow
connections from the specified VPC ID.