@aws-sdk/client-cloudtrail 3.288.0 → 3.290.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.
Files changed (45) hide show
  1. package/dist-types/commands/AddTagsCommand.d.ts +82 -0
  2. package/dist-types/commands/CancelQueryCommand.d.ts +37 -0
  3. package/dist-types/commands/CreateChannelCommand.d.ts +45 -0
  4. package/dist-types/commands/CreateEventDataStoreCommand.d.ts +99 -0
  5. package/dist-types/commands/CreateTrailCommand.d.ts +137 -0
  6. package/dist-types/commands/DeleteChannelCommand.d.ts +14 -0
  7. package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +46 -0
  8. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +24 -0
  9. package/dist-types/commands/DeleteTrailCommand.d.ts +71 -0
  10. package/dist-types/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +45 -0
  11. package/dist-types/commands/DescribeQueryCommand.d.ts +27 -0
  12. package/dist-types/commands/DescribeTrailsCommand.d.ts +34 -0
  13. package/dist-types/commands/GetChannelCommand.d.ts +14 -0
  14. package/dist-types/commands/GetEventDataStoreCommand.d.ts +21 -0
  15. package/dist-types/commands/GetEventSelectorsCommand.d.ts +51 -0
  16. package/dist-types/commands/GetImportCommand.d.ts +13 -0
  17. package/dist-types/commands/GetInsightSelectorsCommand.d.ts +56 -0
  18. package/dist-types/commands/GetQueryResultsCommand.d.ts +38 -0
  19. package/dist-types/commands/GetResourcePolicyCommand.d.ts +24 -0
  20. package/dist-types/commands/GetTrailCommand.d.ts +47 -0
  21. package/dist-types/commands/GetTrailStatusCommand.d.ts +47 -0
  22. package/dist-types/commands/ListChannelsCommand.d.ts +11 -0
  23. package/dist-types/commands/ListEventDataStoresCommand.d.ts +18 -0
  24. package/dist-types/commands/ListImportFailuresCommand.d.ts +11 -0
  25. package/dist-types/commands/ListImportsCommand.d.ts +18 -0
  26. package/dist-types/commands/ListPublicKeysCommand.d.ts +14 -0
  27. package/dist-types/commands/ListQueriesCommand.d.ts +39 -0
  28. package/dist-types/commands/ListTagsCommand.d.ts +63 -0
  29. package/dist-types/commands/ListTrailsCommand.d.ts +7 -0
  30. package/dist-types/commands/LookupEventsCommand.d.ts +25 -0
  31. package/dist-types/commands/PutEventSelectorsCommand.d.ts +95 -0
  32. package/dist-types/commands/PutInsightSelectorsCommand.d.ts +80 -0
  33. package/dist-types/commands/PutResourcePolicyCommand.d.ts +42 -0
  34. package/dist-types/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +54 -0
  35. package/dist-types/commands/RemoveTagsCommand.d.ts +72 -0
  36. package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +50 -0
  37. package/dist-types/commands/StartImportCommand.d.ts +42 -0
  38. package/dist-types/commands/StartLoggingCommand.d.ts +71 -0
  39. package/dist-types/commands/StartQueryCommand.d.ts +49 -0
  40. package/dist-types/commands/StopImportCommand.d.ts +13 -0
  41. package/dist-types/commands/StopLoggingCommand.d.ts +71 -0
  42. package/dist-types/commands/UpdateChannelCommand.d.ts +36 -0
  43. package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +97 -0
  44. package/dist-types/commands/UpdateTrailCommand.d.ts +177 -0
  45. package/package.json +29 -29
@@ -30,6 +30,51 @@ export interface DeregisterOrganizationDelegatedAdminCommandOutput extends Dereg
30
30
  * @see {@link DeregisterOrganizationDelegatedAdminCommandOutput} for command's `response` shape.
31
31
  * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
32
32
  *
