aws-sdk-accessanalyzer 1.87.0 → 1.89.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-accessanalyzer/client.rb +3 -624
- data/lib/aws-sdk-accessanalyzer/client_api.rb +0 -223
- data/lib/aws-sdk-accessanalyzer/types.rb +0 -428
- data/lib/aws-sdk-accessanalyzer.rb +1 -2
- data/sig/client.rbs +0 -93
- data/sig/types.rbs +1 -117
- data/sig/waiters.rbs +0 -19
- metadata +3 -4
- data/lib/aws-sdk-accessanalyzer/waiters.rb +0 -171
|
@@ -657,22 +657,6 @@ module Aws::AccessAnalyzer
|
|
|
657
657
|
#
|
|
658
658
|
class CancelPolicyGenerationResponse < Aws::EmptyStructure; end
|
|
659
659
|
|
|
660
|
-
# @!attribute [rw] job_id
|
|
661
|
-
# The unique identifier of the policy preview job to cancel.
|
|
662
|
-
# @return [String]
|
|
663
|
-
#
|
|
664
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/CancelPolicyPreviewJobRequest AWS API Documentation
|
|
665
|
-
#
|
|
666
|
-
class CancelPolicyPreviewJobRequest < Struct.new(
|
|
667
|
-
:job_id)
|
|
668
|
-
SENSITIVE = []
|
|
669
|
-
include Aws::Structure
|
|
670
|
-
end
|
|
671
|
-
|
|
672
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/CancelPolicyPreviewJobResponse AWS API Documentation
|
|
673
|
-
#
|
|
674
|
-
class CancelPolicyPreviewJobResponse < Aws::EmptyStructure; end
|
|
675
|
-
|
|
676
660
|
# @!attribute [rw] policy_document
|
|
677
661
|
# The JSON policy document to use as the content for the policy.
|
|
678
662
|
# @return [String]
|
|
@@ -1185,47 +1169,6 @@ module Aws::AccessAnalyzer
|
|
|
1185
1169
|
include Aws::Structure
|
|
1186
1170
|
end
|
|
1187
1171
|
|
|
1188
|
-
# @!attribute [rw] client_token
|
|
1189
|
-
# A unique, case-sensitive identifier that you provide to ensure the
|
|
1190
|
-
# idempotency of the request. Idempotency ensures that an API request
|
|
1191
|
-
# completes only once. With an idempotent request, if the original
|
|
1192
|
-
# request completes successfully, subsequent retries with the same
|
|
1193
|
-
# client token return the result from the original successful request
|
|
1194
|
-
# and have no additional effect.
|
|
1195
|
-
#
|
|
1196
|
-
# **A suitable default value is auto-generated.** You should normally
|
|
1197
|
-
# not need to pass this option.
|
|
1198
|
-
# @return [String]
|
|
1199
|
-
#
|
|
1200
|
-
# @!attribute [rw] scope
|
|
1201
|
-
# The scope of the policy preview configuration. Currently only
|
|
1202
|
-
# `GLOBAL` is supported.
|
|
1203
|
-
# @return [String]
|
|
1204
|
-
#
|
|
1205
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/CreatePolicyPreviewConfigurationRequest AWS API Documentation
|
|
1206
|
-
#
|
|
1207
|
-
class CreatePolicyPreviewConfigurationRequest < Struct.new(
|
|
1208
|
-
:client_token,
|
|
1209
|
-
:scope)
|
|
1210
|
-
SENSITIVE = []
|
|
1211
|
-
include Aws::Structure
|
|
1212
|
-
end
|
|
1213
|
-
|
|
1214
|
-
# @!attribute [rw] status
|
|
1215
|
-
# The status of the policy preview configuration after creation. The
|
|
1216
|
-
# status is `PENDING_CREATION` until the configuration is fully
|
|
1217
|
-
# provisioned and becomes `ACTIVE`. If provisioning fails, the status
|
|
1218
|
-
# is `FAILED`.
|
|
1219
|
-
# @return [String]
|
|
1220
|
-
#
|
|
1221
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/CreatePolicyPreviewConfigurationResponse AWS API Documentation
|
|
1222
|
-
#
|
|
1223
|
-
class CreatePolicyPreviewConfigurationResponse < Struct.new(
|
|
1224
|
-
:status)
|
|
1225
|
-
SENSITIVE = []
|
|
1226
|
-
include Aws::Structure
|
|
1227
|
-
end
|
|
1228
|
-
|
|
1229
1172
|
# The criteria to use in the filter that defines the archive rule. For
|
|
1230
1173
|
# more information on available filter keys, see [IAM Access Analyzer
|
|
1231
1174
|
# filter keys][1].
|
|
@@ -1315,30 +1258,6 @@ module Aws::AccessAnalyzer
|
|
|
1315
1258
|
include Aws::Structure
|
|
1316
1259
|
end
|
|
1317
1260
|
|
|
1318
|
-
# @!attribute [rw] client_token
|
|
1319
|
-
# A unique, case-sensitive identifier that you provide to ensure the
|
|
1320
|
-
# idempotency of the request. Idempotency ensures that an API request
|
|
1321
|
-
# completes only once. With an idempotent request, if the original
|
|
1322
|
-
# request completes successfully, subsequent retries with the same
|
|
1323
|
-
# client token return the result from the original successful request
|
|
1324
|
-
# and have no additional effect.
|
|
1325
|
-
#
|
|
1326
|
-
# **A suitable default value is auto-generated.** You should normally
|
|
1327
|
-
# not need to pass this option.
|
|
1328
|
-
# @return [String]
|
|
1329
|
-
#
|
|
1330
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/DeletePolicyPreviewConfigurationRequest AWS API Documentation
|
|
1331
|
-
#
|
|
1332
|
-
class DeletePolicyPreviewConfigurationRequest < Struct.new(
|
|
1333
|
-
:client_token)
|
|
1334
|
-
SENSITIVE = []
|
|
1335
|
-
include Aws::Structure
|
|
1336
|
-
end
|
|
1337
|
-
|
|
1338
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/DeletePolicyPreviewConfigurationResponse AWS API Documentation
|
|
1339
|
-
#
|
|
1340
|
-
class DeletePolicyPreviewConfigurationResponse < Aws::EmptyStructure; end
|
|
1341
|
-
|
|
1342
1261
|
# The proposed access control configuration for a DynamoDB stream. You
|
|
1343
1262
|
# can propose a configuration for a new DynamoDB stream or an existing
|
|
1344
1263
|
# DynamoDB stream that you own by specifying the policy for the DynamoDB
|
|
@@ -2606,69 +2525,6 @@ module Aws::AccessAnalyzer
|
|
|
2606
2525
|
include Aws::Structure
|
|
2607
2526
|
end
|
|
2608
2527
|
|
|
2609
|
-
# @api private
|
|
2610
|
-
#
|
|
2611
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetPolicyPreviewConfigurationRequest AWS API Documentation
|
|
2612
|
-
#
|
|
2613
|
-
class GetPolicyPreviewConfigurationRequest < Aws::EmptyStructure; end
|
|
2614
|
-
|
|
2615
|
-
# @!attribute [rw] policy_preview_configurations
|
|
2616
|
-
# A list of policy preview configurations for the account.
|
|
2617
|
-
# @return [Array<Types::PolicyPreviewConfiguration>]
|
|
2618
|
-
#
|
|
2619
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetPolicyPreviewConfigurationResponse AWS API Documentation
|
|
2620
|
-
#
|
|
2621
|
-
class GetPolicyPreviewConfigurationResponse < Struct.new(
|
|
2622
|
-
:policy_preview_configurations)
|
|
2623
|
-
SENSITIVE = []
|
|
2624
|
-
include Aws::Structure
|
|
2625
|
-
end
|
|
2626
|
-
|
|
2627
|
-
# @!attribute [rw] job_id
|
|
2628
|
-
# The unique identifier of the policy preview job to retrieve. This is
|
|
2629
|
-
# the job ID returned by `StartPolicyPreviewJob`.
|
|
2630
|
-
# @return [String]
|
|
2631
|
-
#
|
|
2632
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetPolicyPreviewJobRequest AWS API Documentation
|
|
2633
|
-
#
|
|
2634
|
-
class GetPolicyPreviewJobRequest < Struct.new(
|
|
2635
|
-
:job_id)
|
|
2636
|
-
SENSITIVE = []
|
|
2637
|
-
include Aws::Structure
|
|
2638
|
-
end
|
|
2639
|
-
|
|
2640
|
-
# @!attribute [rw] job_id
|
|
2641
|
-
# The unique identifier of the policy preview job.
|
|
2642
|
-
# @return [String]
|
|
2643
|
-
#
|
|
2644
|
-
# @!attribute [rw] job_parameters
|
|
2645
|
-
# The original parameters used to create the policy preview job,
|
|
2646
|
-
# including the analysis time window and policy configurations.
|
|
2647
|
-
# @return [Types::PolicyPreviewJobParameters]
|
|
2648
|
-
#
|
|
2649
|
-
# @!attribute [rw] job_details
|
|
2650
|
-
# Details about the job execution, including current status,
|
|
2651
|
-
# submission time, start time, completion time, and any errors that
|
|
2652
|
-
# occurred.
|
|
2653
|
-
# @return [Types::PolicyPreviewJobDetails]
|
|
2654
|
-
#
|
|
2655
|
-
# @!attribute [rw] output_s3_uri
|
|
2656
|
-
# The Amazon S3 URI where the analysis report is stored. The report
|
|
2657
|
-
# contains metadata for CloudTrail events that would be denied by the
|
|
2658
|
-
# proposed policy.
|
|
2659
|
-
# @return [String]
|
|
2660
|
-
#
|
|
2661
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetPolicyPreviewJobResponse AWS API Documentation
|
|
2662
|
-
#
|
|
2663
|
-
class GetPolicyPreviewJobResponse < Struct.new(
|
|
2664
|
-
:job_id,
|
|
2665
|
-
:job_parameters,
|
|
2666
|
-
:job_details,
|
|
2667
|
-
:output_s3_uri)
|
|
2668
|
-
SENSITIVE = []
|
|
2669
|
-
include Aws::Structure
|
|
2670
|
-
end
|
|
2671
|
-
|
|
2672
2528
|
# The proposed access control configuration for an IAM role. You can
|
|
2673
2529
|
# propose a configuration for a new IAM role or an existing IAM role
|
|
2674
2530
|
# that you own by specifying the trust policy. If the configuration is
|
|
@@ -3595,52 +3451,6 @@ module Aws::AccessAnalyzer
|
|
|
3595
3451
|
include Aws::Structure
|
|
3596
3452
|
end
|
|
3597
3453
|
|
|
3598
|
-
# @!attribute [rw] filters
|
|
3599
|
-
# Optional filter criteria to narrow the list of returned jobs. You
|
|
3600
|
-
# can filter by job status or target ID. Maximum of one filter can be
|
|
3601
|
-
# specified.
|
|
3602
|
-
# @return [Hash<String,String>]
|
|
3603
|
-
#
|
|
3604
|
-
# @!attribute [rw] max_results
|
|
3605
|
-
# The maximum number of results to return in a single page. Minimum
|
|
3606
|
-
# value is 1.
|
|
3607
|
-
# @return [Integer]
|
|
3608
|
-
#
|
|
3609
|
-
# @!attribute [rw] next_token
|
|
3610
|
-
# A token used for pagination of results. Use the token returned in
|
|
3611
|
-
# the previous response to retrieve the next page of results.
|
|
3612
|
-
# @return [String]
|
|
3613
|
-
#
|
|
3614
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListPolicyPreviewJobsRequest AWS API Documentation
|
|
3615
|
-
#
|
|
3616
|
-
class ListPolicyPreviewJobsRequest < Struct.new(
|
|
3617
|
-
:filters,
|
|
3618
|
-
:max_results,
|
|
3619
|
-
:next_token)
|
|
3620
|
-
SENSITIVE = []
|
|
3621
|
-
include Aws::Structure
|
|
3622
|
-
end
|
|
3623
|
-
|
|
3624
|
-
# @!attribute [rw] analysis_reports
|
|
3625
|
-
# A list of policy preview job summaries that match the specified
|
|
3626
|
-
# filter criteria.
|
|
3627
|
-
# @return [Array<Types::PolicyPreviewAnalysisReport>]
|
|
3628
|
-
#
|
|
3629
|
-
# @!attribute [rw] next_token
|
|
3630
|
-
# A token used for pagination. If present, indicates there are more
|
|
3631
|
-
# results available. Pass this token to the next request to retrieve
|
|
3632
|
-
# the next page.
|
|
3633
|
-
# @return [String]
|
|
3634
|
-
#
|
|
3635
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListPolicyPreviewJobsResponse AWS API Documentation
|
|
3636
|
-
#
|
|
3637
|
-
class ListPolicyPreviewJobsResponse < Struct.new(
|
|
3638
|
-
:analysis_reports,
|
|
3639
|
-
:next_token)
|
|
3640
|
-
SENSITIVE = []
|
|
3641
|
-
include Aws::Structure
|
|
3642
|
-
end
|
|
3643
|
-
|
|
3644
3454
|
# Retrieves a list of tags applied to the specified resource.
|
|
3645
3455
|
#
|
|
3646
3456
|
# @!attribute [rw] resource_arn
|
|
@@ -3775,38 +3585,6 @@ module Aws::AccessAnalyzer
|
|
|
3775
3585
|
class Unknown < PathElement; end
|
|
3776
3586
|
end
|
|
3777
3587
|
|
|
3778
|
-
# Specifies the configuration for a policy preview analysis, including
|
|
3779
|
-
# the type of analysis, the target resource, and the policy documents to
|
|
3780
|
-
# evaluate.
|
|
3781
|
-
#
|
|
3782
|
-
# @!attribute [rw] job_type
|
|
3783
|
-
# The type of impact analysis job. Currently only `SCP` (Service
|
|
3784
|
-
# Control Policy) is supported.
|
|
3785
|
-
# @return [String]
|
|
3786
|
-
#
|
|
3787
|
-
# @!attribute [rw] target_id
|
|
3788
|
-
# The identifier of the target resource for the policy analysis. This
|
|
3789
|
-
# can be an Amazon Web Services account ID (12-digit number), an
|
|
3790
|
-
# organization root ID (format: `r-[0-9a-z]{4,32}`), or an
|
|
3791
|
-
# organizational unit ID (format: `ou-[0-9a-z]{4,32}-[a-z0-9]{8,32}`).
|
|
3792
|
-
# @return [String]
|
|
3793
|
-
#
|
|
3794
|
-
# @!attribute [rw] policy_documents_list
|
|
3795
|
-
# A list of SCP policy documents to test. Each policy document is a
|
|
3796
|
-
# JSON string with a maximum length of 5,120 characters. The analysis
|
|
3797
|
-
# evaluates how these policies would affect access to resources.
|
|
3798
|
-
# @return [Array<String>]
|
|
3799
|
-
#
|
|
3800
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/PolicyConfiguration AWS API Documentation
|
|
3801
|
-
#
|
|
3802
|
-
class PolicyConfiguration < Struct.new(
|
|
3803
|
-
:job_type,
|
|
3804
|
-
:target_id,
|
|
3805
|
-
:policy_documents_list)
|
|
3806
|
-
SENSITIVE = []
|
|
3807
|
-
include Aws::Structure
|
|
3808
|
-
end
|
|
3809
|
-
|
|
3810
3588
|
# Contains details about the policy generation status and properties.
|
|
3811
3589
|
#
|
|
3812
3590
|
# @!attribute [rw] job_id
|
|
@@ -3861,150 +3639,6 @@ module Aws::AccessAnalyzer
|
|
|
3861
3639
|
include Aws::Structure
|
|
3862
3640
|
end
|
|
3863
3641
|
|
|
3864
|
-
# Contains summary information about a policy preview job.
|
|
3865
|
-
#
|
|
3866
|
-
# @!attribute [rw] job_id
|
|
3867
|
-
# The unique identifier of the policy preview job.
|
|
3868
|
-
# @return [String]
|
|
3869
|
-
#
|
|
3870
|
-
# @!attribute [rw] status
|
|
3871
|
-
# The current status of the job.
|
|
3872
|
-
# @return [String]
|
|
3873
|
-
#
|
|
3874
|
-
# @!attribute [rw] submitted_at
|
|
3875
|
-
# The time at which the job was submitted.
|
|
3876
|
-
# @return [Time]
|
|
3877
|
-
#
|
|
3878
|
-
# @!attribute [rw] started_at
|
|
3879
|
-
# The time at which the job execution started.
|
|
3880
|
-
# @return [Time]
|
|
3881
|
-
#
|
|
3882
|
-
# @!attribute [rw] completed_at
|
|
3883
|
-
# The time at which the job completed.
|
|
3884
|
-
# @return [Time]
|
|
3885
|
-
#
|
|
3886
|
-
# @!attribute [rw] output_s3_uri
|
|
3887
|
-
# The Amazon S3 URI where the analysis report is stored.
|
|
3888
|
-
# @return [String]
|
|
3889
|
-
#
|
|
3890
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/PolicyPreviewAnalysisReport AWS API Documentation
|
|
3891
|
-
#
|
|
3892
|
-
class PolicyPreviewAnalysisReport < Struct.new(
|
|
3893
|
-
:job_id,
|
|
3894
|
-
:status,
|
|
3895
|
-
:submitted_at,
|
|
3896
|
-
:started_at,
|
|
3897
|
-
:completed_at,
|
|
3898
|
-
:output_s3_uri)
|
|
3899
|
-
SENSITIVE = []
|
|
3900
|
-
include Aws::Structure
|
|
3901
|
-
end
|
|
3902
|
-
|
|
3903
|
-
# Contains the configuration details for policy preview, including the
|
|
3904
|
-
# scope, status, and timestamps.
|
|
3905
|
-
#
|
|
3906
|
-
# @!attribute [rw] scope
|
|
3907
|
-
# The scope of the policy preview configuration. Currently only
|
|
3908
|
-
# `GLOBAL` is supported.
|
|
3909
|
-
# @return [String]
|
|
3910
|
-
#
|
|
3911
|
-
# @!attribute [rw] status
|
|
3912
|
-
# The status of the policy preview configuration. A value of `ACTIVE`
|
|
3913
|
-
# indicates the configuration is enabled and CloudTrail authorization
|
|
3914
|
-
# events are being collected.
|
|
3915
|
-
# @return [String]
|
|
3916
|
-
#
|
|
3917
|
-
# @!attribute [rw] created_at
|
|
3918
|
-
# The time at which the policy preview configuration was created.
|
|
3919
|
-
# @return [Time]
|
|
3920
|
-
#
|
|
3921
|
-
# @!attribute [rw] updated_at
|
|
3922
|
-
# The time at which the policy preview configuration was last updated.
|
|
3923
|
-
# @return [Time]
|
|
3924
|
-
#
|
|
3925
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/PolicyPreviewConfiguration AWS API Documentation
|
|
3926
|
-
#
|
|
3927
|
-
class PolicyPreviewConfiguration < Struct.new(
|
|
3928
|
-
:scope,
|
|
3929
|
-
:status,
|
|
3930
|
-
:created_at,
|
|
3931
|
-
:updated_at)
|
|
3932
|
-
SENSITIVE = []
|
|
3933
|
-
include Aws::Structure
|
|
3934
|
-
end
|
|
3935
|
-
|
|
3936
|
-
# Contains details about the execution of a policy preview job.
|
|
3937
|
-
#
|
|
3938
|
-
# @!attribute [rw] job_status
|
|
3939
|
-
# The current status of the job. Possible values are:
|
|
3940
|
-
#
|
|
3941
|
-
# * `SUBMITTED` - The job has been submitted but not yet started.
|
|
3942
|
-
#
|
|
3943
|
-
# * `IN_PROGRESS` - The job is currently executing.
|
|
3944
|
-
#
|
|
3945
|
-
# * `COMPLETED` - The job completed successfully.
|
|
3946
|
-
#
|
|
3947
|
-
# * `FAILED` - The job failed with an error.
|
|
3948
|
-
#
|
|
3949
|
-
# * `CANCELED` - The job was canceled by the user.
|
|
3950
|
-
# @return [String]
|
|
3951
|
-
#
|
|
3952
|
-
# @!attribute [rw] submitted_at
|
|
3953
|
-
# The time at which the job was submitted.
|
|
3954
|
-
# @return [Time]
|
|
3955
|
-
#
|
|
3956
|
-
# @!attribute [rw] started_at
|
|
3957
|
-
# The time at which the job execution started. This field is not
|
|
3958
|
-
# populated until the job begins processing.
|
|
3959
|
-
# @return [Time]
|
|
3960
|
-
#
|
|
3961
|
-
# @!attribute [rw] completed_at
|
|
3962
|
-
# The time at which the job completed. This field is populated only
|
|
3963
|
-
# when the job reaches a terminal state (COMPLETED, FAILED, or
|
|
3964
|
-
# CANCELED).
|
|
3965
|
-
# @return [Time]
|
|
3966
|
-
#
|
|
3967
|
-
# @!attribute [rw] job_error
|
|
3968
|
-
# Detailed information about the error that caused the job to fail.
|
|
3969
|
-
# This field is populated only when the job status is FAILED.
|
|
3970
|
-
# @return [Types::JobError]
|
|
3971
|
-
#
|
|
3972
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/PolicyPreviewJobDetails AWS API Documentation
|
|
3973
|
-
#
|
|
3974
|
-
class PolicyPreviewJobDetails < Struct.new(
|
|
3975
|
-
:job_status,
|
|
3976
|
-
:submitted_at,
|
|
3977
|
-
:started_at,
|
|
3978
|
-
:completed_at,
|
|
3979
|
-
:job_error)
|
|
3980
|
-
SENSITIVE = []
|
|
3981
|
-
include Aws::Structure
|
|
3982
|
-
end
|
|
3983
|
-
|
|
3984
|
-
# Contains the parameters used to create a policy preview job.
|
|
3985
|
-
#
|
|
3986
|
-
# @!attribute [rw] start_time
|
|
3987
|
-
# The start of the CloudTrail event analysis window.
|
|
3988
|
-
# @return [Time]
|
|
3989
|
-
#
|
|
3990
|
-
# @!attribute [rw] end_time
|
|
3991
|
-
# The end of the CloudTrail event analysis window.
|
|
3992
|
-
# @return [Time]
|
|
3993
|
-
#
|
|
3994
|
-
# @!attribute [rw] policy_configurations
|
|
3995
|
-
# The list of policy configurations that were analyzed.
|
|
3996
|
-
# @return [Array<Types::PolicyConfiguration>]
|
|
3997
|
-
#
|
|
3998
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/PolicyPreviewJobParameters AWS API Documentation
|
|
3999
|
-
#
|
|
4000
|
-
class PolicyPreviewJobParameters < Struct.new(
|
|
4001
|
-
:start_time,
|
|
4002
|
-
:end_time,
|
|
4003
|
-
:policy_configurations)
|
|
4004
|
-
SENSITIVE = []
|
|
4005
|
-
include Aws::Structure
|
|
4006
|
-
end
|
|
4007
|
-
|
|
4008
3642
|
# A position in a policy.
|
|
4009
3643
|
#
|
|
4010
3644
|
# @!attribute [rw] line
|
|
@@ -4763,68 +4397,6 @@ module Aws::AccessAnalyzer
|
|
|
4763
4397
|
include Aws::Structure
|
|
4764
4398
|
end
|
|
4765
4399
|
|
|
4766
|
-
# @!attribute [rw] policy_configurations
|
|
4767
|
-
# A list of policy configurations to analyze. Currently limited to one
|
|
4768
|
-
# configuration per request. Each configuration specifies the job
|
|
4769
|
-
# type, target ID, and policy documents to test.
|
|
4770
|
-
# @return [Array<Types::PolicyConfiguration>]
|
|
4771
|
-
#
|
|
4772
|
-
# @!attribute [rw] start_time
|
|
4773
|
-
# The start of the CloudTrail event analysis window. The analysis will
|
|
4774
|
-
# evaluate events from this time forward.
|
|
4775
|
-
# @return [Time]
|
|
4776
|
-
#
|
|
4777
|
-
# @!attribute [rw] end_time
|
|
4778
|
-
# The end of the analysis window. If not specified, defaults to the
|
|
4779
|
-
# time of the request. The analysis will evaluate CloudTrail events up
|
|
4780
|
-
# to this time.
|
|
4781
|
-
# @return [Time]
|
|
4782
|
-
#
|
|
4783
|
-
# @!attribute [rw] output_s3_uri
|
|
4784
|
-
# The Amazon S3 URI where the completed analysis report will be
|
|
4785
|
-
# stored. The Amazon S3 bucket must grant access to the IAM Access
|
|
4786
|
-
# Analyzer service principal in its resource policy. The report will
|
|
4787
|
-
# be stored at the path: `outputS3Uri/jobId/timestamp/`.
|
|
4788
|
-
# @return [String]
|
|
4789
|
-
#
|
|
4790
|
-
# @!attribute [rw] client_token
|
|
4791
|
-
# A unique, case-sensitive identifier that you provide to ensure the
|
|
4792
|
-
# idempotency of the request. Idempotency ensures that an API request
|
|
4793
|
-
# completes only once. With an idempotent request, if the original
|
|
4794
|
-
# request completes successfully, subsequent retries with the same
|
|
4795
|
-
# client token return the result from the original successful request
|
|
4796
|
-
# and have no additional effect.
|
|
4797
|
-
#
|
|
4798
|
-
# **A suitable default value is auto-generated.** You should normally
|
|
4799
|
-
# not need to pass this option.
|
|
4800
|
-
# @return [String]
|
|
4801
|
-
#
|
|
4802
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/StartPolicyPreviewJobRequest AWS API Documentation
|
|
4803
|
-
#
|
|
4804
|
-
class StartPolicyPreviewJobRequest < Struct.new(
|
|
4805
|
-
:policy_configurations,
|
|
4806
|
-
:start_time,
|
|
4807
|
-
:end_time,
|
|
4808
|
-
:output_s3_uri,
|
|
4809
|
-
:client_token)
|
|
4810
|
-
SENSITIVE = []
|
|
4811
|
-
include Aws::Structure
|
|
4812
|
-
end
|
|
4813
|
-
|
|
4814
|
-
# @!attribute [rw] job_id
|
|
4815
|
-
# The unique identifier for the created policy preview job. Use this
|
|
4816
|
-
# ID with `GetPolicyPreviewJob` to retrieve job status and details, or
|
|
4817
|
-
# with `CancelPolicyPreviewJob` to cancel the job.
|
|
4818
|
-
# @return [String]
|
|
4819
|
-
#
|
|
4820
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/StartPolicyPreviewJobResponse AWS API Documentation
|
|
4821
|
-
#
|
|
4822
|
-
class StartPolicyPreviewJobResponse < Struct.new(
|
|
4823
|
-
:job_id)
|
|
4824
|
-
SENSITIVE = []
|
|
4825
|
-
include Aws::Structure
|
|
4826
|
-
end
|
|
4827
|
-
|
|
4828
4400
|
# Starts a scan of the policies applied to the specified resource.
|
|
4829
4401
|
#
|
|
4830
4402
|
# @!attribute [rw] analyzer_arn
|
|
@@ -49,13 +49,12 @@ module Aws::AccessAnalyzer
|
|
|
49
49
|
end
|
|
50
50
|
autoload :Client, 'aws-sdk-accessanalyzer/client'
|
|
51
51
|
autoload :Errors, 'aws-sdk-accessanalyzer/errors'
|
|
52
|
-
autoload :Waiters, 'aws-sdk-accessanalyzer/waiters'
|
|
53
52
|
autoload :Resource, 'aws-sdk-accessanalyzer/resource'
|
|
54
53
|
autoload :EndpointParameters, 'aws-sdk-accessanalyzer/endpoint_parameters'
|
|
55
54
|
autoload :EndpointProvider, 'aws-sdk-accessanalyzer/endpoint_provider'
|
|
56
55
|
autoload :Endpoints, 'aws-sdk-accessanalyzer/endpoints'
|
|
57
56
|
|
|
58
|
-
GEM_VERSION = '1.
|
|
57
|
+
GEM_VERSION = '1.89.0'
|
|
59
58
|
|
|
60
59
|
end
|
|
61
60
|
|
data/sig/client.rbs
CHANGED
|
@@ -95,15 +95,6 @@ module Aws
|
|
|
95
95
|
) -> _CancelPolicyGenerationResponseSuccess
|
|
96
96
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelPolicyGenerationResponseSuccess
|
|
97
97
|
|
|
98
|
-
interface _CancelPolicyPreviewJobResponseSuccess
|
|
99
|
-
include ::Seahorse::Client::_ResponseSuccess[Types::CancelPolicyPreviewJobResponse]
|
|
100
|
-
end
|
|
101
|
-
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccessAnalyzer/Client.html#cancel_policy_preview_job-instance_method
|
|
102
|
-
def cancel_policy_preview_job: (
|
|
103
|
-
job_id: ::String
|
|
104
|
-
) -> _CancelPolicyPreviewJobResponseSuccess
|
|
105
|
-
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelPolicyPreviewJobResponseSuccess
|
|
106
|
-
|
|
107
98
|
interface _CheckAccessNotGrantedResponseSuccess
|
|
108
99
|
include ::Seahorse::Client::_ResponseSuccess[Types::CheckAccessNotGrantedResponse]
|
|
109
100
|
def result: () -> ("PASS" | "FAIL")
|
|
@@ -327,17 +318,6 @@ module Aws
|
|
|
327
318
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
328
319
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
329
320
|
|
|
330
|
-
interface _CreatePolicyPreviewConfigurationResponseSuccess
|
|
331
|
-
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePolicyPreviewConfigurationResponse]
|
|
332
|
-
def status: () -> ("ACTIVE" | "PENDING_CREATION" | "FAILED")
|
|
333
|
-
end
|
|
334
|
-
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccessAnalyzer/Client.html#create_policy_preview_configuration-instance_method
|
|
335
|
-
def create_policy_preview_configuration: (
|
|
336
|
-
?client_token: ::String,
|
|
337
|
-
?scope: ("GLOBAL")
|
|
338
|
-
) -> _CreatePolicyPreviewConfigurationResponseSuccess
|
|
339
|
-
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePolicyPreviewConfigurationResponseSuccess
|
|
340
|
-
|
|
341
321
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccessAnalyzer/Client.html#delete_analyzer-instance_method
|
|
342
322
|
def delete_analyzer: (
|
|
343
323
|
analyzer_name: ::String,
|
|
@@ -353,15 +333,6 @@ module Aws
|
|
|
353
333
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
354
334
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
355
335
|
|
|
356
|
-
interface _DeletePolicyPreviewConfigurationResponseSuccess
|
|
357
|
-
include ::Seahorse::Client::_ResponseSuccess[Types::DeletePolicyPreviewConfigurationResponse]
|
|
358
|
-
end
|
|
359
|
-
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccessAnalyzer/Client.html#delete_policy_preview_configuration-instance_method
|
|
360
|
-
def delete_policy_preview_configuration: (
|
|
361
|
-
?client_token: ::String
|
|
362
|
-
) -> _DeletePolicyPreviewConfigurationResponseSuccess
|
|
363
|
-
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePolicyPreviewConfigurationResponseSuccess
|
|
364
|
-
|
|
365
336
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccessAnalyzer/Client.html#generate_finding_recommendation-instance_method
|
|
366
337
|
def generate_finding_recommendation: (
|
|
367
338
|
analyzer_arn: ::String,
|
|
@@ -489,28 +460,6 @@ module Aws
|
|
|
489
460
|
) -> _GetGeneratedPolicyResponseSuccess
|
|
490
461
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGeneratedPolicyResponseSuccess
|
|
491
462
|
|
|
492
|
-
interface _GetPolicyPreviewConfigurationResponseSuccess
|
|
493
|
-
include ::Seahorse::Client::_ResponseSuccess[Types::GetPolicyPreviewConfigurationResponse]
|
|
494
|
-
def policy_preview_configurations: () -> ::Array[Types::PolicyPreviewConfiguration]
|
|
495
|
-
end
|
|
496
|
-
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccessAnalyzer/Client.html#get_policy_preview_configuration-instance_method
|
|
497
|
-
def get_policy_preview_configuration: (
|
|
498
|
-
) -> _GetPolicyPreviewConfigurationResponseSuccess
|
|
499
|
-
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPolicyPreviewConfigurationResponseSuccess
|
|
500
|
-
|
|
501
|
-
interface _GetPolicyPreviewJobResponseSuccess
|
|
502
|
-
include ::Seahorse::Client::_ResponseSuccess[Types::GetPolicyPreviewJobResponse]
|
|
503
|
-
def job_id: () -> ::String
|
|
504
|
-
def job_parameters: () -> Types::PolicyPreviewJobParameters
|
|
505
|
-
def job_details: () -> Types::PolicyPreviewJobDetails
|
|
506
|
-
def output_s3_uri: () -> ::String
|
|
507
|
-
end
|
|
508
|
-
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccessAnalyzer/Client.html#get_policy_preview_job-instance_method
|
|
509
|
-
def get_policy_preview_job: (
|
|
510
|
-
job_id: ::String
|
|
511
|
-
) -> _GetPolicyPreviewJobResponseSuccess
|
|
512
|
-
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPolicyPreviewJobResponseSuccess
|
|
513
|
-
|
|
514
463
|
interface _ListAccessPreviewFindingsResponseSuccess
|
|
515
464
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListAccessPreviewFindingsResponse]
|
|
516
465
|
def findings: () -> ::Array[Types::AccessPreviewFinding]
|
|
@@ -643,19 +592,6 @@ module Aws
|
|
|
643
592
|
) -> _ListPolicyGenerationsResponseSuccess
|
|
644
593
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPolicyGenerationsResponseSuccess
|
|
645
594
|
|
|
646
|
-
interface _ListPolicyPreviewJobsResponseSuccess
|
|
647
|
-
include ::Seahorse::Client::_ResponseSuccess[Types::ListPolicyPreviewJobsResponse]
|
|
648
|
-
def analysis_reports: () -> ::Array[Types::PolicyPreviewAnalysisReport]
|
|
649
|
-
def next_token: () -> ::String
|
|
650
|
-
end
|
|
651
|
-
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccessAnalyzer/Client.html#list_policy_preview_jobs-instance_method
|
|
652
|
-
def list_policy_preview_jobs: (
|
|
653
|
-
?filters: Hash[("jobStatus" | "targetId"), ::String],
|
|
654
|
-
?max_results: ::Integer,
|
|
655
|
-
?next_token: ::String
|
|
656
|
-
) -> _ListPolicyPreviewJobsResponseSuccess
|
|
657
|
-
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPolicyPreviewJobsResponseSuccess
|
|
658
|
-
|
|
659
595
|
interface _ListTagsForResourceResponseSuccess
|
|
660
596
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
|
661
597
|
def tags: () -> ::Hash[::String, ::String]
|
|
@@ -691,26 +627,6 @@ module Aws
|
|
|
691
627
|
) -> _StartPolicyGenerationResponseSuccess
|
|
692
628
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartPolicyGenerationResponseSuccess
|
|
693
629
|
|
|
694
|
-
interface _StartPolicyPreviewJobResponseSuccess
|
|
695
|
-
include ::Seahorse::Client::_ResponseSuccess[Types::StartPolicyPreviewJobResponse]
|
|
696
|
-
def job_id: () -> ::String
|
|
697
|
-
end
|
|
698
|
-
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccessAnalyzer/Client.html#start_policy_preview_job-instance_method
|
|
699
|
-
def start_policy_preview_job: (
|
|
700
|
-
policy_configurations: Array[
|
|
701
|
-
{
|
|
702
|
-
job_type: ("SCP"),
|
|
703
|
-
target_id: ::String,
|
|
704
|
-
policy_documents_list: Array[::String]
|
|
705
|
-
},
|
|
706
|
-
],
|
|
707
|
-
start_time: ::Time,
|
|
708
|
-
?end_time: ::Time,
|
|
709
|
-
output_s3_uri: ::String,
|
|
710
|
-
?client_token: ::String
|
|
711
|
-
) -> _StartPolicyPreviewJobResponseSuccess
|
|
712
|
-
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartPolicyPreviewJobResponseSuccess
|
|
713
|
-
|
|
714
630
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccessAnalyzer/Client.html#start_resource_scan-instance_method
|
|
715
631
|
def start_resource_scan: (
|
|
716
632
|
analyzer_arn: ::String,
|
|
@@ -814,15 +730,6 @@ module Aws
|
|
|
814
730
|
?validate_policy_resource_type: ("AWS::S3::Bucket" | "AWS::S3::AccessPoint" | "AWS::S3::MultiRegionAccessPoint" | "AWS::S3ObjectLambda::AccessPoint" | "AWS::IAM::AssumeRolePolicyDocument" | "AWS::DynamoDB::Table")
|
|
815
731
|
) -> _ValidatePolicyResponseSuccess
|
|
816
732
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ValidatePolicyResponseSuccess
|
|
817
|
-
|
|
818
|
-
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccessAnalyzer/Client.html#wait_until-instance_method
|
|
819
|
-
def wait_until: (:policy_preview_configuration_active waiter_name,
|
|
820
|
-
) -> Client::_GetPolicyPreviewConfigurationResponseSuccess
|
|
821
|
-
| (:policy_preview_configuration_active waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetPolicyPreviewConfigurationResponseSuccess
|
|
822
|
-
| (:policy_preview_job_completed waiter_name,
|
|
823
|
-
job_id: ::String
|
|
824
|
-
) -> Client::_GetPolicyPreviewJobResponseSuccess
|
|
825
|
-
| (:policy_preview_job_completed waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetPolicyPreviewJobResponseSuccess
|
|
826
733
|
end
|
|
827
734
|
end
|
|
828
735
|
end
|