@aws-sdk/client-cloudwatch-logs 3.289.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 (49) hide show
  1. package/dist-types/commands/AssociateKmsKeyCommand.d.ts +13 -0
  2. package/dist-types/commands/CancelExportTaskCommand.d.ts +13 -0
  3. package/dist-types/commands/CreateExportTaskCommand.d.ts +19 -0
  4. package/dist-types/commands/CreateLogGroupCommand.d.ts +16 -0
  5. package/dist-types/commands/CreateLogStreamCommand.d.ts +13 -0
  6. package/dist-types/commands/DeleteDataProtectionPolicyCommand.d.ts +13 -0
  7. package/dist-types/commands/DeleteDestinationCommand.d.ts +13 -0
  8. package/dist-types/commands/DeleteLogGroupCommand.d.ts +13 -0
  9. package/dist-types/commands/DeleteLogStreamCommand.d.ts +13 -0
  10. package/dist-types/commands/DeleteMetricFilterCommand.d.ts +13 -0
  11. package/dist-types/commands/DeleteQueryDefinitionCommand.d.ts +10 -0
  12. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +10 -0
  13. package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +13 -0
  14. package/dist-types/commands/DeleteSubscriptionFilterCommand.d.ts +13 -0
  15. package/dist-types/commands/DescribeDestinationsCommand.d.ts +7 -0
  16. package/dist-types/commands/DescribeExportTasksCommand.d.ts +7 -0
  17. package/dist-types/commands/DescribeLogGroupsCommand.d.ts +7 -0
  18. package/dist-types/commands/DescribeLogStreamsCommand.d.ts +10 -0
  19. package/dist-types/commands/DescribeMetricFiltersCommand.d.ts +10 -0
  20. package/dist-types/commands/DescribeQueriesCommand.d.ts +10 -0
  21. package/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +7 -0
  22. package/dist-types/commands/DescribeResourcePoliciesCommand.d.ts +7 -0
  23. package/dist-types/commands/DescribeSubscriptionFiltersCommand.d.ts +10 -0
  24. package/dist-types/commands/DisassociateKmsKeyCommand.d.ts +13 -0
  25. package/dist-types/commands/FilterLogEventsCommand.d.ts +10 -0
  26. package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +13 -0
  27. package/dist-types/commands/GetLogEventsCommand.d.ts +10 -0
  28. package/dist-types/commands/GetLogGroupFieldsCommand.d.ts +13 -0
  29. package/dist-types/commands/GetLogRecordCommand.d.ts +13 -0
  30. package/dist-types/commands/GetQueryResultsCommand.d.ts +10 -0
  31. package/dist-types/commands/ListTagsForResourceCommand.d.ts +10 -0
  32. package/dist-types/commands/ListTagsLogGroupCommand.d.ts +7 -0
  33. package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +16 -0
  34. package/dist-types/commands/PutDestinationCommand.d.ts +10 -0
  35. package/dist-types/commands/PutDestinationPolicyCommand.d.ts +10 -0
  36. package/dist-types/commands/PutLogEventsCommand.d.ts +35 -0
  37. package/dist-types/commands/PutMetricFilterCommand.d.ts +16 -0
  38. package/dist-types/commands/PutQueryDefinitionCommand.d.ts +13 -0
  39. package/dist-types/commands/PutResourcePolicyCommand.d.ts +10 -0
  40. package/dist-types/commands/PutRetentionPolicyCommand.d.ts +13 -0
  41. package/dist-types/commands/PutSubscriptionFilterCommand.d.ts +16 -0
  42. package/dist-types/commands/StartQueryCommand.d.ts +20 -0
  43. package/dist-types/commands/StopQueryCommand.d.ts +10 -0
  44. package/dist-types/commands/TagLogGroupCommand.d.ts +7 -0
  45. package/dist-types/commands/TagResourceCommand.d.ts +13 -0
  46. package/dist-types/commands/TestMetricFilterCommand.d.ts +7 -0
  47. package/dist-types/commands/UntagLogGroupCommand.d.ts +4 -0
  48. package/dist-types/commands/UntagResourceCommand.d.ts +10 -0
  49. package/package.json +29 -29