33
+ * @throws {@link AccountNotFoundException} (client fault)
34
+ * <p>This exception is thrown when the specified account is not found or not part of an
35
+ * organization.</p>
36
+ *
37
+ * @throws {@link AccountNotRegisteredException} (client fault)
38
+ * <p>This exception is thrown when the specified account is not registered as the CloudTrail delegated administrator.</p>
39
+ *
40
+ * @throws {@link CloudTrailAccessNotEnabledException} (client fault)
41
+ * <p>This exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">Enabling Trusted Access with Other Amazon Web Services Services</a> and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html">Prepare For Creating a Trail For Your Organization</a>. </p>
42
+ *
43
+ * @throws {@link ConflictException} (client fault)
44
+ * <p>This exception is thrown when the specified resource is not ready for an operation. This
45
+ * can occur when you try to run an operation on a resource before CloudTrail has time
46
+ * to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the
47
+ * operation again.</p>
48
+ *
49
+ * @throws {@link InsufficientDependencyServiceAccessPermissionException} (client fault)
50
+ * <p>This exception is thrown when the IAM user or role that is used to create
51
+ * the organization resource lacks one or more required permissions for creating an
52
+ * organization resource in a required service.</p>
53
+ *
54
+ * @throws {@link InvalidParameterException} (client fault)
55
+ * <p>The request includes a parameter that is not valid.</p>
56
+ *
57
+ * @throws {@link NotOrganizationManagementAccountException} (client fault)
58
+ * <p> This exception is thrown when the account making the request is not the organization's
59
+ * management account. </p>
60
+ *
61
+ * @throws {@link OperationNotPermittedException} (client fault)
62
+ * <p>This exception is thrown when the requested operation is not permitted.</p>
63
+ *
64
+ * @throws {@link OrganizationNotInAllFeaturesModeException} (client fault)
65
+ * <p>This exception is thrown when Organizations is not configured to support all
66
+ * features. All features must be enabled in Organizations to support creating an
67
+ * organization trail or event data store.</p>
68
+ *
69
+ * @throws {@link OrganizationsNotInUseException} (client fault)
70
+ * <p>This exception is thrown when the request is made from an Amazon Web Services account
71
+ * that is not a member of an organization. To make this request, sign in using the
72
+ * credentials of an account that belongs to an organization.</p>
73
+ *
74
+ * @throws {@link UnsupportedOperationException} (client fault)
75
+ * <p>This exception is thrown when the requested operation is not supported.</p>
76
+ *
77
+ *
33
78
  */
