Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- Waiters
- Operations
- ListFindings (Paginated)
- GetAnalyzedResource
- ListPolicyGenerations (Paginated)
- ListAccessPreviews (Paginated)
- CreateAccessPreview
- ListTagsForResource
- StartResourceScan
- DeleteArchiveRule
- UpdateArchiveRule
- GetAccessPreview
- ListAnalyzedResources (Paginated)
- StartPolicyGeneration
- ValidatePolicy (Paginated)
- DeleteAnalyzer
- UpdateFindings
- ListAnalyzers (Paginated)
- ListAccessPreviewFindings (Paginated)
- GetArchiveRule
- CreateAnalyzer
- ListArchiveRules (Paginated)
- CreateArchiveRule
- CancelPolicyGeneration
- TagResource
- ApplyArchiveRule
- GetAnalyzer
- UntagResource
- GetFinding
- GetGeneratedPolicy
- Types
- AccessPreviewStatus
- AccessPreviewStatusReasonCode
- AclPermission
- AnalyzerStatus
- FindingChangeType
- FindingSourceType
- FindingStatus
- FindingStatusUpdate
- JobErrorCode
- JobStatus
- KmsGrantOperation
- Locale
- OrderBy
- PolicyType
- ReasonCode
- ResourceType
- Type
- ValidatePolicyFindingType
- AccessPreview
- AccessPreviewFinding
- AccessPreviewStatusReason
- AccessPreviewSummary
- AclGrantee
- AnalyzedResource
- AnalyzedResourceSummary
- AnalyzerSummary
- ArchiveRuleSummary
- CloudTrailDetails
- CloudTrailProperties
- Configuration
- Criterion
- Finding
- FindingSource
- FindingSourceDetail
- FindingSummary
- GeneratedPolicy
- GeneratedPolicyProperties
- GeneratedPolicyResult
- IamRoleConfiguration
- InlineArchiveRule
- InternetConfiguration
- JobDetails
- JobError
- KmsGrantConfiguration
- KmsGrantConstraints
- KmsKeyConfiguration
- Location
- NetworkOriginConfiguration
- PathElement
- PolicyGeneration
- PolicyGenerationDetails
- Position
- S3AccessPointConfiguration
- S3BucketAclGrantConfiguration
- S3BucketConfiguration
- S3PublicAccessBlockConfiguration
- SecretsManagerSecretConfiguration
- SortCriteria
- Span
- SqsQueueConfiguration
- StatusReason
- Substring
- Trail
- TrailProperties
- ValidatePolicyFinding
- VpcConfiguration
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
- _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ConflictException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- data ListFindings = ListFindings' (Maybe Text) (Maybe SortCriteria) (Maybe (HashMap Text Criterion)) (Maybe Int) Text
- newListFindings :: Text -> ListFindings
- data ListFindingsResponse = ListFindingsResponse' (Maybe Text) Int [FindingSummary]
- newListFindingsResponse :: Int -> ListFindingsResponse
- data GetAnalyzedResource = GetAnalyzedResource' Text Text
- newGetAnalyzedResource :: Text -> Text -> GetAnalyzedResource
- data GetAnalyzedResourceResponse = GetAnalyzedResourceResponse' (Maybe AnalyzedResource) Int
- newGetAnalyzedResourceResponse :: Int -> GetAnalyzedResourceResponse
- data ListPolicyGenerations = ListPolicyGenerations' (Maybe Text) (Maybe Text) (Maybe Natural)
- newListPolicyGenerations :: ListPolicyGenerations
- data ListPolicyGenerationsResponse = ListPolicyGenerationsResponse' (Maybe Text) Int [PolicyGeneration]
- newListPolicyGenerationsResponse :: Int -> ListPolicyGenerationsResponse
- data ListAccessPreviews = ListAccessPreviews' (Maybe Text) (Maybe Int) Text
- newListAccessPreviews :: Text -> ListAccessPreviews
- data ListAccessPreviewsResponse = ListAccessPreviewsResponse' (Maybe Text) Int [AccessPreviewSummary]
- newListAccessPreviewsResponse :: Int -> ListAccessPreviewsResponse
- data CreateAccessPreview = CreateAccessPreview' (Maybe Text) Text (HashMap Text Configuration)
- newCreateAccessPreview :: Text -> CreateAccessPreview
- data CreateAccessPreviewResponse = CreateAccessPreviewResponse' Int Text
- newCreateAccessPreviewResponse :: Int -> Text -> CreateAccessPreviewResponse
- data ListTagsForResource = ListTagsForResource' Text
- newListTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResourceResponse = ListTagsForResourceResponse' (Maybe (HashMap Text Text)) Int
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data StartResourceScan = StartResourceScan' Text Text
- newStartResourceScan :: Text -> Text -> StartResourceScan
- data StartResourceScanResponse = StartResourceScanResponse' {
- newStartResourceScanResponse :: StartResourceScanResponse
- data DeleteArchiveRule = DeleteArchiveRule' (Maybe Text) Text Text
- newDeleteArchiveRule :: Text -> Text -> DeleteArchiveRule
- data DeleteArchiveRuleResponse = DeleteArchiveRuleResponse' {
- newDeleteArchiveRuleResponse :: DeleteArchiveRuleResponse
- data UpdateArchiveRule = UpdateArchiveRule' (Maybe Text) Text (HashMap Text Criterion) Text
- newUpdateArchiveRule :: Text -> Text -> UpdateArchiveRule
- data UpdateArchiveRuleResponse = UpdateArchiveRuleResponse' {
- newUpdateArchiveRuleResponse :: UpdateArchiveRuleResponse
- data GetAccessPreview = GetAccessPreview' Text Text
- newGetAccessPreview :: Text -> Text -> GetAccessPreview
- data GetAccessPreviewResponse = GetAccessPreviewResponse' Int AccessPreview
- newGetAccessPreviewResponse :: Int -> AccessPreview -> GetAccessPreviewResponse
- data ListAnalyzedResources = ListAnalyzedResources' (Maybe ResourceType) (Maybe Text) (Maybe Int) Text
- newListAnalyzedResources :: Text -> ListAnalyzedResources
- data ListAnalyzedResourcesResponse = ListAnalyzedResourcesResponse' (Maybe Text) Int [AnalyzedResourceSummary]
- newListAnalyzedResourcesResponse :: Int -> ListAnalyzedResourcesResponse
- data StartPolicyGeneration = StartPolicyGeneration' (Maybe Text) (Maybe CloudTrailDetails) PolicyGenerationDetails
- newStartPolicyGeneration :: PolicyGenerationDetails -> StartPolicyGeneration
- data StartPolicyGenerationResponse = StartPolicyGenerationResponse' Int Text
- newStartPolicyGenerationResponse :: Int -> Text -> StartPolicyGenerationResponse
- data ValidatePolicy = ValidatePolicy' (Maybe Locale) (Maybe Text) (Maybe Int) Text PolicyType
- newValidatePolicy :: Text -> PolicyType -> ValidatePolicy
- data ValidatePolicyResponse = ValidatePolicyResponse' (Maybe Text) Int [ValidatePolicyFinding]
- newValidatePolicyResponse :: Int -> ValidatePolicyResponse
- data DeleteAnalyzer = DeleteAnalyzer' (Maybe Text) Text
- newDeleteAnalyzer :: Text -> DeleteAnalyzer
- data DeleteAnalyzerResponse = DeleteAnalyzerResponse' {
- newDeleteAnalyzerResponse :: DeleteAnalyzerResponse
- data UpdateFindings = UpdateFindings' (Maybe Text) (Maybe [Text]) (Maybe Text) Text FindingStatusUpdate
- newUpdateFindings :: Text -> FindingStatusUpdate -> UpdateFindings
- data UpdateFindingsResponse = UpdateFindingsResponse' {
- newUpdateFindingsResponse :: UpdateFindingsResponse
- data ListAnalyzers = ListAnalyzers' (Maybe Text) (Maybe Type) (Maybe Int)
- newListAnalyzers :: ListAnalyzers
- data ListAnalyzersResponse = ListAnalyzersResponse' (Maybe Text) Int [AnalyzerSummary]
- newListAnalyzersResponse :: Int -> ListAnalyzersResponse
- data ListAccessPreviewFindings = ListAccessPreviewFindings' (Maybe Text) (Maybe (HashMap Text Criterion)) (Maybe Int) Text Text
- newListAccessPreviewFindings :: Text -> Text -> ListAccessPreviewFindings
- data ListAccessPreviewFindingsResponse = ListAccessPreviewFindingsResponse' (Maybe Text) Int [AccessPreviewFinding]
- newListAccessPreviewFindingsResponse :: Int -> ListAccessPreviewFindingsResponse
- data GetArchiveRule = GetArchiveRule' Text Text
- newGetArchiveRule :: Text -> Text -> GetArchiveRule
- data GetArchiveRuleResponse = GetArchiveRuleResponse' Int ArchiveRuleSummary
- newGetArchiveRuleResponse :: Int -> ArchiveRuleSummary -> GetArchiveRuleResponse
- data CreateAnalyzer = CreateAnalyzer' (Maybe Text) (Maybe [InlineArchiveRule]) (Maybe (HashMap Text Text)) Text Type
- newCreateAnalyzer :: Text -> Type -> CreateAnalyzer
- data CreateAnalyzerResponse = CreateAnalyzerResponse' (Maybe Text) Int
- newCreateAnalyzerResponse :: Int -> CreateAnalyzerResponse
- data ListArchiveRules = ListArchiveRules' (Maybe Text) (Maybe Int) Text
- newListArchiveRules :: Text -> ListArchiveRules
- data ListArchiveRulesResponse = ListArchiveRulesResponse' (Maybe Text) Int [ArchiveRuleSummary]
- newListArchiveRulesResponse :: Int -> ListArchiveRulesResponse
- data CreateArchiveRule = CreateArchiveRule' (Maybe Text) Text (HashMap Text Criterion) Text
- newCreateArchiveRule :: Text -> Text -> CreateArchiveRule
- data CreateArchiveRuleResponse = CreateArchiveRuleResponse' {
- newCreateArchiveRuleResponse :: CreateArchiveRuleResponse
- data CancelPolicyGeneration = CancelPolicyGeneration' Text
- newCancelPolicyGeneration :: Text -> CancelPolicyGeneration
- data CancelPolicyGenerationResponse = CancelPolicyGenerationResponse' Int
- newCancelPolicyGenerationResponse :: Int -> CancelPolicyGenerationResponse
- data TagResource = TagResource' Text (HashMap Text Text)
- newTagResource :: Text -> TagResource
- data TagResourceResponse = TagResourceResponse' Int
- newTagResourceResponse :: Int -> TagResourceResponse
- data ApplyArchiveRule = ApplyArchiveRule' (Maybe Text) Text Text
- newApplyArchiveRule :: Text -> Text -> ApplyArchiveRule
- data ApplyArchiveRuleResponse = ApplyArchiveRuleResponse' {
- newApplyArchiveRuleResponse :: ApplyArchiveRuleResponse
- data GetAnalyzer = GetAnalyzer' Text
- newGetAnalyzer :: Text -> GetAnalyzer
- data GetAnalyzerResponse = GetAnalyzerResponse' Int AnalyzerSummary
- newGetAnalyzerResponse :: Int -> AnalyzerSummary -> GetAnalyzerResponse
- data UntagResource = UntagResource' Text [Text]
- newUntagResource :: Text -> UntagResource
- data UntagResourceResponse = UntagResourceResponse' Int
- newUntagResourceResponse :: Int -> UntagResourceResponse
- 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 GeneratedPolicyResult JobDetails
- newGetGeneratedPolicyResponse :: Int -> GeneratedPolicyResult -> JobDetails -> GetGeneratedPolicyResponse
- newtype AccessPreviewStatus where
- newtype AccessPreviewStatusReasonCode where
- newtype AclPermission where
- AclPermission' { }
- pattern AclPermission_FULL_CONTROL :: AclPermission
- pattern AclPermission_READ :: AclPermission
- pattern AclPermission_READ_ACP :: AclPermission
- pattern AclPermission_WRITE :: AclPermission
- pattern AclPermission_WRITE_ACP :: AclPermission
- newtype AnalyzerStatus where
- AnalyzerStatus' { }
- pattern AnalyzerStatus_ACTIVE :: AnalyzerStatus
- pattern AnalyzerStatus_CREATING :: AnalyzerStatus
- pattern AnalyzerStatus_DISABLED :: AnalyzerStatus
- pattern AnalyzerStatus_FAILED :: AnalyzerStatus
- newtype FindingChangeType where
- FindingChangeType' { }
- pattern FindingChangeType_CHANGED :: FindingChangeType
- pattern FindingChangeType_NEW :: FindingChangeType
- pattern FindingChangeType_UNCHANGED :: FindingChangeType
- newtype FindingSourceType where
- FindingSourceType' { }
- pattern FindingSourceType_BUCKET_ACL :: FindingSourceType
- pattern FindingSourceType_POLICY :: FindingSourceType
- pattern FindingSourceType_S3_ACCESS_POINT :: FindingSourceType
- newtype FindingStatus where
- FindingStatus' { }
- pattern FindingStatus_ACTIVE :: FindingStatus
- pattern FindingStatus_ARCHIVED :: FindingStatus
- pattern FindingStatus_RESOLVED :: FindingStatus
- newtype FindingStatusUpdate where
- newtype JobErrorCode where
- JobErrorCode' { }
- pattern JobErrorCode_AUTHORIZATION_ERROR :: JobErrorCode
- pattern JobErrorCode_RESOURCE_NOT_FOUND_ERROR :: JobErrorCode
- pattern JobErrorCode_SERVICE_ERROR :: JobErrorCode
- pattern JobErrorCode_SERVICE_QUOTA_EXCEEDED_ERROR :: JobErrorCode
- newtype JobStatus where
- JobStatus' { }
- pattern JobStatus_CANCELED :: JobStatus
- pattern JobStatus_FAILED :: JobStatus
- pattern JobStatus_IN_PROGRESS :: JobStatus
- pattern JobStatus_SUCCEEDED :: JobStatus
- newtype KmsGrantOperation where
- KmsGrantOperation' { }
- pattern KmsGrantOperation_CreateGrant :: KmsGrantOperation
- pattern KmsGrantOperation_Decrypt :: KmsGrantOperation
- pattern KmsGrantOperation_DescribeKey :: KmsGrantOperation
- pattern KmsGrantOperation_Encrypt :: KmsGrantOperation
- pattern KmsGrantOperation_GenerateDataKey :: KmsGrantOperation
- pattern KmsGrantOperation_GenerateDataKeyPair :: KmsGrantOperation
- pattern KmsGrantOperation_GenerateDataKeyPairWithoutPlaintext :: KmsGrantOperation
- pattern KmsGrantOperation_GenerateDataKeyWithoutPlaintext :: KmsGrantOperation
- pattern KmsGrantOperation_GetPublicKey :: KmsGrantOperation
- pattern KmsGrantOperation_ReEncryptFrom :: KmsGrantOperation
- pattern KmsGrantOperation_ReEncryptTo :: KmsGrantOperation
- pattern KmsGrantOperation_RetireGrant :: KmsGrantOperation
- pattern KmsGrantOperation_Sign :: KmsGrantOperation
- pattern KmsGrantOperation_Verify :: KmsGrantOperation
- newtype Locale where
- Locale' {
- fromLocale :: Text
- pattern Locale_DE :: Locale
- pattern Locale_EN :: Locale
- pattern Locale_ES :: Locale
- pattern Locale_FR :: Locale
- pattern Locale_IT :: Locale
- pattern Locale_JA :: Locale
- pattern Locale_KO :: Locale
- pattern Locale_PT_BR :: Locale
- pattern Locale_ZH_CN :: Locale
- pattern Locale_ZH_TW :: Locale
- Locale' {
- newtype OrderBy where
- OrderBy' {
- fromOrderBy :: Text
- pattern OrderBy_ASC :: OrderBy
- pattern OrderBy_DESC :: OrderBy
- OrderBy' {
- newtype PolicyType where
- PolicyType' { }
- pattern PolicyType_IDENTITY_POLICY :: PolicyType
- pattern PolicyType_RESOURCE_POLICY :: PolicyType
- pattern PolicyType_SERVICE_CONTROL_POLICY :: PolicyType
- newtype ReasonCode where
- newtype ResourceType where
- ResourceType' { }
- pattern ResourceType_AWS__IAM__Role :: ResourceType
- pattern ResourceType_AWS__KMS__Key :: ResourceType
- pattern ResourceType_AWS__Lambda__Function :: ResourceType
- pattern ResourceType_AWS__Lambda__LayerVersion :: ResourceType
- pattern ResourceType_AWS__S3__Bucket :: ResourceType
- pattern ResourceType_AWS__SQS__Queue :: ResourceType
- pattern ResourceType_AWS__SecretsManager__Secret :: ResourceType
- newtype Type where
- Type' { }
- pattern Type_ACCOUNT :: Type
- pattern Type_ORGANIZATION :: Type
- newtype ValidatePolicyFindingType where
- ValidatePolicyFindingType' { }
- pattern ValidatePolicyFindingType_ERROR :: ValidatePolicyFindingType
- pattern ValidatePolicyFindingType_SECURITY_WARNING :: ValidatePolicyFindingType
- pattern ValidatePolicyFindingType_SUGGESTION :: ValidatePolicyFindingType
- pattern ValidatePolicyFindingType_WARNING :: ValidatePolicyFindingType
- data AccessPreview = AccessPreview' (Maybe AccessPreviewStatusReason) Text (HashMap Text Configuration) POSIX Text AccessPreviewStatus
- newAccessPreview :: Text -> UTCTime -> Text -> AccessPreviewStatus -> AccessPreview
- data AccessPreviewFinding = AccessPreviewFinding' (Maybe FindingStatus) (Maybe Text) (Maybe Bool) (Maybe [Text]) (Maybe [FindingSource]) (Maybe Text) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe (HashMap Text Text)) FindingChangeType POSIX Text Text ResourceType FindingStatus
- newAccessPreviewFinding :: FindingChangeType -> UTCTime -> Text -> Text -> ResourceType -> FindingStatus -> AccessPreviewFinding
- data AccessPreviewStatusReason = AccessPreviewStatusReason' AccessPreviewStatusReasonCode
- newAccessPreviewStatusReason :: AccessPreviewStatusReasonCode -> AccessPreviewStatusReason
- data AccessPreviewSummary = AccessPreviewSummary' (Maybe AccessPreviewStatusReason) Text POSIX Text AccessPreviewStatus
- newAccessPreviewSummary :: Text -> UTCTime -> Text -> AccessPreviewStatus -> AccessPreviewSummary
- data AclGrantee = AclGrantee' (Maybe Text) (Maybe Text)
- newAclGrantee :: AclGrantee
- data AnalyzedResource = AnalyzedResource' (Maybe FindingStatus) (Maybe [Text]) (Maybe Text) (Maybe [Text]) POSIX POSIX Bool Text Text ResourceType POSIX
- newAnalyzedResource :: UTCTime -> UTCTime -> Bool -> Text -> Text -> ResourceType -> UTCTime -> AnalyzedResource
- data AnalyzedResourceSummary = AnalyzedResourceSummary' Text Text ResourceType
- newAnalyzedResourceSummary :: Text -> Text -> ResourceType -> AnalyzedResourceSummary
- data AnalyzerSummary = AnalyzerSummary' (Maybe POSIX) (Maybe Text) (Maybe StatusReason) (Maybe (HashMap Text Text)) Text POSIX Text AnalyzerStatus Type
- newAnalyzerSummary :: Text -> UTCTime -> Text -> AnalyzerStatus -> Type -> AnalyzerSummary
- data ArchiveRuleSummary = ArchiveRuleSummary' POSIX (HashMap Text Criterion) Text POSIX
- newArchiveRuleSummary :: UTCTime -> Text -> UTCTime -> ArchiveRuleSummary
- data CloudTrailDetails = CloudTrailDetails' (Maybe POSIX) Text POSIX [Trail]
- newCloudTrailDetails :: Text -> UTCTime -> CloudTrailDetails
- data CloudTrailProperties = CloudTrailProperties' POSIX POSIX [TrailProperties]
- newCloudTrailProperties :: UTCTime -> UTCTime -> CloudTrailProperties
- data Configuration = Configuration' (Maybe KmsKeyConfiguration) (Maybe SecretsManagerSecretConfiguration) (Maybe SqsQueueConfiguration) (Maybe S3BucketConfiguration) (Maybe IamRoleConfiguration)
- newConfiguration :: Configuration
- data Criterion = Criterion' (Maybe (NonEmpty Text)) (Maybe Bool) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text))
- newCriterion :: Criterion
- data Finding = Finding' (Maybe Text) (Maybe Bool) (Maybe [Text]) (Maybe [FindingSource]) (Maybe Text) (Maybe (HashMap Text Text)) POSIX (HashMap Text Text) POSIX Text Text ResourceType FindingStatus POSIX
- newFinding :: UTCTime -> UTCTime -> Text -> Text -> ResourceType -> FindingStatus -> UTCTime -> Finding
- data FindingSource = FindingSource' (Maybe FindingSourceDetail) FindingSourceType
- newFindingSource :: FindingSourceType -> FindingSource
- data FindingSourceDetail = FindingSourceDetail' (Maybe Text)
- newFindingSourceDetail :: FindingSourceDetail
- data FindingSummary = FindingSummary' (Maybe Text) (Maybe Bool) (Maybe [Text]) (Maybe [FindingSource]) (Maybe Text) (Maybe (HashMap Text Text)) POSIX (HashMap Text Text) POSIX Text Text ResourceType FindingStatus POSIX
- newFindingSummary :: UTCTime -> UTCTime -> Text -> Text -> ResourceType -> FindingStatus -> UTCTime -> FindingSummary
- data GeneratedPolicy = GeneratedPolicy' Text
- newGeneratedPolicy :: Text -> GeneratedPolicy
- data GeneratedPolicyProperties = GeneratedPolicyProperties' (Maybe Bool) (Maybe CloudTrailProperties) Text
- newGeneratedPolicyProperties :: Text -> GeneratedPolicyProperties
- data GeneratedPolicyResult = GeneratedPolicyResult' (Maybe [GeneratedPolicy]) GeneratedPolicyProperties
- newGeneratedPolicyResult :: GeneratedPolicyProperties -> GeneratedPolicyResult
- data IamRoleConfiguration = IamRoleConfiguration' (Maybe Text)
- newIamRoleConfiguration :: IamRoleConfiguration
- data InlineArchiveRule = InlineArchiveRule' (HashMap Text Criterion) Text
- newInlineArchiveRule :: Text -> InlineArchiveRule
- data InternetConfiguration = InternetConfiguration' {
- newInternetConfiguration :: InternetConfiguration
- data JobDetails = JobDetails' (Maybe POSIX) (Maybe JobError) Text POSIX JobStatus
- newJobDetails :: Text -> UTCTime -> JobStatus -> JobDetails
- data JobError = JobError' JobErrorCode Text
- newJobError :: JobErrorCode -> Text -> JobError
- data KmsGrantConfiguration = KmsGrantConfiguration' (Maybe Text) (Maybe KmsGrantConstraints) Text Text [KmsGrantOperation]
- 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 Text) (Maybe Substring) (Maybe Text) (Maybe Int)
- newPathElement :: PathElement
- data PolicyGeneration = PolicyGeneration' (Maybe POSIX) Text Text POSIX JobStatus
- newPolicyGeneration :: Text -> Text -> UTCTime -> JobStatus -> PolicyGeneration
- data PolicyGenerationDetails = PolicyGenerationDetails' Text
- newPolicyGenerationDetails :: Text -> PolicyGenerationDetails
- data Position = Position' Int Int Int
- newPosition :: Int -> Int -> Int -> Position
- data S3AccessPointConfiguration = S3AccessPointConfiguration' (Maybe S3PublicAccessBlockConfiguration) (Maybe Text) (Maybe NetworkOriginConfiguration)
- newS3AccessPointConfiguration :: S3AccessPointConfiguration
- data S3BucketAclGrantConfiguration = S3BucketAclGrantConfiguration' AclGrantee AclPermission
- newS3BucketAclGrantConfiguration :: AclGrantee -> AclPermission -> S3BucketAclGrantConfiguration
- data S3BucketConfiguration = S3BucketConfiguration' (Maybe (HashMap Text S3AccessPointConfiguration)) (Maybe S3PublicAccessBlockConfiguration) (Maybe [S3BucketAclGrantConfiguration]) (Maybe Text)
- newS3BucketConfiguration :: S3BucketConfiguration
- data S3PublicAccessBlockConfiguration = S3PublicAccessBlockConfiguration' Bool Bool
- newS3PublicAccessBlockConfiguration :: Bool -> Bool -> S3PublicAccessBlockConfiguration
- data SecretsManagerSecretConfiguration = SecretsManagerSecretConfiguration' (Maybe Text) (Maybe Text)
- newSecretsManagerSecretConfiguration :: SecretsManagerSecretConfiguration
- data SortCriteria = SortCriteria' (Maybe OrderBy) (Maybe Text)
- 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 [Text]) (Maybe Bool) Text
- newTrail :: Text -> Trail
- data TrailProperties = TrailProperties' (Maybe [Text]) (Maybe Bool) 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
.
ValidationException
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Validation exception error.
AccessDeniedException
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You do not have sufficient access to perform this action.
ConflictException
_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A conflict exception error.
ServiceQuotaExceededException
_ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Service quote met error.
ThrottlingException
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Throttling limit exceeded error.
InternalServerException
_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Internal server error.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified resource could not be found.
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.
ListFindings (Paginated)
data ListFindings Source #
Retrieves a list of findings generated by the specified analyzer.
See: newListFindings
smart constructor.
Instances
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:
$sel:nextToken:ListFindings'
, listFindings_nextToken
- A token used for pagination of results returned.
$sel:sort:ListFindings'
, listFindings_sort
- The sort order for the findings returned.
$sel:filter':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.
$sel:analyzerArn:ListFindings'
, listFindings_analyzerArn
- The
ARN of the analyzer
to retrieve findings from.
data ListFindingsResponse Source #
The response to the request.
See: newListFindingsResponse
smart constructor.
Instances
newListFindingsResponse Source #
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:
$sel:nextToken: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.
GetAnalyzedResource
data GetAnalyzedResource Source #
Retrieves an analyzed resource.
See: newGetAnalyzedResource
smart constructor.
Instances
newGetAnalyzedResource Source #
:: 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:
$sel:analyzerArn:GetAnalyzedResource'
, getAnalyzedResource_analyzerArn
- The
ARN of the analyzer
to retrieve information from.
$sel:resourceArn:GetAnalyzedResource'
, getAnalyzedResource_resourceArn
- The ARN of the resource to retrieve information about.
data GetAnalyzedResourceResponse Source #
The response to the request.
See: newGetAnalyzedResourceResponse
smart constructor.
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:
$sel:resource: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.
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:nextToken:ListPolicyGenerations'
, listPolicyGenerations_nextToken
- A token used for pagination of results returned.
$sel:principalArn: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.
$sel:maxResults:ListPolicyGenerations'
, listPolicyGenerations_maxResults
- The maximum number of results to return in the response.
data ListPolicyGenerationsResponse Source #
See: newListPolicyGenerationsResponse
smart constructor.
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:
$sel:nextToken: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.
ListAccessPreviews (Paginated)
data ListAccessPreviews Source #
See: newListAccessPreviews
smart constructor.
Instances
newListAccessPreviews Source #
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:nextToken:ListAccessPreviews'
, listAccessPreviews_nextToken
- A token used for pagination of results returned.
$sel:maxResults:ListAccessPreviews'
, listAccessPreviews_maxResults
- The maximum number of results to return in the response.
$sel:analyzerArn:ListAccessPreviews'
, listAccessPreviews_analyzerArn
- The
ARN of the analyzer
used to generate the access preview.
data ListAccessPreviewsResponse Source #
See: newListAccessPreviewsResponse
smart constructor.
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:
$sel:nextToken: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.
CreateAccessPreview
data CreateAccessPreview Source #
See: newCreateAccessPreview
smart constructor.
Instances
newCreateAccessPreview Source #
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.
$sel:analyzerArn: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.
$sel:configurations: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.
Instances
newCreateAccessPreviewResponse Source #
:: 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.
$sel:id:CreateAccessPreviewResponse'
, createAccessPreviewResponse_id
- The unique ID for the access preview.
ListTagsForResource
data ListTagsForResource Source #
Retrieves a list of tags applied to the specified resource.
See: newListTagsForResource
smart constructor.
Instances
newListTagsForResource Source #
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:
$sel:resourceArn: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:
$sel:tags:ListTagsForResourceResponse'
, listTagsForResourceResponse_tags
- The tags that are applied to the specified resource.
$sel:httpStatus:ListTagsForResourceResponse'
, listTagsForResourceResponse_httpStatus
- The response's http status code.
StartResourceScan
data StartResourceScan Source #
Starts a scan of the policies applied to the specified resource.
See: newStartResourceScan
smart constructor.
Instances
:: 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:
$sel:analyzerArn:StartResourceScan'
, startResourceScan_analyzerArn
- The
ARN of the analyzer
to use to scan the policies applied to the specified resource.
$sel:resourceArn:StartResourceScan'
, startResourceScan_resourceArn
- The ARN of the resource to scan.
data StartResourceScanResponse Source #
See: newStartResourceScanResponse
smart constructor.
Instances
newStartResourceScanResponse :: StartResourceScanResponse Source #
Create a value of StartResourceScanResponse
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.
Instances
:: Text | |
-> Text | |
-> DeleteArchiveRule |
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.
$sel:ruleName:DeleteArchiveRule'
, deleteArchiveRule_ruleName
- The name of the rule to delete.
data DeleteArchiveRuleResponse Source #
See: newDeleteArchiveRuleResponse
smart constructor.
Instances
newDeleteArchiveRuleResponse :: DeleteArchiveRuleResponse Source #
Create a value of DeleteArchiveRuleResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
UpdateArchiveRule
data UpdateArchiveRule Source #
Updates the specified archive rule.
See: newUpdateArchiveRule
smart constructor.
Instances
:: Text | |
-> Text | |
-> UpdateArchiveRule |
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.
$sel:filter':UpdateArchiveRule'
, updateArchiveRule_filter
- A filter to match for the rules to update. Only rules that match the
filter are updated.
$sel:ruleName:UpdateArchiveRule'
, updateArchiveRule_ruleName
- The name of the rule to update.
data UpdateArchiveRuleResponse Source #
See: newUpdateArchiveRuleResponse
smart constructor.
Instances
newUpdateArchiveRuleResponse :: UpdateArchiveRuleResponse Source #
Create a value of UpdateArchiveRuleResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
GetAccessPreview
data GetAccessPreview Source #
See: newGetAccessPreview
smart constructor.
Instances
:: Text | |
-> Text | |
-> GetAccessPreview |
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.
$sel:analyzerArn:GetAccessPreview'
, getAccessPreview_analyzerArn
- The
ARN of the analyzer
used to generate the access preview.
data GetAccessPreviewResponse Source #
See: newGetAccessPreviewResponse
smart constructor.
Instances
newGetAccessPreviewResponse Source #
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.
ListAnalyzedResources (Paginated)
data ListAnalyzedResources Source #
Retrieves a list of resources that have been analyzed.
See: newListAnalyzedResources
smart constructor.
Instances
newListAnalyzedResources Source #
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:resourceType:ListAnalyzedResources'
, listAnalyzedResources_resourceType
- The type of resource.
$sel:nextToken:ListAnalyzedResources'
, listAnalyzedResources_nextToken
- A token used for pagination of results returned.
$sel:maxResults:ListAnalyzedResources'
, listAnalyzedResources_maxResults
- The maximum number of results to return in the response.
$sel:analyzerArn: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.
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:
$sel:nextToken: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.
StartPolicyGeneration
data StartPolicyGeneration Source #
See: newStartPolicyGeneration
smart constructor.
Instances
newStartPolicyGeneration Source #
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.
Instances
newStartPolicyGenerationResponse Source #
:: 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.
$sel:jobId: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.
ValidatePolicy (Paginated)
data ValidatePolicy Source #
See: newValidatePolicy
smart constructor.
Instances
:: 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:nextToken:ValidatePolicy'
, validatePolicy_nextToken
- A token used for pagination of results returned.
$sel:maxResults:ValidatePolicy'
, validatePolicy_maxResults
- The maximum number of results to return in the response.
$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.
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:
$sel:nextToken: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.
DeleteAnalyzer
data DeleteAnalyzer Source #
Deletes an analyzer.
See: newDeleteAnalyzer
smart constructor.
Instances
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.
Instances
Eq DeleteAnalyzerResponse Source # | |
Defined in Amazonka.AccessAnalyzer.DeleteAnalyzer | |
Read DeleteAnalyzerResponse Source # | |
Show DeleteAnalyzerResponse Source # | |
Defined in Amazonka.AccessAnalyzer.DeleteAnalyzer showsPrec :: Int -> DeleteAnalyzerResponse -> ShowS # show :: DeleteAnalyzerResponse -> String # showList :: [DeleteAnalyzerResponse] -> ShowS # | |
Generic DeleteAnalyzerResponse Source # | |
Defined in Amazonka.AccessAnalyzer.DeleteAnalyzer type Rep DeleteAnalyzerResponse :: Type -> Type # | |
NFData DeleteAnalyzerResponse Source # | |
Defined in Amazonka.AccessAnalyzer.DeleteAnalyzer rnf :: DeleteAnalyzerResponse -> () # | |
type Rep DeleteAnalyzerResponse Source # | |
Defined in Amazonka.AccessAnalyzer.DeleteAnalyzer |
newDeleteAnalyzerResponse :: DeleteAnalyzerResponse Source #
Create a value of DeleteAnalyzerResponse
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.
Instances
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.
$sel:resourceArn:UpdateFindings'
, updateFindings_resourceArn
- The ARN of the resource identified in the finding.
$sel:analyzerArn:UpdateFindings'
, updateFindings_analyzerArn
- The
ARN of the analyzer
that generated the findings to update.
$sel:status: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.
Instances
Eq UpdateFindingsResponse Source # | |
Defined in Amazonka.AccessAnalyzer.UpdateFindings | |
Read UpdateFindingsResponse Source # | |
Show UpdateFindingsResponse Source # | |
Defined in Amazonka.AccessAnalyzer.UpdateFindings showsPrec :: Int -> UpdateFindingsResponse -> ShowS # show :: UpdateFindingsResponse -> String # showList :: [UpdateFindingsResponse] -> ShowS # | |
Generic UpdateFindingsResponse Source # | |
Defined in Amazonka.AccessAnalyzer.UpdateFindings type Rep UpdateFindingsResponse :: Type -> Type # | |
NFData UpdateFindingsResponse Source # | |
Defined in Amazonka.AccessAnalyzer.UpdateFindings rnf :: UpdateFindingsResponse -> () # | |
type Rep UpdateFindingsResponse Source # | |
Defined in Amazonka.AccessAnalyzer.UpdateFindings |
newUpdateFindingsResponse :: UpdateFindingsResponse Source #
Create a value of UpdateFindingsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
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:nextToken:ListAnalyzers'
, listAnalyzers_nextToken
- A token used for pagination of results returned.
$sel:type':ListAnalyzers'
, listAnalyzers_type
- The type of analyzer.
$sel:maxResults:ListAnalyzers'
, listAnalyzers_maxResults
- The maximum number of results to return in the response.
data ListAnalyzersResponse Source #
The response to the request.
See: newListAnalyzersResponse
smart constructor.
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:
$sel:nextToken: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.
ListAccessPreviewFindings (Paginated)
data ListAccessPreviewFindings Source #
See: newListAccessPreviewFindings
smart constructor.
Instances
newListAccessPreviewFindings Source #
:: 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:
$sel:nextToken:ListAccessPreviewFindings'
, listAccessPreviewFindings_nextToken
- A token used for pagination of results returned.
$sel:filter':ListAccessPreviewFindings'
, listAccessPreviewFindings_filter
- Criteria to filter the returned findings.
$sel:maxResults:ListAccessPreviewFindings'
, listAccessPreviewFindings_maxResults
- The maximum number of results to return in the response.
$sel:accessPreviewId:ListAccessPreviewFindings'
, listAccessPreviewFindings_accessPreviewId
- The unique ID for the access preview.
$sel:analyzerArn:ListAccessPreviewFindings'
, listAccessPreviewFindings_analyzerArn
- The
ARN of the analyzer
used to generate the access.
data ListAccessPreviewFindingsResponse Source #
See: newListAccessPreviewFindingsResponse
smart constructor.
Instances
newListAccessPreviewFindingsResponse Source #
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:
$sel:nextToken: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.
GetArchiveRule
data GetArchiveRule Source #
Retrieves an archive rule.
See: newGetArchiveRule
smart constructor.
Instances
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.
$sel:ruleName:GetArchiveRule'
, getArchiveRule_ruleName
- The name of the rule to retrieve.
data GetArchiveRuleResponse Source #
The response to the request.
See: newGetArchiveRuleResponse
smart constructor.
Instances
newGetArchiveRuleResponse Source #
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.
CreateAnalyzer
data CreateAnalyzer Source #
Creates an analyzer.
See: newCreateAnalyzer
smart constructor.
Instances
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:clientToken:CreateAnalyzer'
, createAnalyzer_clientToken
- A client token.
$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:tags:CreateAnalyzer'
, createAnalyzer_tags
- The tags to apply to the analyzer.
$sel:analyzerName:CreateAnalyzer'
, createAnalyzer_analyzerName
- The name of the analyzer to create.
$sel:type':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.
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:
$sel:arn: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.
ListArchiveRules (Paginated)
data ListArchiveRules Source #
Retrieves a list of archive rules created for the specified analyzer.
See: newListArchiveRules
smart constructor.
Instances
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:nextToken:ListArchiveRules'
, listArchiveRules_nextToken
- A token used for pagination of results returned.
$sel:maxResults:ListArchiveRules'
, listArchiveRules_maxResults
- The maximum number of results to return in the request.
$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.
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:
$sel:nextToken: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.
CreateArchiveRule
data CreateArchiveRule Source #
Creates an archive rule.
See: newCreateArchiveRule
smart constructor.
Instances
:: Text | |
-> Text | |
-> CreateArchiveRule |
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.
$sel:filter':CreateArchiveRule'
, createArchiveRule_filter
- The criteria for the rule.
$sel:ruleName:CreateArchiveRule'
, createArchiveRule_ruleName
- The name of the rule to create.
data CreateArchiveRuleResponse Source #
See: newCreateArchiveRuleResponse
smart constructor.
Instances
newCreateArchiveRuleResponse :: CreateArchiveRuleResponse Source #
Create a value of CreateArchiveRuleResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
CancelPolicyGeneration
data CancelPolicyGeneration Source #
See: newCancelPolicyGeneration
smart constructor.
Instances
newCancelPolicyGeneration Source #
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:
$sel:jobId: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.
Instances
Eq CancelPolicyGenerationResponse Source # | |
Read CancelPolicyGenerationResponse Source # | |
Show CancelPolicyGenerationResponse Source # | |
Generic CancelPolicyGenerationResponse Source # | |
NFData CancelPolicyGenerationResponse Source # | |
Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration rnf :: CancelPolicyGenerationResponse -> () # | |
type Rep CancelPolicyGenerationResponse Source # | |
Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration type Rep CancelPolicyGenerationResponse = D1 ('MetaData "CancelPolicyGenerationResponse" "Amazonka.AccessAnalyzer.CancelPolicyGeneration" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "CancelPolicyGenerationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.
TagResource
data TagResource Source #
Adds a tag to the specified resource.
See: newTagResource
smart constructor.
Instances
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:
$sel:resourceArn:TagResource'
, tagResource_resourceArn
- The ARN of the resource to add the tag to.
$sel:tags:TagResource'
, tagResource_tags
- The tags to add to the resource.
data TagResourceResponse Source #
The response to the request.
See: newTagResourceResponse
smart constructor.
Instances
newTagResourceResponse Source #
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.
ApplyArchiveRule
data ApplyArchiveRule Source #
Retroactively applies an archive rule.
See: newApplyArchiveRule
smart constructor.
Instances
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.
$sel:analyzerArn:ApplyArchiveRule'
, applyArchiveRule_analyzerArn
- The Amazon resource name (ARN) of the analyzer.
$sel:ruleName:ApplyArchiveRule'
, applyArchiveRule_ruleName
- The name of the rule to apply.
data ApplyArchiveRuleResponse Source #
See: newApplyArchiveRuleResponse
smart constructor.
Instances
Eq ApplyArchiveRuleResponse Source # | |
Read ApplyArchiveRuleResponse Source # | |
Show ApplyArchiveRuleResponse Source # | |
Defined in Amazonka.AccessAnalyzer.ApplyArchiveRule showsPrec :: Int -> ApplyArchiveRuleResponse -> ShowS # show :: ApplyArchiveRuleResponse -> String # showList :: [ApplyArchiveRuleResponse] -> ShowS # | |
Generic ApplyArchiveRuleResponse Source # | |
Defined in Amazonka.AccessAnalyzer.ApplyArchiveRule type Rep ApplyArchiveRuleResponse :: Type -> Type # | |
NFData ApplyArchiveRuleResponse Source # | |
Defined in Amazonka.AccessAnalyzer.ApplyArchiveRule rnf :: ApplyArchiveRuleResponse -> () # | |
type Rep ApplyArchiveRuleResponse Source # | |
Defined in Amazonka.AccessAnalyzer.ApplyArchiveRule |
newApplyArchiveRuleResponse :: ApplyArchiveRuleResponse Source #
Create a value of ApplyArchiveRuleResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
GetAnalyzer
data GetAnalyzer Source #
Retrieves an analyzer.
See: newGetAnalyzer
smart constructor.
Instances
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.
Instances
newGetAnalyzerResponse Source #
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.
UntagResource
data UntagResource Source #
Removes a tag from the specified resource.
See: newUntagResource
smart constructor.
Instances
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:
$sel:resourceArn: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.
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.
GetFinding
data GetFinding Source #
Retrieves a finding.
See: newGetFinding
smart constructor.
Instances
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:
$sel:analyzerArn:GetFinding'
, getFinding_analyzerArn
- The
ARN of the analyzer
that generated the finding.
$sel:id:GetFinding'
, getFinding_id
- The ID of the finding to retrieve.
data GetFindingResponse Source #
The response to the request.
See: newGetFindingResponse
smart constructor.
Instances
newGetFindingResponse Source #
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 #
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: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.
$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:jobId: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 #
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:generatedPolicyResult:GetGeneratedPolicyResponse'
, getGeneratedPolicyResponse_generatedPolicyResult
- A GeneratedPolicyResult
object that contains the generated policies
and associated details.
$sel:jobDetails:GetGeneratedPolicyResponse'
, getGeneratedPolicyResponse_jobDetails
- A GeneratedPolicyDetails
object that contains details about the
generated policy.
Types
AccessPreviewStatus
newtype AccessPreviewStatus Source #
pattern AccessPreviewStatus_COMPLETED :: AccessPreviewStatus | |
pattern AccessPreviewStatus_CREATING :: AccessPreviewStatus | |
pattern AccessPreviewStatus_FAILED :: AccessPreviewStatus |
Instances
AccessPreviewStatusReasonCode
newtype AccessPreviewStatusReasonCode Source #
pattern AccessPreviewStatusReasonCode_INTERNAL_ERROR :: AccessPreviewStatusReasonCode | |
pattern AccessPreviewStatusReasonCode_INVALID_CONFIGURATION :: AccessPreviewStatusReasonCode |
Instances
AclPermission
newtype AclPermission Source #
pattern AclPermission_FULL_CONTROL :: AclPermission | |
pattern AclPermission_READ :: AclPermission | |
pattern AclPermission_READ_ACP :: AclPermission | |
pattern AclPermission_WRITE :: AclPermission | |
pattern AclPermission_WRITE_ACP :: AclPermission |
Instances
AnalyzerStatus
newtype AnalyzerStatus Source #
pattern AnalyzerStatus_ACTIVE :: AnalyzerStatus | |
pattern AnalyzerStatus_CREATING :: AnalyzerStatus | |
pattern AnalyzerStatus_DISABLED :: AnalyzerStatus | |
pattern AnalyzerStatus_FAILED :: AnalyzerStatus |
Instances
FindingChangeType
newtype FindingChangeType Source #
pattern FindingChangeType_CHANGED :: FindingChangeType | |
pattern FindingChangeType_NEW :: FindingChangeType | |
pattern FindingChangeType_UNCHANGED :: FindingChangeType |
Instances
FindingSourceType
newtype FindingSourceType Source #
pattern FindingSourceType_BUCKET_ACL :: FindingSourceType | |
pattern FindingSourceType_POLICY :: FindingSourceType | |
pattern FindingSourceType_S3_ACCESS_POINT :: FindingSourceType |
Instances
FindingStatus
newtype FindingStatus Source #
pattern FindingStatus_ACTIVE :: FindingStatus | |
pattern FindingStatus_ARCHIVED :: FindingStatus | |
pattern FindingStatus_RESOLVED :: FindingStatus |
Instances
FindingStatusUpdate
newtype FindingStatusUpdate Source #
pattern FindingStatusUpdate_ACTIVE :: FindingStatusUpdate | |
pattern FindingStatusUpdate_ARCHIVED :: FindingStatusUpdate |
Instances
JobErrorCode
newtype JobErrorCode Source #
pattern JobErrorCode_AUTHORIZATION_ERROR :: JobErrorCode | |
pattern JobErrorCode_RESOURCE_NOT_FOUND_ERROR :: JobErrorCode | |
pattern JobErrorCode_SERVICE_ERROR :: JobErrorCode | |
pattern JobErrorCode_SERVICE_QUOTA_EXCEEDED_ERROR :: JobErrorCode |
Instances
JobStatus
pattern JobStatus_CANCELED :: JobStatus | |
pattern JobStatus_FAILED :: JobStatus | |
pattern JobStatus_IN_PROGRESS :: JobStatus | |
pattern JobStatus_SUCCEEDED :: JobStatus |
Instances
KmsGrantOperation
newtype KmsGrantOperation Source #
pattern KmsGrantOperation_CreateGrant :: KmsGrantOperation | |
pattern KmsGrantOperation_Decrypt :: KmsGrantOperation | |
pattern KmsGrantOperation_DescribeKey :: KmsGrantOperation | |
pattern KmsGrantOperation_Encrypt :: KmsGrantOperation | |
pattern KmsGrantOperation_GenerateDataKey :: KmsGrantOperation | |
pattern KmsGrantOperation_GenerateDataKeyPair :: KmsGrantOperation | |
pattern KmsGrantOperation_GenerateDataKeyPairWithoutPlaintext :: KmsGrantOperation | |
pattern KmsGrantOperation_GenerateDataKeyWithoutPlaintext :: KmsGrantOperation | |
pattern KmsGrantOperation_GetPublicKey :: KmsGrantOperation | |
pattern KmsGrantOperation_ReEncryptFrom :: KmsGrantOperation | |
pattern KmsGrantOperation_ReEncryptTo :: KmsGrantOperation | |
pattern KmsGrantOperation_RetireGrant :: KmsGrantOperation | |
pattern KmsGrantOperation_Sign :: KmsGrantOperation | |
pattern KmsGrantOperation_Verify :: KmsGrantOperation |
Instances
Locale
pattern Locale_DE :: Locale | |
pattern Locale_EN :: Locale | |
pattern Locale_ES :: Locale | |
pattern Locale_FR :: Locale | |
pattern Locale_IT :: Locale | |
pattern Locale_JA :: Locale | |
pattern Locale_KO :: Locale | |
pattern Locale_PT_BR :: Locale | |
pattern Locale_ZH_CN :: Locale | |
pattern Locale_ZH_TW :: Locale |
Instances
OrderBy
pattern OrderBy_ASC :: OrderBy | |
pattern OrderBy_DESC :: OrderBy |
Instances
PolicyType
newtype PolicyType Source #
pattern PolicyType_IDENTITY_POLICY :: PolicyType | |
pattern PolicyType_RESOURCE_POLICY :: PolicyType | |
pattern PolicyType_SERVICE_CONTROL_POLICY :: PolicyType |
Instances
ReasonCode
newtype ReasonCode Source #
pattern ReasonCode_AWS_SERVICE_ACCESS_DISABLED :: ReasonCode | |
pattern ReasonCode_DELEGATED_ADMINISTRATOR_DEREGISTERED :: ReasonCode | |
pattern ReasonCode_ORGANIZATION_DELETED :: ReasonCode | |
pattern ReasonCode_SERVICE_LINKED_ROLE_CREATION_FAILED :: ReasonCode |
Instances
ResourceType
newtype ResourceType Source #
pattern ResourceType_AWS__IAM__Role :: ResourceType | |
pattern ResourceType_AWS__KMS__Key :: ResourceType | |
pattern ResourceType_AWS__Lambda__Function :: ResourceType | |
pattern ResourceType_AWS__Lambda__LayerVersion :: ResourceType | |
pattern ResourceType_AWS__S3__Bucket :: ResourceType | |
pattern ResourceType_AWS__SQS__Queue :: ResourceType | |
pattern ResourceType_AWS__SecretsManager__Secret :: ResourceType |
Instances
Type
pattern Type_ACCOUNT :: Type | |
pattern Type_ORGANIZATION :: Type |
Instances
ValidatePolicyFindingType
newtype ValidatePolicyFindingType Source #
Instances
AccessPreview
data AccessPreview Source #
Contains information about an access preview.
See: newAccessPreview
smart constructor.
AccessPreview' (Maybe AccessPreviewStatusReason) Text (HashMap Text Configuration) POSIX Text AccessPreviewStatus |
Instances
:: Text | |
-> UTCTime | |
-> Text | |
-> AccessPreviewStatus | |
-> AccessPreview |
Create a value of AccessPreview
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:statusReason:AccessPreview'
, accessPreview_statusReason
- Provides more details about the current status of the access preview.
For example, if the creation of the access preview fails, a Failed
status is returned. This failure can be due to an internal issue with
the analysis or due to an invalid resource configuration.
$sel:analyzerArn:AccessPreview'
, accessPreview_analyzerArn
- The ARN of the analyzer used to generate the access preview.
$sel:configurations:AccessPreview'
, accessPreview_configurations
- A map of resource ARNs for the proposed resource configuration.
$sel:createdAt:AccessPreview'
, accessPreview_createdAt
- The time at which the access preview was created.
$sel:id:AccessPreview'
, accessPreview_id
- The unique ID for the access preview.
$sel:status:AccessPreview'
, accessPreview_status
- The status of the access preview.
Creating
- The access preview creation is in progress.Completed
- The access preview is complete. You can preview findings for external access to the resource.Failed
- The access preview creation has failed.
AccessPreviewFinding
data AccessPreviewFinding Source #
An access preview finding generated by the access preview.
See: newAccessPreviewFinding
smart constructor.
AccessPreviewFinding' (Maybe FindingStatus) (Maybe Text) (Maybe Bool) (Maybe [Text]) (Maybe [FindingSource]) (Maybe Text) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe (HashMap Text Text)) FindingChangeType POSIX Text Text ResourceType FindingStatus |
Instances
newAccessPreviewFinding Source #
:: FindingChangeType | |
-> UTCTime | |
-> Text | |
-> Text | |
-> ResourceType | |
-> FindingStatus | |
-> AccessPreviewFinding |
Create a value of AccessPreviewFinding
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:existingFindingStatus:AccessPreviewFinding'
, accessPreviewFinding_existingFindingStatus
- The existing status of the finding, provided only for existing findings.
$sel:error:AccessPreviewFinding'
, accessPreviewFinding_error
- An error.
$sel:isPublic:AccessPreviewFinding'
, accessPreviewFinding_isPublic
- Indicates whether the policy that generated the finding allows public
access to the resource.
$sel:action:AccessPreviewFinding'
, accessPreviewFinding_action
- The action in the analyzed policy statement that an external principal
has permission to perform.
$sel:sources:AccessPreviewFinding'
, accessPreviewFinding_sources
- The sources of the finding. This indicates how the access that generated
the finding is granted. It is populated for Amazon S3 bucket findings.
$sel:resource:AccessPreviewFinding'
, accessPreviewFinding_resource
- The resource that an external principal has access to. This is the
resource associated with the access preview.
$sel:principal:AccessPreviewFinding'
, accessPreviewFinding_principal
- The external principal that has access to a resource within the zone of
trust.
$sel:existingFindingId:AccessPreviewFinding'
, accessPreviewFinding_existingFindingId
- The existing ID of the finding in IAM Access Analyzer, provided only for
existing findings.
$sel:condition:AccessPreviewFinding'
, accessPreviewFinding_condition
- The condition in the analyzed policy statement that resulted in a
finding.
$sel:changeType:AccessPreviewFinding'
, accessPreviewFinding_changeType
- Provides context on how the access preview finding compares to existing
access identified in IAM Access Analyzer.
New
- The finding is for newly-introduced access.Unchanged
- The preview finding is an existing finding that would remain unchanged.Changed
- The preview finding is an existing finding with a change in status.
For example, a Changed
finding with preview status Resolved
and
existing status Active
indicates the existing Active
finding would
become Resolved
as a result of the proposed permissions change.
$sel:createdAt:AccessPreviewFinding'
, accessPreviewFinding_createdAt
- The time at which the access preview finding was created.
$sel:id:AccessPreviewFinding'
, accessPreviewFinding_id
- The ID of the access preview finding. This ID uniquely identifies the
element in the list of access preview findings and is not related to the
finding ID in Access Analyzer.
$sel:resourceOwnerAccount:AccessPreviewFinding'
, accessPreviewFinding_resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource. For most
Amazon Web Services resources, the owning account is the account in
which the resource was created.
$sel:resourceType:AccessPreviewFinding'
, accessPreviewFinding_resourceType
- The type of the resource that can be accessed in the finding.
$sel:status:AccessPreviewFinding'
, accessPreviewFinding_status
- The preview status of the finding. This is what the status of the
finding would be after permissions deployment. For example, a Changed
finding with preview status Resolved
and existing status Active
indicates the existing Active
finding would become Resolved
as a
result of the proposed permissions change.
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 #
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.
Instances
newAccessPreviewSummary Source #
:: Text | |
-> UTCTime | |
-> Text | |
-> AccessPreviewStatus | |
-> AccessPreviewSummary |
Create a value of AccessPreviewSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:statusReason:AccessPreviewSummary'
, accessPreviewSummary_statusReason
- Undocumented member.
$sel:analyzerArn:AccessPreviewSummary'
, accessPreviewSummary_analyzerArn
- The ARN of the analyzer used to generate the access preview.
$sel:createdAt:AccessPreviewSummary'
, accessPreviewSummary_createdAt
- The time at which the access preview was created.
$sel:id:AccessPreviewSummary'
, accessPreviewSummary_id
- The unique ID for the access preview.
$sel:status:AccessPreviewSummary'
, accessPreviewSummary_status
- The status of the access preview.
Creating
- The access preview creation is in progress.Completed
- The access preview is complete and previews the findings for external access to the resource.Failed
- The access preview creation has failed.
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.
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:uri:AclGrantee'
, aclGrantee_uri
- Used for granting permissions to a predefined group.
$sel:id:AclGrantee'
, aclGrantee_id
- The value specified is the canonical user ID of an Amazon Web Services
account.
AnalyzedResource
data AnalyzedResource Source #
Contains details about the analyzed resource.
See: newAnalyzedResource
smart constructor.
AnalyzedResource' (Maybe FindingStatus) (Maybe [Text]) (Maybe Text) (Maybe [Text]) POSIX POSIX Bool Text Text ResourceType POSIX |
Instances
:: UTCTime | |
-> UTCTime | |
-> Bool | |
-> Text | |
-> Text | |
-> ResourceType | |
-> UTCTime | |
-> AnalyzedResource |
Create a value of AnalyzedResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:AnalyzedResource'
, analyzedResource_status
- The current status of the finding generated from the analyzed resource.
$sel:actions:AnalyzedResource'
, analyzedResource_actions
- The actions that an external principal is granted permission to use by
the policy that generated the finding.
$sel:error:AnalyzedResource'
, analyzedResource_error
- An error message.
$sel:sharedVia:AnalyzedResource'
, analyzedResource_sharedVia
- Indicates how the access that generated the finding is granted. This is
populated for Amazon S3 bucket findings.
$sel:analyzedAt:AnalyzedResource'
, analyzedResource_analyzedAt
- The time at which the resource was analyzed.
$sel:createdAt:AnalyzedResource'
, analyzedResource_createdAt
- The time at which the finding was created.
$sel:isPublic:AnalyzedResource'
, analyzedResource_isPublic
- Indicates whether the policy that generated the finding grants public
access to the resource.
$sel:resourceArn:AnalyzedResource'
, analyzedResource_resourceArn
- The ARN of the resource that was analyzed.
$sel:resourceOwnerAccount:AnalyzedResource'
, analyzedResource_resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource.
$sel:resourceType:AnalyzedResource'
, analyzedResource_resourceType
- The type of the resource that was analyzed.
$sel:updatedAt:AnalyzedResource'
, analyzedResource_updatedAt
- The time at which the finding was updated.
AnalyzedResourceSummary
data AnalyzedResourceSummary Source #
Contains the ARN of the analyzed resource.
See: newAnalyzedResourceSummary
smart constructor.
Instances
newAnalyzedResourceSummary Source #
:: Text | |
-> Text | |
-> ResourceType | |
-> AnalyzedResourceSummary |
Create a value of AnalyzedResourceSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceArn:AnalyzedResourceSummary'
, analyzedResourceSummary_resourceArn
- The ARN of the analyzed resource.
$sel:resourceOwnerAccount:AnalyzedResourceSummary'
, analyzedResourceSummary_resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource.
$sel:resourceType:AnalyzedResourceSummary'
, analyzedResourceSummary_resourceType
- The type of resource that was analyzed.
AnalyzerSummary
data AnalyzerSummary Source #
Contains information about the analyzer.
See: newAnalyzerSummary
smart constructor.
AnalyzerSummary' (Maybe POSIX) (Maybe Text) (Maybe StatusReason) (Maybe (HashMap Text Text)) Text POSIX Text AnalyzerStatus Type |
Instances
:: Text | |
-> UTCTime | |
-> Text | |
-> AnalyzerStatus | |
-> Type | |
-> AnalyzerSummary |
Create a value of AnalyzerSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lastResourceAnalyzedAt:AnalyzerSummary'
, analyzerSummary_lastResourceAnalyzedAt
- The time at which the most recently analyzed resource was analyzed.
$sel:lastResourceAnalyzed:AnalyzerSummary'
, analyzerSummary_lastResourceAnalyzed
- The resource that was most recently analyzed by the analyzer.
$sel:statusReason:AnalyzerSummary'
, analyzerSummary_statusReason
- The statusReason
provides more details about the current status of the
analyzer. For example, if the creation for the analyzer fails, a
Failed
status is returned. For an analyzer with organization as the
type, this failure can be due to an issue with creating the
service-linked roles required in the member accounts of the Amazon Web
Services organization.
$sel:tags:AnalyzerSummary'
, analyzerSummary_tags
- The tags added to the analyzer.
$sel:arn:AnalyzerSummary'
, analyzerSummary_arn
- The ARN of the analyzer.
$sel:createdAt:AnalyzerSummary'
, analyzerSummary_createdAt
- A timestamp for the time at which the analyzer was created.
$sel:name:AnalyzerSummary'
, analyzerSummary_name
- The name of the analyzer.
$sel:status:AnalyzerSummary'
, analyzerSummary_status
- The status of the analyzer. An Active
analyzer successfully monitors
supported resources and generates new findings. The analyzer is
Disabled
when a user action, such as removing trusted access for
Identity and Access Management Access Analyzer from Organizations,
causes the analyzer to stop generating new findings. The status is
Creating
when the analyzer creation is in progress and Failed
when
the analyzer creation has failed.
$sel:type':AnalyzerSummary'
, analyzerSummary_type
- The type of analyzer, which corresponds to the zone of trust chosen for
the analyzer.
ArchiveRuleSummary
data ArchiveRuleSummary Source #
Contains information about an archive rule.
See: newArchiveRuleSummary
smart constructor.
Instances
newArchiveRuleSummary Source #
:: UTCTime | |
-> Text | |
-> UTCTime | |
-> ArchiveRuleSummary |
Create a value of ArchiveRuleSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:createdAt:ArchiveRuleSummary'
, archiveRuleSummary_createdAt
- The time at which the archive rule was created.
$sel:filter':ArchiveRuleSummary'
, archiveRuleSummary_filter
- A filter used to define the archive rule.
$sel:ruleName:ArchiveRuleSummary'
, archiveRuleSummary_ruleName
- The name of the archive rule.
$sel:updatedAt:ArchiveRuleSummary'
, archiveRuleSummary_updatedAt
- The time at which the archive rule was last updated.
CloudTrailDetails
data CloudTrailDetails Source #
Contains information about CloudTrail access.
See: newCloudTrailDetails
smart constructor.
Instances
:: Text | |
-> UTCTime | |
-> CloudTrailDetails |
Create a value of CloudTrailDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:endTime:CloudTrailDetails'
, cloudTrailDetails_endTime
- The end of the time range for which IAM Access Analyzer reviews your
CloudTrail events. Events with a timestamp after this time are not
considered to generate a policy. If this is not included in the request,
the default value is the current time.
$sel:accessRole:CloudTrailDetails'
, cloudTrailDetails_accessRole
- The ARN of the service role that IAM Access Analyzer uses to access your
CloudTrail trail and service last accessed information.
$sel:startTime:CloudTrailDetails'
, cloudTrailDetails_startTime
- The start of the time range for which IAM Access Analyzer reviews your
CloudTrail events. Events with a timestamp before this time are not
considered to generate a policy.
$sel:trails:CloudTrailDetails'
, cloudTrailDetails_trails
- A Trail
object that contains settings for a trail.
CloudTrailProperties
data CloudTrailProperties Source #
Contains information about CloudTrail access.
See: newCloudTrailProperties
smart constructor.
Instances
newCloudTrailProperties Source #
:: UTCTime | |
-> UTCTime | |
-> CloudTrailProperties |
Create a value of CloudTrailProperties
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:endTime:CloudTrailProperties'
, cloudTrailProperties_endTime
- The end of the time range for which IAM Access Analyzer reviews your
CloudTrail events. Events with a timestamp after this time are not
considered to generate a policy. If this is not included in the request,
the default value is the current time.
$sel:startTime:CloudTrailProperties'
, cloudTrailProperties_startTime
- The start of the time range for which IAM Access Analyzer reviews your
CloudTrail events. Events with a timestamp before this time are not
considered to generate a policy.
$sel:trailProperties:CloudTrailProperties'
, cloudTrailProperties_trailProperties
- A TrailProperties
object that contains settings for trail properties.
Configuration
data Configuration Source #
Access control configuration structures for your resource. You specify the configuration as a type-value pair. You can specify only one type of access control configuration.
See: newConfiguration
smart constructor.
Configuration' (Maybe KmsKeyConfiguration) (Maybe SecretsManagerSecretConfiguration) (Maybe SqsQueueConfiguration) (Maybe S3BucketConfiguration) (Maybe IamRoleConfiguration) |
Instances
newConfiguration :: Configuration Source #
Create a value of Configuration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:kmsKey:Configuration'
, configuration_kmsKey
- The access control configuration is for a KMS key.
$sel:secretsManagerSecret:Configuration'
, configuration_secretsManagerSecret
- The access control configuration is for a Secrets Manager secret.
$sel:sqsQueue:Configuration'
, configuration_sqsQueue
- The access control configuration is for an Amazon SQS queue.
$sel:s3Bucket:Configuration'
, configuration_s3Bucket
- The access control configuration is for an Amazon S3 Bucket.
$sel:iamRole:Configuration'
, configuration_iamRole
- The access control configuration is for an IAM role.
Criterion
The criteria to use in the filter that defines the archive rule.
See: newCriterion
smart constructor.
Instances
newCriterion :: Criterion Source #
Create a value of Criterion
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eq:Criterion'
, criterion_eq
- An "equals" operator to match for the filter used to create the rule.
$sel:exists:Criterion'
, criterion_exists
- An "exists" operator to match for the filter used to create the rule.
$sel:neq:Criterion'
, criterion_neq
- A "not equals" operator to match for the filter used to create the
rule.
$sel:contains:Criterion'
, criterion_contains
- A "contains" operator to match for the filter used to create the rule.
Finding
Contains information about a finding.
See: newFinding
smart constructor.
Finding' (Maybe Text) (Maybe Bool) (Maybe [Text]) (Maybe [FindingSource]) (Maybe Text) (Maybe (HashMap Text Text)) POSIX (HashMap Text Text) POSIX Text Text ResourceType FindingStatus POSIX |
Instances
:: UTCTime | |
-> UTCTime | |
-> Text | |
-> Text | |
-> ResourceType | |
-> FindingStatus | |
-> UTCTime | |
-> Finding |
Create a value of Finding
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:error:Finding'
, finding_error
- An error.
$sel:isPublic:Finding'
, finding_isPublic
- Indicates whether the policy that generated the finding allows public
access to the resource.
$sel:action:Finding'
, finding_action
- The action in the analyzed policy statement that an external principal
has permission to use.
$sel:sources:Finding'
, finding_sources
- The sources of the finding. This indicates how the access that generated
the finding is granted. It is populated for Amazon S3 bucket findings.
$sel:resource:Finding'
, finding_resource
- The resource that an external principal has access to.
$sel:principal:Finding'
, finding_principal
- The external principal that access to a resource within the zone of
trust.
$sel:analyzedAt:Finding'
, finding_analyzedAt
- The time at which the resource was analyzed.
$sel:condition:Finding'
, finding_condition
- The condition in the analyzed policy statement that resulted in a
finding.
$sel:createdAt:Finding'
, finding_createdAt
- The time at which the finding was generated.
$sel:id:Finding'
, finding_id
- The ID of the finding.
$sel:resourceOwnerAccount:Finding'
, finding_resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource.
$sel:resourceType:Finding'
, finding_resourceType
- The type of the resource identified in the finding.
$sel:status:Finding'
, finding_status
- The current status of the finding.
$sel:updatedAt:Finding'
, finding_updatedAt
- The time at which the finding was updated.
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.
Instances
Create a value of FindingSource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:detail:FindingSource'
, findingSource_detail
- Includes details about how the access that generated the finding is
granted. This is populated for Amazon S3 bucket findings.
$sel:type':FindingSource'
, findingSource_type
- Indicates the type of access that generated the finding.
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.
Instances
newFindingSourceDetail :: FindingSourceDetail Source #
Create a value of FindingSourceDetail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accessPointArn:FindingSourceDetail'
, findingSourceDetail_accessPointArn
- The ARN of the access point that generated the finding. The ARN format
depends on whether the ARN represents an access point or a multi-region
access point.
FindingSummary
data FindingSummary Source #
Contains information about a finding.
See: newFindingSummary
smart constructor.
FindingSummary' (Maybe Text) (Maybe Bool) (Maybe [Text]) (Maybe [FindingSource]) (Maybe Text) (Maybe (HashMap Text Text)) POSIX (HashMap Text Text) POSIX Text Text ResourceType FindingStatus POSIX |
Instances
:: UTCTime | |
-> UTCTime | |
-> Text | |
-> Text | |
-> ResourceType | |
-> FindingStatus | |
-> UTCTime | |
-> FindingSummary |
Create a value of FindingSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:error:FindingSummary'
, findingSummary_error
- The error that resulted in an Error finding.
$sel:isPublic:FindingSummary'
, findingSummary_isPublic
- Indicates whether the finding reports a resource that has a policy that
allows public access.
$sel:action:FindingSummary'
, findingSummary_action
- The action in the analyzed policy statement that an external principal
has permission to use.
$sel:sources:FindingSummary'
, findingSummary_sources
- The sources of the finding. This indicates how the access that generated
the finding is granted. It is populated for Amazon S3 bucket findings.
$sel:resource:FindingSummary'
, findingSummary_resource
- The resource that the external principal has access to.
$sel:principal:FindingSummary'
, findingSummary_principal
- The external principal that has access to a resource within the zone of
trust.
$sel:analyzedAt:FindingSummary'
, findingSummary_analyzedAt
- The time at which the resource-based policy that generated the finding
was analyzed.
$sel:condition:FindingSummary'
, findingSummary_condition
- The condition in the analyzed policy statement that resulted in a
finding.
$sel:createdAt:FindingSummary'
, findingSummary_createdAt
- The time at which the finding was created.
$sel:id:FindingSummary'
, findingSummary_id
- The ID of the finding.
$sel:resourceOwnerAccount:FindingSummary'
, findingSummary_resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource.
$sel:resourceType:FindingSummary'
, findingSummary_resourceType
- The type of the resource that the external principal has access to.
$sel:status:FindingSummary'
, findingSummary_status
- The status of the finding.
$sel:updatedAt:FindingSummary'
, findingSummary_updatedAt
- The time at which the finding was most recently updated.
GeneratedPolicy
data GeneratedPolicy Source #
Contains the text for the generated policy.
See: newGeneratedPolicy
smart constructor.
Instances
Create a value of GeneratedPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:policy:GeneratedPolicy'
, generatedPolicy_policy
- The text to use as the content for the new policy. The policy is created
using the
CreatePolicy
action.
GeneratedPolicyProperties
data GeneratedPolicyProperties Source #
Contains the generated policy details.
See: newGeneratedPolicyProperties
smart constructor.
Instances
newGeneratedPolicyProperties Source #
Create a value of GeneratedPolicyProperties
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:isComplete:GeneratedPolicyProperties'
, generatedPolicyProperties_isComplete
- This value is set to true
if the generated policy contains all
possible actions for a service that IAM Access Analyzer identified from
the CloudTrail trail that you specified, and false
otherwise.
$sel:cloudTrailProperties:GeneratedPolicyProperties'
, generatedPolicyProperties_cloudTrailProperties
- Lists details about the Trail
used to generated policy.
$sel:principalArn:GeneratedPolicyProperties'
, generatedPolicyProperties_principalArn
- The ARN of the IAM entity (user or role) for which you are generating a
policy.
GeneratedPolicyResult
data GeneratedPolicyResult Source #
Contains the text for the generated policy and its details.
See: newGeneratedPolicyResult
smart constructor.
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.
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.
Instances
Create a value of InlineArchiveRule
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filter':InlineArchiveRule'
, inlineArchiveRule_filter
- The condition and values for a criterion.
$sel:ruleName:InlineArchiveRule'
, inlineArchiveRule_ruleName
- The name of the rule.
InternetConfiguration
data InternetConfiguration Source #
This configuration sets the network origin for the Amazon S3 access
point or multi-region access point to Internet
.
See: newInternetConfiguration
smart constructor.
Instances
newInternetConfiguration :: InternetConfiguration Source #
Create a value of InternetConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
JobDetails
data JobDetails Source #
Contains details about the policy generation request.
See: newJobDetails
smart constructor.
Instances
:: Text | |
-> UTCTime | |
-> JobStatus | |
-> JobDetails |
Create a value of JobDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:completedOn:JobDetails'
, jobDetails_completedOn
- A timestamp of when the job was completed.
$sel:jobError:JobDetails'
, jobDetails_jobError
- The job error for the policy generation request.
$sel:jobId:JobDetails'
, jobDetails_jobId
- The JobId
that is returned by the StartPolicyGeneration
operation.
The JobId
can be used with GetGeneratedPolicy
to retrieve the
generated policies or used with CancelPolicyGeneration
to cancel the
policy generation request.
$sel:startedOn:JobDetails'
, jobDetails_startedOn
- A timestamp of when the job was started.
$sel:status:JobDetails'
, jobDetails_status
- The status of the job request.
JobError
Contains the details about the policy generation error.
See: newJobError
smart constructor.
Instances
Eq JobError Source # | |
Read JobError Source # | |
Show JobError Source # | |
Generic JobError Source # | |
NFData JobError Source # | |
Defined in Amazonka.AccessAnalyzer.Types.JobError | |
Hashable JobError Source # | |
Defined in Amazonka.AccessAnalyzer.Types.JobError | |
FromJSON JobError Source # | |
type Rep JobError Source # | |
Defined in Amazonka.AccessAnalyzer.Types.JobError type Rep JobError = D1 ('MetaData "JobError" "Amazonka.AccessAnalyzer.Types.JobError" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "JobError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JobErrorCode) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of JobError
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:JobError'
, jobError_code
- The job error code.
$sel:message:JobError'
, jobError_message
- Specific information about the error. For example, which service quota
was exceeded or which resource was not found.
KmsGrantConfiguration
data KmsGrantConfiguration Source #
A proposed grant configuration for a KMS key. For more information, see CreateGrant.
See: newKmsGrantConfiguration
smart constructor.
Instances
newKmsGrantConfiguration Source #
:: Text | |
-> Text | |
-> KmsGrantConfiguration |
Create a value of KmsGrantConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:retiringPrincipal:KmsGrantConfiguration'
, kmsGrantConfiguration_retiringPrincipal
- The principal that is given permission to retire the grant by using
RetireGrant
operation.
$sel:constraints:KmsGrantConfiguration'
, kmsGrantConfiguration_constraints
- Use this structure to propose allowing
cryptographic operations
in the grant only when the operation request includes the specified
encryption context.
$sel:granteePrincipal:KmsGrantConfiguration'
, kmsGrantConfiguration_granteePrincipal
- The principal that is given permission to perform the operations that
the grant permits.
$sel:issuingAccount:KmsGrantConfiguration'
, kmsGrantConfiguration_issuingAccount
- The Amazon Web Services account under which the grant was issued. The
account is used to propose KMS grants issued by accounts other than the
owner of the key.
$sel:operations:KmsGrantConfiguration'
, kmsGrantConfiguration_operations
- A list of operations that the grant permits.
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.
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.
Instances
Eq Location Source # | |
Read Location Source # | |
Show Location Source # | |
Generic Location Source # | |
NFData Location Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Location | |
Hashable Location Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Location | |
FromJSON Location Source # | |
type Rep Location Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Location type Rep Location = D1 ('MetaData "Location" "Amazonka.AccessAnalyzer.Types.Location" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "Location'" 'PrefixI 'True) (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [PathElement]) :*: S1 ('MetaSel ('Just "span") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Span))) |
Create a value of Location
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:path:Location'
, location_path
- A path in a policy, represented as a sequence of path elements.
$sel:span:Location'
, location_span
- A span in a policy.
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.
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:value:PathElement'
, pathElement_value
- Refers to the value associated with a given key in a JSON object.
$sel:substring:PathElement'
, pathElement_substring
- Refers to a substring of a literal string in a JSON object.
$sel:key:PathElement'
, pathElement_key
- Refers to a key in a JSON object.
$sel:index:PathElement'
, pathElement_index
- Refers to an index in a JSON array.
PolicyGeneration
data PolicyGeneration Source #
Contains details about the policy generation status and properties.
See: newPolicyGeneration
smart constructor.
Instances
:: Text | |
-> Text | |
-> UTCTime | |
-> JobStatus | |
-> PolicyGeneration |
Create a value of PolicyGeneration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:completedOn:PolicyGeneration'
, policyGeneration_completedOn
- A timestamp of when the policy generation was completed.
$sel:jobId:PolicyGeneration'
, policyGeneration_jobId
- The JobId
that is returned by the StartPolicyGeneration
operation.
The JobId
can be used with GetGeneratedPolicy
to retrieve the
generated policies or used with CancelPolicyGeneration
to cancel the
policy generation request.
$sel:principalArn:PolicyGeneration'
, policyGeneration_principalArn
- The ARN of the IAM entity (user or role) for which you are generating a
policy.
$sel:startedOn:PolicyGeneration'
, policyGeneration_startedOn
- A timestamp of when the policy generation started.
$sel:status:PolicyGeneration'
, policyGeneration_status
- The status of the policy generation request.
PolicyGenerationDetails
data PolicyGenerationDetails Source #
Contains the ARN details about the IAM entity for which the policy is generated.
See: newPolicyGenerationDetails
smart constructor.
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
Eq Position Source # | |
Read Position Source # | |
Show Position Source # | |
Generic Position Source # | |
NFData Position Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Position | |
Hashable Position Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Position | |
FromJSON Position Source # | |
type Rep Position Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Position type Rep Position = D1 ('MetaData "Position" "Amazonka.AccessAnalyzer.Types.Position" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "Position'" 'PrefixI 'True) (S1 ('MetaSel ('Just "column") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "line") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "offset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) |
Create a value of Position
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:column:Position'
, position_column
- The column of the position, starting from 0.
$sel:line:Position'
, position_line
- The line of the position, starting from 1.
$sel:offset:Position'
, position_offset
- The offset within the policy that corresponds to the position, starting
from 0.
S3AccessPointConfiguration
data S3AccessPointConfiguration Source #
The configuration for an Amazon S3 access point or multi-region access point for the bucket. You can propose up to 10 access points or multi-region access points per bucket. If the proposed Amazon S3 access point configuration is for an existing bucket, the access preview uses the proposed access point configuration in place of the existing access points. To propose an access point without a policy, you can provide an empty string as the access point policy. For more information, see Creating access points. For more information about access point policy limits, see Access points restrictions and limitations.
See: newS3AccessPointConfiguration
smart constructor.
S3AccessPointConfiguration' (Maybe S3PublicAccessBlockConfiguration) (Maybe Text) (Maybe NetworkOriginConfiguration) |
Instances
newS3AccessPointConfiguration :: S3AccessPointConfiguration Source #
Create a value of S3AccessPointConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:publicAccessBlock:S3AccessPointConfiguration'
, s3AccessPointConfiguration_publicAccessBlock
- The proposed S3PublicAccessBlock
configuration to apply to this Amazon
S3 access point or multi-region access point.
$sel:accessPointPolicy:S3AccessPointConfiguration'
, s3AccessPointConfiguration_accessPointPolicy
- The access point or multi-region access point policy.
$sel:networkOrigin:S3AccessPointConfiguration'
, s3AccessPointConfiguration_networkOrigin
- The proposed Internet
and VpcConfiguration
to apply to this Amazon
S3 access point. VpcConfiguration
does not apply to multi-region
access points. If the access preview is for a new resource and neither
is specified, the access preview uses Internet
for the network origin.
If the access preview is for an existing resource and neither is
specified, the access preview uses the exiting network origin.
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.
Instances
newS3BucketAclGrantConfiguration Source #
Create a value of S3BucketAclGrantConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:grantee:S3BucketAclGrantConfiguration'
, s3BucketAclGrantConfiguration_grantee
- The grantee to whom you’re assigning access rights.
$sel:permission:S3BucketAclGrantConfiguration'
, s3BucketAclGrantConfiguration_permission
- The permissions being granted.
S3BucketConfiguration
data S3BucketConfiguration Source #
Proposed access control configuration for an Amazon S3 bucket. You can propose a configuration for a new Amazon S3 bucket or an existing Amazon S3 bucket that you own by specifying the Amazon S3 bucket policy, bucket ACLs, bucket BPA settings, Amazon S3 access points, and multi-region access points attached to the bucket. If the configuration is for an existing Amazon S3 bucket and you do not specify the Amazon S3 bucket policy, the access preview uses the existing policy attached to the bucket. If the access preview is for a new resource and you do not specify the Amazon S3 bucket policy, the access preview assumes a bucket without a policy. To propose deletion of an existing bucket policy, you can specify an empty string. For more information about bucket policy limits, see Bucket Policy Examples.
See: newS3BucketConfiguration
smart constructor.
S3BucketConfiguration' (Maybe (HashMap Text S3AccessPointConfiguration)) (Maybe S3PublicAccessBlockConfiguration) (Maybe [S3BucketAclGrantConfiguration]) (Maybe Text) |
Instances
newS3BucketConfiguration :: S3BucketConfiguration Source #
Create a value of S3BucketConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accessPoints:S3BucketConfiguration'
, s3BucketConfiguration_accessPoints
- The configuration of Amazon S3 access points or multi-region access
points for the bucket. You can propose up to 10 new access points per
bucket.
$sel:bucketPublicAccessBlock:S3BucketConfiguration'
, s3BucketConfiguration_bucketPublicAccessBlock
- The proposed block public access configuration for the Amazon S3 bucket.
$sel:bucketAclGrants:S3BucketConfiguration'
, s3BucketConfiguration_bucketAclGrants
- The proposed list of ACL grants for the Amazon S3 bucket. You can
propose up to 100 ACL grants per bucket. If the proposed grant
configuration is for an existing bucket, the access preview uses the
proposed list of grant configurations in place of the existing grants.
Otherwise, the access preview uses the existing grants for the bucket.
$sel:bucketPolicy:S3BucketConfiguration'
, s3BucketConfiguration_bucketPolicy
- The proposed bucket policy for the Amazon S3 bucket.
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.
Instances
newS3PublicAccessBlockConfiguration Source #
:: Bool | |
-> Bool |
|
-> S3PublicAccessBlockConfiguration |
Create a value of S3PublicAccessBlockConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ignorePublicAcls:S3PublicAccessBlockConfiguration'
, s3PublicAccessBlockConfiguration_ignorePublicAcls
- Specifies whether Amazon S3 should ignore public ACLs for this bucket
and objects in this bucket.
$sel:restrictPublicBuckets:S3PublicAccessBlockConfiguration'
, s3PublicAccessBlockConfiguration_restrictPublicBuckets
- Specifies whether Amazon S3 should restrict public bucket policies for
this bucket.
SecretsManagerSecretConfiguration
data SecretsManagerSecretConfiguration Source #
The configuration for a Secrets Manager secret. For more information, see CreateSecret.
You can propose a configuration for a new secret or an existing secret that you own by specifying the secret policy and optional KMS encryption key. If the configuration is for an existing secret and you do not specify the secret policy, the access preview uses the existing policy for the secret. If the access preview is for a new resource and you do not specify the policy, the access preview assumes a secret without a policy. To propose deletion of an existing policy, you can specify an empty string. If the proposed configuration is for a new secret and you do not specify the KMS key ID, the access preview uses the default CMK of the Amazon Web Services account. If you specify an empty string for the KMS key ID, the access preview uses the default CMK of the Amazon Web Services account. For more information about secret policy limits, see Quotas for Secrets Manager..
See: newSecretsManagerSecretConfiguration
smart constructor.
Instances
newSecretsManagerSecretConfiguration :: SecretsManagerSecretConfiguration Source #
Create a value of SecretsManagerSecretConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:kmsKeyId:SecretsManagerSecretConfiguration'
, secretsManagerSecretConfiguration_kmsKeyId
- The proposed ARN, key ID, or alias of the KMS customer master key (CMK).
$sel:secretPolicy:SecretsManagerSecretConfiguration'
, secretsManagerSecretConfiguration_secretPolicy
- The proposed resource policy defining who can access or manage the
secret.
SortCriteria
data SortCriteria Source #
The criteria used to sort.
See: newSortCriteria
smart constructor.
Instances
newSortCriteria :: SortCriteria Source #
Create a value of SortCriteria
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:orderBy:SortCriteria'
, sortCriteria_orderBy
- The sort order, ascending or descending.
$sel:attributeName:SortCriteria'
, sortCriteria_attributeName
- The name of the attribute to sort on.
Span
A span in a policy. The span consists of a start position (inclusive) and end position (exclusive).
See: newSpan
smart constructor.
Instances
Eq Span Source # | |
Read Span Source # | |
Show Span Source # | |
Generic Span Source # | |
NFData Span Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Span | |
Hashable Span Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Span | |
FromJSON Span Source # | |
type Rep Span Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Span type Rep Span = D1 ('MetaData "Span" "Amazonka.AccessAnalyzer.Types.Span" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "Span'" 'PrefixI 'True) (S1 ('MetaSel ('Just "end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position))) |
Create a value of Span
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:end:Span'
, span_end
- The end position of the span (exclusive).
$sel:start:Span'
, span_start
- The start position of the span (inclusive).
SqsQueueConfiguration
data SqsQueueConfiguration Source #
The proposed access control configuration for an Amazon SQS queue. You can propose a configuration for a new Amazon SQS queue or an existing Amazon SQS queue that you own by specifying the Amazon SQS policy. If the configuration is for an existing Amazon SQS queue and you do not specify the Amazon SQS policy, the access preview uses the existing Amazon SQS policy for the queue. If the access preview is for a new resource and you do not specify the policy, the access preview assumes an Amazon SQS queue without a policy. To propose deletion of an existing Amazon SQS queue policy, you can specify an empty string for the Amazon SQS policy. For more information about Amazon SQS policy limits, see Quotas related to policies.
See: newSqsQueueConfiguration
smart constructor.
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.
Instances
Create a value of StatusReason
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:StatusReason'
, statusReason_code
- The reason code for the current status of the analyzer.
Substring
A reference to a substring of a literal string in a JSON document.
See: newSubstring
smart constructor.
Instances
Eq Substring Source # | |
Read Substring Source # | |
Show Substring Source # | |
Generic Substring Source # | |
NFData Substring Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Substring | |
Hashable Substring Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Substring | |
FromJSON Substring Source # | |
type Rep Substring Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Substring type Rep Substring = D1 ('MetaData "Substring" "Amazonka.AccessAnalyzer.Types.Substring" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "Substring'" 'PrefixI 'True) (S1 ('MetaSel ('Just "length") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
Create a value of Substring
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:length:Substring'
, substring_length
- The length of the substring.
$sel:start:Substring'
, substring_start
- The start index of the substring, starting from 0.
Trail
Contains details about the CloudTrail trail being analyzed to generate a policy.
See: newTrail
smart constructor.
Instances
Eq Trail Source # | |
Read Trail Source # | |
Show Trail Source # | |
Generic Trail Source # | |
NFData Trail Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Trail | |
Hashable Trail Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Trail | |
ToJSON Trail Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Trail | |
type Rep Trail Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Trail type Rep Trail = D1 ('MetaData "Trail" "Amazonka.AccessAnalyzer.Types.Trail" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "Trail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "regions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "allRegions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "cloudTrailArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
Create a value of Trail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:regions:Trail'
, trail_regions
- A list of regions to get CloudTrail data from and analyze to generate a
policy.
$sel:allRegions:Trail'
, trail_allRegions
- Possible values are true
or false
. If set to true
, IAM Access
Analyzer retrieves CloudTrail data from all regions to analyze and
generate a policy.
$sel:cloudTrailArn:Trail'
, trail_cloudTrailArn
- Specifies the ARN of the trail. The format of a trail ARN is
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
.
TrailProperties
data TrailProperties Source #
Contains details about the CloudTrail trail being analyzed to generate a policy.
See: newTrailProperties
smart constructor.
Instances
Create a value of TrailProperties
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:regions:TrailProperties'
, trailProperties_regions
- A list of regions to get CloudTrail data from and analyze to generate a
policy.
$sel:allRegions:TrailProperties'
, trailProperties_allRegions
- Possible values are true
or false
. If set to true
, IAM Access
Analyzer retrieves CloudTrail data from all regions to analyze and
generate a policy.
$sel:cloudTrailArn:TrailProperties'
, trailProperties_cloudTrailArn
- Specifies the ARN of the trail. The format of a trail ARN is
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
.
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.
Instances
newValidatePolicyFinding Source #
:: Text | |
-> ValidatePolicyFindingType | |
-> Text | |
-> Text | |
-> ValidatePolicyFinding |
Create a value of ValidatePolicyFinding
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:findingDetails:ValidatePolicyFinding'
, validatePolicyFinding_findingDetails
- A localized message that explains the finding and provides guidance on
how to address it.
$sel:findingType:ValidatePolicyFinding'
, validatePolicyFinding_findingType
- The impact of the finding.
Security warnings report when the policy allows access that we consider overly permissive.
Errors report when a part of the policy is not functional.
Warnings report non-security issues when a policy does not conform to policy writing best practices.
Suggestions recommend stylistic improvements in the policy that do not impact access.
$sel:issueCode:ValidatePolicyFinding'
, validatePolicyFinding_issueCode
- The issue code provides an identifier of the issue associated with this
finding.
$sel:learnMoreLink:ValidatePolicyFinding'
, validatePolicyFinding_learnMoreLink
- A link to additional documentation about the type of finding.
$sel:locations:ValidatePolicyFinding'
, validatePolicyFinding_locations
- The list of locations in the policy document that are related to the
finding. The issue code provides a summary of an issue identified by the
finding.
VpcConfiguration
data VpcConfiguration Source #
The proposed virtual private cloud (VPC) configuration for the Amazon S3 access point. VPC configuration does not apply to multi-region access points. For more information, see VpcConfiguration.
See: newVpcConfiguration
smart constructor.
Instances
Create a value of VpcConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:vpcId:VpcConfiguration'
, vpcConfiguration_vpcId
- If this field is specified, this access point will only allow
connections from the specified VPC ID.