@@ -42,6 +42,19 @@ export interface AssociateKmsKeyCommandOutput extends __MetadataBearer {
42
42
  * @see {@link AssociateKmsKeyCommandOutput} for command's `response` shape.
43
43
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
44
44
  *
45
+ * @throws {@link InvalidParameterException} (client fault)
46
+ * <p>A parameter is specified incorrectly.</p>
47
+ *
48
+ * @throws {@link OperationAbortedException} (client fault)
49
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
50
+ *
51
+ * @throws {@link ResourceNotFoundException} (client fault)
52
+ * <p>The specified resource does not exist.</p>
53
+ *
54
+ * @throws {@link ServiceUnavailableException} (server fault)
55
+ * <p>The service cannot complete the request.</p>
56
+ *
57
+ *
45
58
  */
46
59
  export declare class AssociateKmsKeyCommand extends $Command<AssociateKmsKeyCommandInput, AssociateKmsKeyCommandOutput, CloudWatchLogsClientResolvedConfig> {
47
60
  readonly input: AssociateKmsKeyCommandInput;
@@ -30,6 +30,19 @@ export interface CancelExportTaskCommandOutput extends __MetadataBearer {
30
30
  * @see {@link CancelExportTaskCommandOutput} for command's `response` shape.
31
31
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidOperationException} (client fault)
34
+ * <p>The operation is not valid on the specified resource.</p>
35
+ *
36
+ * @throws {@link InvalidParameterException} (client fault)
37
+ * <p>A parameter is specified incorrectly.</p>
38
+ *
39
+ * @throws {@link ResourceNotFoundException} (client fault)
40
+ * <p>The specified resource does not exist.</p>
41
+ *
42
+ * @throws {@link ServiceUnavailableException} (server fault)
43
+ * <p>The service cannot complete the request.</p>
44
+ *
45
+ *
33
46
  */
34
47
  export declare class CancelExportTaskCommand extends $Command<CancelExportTaskCommandInput, CancelExportTaskCommandOutput, CloudWatchLogsClientResolvedConfig> {
35
48
  readonly input: CancelExportTaskCommandInput;
@@ -48,6 +48,25 @@ export interface CreateExportTaskCommandOutput extends CreateExportTaskResponse,
48
48
  * @see {@link CreateExportTaskCommandOutput} for command's `response` shape.
49
49
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
50
50
  *
51
+ * @throws {@link InvalidParameterException} (client fault)
52
+ * <p>A parameter is specified incorrectly.</p>
53
+ *
54
+ * @throws {@link LimitExceededException} (client fault)
55
+ * <p>You have reached the maximum number of resources that can be created.</p>
56
+ *
57
+ * @throws {@link OperationAbortedException} (client fault)
58
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
59
+ *
60
+ * @throws {@link ResourceAlreadyExistsException} (client fault)
61
+ * <p>The specified resource already exists.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>The specified resource does not exist.</p>
65
+ *
66
+ * @throws {@link ServiceUnavailableException} (server fault)
67
+ * <p>The service cannot complete the request.</p>
68
+ *
69
+ *
51
70
  */
52
71
  export declare class CreateExportTaskCommand extends $Command<CreateExportTaskCommandInput, CreateExportTaskCommandOutput, CloudWatchLogsClientResolvedConfig> {
53
72
  readonly input: CreateExportTaskCommandInput;
@@ -57,6 +57,22 @@ export interface CreateLogGroupCommandOutput extends __MetadataBearer {
57
57
  * @see {@link CreateLogGroupCommandOutput} for command's `response` shape.
58
58
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
59
59
  *
60
+ * @throws {@link InvalidParameterException} (client fault)
61
+ * <p>A parameter is specified incorrectly.</p>
62
+ *
63
+ * @throws {@link LimitExceededException} (client fault)
64
+ * <p>You have reached the maximum number of resources that can be created.</p>
65
+ *
66
+ * @throws {@link OperationAbortedException} (client fault)
67
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
68
+ *
69
+ * @throws {@link ResourceAlreadyExistsException} (client fault)
70
+ * <p>The specified resource already exists.</p>
71
+ *
72
+ * @throws {@link ServiceUnavailableException} (server fault)
73
+ * <p>The service cannot complete the request.</p>
74
+ *
75
+ *
60
76
  */
61
77
  export declare class CreateLogGroupCommand extends $Command<CreateLogGroupCommandInput, CreateLogGroupCommandOutput, CloudWatchLogsClientResolvedConfig> {
62
78
  readonly input: CreateLogGroupCommandInput;
@@ -45,6 +45,19 @@ export interface CreateLogStreamCommandOutput extends __MetadataBearer {
45
45
  * @see {@link CreateLogStreamCommandOutput} for command's `response` shape.
46
46
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
47
47
  *
48
+ * @throws {@link InvalidParameterException} (client fault)
49
+ * <p>A parameter is specified incorrectly.</p>
50
+ *
51
+ * @throws {@link ResourceAlreadyExistsException} (client fault)
52
+ * <p>The specified resource already exists.</p>
53
+ *
54
+ * @throws {@link ResourceNotFoundException} (client fault)
55
+ * <p>The specified resource does not exist.</p>
56
+ *
57
+ * @throws {@link ServiceUnavailableException} (server fault)
58
+ * <p>The service cannot complete the request.</p>
59
+ *
60
+ *
48
61
  */
49
62
  export declare class CreateLogStreamCommand extends $Command<CreateLogStreamCommandInput, CreateLogStreamCommandOutput, CloudWatchLogsClientResolvedConfig> {
50
63
  readonly input: CreateLogStreamCommandInput;
@@ -30,6 +30,19 @@ export interface DeleteDataProtectionPolicyCommandOutput extends __MetadataBeare
30
30
  * @see {@link DeleteDataProtectionPolicyCommandOutput} for command's `response` shape.
31
31
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidParameterException} (client fault)
34
+ * <p>A parameter is specified incorrectly.</p>
35
+ *
36
+ * @throws {@link OperationAbortedException} (client fault)
37
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
38
+ *
39
+ * @throws {@link ResourceNotFoundException} (client fault)
40
+ * <p>The specified resource does not exist.</p>
41
+ *
42
+ * @throws {@link ServiceUnavailableException} (server fault)
43
+ * <p>The service cannot complete the request.</p>
44
+ *
45
+ *
33
46
  */
34
47
  export declare class DeleteDataProtectionPolicyCommand extends $Command<DeleteDataProtectionPolicyCommandInput, DeleteDataProtectionPolicyCommandOutput, CloudWatchLogsClientResolvedConfig> {
35
48
  readonly input: DeleteDataProtectionPolicyCommandInput;
@@ -31,6 +31,19 @@ export interface DeleteDestinationCommandOutput extends __MetadataBearer {
31
31
  * @see {@link DeleteDestinationCommandOutput} for command's `response` shape.
32
32
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidParameterException} (client fault)
35
+ * <p>A parameter is specified incorrectly.</p>
36
+ *
37
+ * @throws {@link OperationAbortedException} (client fault)
38
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
39
+ *
40
+ * @throws {@link ResourceNotFoundException} (client fault)
41
+ * <p>The specified resource does not exist.</p>
42
+ *
43
+ * @throws {@link ServiceUnavailableException} (server fault)
44
+ * <p>The service cannot complete the request.</p>
45
+ *
46
+ *
34
47
  */
35
48
  export declare class DeleteDestinationCommand extends $Command<DeleteDestinationCommandInput, DeleteDestinationCommandOutput, CloudWatchLogsClientResolvedConfig> {
36
49
  readonly input: DeleteDestinationCommandInput;
@@ -30,6 +30,19 @@ export interface DeleteLogGroupCommandOutput extends __MetadataBearer {
30
30
  * @see {@link DeleteLogGroupCommandOutput} for command's `response` shape.
31
31
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidParameterException} (client fault)
34
+ * <p>A parameter is specified incorrectly.</p>
35
+ *
36
+ * @throws {@link OperationAbortedException} (client fault)
37
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
38
+ *
39
+ * @throws {@link ResourceNotFoundException} (client fault)
40
+ * <p>The specified resource does not exist.</p>
41
+ *
42
+ * @throws {@link ServiceUnavailableException} (server fault)
43
+ * <p>The service cannot complete the request.</p>
44
+ *
45
+ *
33
46
  */
34
47
  export declare class DeleteLogGroupCommand extends $Command<DeleteLogGroupCommandInput, DeleteLogGroupCommandOutput, CloudWatchLogsClientResolvedConfig> {
35
48
  readonly input: DeleteLogGroupCommandInput;
@@ -30,6 +30,19 @@ export interface DeleteLogStreamCommandOutput extends __MetadataBearer {
30
30
  * @see {@link DeleteLogStreamCommandOutput} for command's `response` shape.
31
31
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidParameterException} (client fault)
34
+ * <p>A parameter is specified incorrectly.</p>
35
+ *
36
+ * @throws {@link OperationAbortedException} (client fault)
37
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
38
+ *
39
+ * @throws {@link ResourceNotFoundException} (client fault)
40
+ * <p>The specified resource does not exist.</p>
41
+ *
42
+ * @throws {@link ServiceUnavailableException} (server fault)
43
+ * <p>The service cannot complete the request.</p>
44
+ *
45
+ *
33
46
  */
34
47
  export declare class DeleteLogStreamCommand extends $Command<DeleteLogStreamCommandInput, DeleteLogStreamCommandOutput, CloudWatchLogsClientResolvedConfig> {
35
48
  readonly input: DeleteLogStreamCommandInput;
@@ -29,6 +29,19 @@ export interface DeleteMetricFilterCommandOutput extends __MetadataBearer {
29
29
  * @see {@link DeleteMetricFilterCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>A parameter is specified incorrectly.</p>
34
+ *
35
+ * @throws {@link OperationAbortedException} (client fault)
36
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
37
+ *
38
+ * @throws {@link ResourceNotFoundException} (client fault)
39
+ * <p>The specified resource does not exist.</p>
40
+ *
41
+ * @throws {@link ServiceUnavailableException} (server fault)
42
+ * <p>The service cannot complete the request.</p>
43
+ *
44
+ *
32
45
  */
33
46
  export declare class DeleteMetricFilterCommand extends $Command<DeleteMetricFilterCommandInput, DeleteMetricFilterCommandOutput, CloudWatchLogsClientResolvedConfig> {
34
47
  readonly input: DeleteMetricFilterCommandInput;
@@ -33,6 +33,16 @@ export interface DeleteQueryDefinitionCommandOutput extends DeleteQueryDefinitio
33
33
  * @see {@link DeleteQueryDefinitionCommandOutput} for command's `response` shape.
34
34
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
35
35
  *
36
+ * @throws {@link InvalidParameterException} (client fault)
37
+ * <p>A parameter is specified incorrectly.</p>
38
+ *
39
+ * @throws {@link ResourceNotFoundException} (client fault)
40
+ * <p>The specified resource does not exist.</p>
41
+ *
42
+ * @throws {@link ServiceUnavailableException} (server fault)
43
+ * <p>The service cannot complete the request.</p>
44
+ *
45
+ *
36
46
  */
37
47
  export declare class DeleteQueryDefinitionCommand extends $Command<DeleteQueryDefinitionCommandInput, DeleteQueryDefinitionCommandOutput, CloudWatchLogsClientResolvedConfig> {
38
48
  readonly input: DeleteQueryDefinitionCommandInput;
@@ -30,6 +30,16 @@ export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {
30
30
  * @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape.
31
31
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidParameterException} (client fault)
34
+ * <p>A parameter is specified incorrectly.</p>
35
+ *
36
+ * @throws {@link ResourceNotFoundException} (client fault)
37
+ * <p>The specified resource does not exist.</p>
38
+ *
39
+ * @throws {@link ServiceUnavailableException} (server fault)
40
+ * <p>The service cannot complete the request.</p>
41
+ *
42
+ *
33
43
  */
34
44
  export declare class DeleteResourcePolicyCommand extends $Command<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, CloudWatchLogsClientResolvedConfig> {
35
45
  readonly input: DeleteResourcePolicyCommandInput;
@@ -30,6 +30,19 @@ export interface DeleteRetentionPolicyCommandOutput extends __MetadataBearer {
30
30
  * @see {@link DeleteRetentionPolicyCommandOutput} for command's `response` shape.
31
31
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidParameterException} (client fault)
34
+ * <p>A parameter is specified incorrectly.</p>
35
+ *
36
+ * @throws {@link OperationAbortedException} (client fault)
37
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
38
+ *
39
+ * @throws {@link ResourceNotFoundException} (client fault)
40
+ * <p>The specified resource does not exist.</p>
41
+ *
42
+ * @throws {@link ServiceUnavailableException} (server fault)
43
+ * <p>The service cannot complete the request.</p>
44
+ *
45
+ *
33
46
  */
34
47
  export declare class DeleteRetentionPolicyCommand extends $Command<DeleteRetentionPolicyCommandInput, DeleteRetentionPolicyCommandOutput, CloudWatchLogsClientResolvedConfig> {
35
48
  readonly input: DeleteRetentionPolicyCommandInput;
@@ -29,6 +29,19 @@ export interface DeleteSubscriptionFilterCommandOutput extends __MetadataBearer
29
29
  * @see {@link DeleteSubscriptionFilterCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>A parameter is specified incorrectly.</p>
34
+ *
35
+ * @throws {@link OperationAbortedException} (client fault)
36
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
37
+ *
38
+ * @throws {@link ResourceNotFoundException} (client fault)
39
+ * <p>The specified resource does not exist.</p>
40
+ *
41
+ * @throws {@link ServiceUnavailableException} (server fault)
42
+ * <p>The service cannot complete the request.</p>
43
+ *
44
+ *
32
45
  */
33
46
  export declare class DeleteSubscriptionFilterCommand extends $Command<DeleteSubscriptionFilterCommandInput, DeleteSubscriptionFilterCommandOutput, CloudWatchLogsClientResolvedConfig> {
34
47
  readonly input: DeleteSubscriptionFilterCommandInput;
@@ -29,6 +29,13 @@ export interface DescribeDestinationsCommandOutput extends DescribeDestinationsR
29
29
  * @see {@link DescribeDestinationsCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>A parameter is specified incorrectly.</p>
34
+ *
35
+ * @throws {@link ServiceUnavailableException} (server fault)
36
+ * <p>The service cannot complete the request.</p>
37
+ *
38
+ *
32
39
  */
33
40
  export declare class DescribeDestinationsCommand extends $Command<DescribeDestinationsCommandInput, DescribeDestinationsCommandOutput, CloudWatchLogsClientResolvedConfig> {
34
41
  readonly input: DescribeDestinationsCommandInput;
@@ -30,6 +30,13 @@ export interface DescribeExportTasksCommandOutput extends DescribeExportTasksRes
30
30
  * @see {@link DescribeExportTasksCommandOutput} for command's `response` shape.
31
31
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidParameterException} (client fault)
34
+ * <p>A parameter is specified incorrectly.</p>
35
+ *
36
+ * @throws {@link ServiceUnavailableException} (server fault)
37
+ * <p>The service cannot complete the request.</p>
38
+ *
39
+ *
33
40
  */
34
41
  export declare class DescribeExportTasksCommand extends $Command<DescribeExportTasksCommandInput, DescribeExportTasksCommandOutput, CloudWatchLogsClientResolvedConfig> {
35
42
  readonly input: DescribeExportTasksCommandInput;
@@ -40,6 +40,13 @@ export interface DescribeLogGroupsCommandOutput extends DescribeLogGroupsRespons
40
40
  * @see {@link DescribeLogGroupsCommandOutput} for command's `response` shape.
41
41
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
42
42
  *
43
+ * @throws {@link InvalidParameterException} (client fault)
44
+ * <p>A parameter is specified incorrectly.</p>
45
+ *
46
+ * @throws {@link ServiceUnavailableException} (server fault)
47
+ * <p>The service cannot complete the request.</p>
48
+ *
49
+ *
43
50
  */
44
51
  export declare class DescribeLogGroupsCommand extends $Command<DescribeLogGroupsCommandInput, DescribeLogGroupsCommandOutput, CloudWatchLogsClientResolvedConfig> {
45
52
  readonly input: DescribeLogGroupsCommandInput;
@@ -38,6 +38,16 @@ export interface DescribeLogStreamsCommandOutput extends DescribeLogStreamsRespo
38
38
  * @see {@link DescribeLogStreamsCommandOutput} for command's `response` shape.
39
39
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
40
40
  *
41
+ * @throws {@link InvalidParameterException} (client fault)
42
+ * <p>A parameter is specified incorrectly.</p>
43
+ *
44
+ * @throws {@link ResourceNotFoundException} (client fault)
45
+ * <p>The specified resource does not exist.</p>
46
+ *
47
+ * @throws {@link ServiceUnavailableException} (server fault)
48
+ * <p>The service cannot complete the request.</p>
49
+ *
50
+ *
41
51
  */
42
52
  export declare class DescribeLogStreamsCommand extends $Command<DescribeLogStreamsCommandInput, DescribeLogStreamsCommandOutput, CloudWatchLogsClientResolvedConfig> {
43
53
  readonly input: DescribeLogStreamsCommandInput;
@@ -31,6 +31,16 @@ export interface DescribeMetricFiltersCommandOutput extends DescribeMetricFilter
31
31
  * @see {@link DescribeMetricFiltersCommandOutput} for command's `response` shape.
32
32
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidParameterException} (client fault)
35
+ * <p>A parameter is specified incorrectly.</p>
36
+ *
37
+ * @throws {@link ResourceNotFoundException} (client fault)
38
+ * <p>The specified resource does not exist.</p>
39
+ *
40
+ * @throws {@link ServiceUnavailableException} (server fault)
41
+ * <p>The service cannot complete the request.</p>
42
+ *
43
+ *
34
44
  */
35
45
  export declare class DescribeMetricFiltersCommand extends $Command<DescribeMetricFiltersCommandInput, DescribeMetricFiltersCommandOutput, CloudWatchLogsClientResolvedConfig> {
36
46
  readonly input: DescribeMetricFiltersCommandInput;
@@ -31,6 +31,16 @@ export interface DescribeQueriesCommandOutput extends DescribeQueriesResponse, _
31
31
  * @see {@link DescribeQueriesCommandOutput} for command's `response` shape.
32
32
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidParameterException} (client fault)
35
+ * <p>A parameter is specified incorrectly.</p>
36
+ *
37
+ * @throws {@link ResourceNotFoundException} (client fault)
38
+ * <p>The specified resource does not exist.</p>
39
+ *
40
+ * @throws {@link ServiceUnavailableException} (server fault)
41
+ * <p>The service cannot complete the request.</p>
42
+ *
43
+ *
34
44
  */
35
45
  export declare class DescribeQueriesCommand extends $Command<DescribeQueriesCommandInput, DescribeQueriesCommandOutput, CloudWatchLogsClientResolvedConfig> {
36
46
  readonly input: DescribeQueriesCommandInput;
@@ -31,6 +31,13 @@ export interface DescribeQueryDefinitionsCommandOutput extends DescribeQueryDefi
31
31
  * @see {@link DescribeQueryDefinitionsCommandOutput} for command's `response` shape.
32
32
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidParameterException} (client fault)
35
+ * <p>A parameter is specified incorrectly.</p>
36
+ *
37
+ * @throws {@link ServiceUnavailableException} (server fault)
38
+ * <p>The service cannot complete the request.</p>
39
+ *
40
+ *
34
41
  */
35
42
  export declare class DescribeQueryDefinitionsCommand extends $Command<DescribeQueryDefinitionsCommandInput, DescribeQueryDefinitionsCommandOutput, CloudWatchLogsClientResolvedConfig> {
36
43
  readonly input: DescribeQueryDefinitionsCommandInput;
@@ -29,6 +29,13 @@ export interface DescribeResourcePoliciesCommandOutput extends DescribeResourceP
29
29
  * @see {@link DescribeResourcePoliciesCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>A parameter is specified incorrectly.</p>
34
+ *
35
+ * @throws {@link ServiceUnavailableException} (server fault)
36
+ * <p>The service cannot complete the request.</p>
37
+ *
38
+ *
32
39
  */
33
40
  export declare class DescribeResourcePoliciesCommand extends $Command<DescribeResourcePoliciesCommandInput, DescribeResourcePoliciesCommandOutput, CloudWatchLogsClientResolvedConfig> {
34
41
  readonly input: DescribeResourcePoliciesCommandInput;
@@ -30,6 +30,16 @@ export interface DescribeSubscriptionFiltersCommandOutput extends DescribeSubscr
30
30
  * @see {@link DescribeSubscriptionFiltersCommandOutput} for command's `response` shape.
31
31
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidParameterException} (client fault)
34
+ * <p>A parameter is specified incorrectly.</p>
35
+ *
36
+ * @throws {@link ResourceNotFoundException} (client fault)
37
+ * <p>The specified resource does not exist.</p>
38
+ *
39
+ * @throws {@link ServiceUnavailableException} (server fault)
40
+ * <p>The service cannot complete the request.</p>
41
+ *
42
+ *
33
43
  */
34
44
  export declare class DescribeSubscriptionFiltersCommand extends $Command<DescribeSubscriptionFiltersCommandInput, DescribeSubscriptionFiltersCommandOutput, CloudWatchLogsClientResolvedConfig> {
35
45
  readonly input: DescribeSubscriptionFiltersCommandInput;
@@ -34,6 +34,19 @@ export interface DisassociateKmsKeyCommandOutput extends __MetadataBearer {
34
34
  * @see {@link DisassociateKmsKeyCommandOutput} for command's `response` shape.
35
35
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
36
36
  *
37
+ * @throws {@link InvalidParameterException} (client fault)
38
+ * <p>A parameter is specified incorrectly.</p>
39
+ *
40
+ * @throws {@link OperationAbortedException} (client fault)
41
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
42
+ *
43
+ * @throws {@link ResourceNotFoundException} (client fault)
44
+ * <p>The specified resource does not exist.</p>
45
+ *
46
+ * @throws {@link ServiceUnavailableException} (server fault)
47
+ * <p>The service cannot complete the request.</p>
48
+ *
49
+ *
37
50
  */
38
51
  export declare class DisassociateKmsKeyCommand extends $Command<DisassociateKmsKeyCommandInput, DisassociateKmsKeyCommandOutput, CloudWatchLogsClientResolvedConfig> {
39
52
  readonly input: DisassociateKmsKeyCommandInput;
@@ -44,6 +44,16 @@ export interface FilterLogEventsCommandOutput extends FilterLogEventsResponse, _
44
44
  * @see {@link FilterLogEventsCommandOutput} for command's `response` shape.
45
45
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
46
46
  *
47
+ * @throws {@link InvalidParameterException} (client fault)
48
+ * <p>A parameter is specified incorrectly.</p>
49
+ *
50
+ * @throws {@link ResourceNotFoundException} (client fault)
51
+ * <p>The specified resource does not exist.</p>
52
+ *
53
+ * @throws {@link ServiceUnavailableException} (server fault)
54
+ * <p>The service cannot complete the request.</p>
55
+ *
56
+ *
47
57
  */
48
58
  export declare class FilterLogEventsCommand extends $Command<FilterLogEventsCommandInput, FilterLogEventsCommandOutput, CloudWatchLogsClientResolvedConfig> {
49
59
  readonly input: FilterLogEventsCommandInput;
@@ -29,6 +29,19 @@ export interface GetDataProtectionPolicyCommandOutput extends GetDataProtectionP
29
29
  * @see {@link GetDataProtectionPolicyCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>A parameter is specified incorrectly.</p>
34
+ *
35
+ * @throws {@link OperationAbortedException} (client fault)
36
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
37
+ *
38
+ * @throws {@link ResourceNotFoundException} (client fault)
39
+ * <p>The specified resource does not exist.</p>
40
+ *
41
+ * @throws {@link ServiceUnavailableException} (server fault)
42
+ * <p>The service cannot complete the request.</p>
43
+ *
44
+ *
32
45
  */
33
46
  export declare class GetDataProtectionPolicyCommand extends $Command<GetDataProtectionPolicyCommandInput, GetDataProtectionPolicyCommandOutput, CloudWatchLogsClientResolvedConfig> {
34
47
  readonly input: GetDataProtectionPolicyCommandInput;
@@ -39,6 +39,16 @@ export interface GetLogEventsCommandOutput extends GetLogEventsResponse, __Metad
39
39
  * @see {@link GetLogEventsCommandOutput} for command's `response` shape.
40
40
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
41
41
  *
42
+ * @throws {@link InvalidParameterException} (client fault)
43
+ * <p>A parameter is specified incorrectly.</p>
44
+ *
45
+ * @throws {@link ResourceNotFoundException} (client fault)
46
+ * <p>The specified resource does not exist.</p>
47
+ *
48
+ * @throws {@link ServiceUnavailableException} (server fault)
49
+ * <p>The service cannot complete the request.</p>
50
+ *
51
+ *
42
52
  */
43
53
  export declare class GetLogEventsCommand extends $Command<GetLogEventsCommandInput, GetLogEventsCommandOutput, CloudWatchLogsClientResolvedConfig> {
44
54
  readonly input: GetLogEventsCommandInput;
@@ -43,6 +43,19 @@ export interface GetLogGroupFieldsCommandOutput extends GetLogGroupFieldsRespons
43
43
  * @see {@link GetLogGroupFieldsCommandOutput} for command's `response` shape.
44
44
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
45
45
  *
46
+ * @throws {@link InvalidParameterException} (client fault)
47
+ * <p>A parameter is specified incorrectly.</p>
48
+ *
49
+ * @throws {@link LimitExceededException} (client fault)
50
+ * <p>You have reached the maximum number of resources that can be created.</p>
51
+ *
52
+ * @throws {@link ResourceNotFoundException} (client fault)
53
+ * <p>The specified resource does not exist.</p>
54
+ *
55
+ * @throws {@link ServiceUnavailableException} (server fault)
56
+ * <p>The service cannot complete the request.</p>
57
+ *
58
+ *
46
59
  */
47
60
  export declare class GetLogGroupFieldsCommand extends $Command<GetLogGroupFieldsCommandInput, GetLogGroupFieldsCommandOutput, CloudWatchLogsClientResolvedConfig> {
48
61
  readonly input: GetLogGroupFieldsCommandInput;
@@ -32,6 +32,19 @@ export interface GetLogRecordCommandOutput extends GetLogRecordResponse, __Metad
32
32
  * @see {@link GetLogRecordCommandOutput} for command's `response` shape.
33
33
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
34
34
  *
35
+ * @throws {@link InvalidParameterException} (client fault)
36
+ * <p>A parameter is specified incorrectly.</p>
37
+ *
38
+ * @throws {@link LimitExceededException} (client fault)
39
+ * <p>You have reached the maximum number of resources that can be created.</p>
40
+ *
41
+ * @throws {@link ResourceNotFoundException} (client fault)
42
+ * <p>The specified resource does not exist.</p>
43
+ *
44
+ * @throws {@link ServiceUnavailableException} (server fault)
45
+ * <p>The service cannot complete the request.</p>
46
+ *
47
+ *
35
48
  */
36
49
  export declare class GetLogRecordCommand extends $Command<GetLogRecordCommandInput, GetLogRecordCommandOutput, CloudWatchLogsClientResolvedConfig> {
37
50
  readonly input: GetLogRecordCommandInput;
@@ -41,6 +41,16 @@ export interface GetQueryResultsCommandOutput extends GetQueryResultsResponse, _
41
41
  * @see {@link GetQueryResultsCommandOutput} for command's `response` shape.
42
42
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
43
43
  *
44
+ * @throws {@link InvalidParameterException} (client fault)
45
+ * <p>A parameter is specified incorrectly.</p>
46
+ *
47
+ * @throws {@link ResourceNotFoundException} (client fault)
48
+ * <p>The specified resource does not exist.</p>
49
+ *
50
+ * @throws {@link ServiceUnavailableException} (server fault)
51
+ * <p>The service cannot complete the request.</p>
52
+ *
53
+ *
44
54
  */
45
55
  export declare class GetQueryResultsCommand extends $Command<GetQueryResultsCommandInput, GetQueryResultsCommandOutput, CloudWatchLogsClientResolvedConfig> {
46
56
  readonly input: GetQueryResultsCommandInput;
@@ -30,6 +30,16 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
30
30
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
31
31
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidParameterException} (client fault)
34
+ * <p>A parameter is specified incorrectly.</p>
35
+ *
36
+ * @throws {@link ResourceNotFoundException} (client fault)
37
+ * <p>The specified resource does not exist.</p>
38
+ *
39
+ * @throws {@link ServiceUnavailableException} (server fault)
40
+ * <p>The service cannot complete the request.</p>
41
+ *
42
+ *
33
43
  */
34
44
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CloudWatchLogsClientResolvedConfig> {
35
45
  readonly input: ListTagsForResourceCommandInput;
@@ -35,6 +35,13 @@ export interface ListTagsLogGroupCommandOutput extends ListTagsLogGroupResponse,
35
35
  * @see {@link ListTagsLogGroupCommandOutput} for command's `response` shape.
36
36
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
37
37
  *
38
+ * @throws {@link ResourceNotFoundException} (client fault)
39
+ * <p>The specified resource does not exist.</p>
40
+ *
41
+ * @throws {@link ServiceUnavailableException} (server fault)
42
+ * <p>The service cannot complete the request.</p>
43
+ *
44
+ *
38
45
  */
39
46
  export declare class ListTagsLogGroupCommand extends $Command<ListTagsLogGroupCommandInput, ListTagsLogGroupCommandOutput, CloudWatchLogsClientResolvedConfig> {
40
47
  readonly input: ListTagsLogGroupCommandInput;
@@ -43,6 +43,22 @@ export interface PutDataProtectionPolicyCommandOutput extends PutDataProtectionP
43
43
  * @see {@link PutDataProtectionPolicyCommandOutput} for command's `response` shape.
44
44
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
45
45
  *
46
+ * @throws {@link InvalidParameterException} (client fault)
47
+ * <p>A parameter is specified incorrectly.</p>
48
+ *
49
+ * @throws {@link LimitExceededException} (client fault)
50
+ * <p>You have reached the maximum number of resources that can be created.</p>
51
+ *
52
+ * @throws {@link OperationAbortedException} (client fault)
53
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
54
+ *
55
+ * @throws {@link ResourceNotFoundException} (client fault)
56
+ * <p>The specified resource does not exist.</p>
57
+ *
58
+ * @throws {@link ServiceUnavailableException} (server fault)
59
+ * <p>The service cannot complete the request.</p>
60
+ *
61
+ *
46
62
  */
47
63
  export declare class PutDataProtectionPolicyCommand extends $Command<PutDataProtectionPolicyCommandInput, PutDataProtectionPolicyCommandOutput, CloudWatchLogsClientResolvedConfig> {
48
64
  readonly input: PutDataProtectionPolicyCommandInput;
@@ -38,6 +38,16 @@ export interface PutDestinationCommandOutput extends PutDestinationResponse, __M
38
38
  * @see {@link PutDestinationCommandOutput} for command's `response` shape.
39
39
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
40
40
  *
41
+ * @throws {@link InvalidParameterException} (client fault)
42
+ * <p>A parameter is specified incorrectly.</p>
43
+ *
44
+ * @throws {@link OperationAbortedException} (client fault)
45
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
46
+ *
47
+ * @throws {@link ServiceUnavailableException} (server fault)
48
+ * <p>The service cannot complete the request.</p>
49
+ *
50
+ *
41
51
  */
42
52
  export declare class PutDestinationCommand extends $Command<PutDestinationCommandInput, PutDestinationCommandOutput, CloudWatchLogsClientResolvedConfig> {
43
53
  readonly input: PutDestinationCommandInput;
@@ -31,6 +31,16 @@ export interface PutDestinationPolicyCommandOutput extends __MetadataBearer {
31
31
  * @see {@link PutDestinationPolicyCommandOutput} for command's `response` shape.
32
32
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidParameterException} (client fault)
35
+ * <p>A parameter is specified incorrectly.</p>
36
+ *
37
+ * @throws {@link OperationAbortedException} (client fault)
38
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
39
+ *
40
+ * @throws {@link ServiceUnavailableException} (server fault)
41
+ * <p>The service cannot complete the request.</p>
42
+ *
43
+ *
34
44
  */
35
45
  export declare class PutDestinationPolicyCommand extends $Command<PutDestinationPolicyCommandInput, PutDestinationPolicyCommandOutput, CloudWatchLogsClientResolvedConfig> {
36
46
  readonly input: PutDestinationPolicyCommandInput;
@@ -74,6 +74,41 @@ export interface PutLogEventsCommandOutput extends PutLogEventsResponse, __Metad
74
74
  * @see {@link PutLogEventsCommandOutput} for command's `response` shape.
75
75
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
76
76
  *
77
+ * @throws {@link DataAlreadyAcceptedException} (client fault)
78
+ * <p>The event was already logged.</p>
79
+ * <important>
80
+ * <p>
81
+ * <code>PutLogEvents</code>
82
+ * actions are now always accepted and never return
83
+ * <code>DataAlreadyAcceptedException</code> regardless of whether a given batch of log events
84
+ * has already been accepted. </p>
85
+ * </important>
86
+ *
87
+ * @throws {@link InvalidParameterException} (client fault)
88
+ * <p>A parameter is specified incorrectly.</p>
89
+ *
90
+ * @throws {@link InvalidSequenceTokenException} (client fault)
91
+ * <p>The sequence token is not valid. You can get the correct sequence token in
92
+ * the <code>expectedSequenceToken</code> field in the <code>InvalidSequenceTokenException</code>
93
+ * message. </p>
94
+ * <important>
95
+ * <p>
96
+ * <code>PutLogEvents</code>
97
+ * actions are now always accepted and never return
98
+ * <code>InvalidSequenceTokenException</code> regardless of receiving an invalid sequence token. </p>
99
+ * </important>
100
+ *
101
+ * @throws {@link ResourceNotFoundException} (client fault)
102
+ * <p>The specified resource does not exist.</p>
103
+ *
104
+ * @throws {@link ServiceUnavailableException} (server fault)
105
+ * <p>The service cannot complete the request.</p>
106
+ *
107
+ * @throws {@link UnrecognizedClientException} (client fault)
108
+ * <p>The most likely cause is an Amazon Web Services access key ID or secret key that's not
109
+ * valid.</p>
110
+ *
111
+ *
77
112
  */
78
113
  export declare class PutLogEventsCommand extends $Command<PutLogEventsCommandInput, PutLogEventsCommandOutput, CloudWatchLogsClientResolvedConfig> {
79
114
  readonly input: PutLogEventsCommandInput;
@@ -51,6 +51,22 @@ export interface PutMetricFilterCommandOutput extends __MetadataBearer {
51
51
  * @see {@link PutMetricFilterCommandOutput} for command's `response` shape.
52
52
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
53
53
  *
54
+ * @throws {@link InvalidParameterException} (client fault)
55
+ * <p>A parameter is specified incorrectly.</p>
56
+ *
57
+ * @throws {@link LimitExceededException} (client fault)
58
+ * <p>You have reached the maximum number of resources that can be created.</p>
59
+ *
60
+ * @throws {@link OperationAbortedException} (client fault)
61
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>The specified resource does not exist.</p>
65
+ *
66
+ * @throws {@link ServiceUnavailableException} (server fault)
67
+ * <p>The service cannot complete the request.</p>
68
+ *
69
+ *
54
70
  */
55
71
  export declare class PutMetricFilterCommand extends $Command<PutMetricFilterCommandInput, PutMetricFilterCommandOutput, CloudWatchLogsClientResolvedConfig> {
56
72
  readonly input: PutMetricFilterCommandInput;
@@ -39,6 +39,19 @@ export interface PutQueryDefinitionCommandOutput extends PutQueryDefinitionRespo
39
39
  * @see {@link PutQueryDefinitionCommandOutput} for command's `response` shape.
40
40
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
41
41
  *
42
+ * @throws {@link InvalidParameterException} (client fault)
43
+ * <p>A parameter is specified incorrectly.</p>
44
+ *
45
+ * @throws {@link LimitExceededException} (client fault)
46
+ * <p>You have reached the maximum number of resources that can be created.</p>
47
+ *
48
+ * @throws {@link ResourceNotFoundException} (client fault)
49
+ * <p>The specified resource does not exist.</p>
50
+ *
51
+ * @throws {@link ServiceUnavailableException} (server fault)
52
+ * <p>The service cannot complete the request.</p>
53
+ *
54
+ *
42
55
  */
43
56
  export declare class PutQueryDefinitionCommand extends $Command<PutQueryDefinitionCommandInput, PutQueryDefinitionCommandOutput, CloudWatchLogsClientResolvedConfig> {
44
57
  readonly input: PutQueryDefinitionCommandInput;
@@ -31,6 +31,16 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
31
31
  * @see {@link PutResourcePolicyCommandOutput} for command's `response` shape.
32
32
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidParameterException} (client fault)
35
+ * <p>A parameter is specified incorrectly.</p>
36
+ *
37
+ * @throws {@link LimitExceededException} (client fault)
38
+ * <p>You have reached the maximum number of resources that can be created.</p>
39
+ *
40
+ * @throws {@link ServiceUnavailableException} (server fault)
41
+ * <p>The service cannot complete the request.</p>
42
+ *
43
+ *
34
44
  */
35
45
  export declare class PutResourcePolicyCommand extends $Command<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, CloudWatchLogsClientResolvedConfig> {
36
46
  readonly input: PutResourcePolicyCommandInput;
@@ -43,6 +43,19 @@ export interface PutRetentionPolicyCommandOutput extends __MetadataBearer {
43
43
  * @see {@link PutRetentionPolicyCommandOutput} for command's `response` shape.
44
44
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
45
45
  *
46
+ * @throws {@link InvalidParameterException} (client fault)
47
+ * <p>A parameter is specified incorrectly.</p>
48
+ *
49
+ * @throws {@link OperationAbortedException} (client fault)
50
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
51
+ *
52
+ * @throws {@link ResourceNotFoundException} (client fault)
53
+ * <p>The specified resource does not exist.</p>
54
+ *
55
+ * @throws {@link ServiceUnavailableException} (server fault)
56
+ * <p>The service cannot complete the request.</p>
57
+ *
58
+ *
46
59
  */
47
60
  export declare class PutRetentionPolicyCommand extends $Command<PutRetentionPolicyCommandInput, PutRetentionPolicyCommandOutput, CloudWatchLogsClientResolvedConfig> {
48
61
  readonly input: PutRetentionPolicyCommandInput;
@@ -56,6 +56,22 @@ export interface PutSubscriptionFilterCommandOutput extends __MetadataBearer {
56
56
  * @see {@link PutSubscriptionFilterCommandOutput} for command's `response` shape.
57
57
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
58
58
  *
59
+ * @throws {@link InvalidParameterException} (client fault)
60
+ * <p>A parameter is specified incorrectly.</p>
61
+ *
62
+ * @throws {@link LimitExceededException} (client fault)
63
+ * <p>You have reached the maximum number of resources that can be created.</p>
64
+ *
65
+ * @throws {@link OperationAbortedException} (client fault)
66
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * <p>The specified resource does not exist.</p>
70
+ *
71
+ * @throws {@link ServiceUnavailableException} (server fault)
72
+ * <p>The service cannot complete the request.</p>
73
+ *
74
+ *
59
75
  */
60
76
  export declare class PutSubscriptionFilterCommand extends $Command<PutSubscriptionFilterCommandInput, PutSubscriptionFilterCommandOutput, CloudWatchLogsClientResolvedConfig> {
61
77
  readonly input: PutSubscriptionFilterCommandInput;
@@ -40,6 +40,26 @@ export interface StartQueryCommandOutput extends StartQueryResponse, __MetadataB
40
40
  * @see {@link StartQueryCommandOutput} for command's `response` shape.
41
41
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
42
42
  *
43
+ * @throws {@link InvalidParameterException} (client fault)
44
+ * <p>A parameter is specified incorrectly.</p>
45
+ *
46
+ * @throws {@link LimitExceededException} (client fault)
47
+ * <p>You have reached the maximum number of resources that can be created.</p>
48
+ *
49
+ * @throws {@link MalformedQueryException} (client fault)
50
+ * <p>The query string is not valid. Details about this error are displayed in a
51
+ * <code>QueryCompileError</code> object. For more information, see
52
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_QueryCompileError.html">QueryCompileError</a>.</p>
53
+ * <p>For more information about valid query syntax, see
54
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html">CloudWatch Logs Insights Query Syntax</a>.</p>
55
+ *
56
+ * @throws {@link ResourceNotFoundException} (client fault)
57
+ * <p>The specified resource does not exist.</p>
58
+ *
59
+ * @throws {@link ServiceUnavailableException} (server fault)
60
+ * <p>The service cannot complete the request.</p>
61
+ *
62
+ *
43
63
  */
44
64
  export declare class StartQueryCommand extends $Command<StartQueryCommandInput, StartQueryCommandOutput, CloudWatchLogsClientResolvedConfig> {
45
65
  readonly input: StartQueryCommandInput;
@@ -30,6 +30,16 @@ export interface StopQueryCommandOutput extends StopQueryResponse, __MetadataBea
30
30
  * @see {@link StopQueryCommandOutput} for command's `response` shape.
31
31
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidParameterException} (client fault)
34
+ * <p>A parameter is specified incorrectly.</p>
35
+ *
36
+ * @throws {@link ResourceNotFoundException} (client fault)
37
+ * <p>The specified resource does not exist.</p>
38
+ *
39
+ * @throws {@link ServiceUnavailableException} (server fault)
40
+ * <p>The service cannot complete the request.</p>
41
+ *
42
+ *
33
43
  */
34
44
  export declare class StopQueryCommand extends $Command<StopQueryCommandInput, StopQueryCommandOutput, CloudWatchLogsClientResolvedConfig> {
35
45
  readonly input: StopQueryCommandInput;
@@ -44,6 +44,13 @@ export interface TagLogGroupCommandOutput extends __MetadataBearer {
44
44
  * @see {@link TagLogGroupCommandOutput} for command's `response` shape.
45
45
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
46
46
  *
47
+ * @throws {@link InvalidParameterException} (client fault)
48
+ * <p>A parameter is specified incorrectly.</p>
49
+ *
50
+ * @throws {@link ResourceNotFoundException} (client fault)
51
+ * <p>The specified resource does not exist.</p>
52
+ *
53
+ *
47
54
  */
48
55
  export declare class TagLogGroupCommand extends $Command<TagLogGroupCommandInput, TagLogGroupCommandOutput, CloudWatchLogsClientResolvedConfig> {
49
56
  readonly input: TagLogGroupCommandInput;
@@ -40,6 +40,19 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
40
40
  * @see {@link TagResourceCommandOutput} for command's `response` shape.
41
41
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
42
42
  *
43
+ * @throws {@link InvalidParameterException} (client fault)
44
+ * <p>A parameter is specified incorrectly.</p>
45
+ *
46
+ * @throws {@link ResourceNotFoundException} (client fault)
47
+ * <p>The specified resource does not exist.</p>
48
+ *
49
+ * @throws {@link ServiceUnavailableException} (server fault)
50
+ * <p>The service cannot complete the request.</p>
51
+ *
52
+ * @throws {@link TooManyTagsException} (client fault)
53
+ * <p>A resource can have no more than 50 tags.</p>
54
+ *
55
+ *
43
56
  */
44
57
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CloudWatchLogsClientResolvedConfig> {
45
58
  readonly input: TagResourceCommandInput;
@@ -30,6 +30,13 @@ export interface TestMetricFilterCommandOutput extends TestMetricFilterResponse,
30
30
  * @see {@link TestMetricFilterCommandOutput} for command's `response` shape.
31
31
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidParameterException} (client fault)
34
+ * <p>A parameter is specified incorrectly.</p>
35
+ *
36
+ * @throws {@link ServiceUnavailableException} (server fault)
37
+ * <p>The service cannot complete the request.</p>
38
+ *
39
+ *
33
40
  */
34
41
  export declare class TestMetricFilterCommand extends $Command<TestMetricFilterCommandInput, TestMetricFilterCommandOutput, CloudWatchLogsClientResolvedConfig> {
35
42
  readonly input: TestMetricFilterCommandInput;
@@ -41,6 +41,10 @@ export interface UntagLogGroupCommandOutput extends __MetadataBearer {
41
41
  * @see {@link UntagLogGroupCommandOutput} for command's `response` shape.
42
42
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
43
43
  *
44
+ * @throws {@link ResourceNotFoundException} (client fault)
45
+ * <p>The specified resource does not exist.</p>
46
+ *
47
+ *
44
48
  */
45
49
  export declare class UntagLogGroupCommand extends $Command<UntagLogGroupCommandInput, UntagLogGroupCommandOutput, CloudWatchLogsClientResolvedConfig> {
46
50
  readonly input: UntagLogGroupCommandInput;
@@ -29,6 +29,16 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
29
29
  * @see {@link UntagResourceCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>A parameter is specified incorrectly.</p>
34
+ *
35
+ * @throws {@link ResourceNotFoundException} (client fault)
36
+ * <p>The specified resource does not exist.</p>
37
+ *
38
+ * @throws {@link ServiceUnavailableException} (server fault)
39
+ * <p>The service cannot complete the request.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CloudWatchLogsClientResolvedConfig> {
34
44
  readonly input: UntagResourceCommandInput;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch-logs",
3
3
  "description": "AWS SDK for JavaScript Cloudwatch Logs Client for Node.js, Browser and React Native",
4
- "version": "3.289.0",
4
+ "version": "3.290.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,37 +20,37 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.289.0",
24
- "@aws-sdk/config-resolver": "3.289.0",
25
- "@aws-sdk/credential-provider-node": "3.289.0",
26
- "@aws-sdk/fetch-http-handler": "3.289.0",
27
- "@aws-sdk/hash-node": "3.289.0",
28
- "@aws-sdk/invalid-dependency": "3.289.0",
29
- "@aws-sdk/middleware-content-length": "3.289.0",
30
- "@aws-sdk/middleware-endpoint": "3.289.0",
31
- "@aws-sdk/middleware-host-header": "3.289.0",
32
- "@aws-sdk/middleware-logger": "3.289.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.289.0",
34
- "@aws-sdk/middleware-retry": "3.289.0",
35
- "@aws-sdk/middleware-serde": "3.289.0",
36
- "@aws-sdk/middleware-signing": "3.289.0",
37
- "@aws-sdk/middleware-stack": "3.289.0",
38
- "@aws-sdk/middleware-user-agent": "3.289.0",
39
- "@aws-sdk/node-config-provider": "3.289.0",
40
- "@aws-sdk/node-http-handler": "3.289.0",
41
- "@aws-sdk/protocol-http": "3.289.0",
42
- "@aws-sdk/smithy-client": "3.289.0",
43
- "@aws-sdk/types": "3.289.0",
44
- "@aws-sdk/url-parser": "3.289.0",
23
+ "@aws-sdk/client-sts": "3.290.0",
24
+ "@aws-sdk/config-resolver": "3.290.0",
25
+ "@aws-sdk/credential-provider-node": "3.290.0",
26
+ "@aws-sdk/fetch-http-handler": "3.290.0",
27
+ "@aws-sdk/hash-node": "3.290.0",
28
+ "@aws-sdk/invalid-dependency": "3.290.0",
29
+ "@aws-sdk/middleware-content-length": "3.290.0",
30
+ "@aws-sdk/middleware-endpoint": "3.290.0",
31
+ "@aws-sdk/middleware-host-header": "3.290.0",
32
+ "@aws-sdk/middleware-logger": "3.290.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.290.0",
34
+ "@aws-sdk/middleware-retry": "3.290.0",
35
+ "@aws-sdk/middleware-serde": "3.290.0",
36
+ "@aws-sdk/middleware-signing": "3.290.0",
37
+ "@aws-sdk/middleware-stack": "3.290.0",
38
+ "@aws-sdk/middleware-user-agent": "3.290.0",
39
+ "@aws-sdk/node-config-provider": "3.290.0",
40
+ "@aws-sdk/node-http-handler": "3.290.0",
41
+ "@aws-sdk/protocol-http": "3.290.0",
42
+ "@aws-sdk/smithy-client": "3.290.0",
43
+ "@aws-sdk/types": "3.290.0",
44
+ "@aws-sdk/url-parser": "3.290.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.289.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.289.0",
50
- "@aws-sdk/util-endpoints": "3.289.0",
51
- "@aws-sdk/util-retry": "3.289.0",
52
- "@aws-sdk/util-user-agent-browser": "3.289.0",
53
- "@aws-sdk/util-user-agent-node": "3.289.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.290.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.290.0",
50
+ "@aws-sdk/util-endpoints": "3.290.0",
51
+ "@aws-sdk/util-retry": "3.290.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.290.0",
53
+ "@aws-sdk/util-user-agent-node": "3.290.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
55
  "tslib": "^2.3.1"
56
56
  },