34
79
  export declare class DeregisterOrganizationDelegatedAdminCommand extends $Command<DeregisterOrganizationDelegatedAdminCommandInput, DeregisterOrganizationDelegatedAdminCommandOutput, CloudTrailClientResolvedConfig> {
35
80
  readonly input: DeregisterOrganizationDelegatedAdminCommandInput;
@@ -31,6 +31,33 @@ export interface DescribeQueryCommandOutput extends DescribeQueryResponse, __Met
31
31
  * @see {@link DescribeQueryCommandOutput} for command's `response` shape.
32
32
  * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
33
33
  *
34
+ * @throws {@link EventDataStoreARNInvalidException} (client fault)
35
+ * <p>The specified event data store ARN is not valid or does not map to an event data store
36
+ * in your account.</p>
37
+ *
38
+ * @throws {@link EventDataStoreNotFoundException} (client fault)
39
+ * <p>The specified event data store was not found.</p>
40
+ *
41
+ * @throws {@link InactiveEventDataStoreException} (client fault)
42
+ * <p>The event data store is inactive.</p>
43
+ *
44
+ * @throws {@link InvalidParameterException} (client fault)
45
+ * <p>The request includes a parameter that is not valid.</p>
46
+ *
47
+ * @throws {@link NoManagementAccountSLRExistsException} (client fault)
48
+ * <p> This exception is thrown when the management account does not have a service-linked
49
+ * role. </p>
50
+ *
51
+ * @throws {@link OperationNotPermittedException} (client fault)
52
+ * <p>This exception is thrown when the requested operation is not permitted.</p>
53
+ *
54
+ * @throws {@link QueryIdNotFoundException} (client fault)
55
+ * <p>The query ID does not exist or does not map to a query.</p>
56
+ *
57
+ * @throws {@link UnsupportedOperationException} (client fault)
58
+ * <p>This exception is thrown when the requested operation is not supported.</p>
59
+ *
60
+ *
34
61
  */
35
62
  export declare class DescribeQueryCommand extends $Command<DescribeQueryCommandInput, DescribeQueryCommandOutput, CloudTrailClientResolvedConfig> {
36
63
  readonly input: DescribeQueryCommandInput;
@@ -30,6 +30,40 @@ export interface DescribeTrailsCommandOutput extends DescribeTrailsResponse, __M
30
30
  * @see {@link DescribeTrailsCommandOutput} for command's `response` shape.
31
31
  * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidTrailNameException} (client fault)
34
+ * <p>This exception is thrown when the provided trail name is not valid. Trail names must
35
+ * meet the following requirements:</p>
36
+ * <ul>
37
+ * <li>
38
+ * <p>Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores
39
+ * (_), or dashes (-)</p>
40
+ * </li>
41
+ * <li>
42
+ * <p>Start with a letter or number, and end with a letter or number</p>
43
+ * </li>
44
+ * <li>
45
+ * <p>Be between 3 and 128 characters</p>
46
+ * </li>
47
+ * <li>
48
+ * <p>Have no adjacent periods, underscores or dashes. Names like
49
+ * <code>my-_namespace</code> and <code>my--namespace</code> are not valid.</p>
50
+ * </li>
51
+ * <li>
52
+ * <p>Not be in IP address format (for example, 192.168.5.4)</p>
53
+ * </li>
54
+ * </ul>
55
+ *
56
+ * @throws {@link NoManagementAccountSLRExistsException} (client fault)
57
+ * <p> This exception is thrown when the management account does not have a service-linked
58
+ * role. </p>
59
+ *
60
+ * @throws {@link OperationNotPermittedException} (client fault)
61
+ * <p>This exception is thrown when the requested operation is not permitted.</p>
62
+ *
63
+ * @throws {@link UnsupportedOperationException} (client fault)
64
+ * <p>This exception is thrown when the requested operation is not supported.</p>
65
+ *
66
+ *
33
67
  */
34
68
  export declare class DescribeTrailsCommand extends $Command<DescribeTrailsCommandInput, DescribeTrailsCommandOutput, CloudTrailClientResolvedConfig> {
35
69
  readonly input: DescribeTrailsCommandInput;
@@ -30,6 +30,20 @@ export interface GetChannelCommandOutput extends GetChannelResponse, __MetadataB
30
30
  * @see {@link GetChannelCommandOutput} for command's `response` shape.
31
31
  * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
32
32
  *
33
+ * @throws {@link ChannelARNInvalidException} (client fault)
34
+ * <p>This exception is thrown when the specified value of <code>ChannelARN</code> is not
35
+ * valid.</p>
36
+ *
37
+ * @throws {@link ChannelNotFoundException} (client fault)
38
+ * <p>This exception is thrown when CloudTrail cannot find the specified channel.</p>
39
+ *
40
+ * @throws {@link OperationNotPermittedException} (client fault)
41
+ * <p>This exception is thrown when the requested operation is not permitted.</p>
42
+ *
43
+ * @throws {@link UnsupportedOperationException} (client fault)
44
+ * <p>This exception is thrown when the requested operation is not supported.</p>
45
+ *
46
+ *
33
47
  */
34
48
  export declare class GetChannelCommand extends $Command<GetChannelCommandInput, GetChannelCommandOutput, CloudTrailClientResolvedConfig> {
35
49
  readonly input: GetChannelCommandInput;
@@ -30,6 +30,27 @@ export interface GetEventDataStoreCommandOutput extends GetEventDataStoreRespons
30
30
  * @see {@link GetEventDataStoreCommandOutput} for command's `response` shape.
31
31
  * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
32
32
  *
33
+ * @throws {@link EventDataStoreARNInvalidException} (client fault)
34
+ * <p>The specified event data store ARN is not valid or does not map to an event data store
35
+ * in your account.</p>
36
+ *
37
+ * @throws {@link EventDataStoreNotFoundException} (client fault)
38
+ * <p>The specified event data store was not found.</p>
39
+ *
40
+ * @throws {@link InvalidParameterException} (client fault)
41
+ * <p>The request includes a parameter that is not valid.</p>
42
+ *
43
+ * @throws {@link NoManagementAccountSLRExistsException} (client fault)
44
+ * <p> This exception is thrown when the management account does not have a service-linked
45
+ * role. </p>
46
+ *
47
+ * @throws {@link OperationNotPermittedException} (client fault)
48
+ * <p>This exception is thrown when the requested operation is not permitted.</p>
49
+ *
50
+ * @throws {@link UnsupportedOperationException} (client fault)
51
+ * <p>This exception is thrown when the requested operation is not supported.</p>
52
+ *
53
+ *
33
54
  */
34
55
  export declare class GetEventDataStoreCommand extends $Command<GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput, CloudTrailClientResolvedConfig> {
35
56
  readonly input: GetEventDataStoreCommandInput;
@@ -57,6 +57,57 @@ export interface GetEventSelectorsCommandOutput extends GetEventSelectorsRespons
57
57
  * @see {@link GetEventSelectorsCommandOutput} for command's `response` shape.
58
58
  * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
59
59
  *
60
+ * @throws {@link CloudTrailARNInvalidException} (client fault)
61
+ * <p>This exception is thrown when an operation is called with a trail ARN that is not valid.
62
+ * The following is the format of a trail ARN.</p>
63
+ * <p>
64
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
65
+ * </p>
66
+ * <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
67
+ * <p>The following is the format of an event data store ARN:
68
+ * <code>arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
69
+ * </p>
70
+ * <p>The following is the format of a channel ARN:
71
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
72
+ * </p>
73
+ *
74
+ * @throws {@link InvalidTrailNameException} (client fault)
75
+ * <p>This exception is thrown when the provided trail name is not valid. Trail names must
76
+ * meet the following requirements:</p>
77
+ * <ul>
78
+ * <li>
79
+ * <p>Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores
80
+ * (_), or dashes (-)</p>
81
+ * </li>
82
+ * <li>
83
+ * <p>Start with a letter or number, and end with a letter or number</p>
84
+ * </li>
85
+ * <li>
86
+ * <p>Be between 3 and 128 characters</p>
87
+ * </li>
88
+ * <li>
89
+ * <p>Have no adjacent periods, underscores or dashes. Names like
90
+ * <code>my-_namespace</code> and <code>my--namespace</code> are not valid.</p>
91
+ * </li>
92
+ * <li>
93
+ * <p>Not be in IP address format (for example, 192.168.5.4)</p>
94
+ * </li>
95
+ * </ul>
96
+ *
97
+ * @throws {@link NoManagementAccountSLRExistsException} (client fault)
98
+ * <p> This exception is thrown when the management account does not have a service-linked
99
+ * role. </p>
100
+ *
101
+ * @throws {@link OperationNotPermittedException} (client fault)
102
+ * <p>This exception is thrown when the requested operation is not permitted.</p>
103
+ *
104
+ * @throws {@link TrailNotFoundException} (client fault)
105
+ * <p>This exception is thrown when the trail with the given name is not found.</p>
106
+ *
107
+ * @throws {@link UnsupportedOperationException} (client fault)
108
+ * <p>This exception is thrown when the requested operation is not supported.</p>
109
+ *
110
+ *
60
111
  */
61
112
  export declare class GetEventSelectorsCommand extends $Command<GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput, CloudTrailClientResolvedConfig> {
62
113
  readonly input: GetEventSelectorsCommandInput;
@@ -29,6 +29,19 @@ export interface GetImportCommandOutput extends GetImportResponse, __MetadataBea
29
29
  * @see {@link GetImportCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
31
31
  *
32
+ * @throws {@link ImportNotFoundException} (client fault)
33
+ * <p> The specified import was not found. </p>
34
+ *
35
+ * @throws {@link InvalidParameterException} (client fault)
36
+ * <p>The request includes a parameter that is not valid.</p>
37
+ *
38
+ * @throws {@link OperationNotPermittedException} (client fault)
39
+ * <p>This exception is thrown when the requested operation is not permitted.</p>
40
+ *
41
+ * @throws {@link UnsupportedOperationException} (client fault)
42
+ * <p>This exception is thrown when the requested operation is not supported.</p>
43
+ *
44
+ *
32
45
  */
33
46
  export declare class GetImportCommand extends $Command<GetImportCommandInput, GetImportCommandOutput, CloudTrailClientResolvedConfig> {
34
47
  readonly input: GetImportCommandInput;
@@ -35,6 +35,62 @@ export interface GetInsightSelectorsCommandOutput extends GetInsightSelectorsRes
35
35
  * @see {@link GetInsightSelectorsCommandOutput} for command's `response` shape.
36
36
  * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
37
37
  *
38
+ * @throws {@link CloudTrailARNInvalidException} (client fault)
39
+ * <p>This exception is thrown when an operation is called with a trail ARN that is not valid.
40
+ * The following is the format of a trail ARN.</p>
41
+ * <p>
42
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
43
+ * </p>
44
+ * <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
45
+ * <p>The following is the format of an event data store ARN:
46
+ * <code>arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
47
+ * </p>
48
+ * <p>The following is the format of a channel ARN:
49
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
50
+ * </p>
51
+ *
52
+ * @throws {@link InsightNotEnabledException} (client fault)
53
+ * <p>If you run <code>GetInsightSelectors</code> on a trail that does not have Insights
54
+ * events enabled, the operation throws the exception
55
+ * <code>InsightNotEnabledException</code>.</p>
56
+ *
57
+ * @throws {@link InvalidTrailNameException} (client fault)
58
+ * <p>This exception is thrown when the provided trail name is not valid. Trail names must
59
+ * meet the following requirements:</p>
60
+ * <ul>
61
+ * <li>
62
+ * <p>Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores
63
+ * (_), or dashes (-)</p>
64
+ * </li>
65
+ * <li>
66
+ * <p>Start with a letter or number, and end with a letter or number</p>
67
+ * </li>
68
+ * <li>
69
+ * <p>Be between 3 and 128 characters</p>
70
+ * </li>
71
+ * <li>
72
+ * <p>Have no adjacent periods, underscores or dashes. Names like
73
+ * <code>my-_namespace</code> and <code>my--namespace</code> are not valid.</p>
74
+ * </li>
75
+ * <li>
76
+ * <p>Not be in IP address format (for example, 192.168.5.4)</p>
77
+ * </li>
78
+ * </ul>
79
+ *
80
+ * @throws {@link NoManagementAccountSLRExistsException} (client fault)
81
+ * <p> This exception is thrown when the management account does not have a service-linked
82
+ * role. </p>
83
+ *
84
+ * @throws {@link OperationNotPermittedException} (client fault)
85
+ * <p>This exception is thrown when the requested operation is not permitted.</p>
86
+ *
87
+ * @throws {@link TrailNotFoundException} (client fault)
88
+ * <p>This exception is thrown when the trail with the given name is not found.</p>
89
+ *
90
+ * @throws {@link UnsupportedOperationException} (client fault)
91
+ * <p>This exception is thrown when the requested operation is not supported.</p>
92
+ *
93
+ *
38
94
  */
39
95
  export declare class GetInsightSelectorsCommand extends $Command<GetInsightSelectorsCommandInput, GetInsightSelectorsCommandOutput, CloudTrailClientResolvedConfig> {
40
96
  readonly input: GetInsightSelectorsCommandInput;
@@ -31,6 +31,44 @@ export interface GetQueryResultsCommandOutput extends GetQueryResultsResponse, _
31
31
  * @see {@link GetQueryResultsCommandOutput} for command's `response` shape.
32
32
  * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
33
33
  *
34
+ * @throws {@link EventDataStoreARNInvalidException} (client fault)
35
+ * <p>The specified event data store ARN is not valid or does not map to an event data store
36
+ * in your account.</p>
37
+ *
38
+ * @throws {@link EventDataStoreNotFoundException} (client fault)
39
+ * <p>The specified event data store was not found.</p>
40
+ *
41
+ * @throws {@link InactiveEventDataStoreException} (client fault)
42
+ * <p>The event data store is inactive.</p>
43
+ *
44
+ * @throws {@link InsufficientEncryptionPolicyException} (client fault)
45
+ * <p>This exception is thrown when the policy on the S3 bucket or KMS key does
46
+ * not have sufficient permissions for the operation.</p>
47
+ *
48
+ * @throws {@link InvalidMaxResultsException} (client fault)
49
+ * <p>This exception is thrown if the limit specified is not valid.</p>
50
+ *
51
+ * @throws {@link InvalidNextTokenException} (client fault)
52
+ * <p>A token that is not valid, or a token that was previously used in a request with
53
+ * different parameters. This exception is thrown if the token is not valid.</p>
54
+ *
55
+ * @throws {@link InvalidParameterException} (client fault)
56
+ * <p>The request includes a parameter that is not valid.</p>
57
+ *
58
+ * @throws {@link NoManagementAccountSLRExistsException} (client fault)
59
+ * <p> This exception is thrown when the management account does not have a service-linked
60
+ * role. </p>
61
+ *
62
+ * @throws {@link OperationNotPermittedException} (client fault)
63
+ * <p>This exception is thrown when the requested operation is not permitted.</p>
64
+ *
65
+ * @throws {@link QueryIdNotFoundException} (client fault)
66
+ * <p>The query ID does not exist or does not map to a query.</p>
67
+ *
68
+ * @throws {@link UnsupportedOperationException} (client fault)
69
+ * <p>This exception is thrown when the requested operation is not supported.</p>
70
+ *
71
+ *
34
72
  */
35
73
  export declare class GetQueryResultsCommand extends $Command<GetQueryResultsCommandInput, GetQueryResultsCommandOutput, CloudTrailClientResolvedConfig> {
36
74
  readonly input: GetQueryResultsCommandInput;
@@ -31,6 +31,30 @@ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyRespons
31
31
  * @see {@link GetResourcePolicyCommandOutput} for command's `response` shape.
32
32
  * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
33
33
  *
34
+ * @throws {@link OperationNotPermittedException} (client fault)
35
+ * <p>This exception is thrown when the requested operation is not permitted.</p>
36
+ *
37
+ * @throws {@link ResourceARNNotValidException} (client fault)
38
+ * <p>
39
+ * This exception is thrown when the provided resource does not exist, or the ARN format of the resource is not valid. The following is the valid format for a resource ARN:
40
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel</code>.
41
+ * </p>
42
+ *
43
+ * @throws {@link ResourceNotFoundException} (client fault)
44
+ * <p>This exception is thrown when the specified resource is not found.</p>
45
+ *
46
+ * @throws {@link ResourcePolicyNotFoundException} (client fault)
47
+ * <p>
48
+ * This exception is thrown when the specified resource policy is not found.
49
+ * </p>
50
+ *
51
+ * @throws {@link ResourceTypeNotSupportedException} (client fault)
52
+ * <p>This exception is thrown when the specified resource type is not supported by CloudTrail.</p>
53
+ *
54
+ * @throws {@link UnsupportedOperationException} (client fault)
55
+ * <p>This exception is thrown when the requested operation is not supported.</p>
56
+ *
57
+ *
34
58
  */
35
59
  export declare class GetResourcePolicyCommand extends $Command<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, CloudTrailClientResolvedConfig> {
36
60
  readonly input: GetResourcePolicyCommandInput;
@@ -29,6 +29,53 @@ export interface GetTrailCommandOutput extends GetTrailResponse, __MetadataBeare
29
29
  * @see {@link GetTrailCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
31
31
  *
32
+ * @throws {@link CloudTrailARNInvalidException} (client fault)
33
+ * <p>This exception is thrown when an operation is called with a trail ARN that is not valid.
34
+ * The following is the format of a trail ARN.</p>
35
+ * <p>
36
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
37
+ * </p>
38
+ * <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
39
+ * <p>The following is the format of an event data store ARN:
40
+ * <code>arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
41
+ * </p>
42
+ * <p>The following is the format of a channel ARN:
43
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
44
+ * </p>
45
+ *
46
+ * @throws {@link InvalidTrailNameException} (client fault)
47
+ * <p>This exception is thrown when the provided trail name is not valid. Trail names must
48
+ * meet the following requirements:</p>
49
+ * <ul>
50
+ * <li>
51
+ * <p>Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores
52
+ * (_), or dashes (-)</p>
53
+ * </li>
54
+ * <li>
55
+ * <p>Start with a letter or number, and end with a letter or number</p>
56
+ * </li>
57
+ * <li>
58
+ * <p>Be between 3 and 128 characters</p>
59
+ * </li>
60
+ * <li>
61
+ * <p>Have no adjacent periods, underscores or dashes. Names like
62
+ * <code>my-_namespace</code> and <code>my--namespace</code> are not valid.</p>
63
+ * </li>
64
+ * <li>
65
+ * <p>Not be in IP address format (for example, 192.168.5.4)</p>
66
+ * </li>
67
+ * </ul>
68
+ *
69
+ * @throws {@link OperationNotPermittedException} (client fault)
70
+ * <p>This exception is thrown when the requested operation is not permitted.</p>
71
+ *
72
+ * @throws {@link TrailNotFoundException} (client fault)
73
+ * <p>This exception is thrown when the trail with the given name is not found.</p>
74
+ *
75
+ * @throws {@link UnsupportedOperationException} (client fault)
76
+ * <p>This exception is thrown when the requested operation is not supported.</p>
77
+ *
78
+ *
32
79
  */
33
80
  export declare class GetTrailCommand extends $Command<GetTrailCommandInput, GetTrailCommandOutput, CloudTrailClientResolvedConfig> {
34
81
  readonly input: GetTrailCommandInput;
@@ -33,6 +33,53 @@ export interface GetTrailStatusCommandOutput extends GetTrailStatusResponse, __M
33
33
  * @see {@link GetTrailStatusCommandOutput} for command's `response` shape.
34
34
  * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
35
35
  *
36
+ * @throws {@link CloudTrailARNInvalidException} (client fault)
37
+ * <p>This exception is thrown when an operation is called with a trail ARN that is not valid.
38
+ * The following is the format of a trail ARN.</p>
39
+ * <p>
40
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
41
+ * </p>
42
+ * <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
43
+ * <p>The following is the format of an event data store ARN:
44
+ * <code>arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
45
+ * </p>
46
+ * <p>The following is the format of a channel ARN:
47
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
48
+ * </p>
49
+ *
50
+ * @throws {@link InvalidTrailNameException} (client fault)
51
+ * <p>This exception is thrown when the provided trail name is not valid. Trail names must
52
+ * meet the following requirements:</p>
53
+ * <ul>
54
+ * <li>
55
+ * <p>Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores
56
+ * (_), or dashes (-)</p>
57
+ * </li>
58
+ * <li>
59
+ * <p>Start with a letter or number, and end with a letter or number</p>
60
+ * </li>
61
+ * <li>
62
+ * <p>Be between 3 and 128 characters</p>
63
+ * </li>
64
+ * <li>
65
+ * <p>Have no adjacent periods, underscores or dashes. Names like
66
+ * <code>my-_namespace</code> and <code>my--namespace</code> are not valid.</p>
67
+ * </li>
68
+ * <li>
69
+ * <p>Not be in IP address format (for example, 192.168.5.4)</p>
70
+ * </li>
71
+ * </ul>
72
+ *
73
+ * @throws {@link OperationNotPermittedException} (client fault)
74
+ * <p>This exception is thrown when the requested operation is not permitted.</p>
75
+ *
76
+ * @throws {@link TrailNotFoundException} (client fault)
77
+ * <p>This exception is thrown when the trail with the given name is not found.</p>
78
+ *
79
+ * @throws {@link UnsupportedOperationException} (client fault)
80
+ * <p>This exception is thrown when the requested operation is not supported.</p>
81
+ *
82
+ *
36
83
  */
37
84
  export declare class GetTrailStatusCommand extends $Command<GetTrailStatusCommandInput, GetTrailStatusCommandOutput, CloudTrailClientResolvedConfig> {
38
85
  readonly input: GetTrailStatusCommandInput;
@@ -30,6 +30,17 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad
30
30
  * @see {@link ListChannelsCommandOutput} for command's `response` shape.
31
31
  * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidNextTokenException} (client fault)
34
+ * <p>A token that is not valid, or a token that was previously used in a request with
35
+ * different parameters. This exception is thrown if the token is not valid.</p>
36
+ *
37
+ * @throws {@link OperationNotPermittedException} (client fault)
38
+ * <p>This exception is thrown when the requested operation is not permitted.</p>
39
+ *
40
+ * @throws {@link UnsupportedOperationException} (client fault)
41
+ * <p>This exception is thrown when the requested operation is not supported.</p>
42
+ *
43
+ *
33
44
  */
34
45
  export declare class ListChannelsCommand extends $Command<ListChannelsCommandInput, ListChannelsCommandOutput, CloudTrailClientResolvedConfig> {
35
46
  readonly input: ListChannelsCommandInput;
@@ -30,6 +30,24 @@ export interface ListEventDataStoresCommandOutput extends ListEventDataStoresRes
30
30
  * @see {@link ListEventDataStoresCommandOutput} for command's `response` shape.
31
31
  * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidMaxResultsException} (client fault)
34
+ * <p>This exception is thrown if the limit specified is not valid.</p>
35
+ *
36
+ * @throws {@link InvalidNextTokenException} (client fault)
37
+ * <p>A token that is not valid, or a token that was previously used in a request with
38
+ * different parameters. This exception is thrown if the token is not valid.</p>
39
+ *
40
+ * @throws {@link NoManagementAccountSLRExistsException} (client fault)
41
+ * <p> This exception is thrown when the management account does not have a service-linked
42
+ * role. </p>
43
+ *
44
+ * @throws {@link OperationNotPermittedException} (client fault)
45
+ * <p>This exception is thrown when the requested operation is not permitted.</p>
46
+ *
47
+ * @throws {@link UnsupportedOperationException} (client fault)
48
+ * <p>This exception is thrown when the requested operation is not supported.</p>
49
+ *
50
+ *
33
51
  */
34
52
  export declare class ListEventDataStoresCommand extends $Command<ListEventDataStoresCommandInput, ListEventDataStoresCommandOutput, CloudTrailClientResolvedConfig> {
35
53
  readonly input: ListEventDataStoresCommandInput;
@@ -29,6 +29,17 @@ export interface ListImportFailuresCommandOutput extends ListImportFailuresRespo
29
29
  * @see {@link ListImportFailuresCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidNextTokenException} (client fault)
33
+ * <p>A token that is not valid, or a token that was previously used in a request with
34
+ * different parameters. This exception is thrown if the token is not valid.</p>
35
+ *
36
+ * @throws {@link OperationNotPermittedException} (client fault)
37
+ * <p>This exception is thrown when the requested operation is not permitted.</p>
38
+ *
39
+ * @throws {@link UnsupportedOperationException} (client fault)
40
+ * <p>This exception is thrown when the requested operation is not supported.</p>
41
+ *
42
+ *
32
43
  */
33
44
  export declare class ListImportFailuresCommand extends $Command<ListImportFailuresCommandInput, ListImportFailuresCommandOutput, CloudTrailClientResolvedConfig> {
34
45
  readonly input: ListImportFailuresCommandInput;
@@ -30,6 +30,24 @@ export interface ListImportsCommandOutput extends ListImportsResponse, __Metadat
30
30
  * @see {@link ListImportsCommandOutput} for command's `response` shape.
31
31
  * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
32
32
  *
33
+ * @throws {@link EventDataStoreARNInvalidException} (client fault)
34
+ * <p>The specified event data store ARN is not valid or does not map to an event data store
35
+ * in your account.</p>
36
+ *
37
+ * @throws {@link InvalidNextTokenException} (client fault)
38
+ * <p>A token that is not valid, or a token that was previously used in a request with
39
+ * different parameters. This exception is thrown if the token is not valid.</p>
40
+ *
41
+ * @throws {@link InvalidParameterException} (client fault)
42
+ * <p>The request includes a parameter that is not valid.</p>
43
+ *
44
+ * @throws {@link OperationNotPermittedException} (client fault)
45
+ * <p>This exception is thrown when the requested operation is not permitted.</p>
46
+ *
47
+ * @throws {@link UnsupportedOperationException} (client fault)
48
+ * <p>This exception is thrown when the requested operation is not supported.</p>
49
+ *
50
+ *
33
51
  */
34
52
  export declare class ListImportsCommand extends $Command<ListImportsCommandInput, ListImportsCommandOutput, CloudTrailClientResolvedConfig> {
35
53
  readonly input: ListImportsCommandInput;
@@ -37,6 +37,20 @@ export interface ListPublicKeysCommandOutput extends ListPublicKeysResponse, __M
37
37
  * @see {@link ListPublicKeysCommandOutput} for command's `response` shape.
38
38
  * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
39
39
  *
40
+ * @throws {@link InvalidTimeRangeException} (client fault)
41
+ * <p>Occurs if the timestamp values are not valid. Either the start time occurs after the end
42
+ * time, or the time range is outside the range of possible values.</p>
43
+ *
44
+ * @throws {@link InvalidTokenException} (client fault)
45
+ * <p>Reserved for future use.</p>
46
+ *
47
+ * @throws {@link OperationNotPermittedException} (client fault)
48
+ * <p>This exception is thrown when the requested operation is not permitted.</p>
49
+ *
50
+ * @throws {@link UnsupportedOperationException} (client fault)
51
+ * <p>This exception is thrown when the requested operation is not supported.</p>
52
+ *
53
+ *
40
54
  */
41
55
  export declare class ListPublicKeysCommand extends $Command<ListPublicKeysCommandInput, ListPublicKeysCommandOutput, CloudTrailClientResolvedConfig> {
42
56
  readonly input: ListPublicKeysCommandInput;