aws-sdk 2.1111.0 → 2.1114.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.
- package/CHANGELOG.md +16 -1
- package/README.md +1 -1
- package/apis/amplifyuibuilder-2021-08-11.min.json +9 -10
- package/apis/apprunner-2020-05-15.min.json +206 -44
- package/apis/apprunner-2020-05-15.paginators.json +5 -0
- package/apis/devops-guru-2020-12-01.min.json +147 -124
- package/apis/fsx-2018-03-01.paginators.json +4 -2
- package/apis/iottwinmaker-2021-11-29.min.json +75 -68
- package/apis/monitoring-2010-08-01.min.json +47 -11
- package/clients/amplifyuibuilder.d.ts +14 -9
- package/clients/apprunner.d.ts +194 -10
- package/clients/cloudwatch.d.ts +43 -11
- package/clients/devopsguru.d.ts +28 -12
- package/clients/ec2.d.ts +1 -1
- package/clients/efs.d.ts +40 -40
- package/clients/fsx.d.ts +7 -7
- package/clients/iottwinmaker.d.ts +15 -7
- package/clients/workspaces.d.ts +4 -4
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +8 -8
- package/dist/aws-sdk.js +50 -14
- package/dist/aws-sdk.min.js +36 -36
- package/lib/core.js +1 -1
- package/package.json +1 -1
|
@@ -300,6 +300,10 @@ declare namespace AmplifyUIBuilder {
|
|
|
300
300
|
* Describes the properties of the child component. You can't specify tags as a valid property for properties.
|
|
301
301
|
*/
|
|
302
302
|
properties: ComponentProperties;
|
|
303
|
+
/**
|
|
304
|
+
* The unique ID of the child component in its original source system, such as Figma.
|
|
305
|
+
*/
|
|
306
|
+
sourceId?: String;
|
|
303
307
|
}
|
|
304
308
|
export type ComponentChildList = ComponentChild[];
|
|
305
309
|
export type ComponentCollectionProperties = {[key: string]: ComponentDataConfiguration};
|
|
@@ -356,6 +360,10 @@ declare namespace AmplifyUIBuilder {
|
|
|
356
360
|
* The action to perform when a specific event is raised.
|
|
357
361
|
*/
|
|
358
362
|
action?: String;
|
|
363
|
+
/**
|
|
364
|
+
* Binds an event to an action on a component. When you specify a bindingEvent, the event is called when the action is performed.
|
|
365
|
+
*/
|
|
366
|
+
bindingEvent?: String;
|
|
359
367
|
/**
|
|
360
368
|
* Describes information about the action.
|
|
361
369
|
*/
|
|
@@ -634,7 +642,7 @@ declare namespace AmplifyUIBuilder {
|
|
|
634
642
|
/**
|
|
635
643
|
* The access code to send in the request.
|
|
636
644
|
*/
|
|
637
|
-
code:
|
|
645
|
+
code: SensitiveString;
|
|
638
646
|
/**
|
|
639
647
|
* The location of the application that will receive the access code.
|
|
640
648
|
*/
|
|
@@ -644,7 +652,7 @@ declare namespace AmplifyUIBuilder {
|
|
|
644
652
|
/**
|
|
645
653
|
* The access token.
|
|
646
654
|
*/
|
|
647
|
-
accessToken:
|
|
655
|
+
accessToken: SensitiveString;
|
|
648
656
|
/**
|
|
649
657
|
* The date and time when the new access token expires.
|
|
650
658
|
*/
|
|
@@ -652,7 +660,7 @@ declare namespace AmplifyUIBuilder {
|
|
|
652
660
|
/**
|
|
653
661
|
* The token to use to refresh a previously issued access token that might have expired.
|
|
654
662
|
*/
|
|
655
|
-
refreshToken:
|
|
663
|
+
refreshToken: SensitiveString;
|
|
656
664
|
}
|
|
657
665
|
export interface ExportComponentsRequest {
|
|
658
666
|
/**
|
|
@@ -864,18 +872,19 @@ declare namespace AmplifyUIBuilder {
|
|
|
864
872
|
/**
|
|
865
873
|
* The token to use to refresh a previously issued access token that might have expired.
|
|
866
874
|
*/
|
|
867
|
-
token:
|
|
875
|
+
token: SensitiveString;
|
|
868
876
|
}
|
|
869
877
|
export interface RefreshTokenResponse {
|
|
870
878
|
/**
|
|
871
879
|
* The access token.
|
|
872
880
|
*/
|
|
873
|
-
accessToken:
|
|
881
|
+
accessToken: SensitiveString;
|
|
874
882
|
/**
|
|
875
883
|
* The date and time when the new access token expires.
|
|
876
884
|
*/
|
|
877
885
|
expiresIn: Integer;
|
|
878
886
|
}
|
|
887
|
+
export type SensitiveString = string;
|
|
879
888
|
export type SortDirection = "ASC"|"DESC"|string;
|
|
880
889
|
export interface SortProperty {
|
|
881
890
|
/**
|
|
@@ -889,10 +898,6 @@ declare namespace AmplifyUIBuilder {
|
|
|
889
898
|
}
|
|
890
899
|
export type SortPropertyList = SortProperty[];
|
|
891
900
|
export type String = string;
|
|
892
|
-
export type SyntheticExchangeCodeForTokenRequestBodyString = string;
|
|
893
|
-
export type SyntheticExchangeCodeForTokenResponseString = string;
|
|
894
|
-
export type SyntheticRefreshTokenRequestBodyString = string;
|
|
895
|
-
export type SyntheticRefreshTokenResponseString = string;
|
|
896
901
|
export type SyntheticTimestamp_date_time = Date;
|
|
897
902
|
export type TagKey = string;
|
|
898
903
|
export type TagValue = string;
|
package/clients/apprunner.d.ts
CHANGED
|
@@ -20,11 +20,11 @@ declare class AppRunner extends Service {
|
|
|
20
20
|
*/
|
|
21
21
|
associateCustomDomain(callback?: (err: AWSError, data: AppRunner.Types.AssociateCustomDomainResponse) => void): Request<AppRunner.Types.AssociateCustomDomainResponse, AWSError>;
|
|
22
22
|
/**
|
|
23
|
-
* Create an App Runner automatic scaling configuration resource. App Runner requires this resource when you create App Runner services
|
|
23
|
+
* Create an App Runner automatic scaling configuration resource. App Runner requires this resource when you create or update App Runner services and you require non-default auto scaling settings. You can share an auto scaling configuration across multiple services. Create multiple revisions of a configuration by calling this action multiple times using the same AutoScalingConfigurationName. The call returns incremental AutoScalingConfigurationRevision values. When you create a service and configure an auto scaling configuration resource, the service uses the latest active revision of the auto scaling configuration by default. You can optionally configure the service to use a specific revision. Configure a higher MinSize to increase the spread of your App Runner service over more Availability Zones in the Amazon Web Services Region. The tradeoff is a higher minimal cost. Configure a lower MaxSize to control your cost. The tradeoff is lower responsiveness during peak demand.
|
|
24
24
|
*/
|
|
25
25
|
createAutoScalingConfiguration(params: AppRunner.Types.CreateAutoScalingConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.CreateAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.CreateAutoScalingConfigurationResponse, AWSError>;
|
|
26
26
|
/**
|
|
27
|
-
* Create an App Runner automatic scaling configuration resource. App Runner requires this resource when you create App Runner services
|
|
27
|
+
* Create an App Runner automatic scaling configuration resource. App Runner requires this resource when you create or update App Runner services and you require non-default auto scaling settings. You can share an auto scaling configuration across multiple services. Create multiple revisions of a configuration by calling this action multiple times using the same AutoScalingConfigurationName. The call returns incremental AutoScalingConfigurationRevision values. When you create a service and configure an auto scaling configuration resource, the service uses the latest active revision of the auto scaling configuration by default. You can optionally configure the service to use a specific revision. Configure a higher MinSize to increase the spread of your App Runner service over more Availability Zones in the Amazon Web Services Region. The tradeoff is a higher minimal cost. Configure a lower MaxSize to control your cost. The tradeoff is lower responsiveness during peak demand.
|
|
28
28
|
*/
|
|
29
29
|
createAutoScalingConfiguration(callback?: (err: AWSError, data: AppRunner.Types.CreateAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.CreateAutoScalingConfigurationResponse, AWSError>;
|
|
30
30
|
/**
|
|
@@ -35,6 +35,14 @@ declare class AppRunner extends Service {
|
|
|
35
35
|
* Create an App Runner connection resource. App Runner requires a connection resource when you create App Runner services that access private repositories from certain third-party providers. You can share a connection across multiple services. A connection resource is needed to access GitHub repositories. GitHub requires a user interface approval process through the App Runner console before you can use the connection.
|
|
36
36
|
*/
|
|
37
37
|
createConnection(callback?: (err: AWSError, data: AppRunner.Types.CreateConnectionResponse) => void): Request<AppRunner.Types.CreateConnectionResponse, AWSError>;
|
|
38
|
+
/**
|
|
39
|
+
* Create an App Runner observability configuration resource. App Runner requires this resource when you create or update App Runner services and you want to enable non-default observability features. You can share an observability configuration across multiple services. Create multiple revisions of a configuration by calling this action multiple times using the same ObservabilityConfigurationName. The call returns incremental ObservabilityConfigurationRevision values. When you create a service and configure an observability configuration resource, the service uses the latest active revision of the observability configuration by default. You can optionally configure the service to use a specific revision. The observability configuration resource is designed to configure multiple features (currently one feature, tracing). This action takes optional parameters that describe the configuration of these features (currently one parameter, TraceConfiguration). If you don't specify a feature parameter, App Runner doesn't enable the feature.
|
|
40
|
+
*/
|
|
41
|
+
createObservabilityConfiguration(params: AppRunner.Types.CreateObservabilityConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.CreateObservabilityConfigurationResponse) => void): Request<AppRunner.Types.CreateObservabilityConfigurationResponse, AWSError>;
|
|
42
|
+
/**
|
|
43
|
+
* Create an App Runner observability configuration resource. App Runner requires this resource when you create or update App Runner services and you want to enable non-default observability features. You can share an observability configuration across multiple services. Create multiple revisions of a configuration by calling this action multiple times using the same ObservabilityConfigurationName. The call returns incremental ObservabilityConfigurationRevision values. When you create a service and configure an observability configuration resource, the service uses the latest active revision of the observability configuration by default. You can optionally configure the service to use a specific revision. The observability configuration resource is designed to configure multiple features (currently one feature, tracing). This action takes optional parameters that describe the configuration of these features (currently one parameter, TraceConfiguration). If you don't specify a feature parameter, App Runner doesn't enable the feature.
|
|
44
|
+
*/
|
|
45
|
+
createObservabilityConfiguration(callback?: (err: AWSError, data: AppRunner.Types.CreateObservabilityConfigurationResponse) => void): Request<AppRunner.Types.CreateObservabilityConfigurationResponse, AWSError>;
|
|
38
46
|
/**
|
|
39
47
|
* Create an App Runner service. After the service is created, the action also automatically starts a deployment. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress.
|
|
40
48
|
*/
|
|
@@ -67,6 +75,14 @@ declare class AppRunner extends Service {
|
|
|
67
75
|
* Delete an App Runner connection. You must first ensure that there are no running App Runner services that use this connection. If there are any, the DeleteConnection action fails.
|
|
68
76
|
*/
|
|
69
77
|
deleteConnection(callback?: (err: AWSError, data: AppRunner.Types.DeleteConnectionResponse) => void): Request<AppRunner.Types.DeleteConnectionResponse, AWSError>;
|
|
78
|
+
/**
|
|
79
|
+
* Delete an App Runner observability configuration resource. You can delete a specific revision or the latest active revision. You can't delete a configuration that's used by one or more App Runner services.
|
|
80
|
+
*/
|
|
81
|
+
deleteObservabilityConfiguration(params: AppRunner.Types.DeleteObservabilityConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.DeleteObservabilityConfigurationResponse) => void): Request<AppRunner.Types.DeleteObservabilityConfigurationResponse, AWSError>;
|
|
82
|
+
/**
|
|
83
|
+
* Delete an App Runner observability configuration resource. You can delete a specific revision or the latest active revision. You can't delete a configuration that's used by one or more App Runner services.
|
|
84
|
+
*/
|
|
85
|
+
deleteObservabilityConfiguration(callback?: (err: AWSError, data: AppRunner.Types.DeleteObservabilityConfigurationResponse) => void): Request<AppRunner.Types.DeleteObservabilityConfigurationResponse, AWSError>;
|
|
70
86
|
/**
|
|
71
87
|
* Delete an App Runner service. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress.
|
|
72
88
|
*/
|
|
@@ -99,6 +115,14 @@ declare class AppRunner extends Service {
|
|
|
99
115
|
* Return a description of custom domain names that are associated with an App Runner service.
|
|
100
116
|
*/
|
|
101
117
|
describeCustomDomains(callback?: (err: AWSError, data: AppRunner.Types.DescribeCustomDomainsResponse) => void): Request<AppRunner.Types.DescribeCustomDomainsResponse, AWSError>;
|
|
118
|
+
/**
|
|
119
|
+
* Return a full description of an App Runner observability configuration resource.
|
|
120
|
+
*/
|
|
121
|
+
describeObservabilityConfiguration(params: AppRunner.Types.DescribeObservabilityConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.DescribeObservabilityConfigurationResponse) => void): Request<AppRunner.Types.DescribeObservabilityConfigurationResponse, AWSError>;
|
|
122
|
+
/**
|
|
123
|
+
* Return a full description of an App Runner observability configuration resource.
|
|
124
|
+
*/
|
|
125
|
+
describeObservabilityConfiguration(callback?: (err: AWSError, data: AppRunner.Types.DescribeObservabilityConfigurationResponse) => void): Request<AppRunner.Types.DescribeObservabilityConfigurationResponse, AWSError>;
|
|
102
126
|
/**
|
|
103
127
|
* Return a full description of an App Runner service.
|
|
104
128
|
*/
|
|
@@ -124,11 +148,11 @@ declare class AppRunner extends Service {
|
|
|
124
148
|
*/
|
|
125
149
|
disassociateCustomDomain(callback?: (err: AWSError, data: AppRunner.Types.DisassociateCustomDomainResponse) => void): Request<AppRunner.Types.DisassociateCustomDomainResponse, AWSError>;
|
|
126
150
|
/**
|
|
127
|
-
* Returns a list of App Runner automatic scaling configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all configurations in your account. You can optionally query only the latest revision of each requested name.
|
|
151
|
+
* Returns a list of active App Runner automatic scaling configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all active configurations in your account. You can optionally query only the latest revision of each requested name. To retrieve a full description of a particular configuration revision, call and provide one of the ARNs returned by ListAutoScalingConfigurations.
|
|
128
152
|
*/
|
|
129
153
|
listAutoScalingConfigurations(params: AppRunner.Types.ListAutoScalingConfigurationsRequest, callback?: (err: AWSError, data: AppRunner.Types.ListAutoScalingConfigurationsResponse) => void): Request<AppRunner.Types.ListAutoScalingConfigurationsResponse, AWSError>;
|
|
130
154
|
/**
|
|
131
|
-
* Returns a list of App Runner automatic scaling configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all configurations in your account. You can optionally query only the latest revision of each requested name.
|
|
155
|
+
* Returns a list of active App Runner automatic scaling configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all active configurations in your account. You can optionally query only the latest revision of each requested name. To retrieve a full description of a particular configuration revision, call and provide one of the ARNs returned by ListAutoScalingConfigurations.
|
|
132
156
|
*/
|
|
133
157
|
listAutoScalingConfigurations(callback?: (err: AWSError, data: AppRunner.Types.ListAutoScalingConfigurationsResponse) => void): Request<AppRunner.Types.ListAutoScalingConfigurationsResponse, AWSError>;
|
|
134
158
|
/**
|
|
@@ -139,6 +163,14 @@ declare class AppRunner extends Service {
|
|
|
139
163
|
* Returns a list of App Runner connections that are associated with your Amazon Web Services account.
|
|
140
164
|
*/
|
|
141
165
|
listConnections(callback?: (err: AWSError, data: AppRunner.Types.ListConnectionsResponse) => void): Request<AppRunner.Types.ListConnectionsResponse, AWSError>;
|
|
166
|
+
/**
|
|
167
|
+
* Returns a list of active App Runner observability configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all active configurations in your account. You can optionally query only the latest revision of each requested name. To retrieve a full description of a particular configuration revision, call and provide one of the ARNs returned by ListObservabilityConfigurations.
|
|
168
|
+
*/
|
|
169
|
+
listObservabilityConfigurations(params: AppRunner.Types.ListObservabilityConfigurationsRequest, callback?: (err: AWSError, data: AppRunner.Types.ListObservabilityConfigurationsResponse) => void): Request<AppRunner.Types.ListObservabilityConfigurationsResponse, AWSError>;
|
|
170
|
+
/**
|
|
171
|
+
* Returns a list of active App Runner observability configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all active configurations in your account. You can optionally query only the latest revision of each requested name. To retrieve a full description of a particular configuration revision, call and provide one of the ARNs returned by ListObservabilityConfigurations.
|
|
172
|
+
*/
|
|
173
|
+
listObservabilityConfigurations(callback?: (err: AWSError, data: AppRunner.Types.ListObservabilityConfigurationsResponse) => void): Request<AppRunner.Types.ListObservabilityConfigurationsResponse, AWSError>;
|
|
142
174
|
/**
|
|
143
175
|
* Return a list of operations that occurred on an App Runner service. The resulting list of OperationSummary objects is sorted in reverse chronological order. The first object on the list represents the last started operation.
|
|
144
176
|
*/
|
|
@@ -277,7 +309,7 @@ declare namespace AppRunner {
|
|
|
277
309
|
*/
|
|
278
310
|
AutoScalingConfigurationRevision?: Integer;
|
|
279
311
|
/**
|
|
280
|
-
* It's set to true for the configuration with the highest Revision among all configurations that share the same
|
|
312
|
+
* It's set to true for the configuration with the highest Revision among all configurations that share the same AutoScalingConfigurationName. It's set to false otherwise.
|
|
281
313
|
*/
|
|
282
314
|
Latest?: Boolean;
|
|
283
315
|
/**
|
|
@@ -487,6 +519,26 @@ declare namespace AppRunner {
|
|
|
487
519
|
*/
|
|
488
520
|
Connection: Connection;
|
|
489
521
|
}
|
|
522
|
+
export interface CreateObservabilityConfigurationRequest {
|
|
523
|
+
/**
|
|
524
|
+
* A name for the observability configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number 1 of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration. The name DefaultConfiguration is reserved. You can't use it to create a new observability configuration, and you can't create a revision of it. When you want to use your own observability configuration for your App Runner service, create a configuration with a different name, and then provide it when you create or update your service.
|
|
525
|
+
*/
|
|
526
|
+
ObservabilityConfigurationName: ObservabilityConfigurationName;
|
|
527
|
+
/**
|
|
528
|
+
* The configuration of the tracing feature within this observability configuration. If you don't specify it, App Runner doesn't enable tracing.
|
|
529
|
+
*/
|
|
530
|
+
TraceConfiguration?: TraceConfiguration;
|
|
531
|
+
/**
|
|
532
|
+
* A list of metadata items that you can associate with your observability configuration resource. A tag is a key-value pair.
|
|
533
|
+
*/
|
|
534
|
+
Tags?: TagList;
|
|
535
|
+
}
|
|
536
|
+
export interface CreateObservabilityConfigurationResponse {
|
|
537
|
+
/**
|
|
538
|
+
* A description of the App Runner observability configuration that's created by this request.
|
|
539
|
+
*/
|
|
540
|
+
ObservabilityConfiguration: ObservabilityConfiguration;
|
|
541
|
+
}
|
|
490
542
|
export interface CreateServiceRequest {
|
|
491
543
|
/**
|
|
492
544
|
* A name for the App Runner service. It must be unique across all the running App Runner services in your Amazon Web Services account in the Amazon Web Services Region.
|
|
@@ -497,7 +549,7 @@ declare namespace AppRunner {
|
|
|
497
549
|
*/
|
|
498
550
|
SourceConfiguration: SourceConfiguration;
|
|
499
551
|
/**
|
|
500
|
-
* The runtime configuration of instances (scaling units) of
|
|
552
|
+
* The runtime configuration of instances (scaling units) of your service.
|
|
501
553
|
*/
|
|
502
554
|
InstanceConfiguration?: InstanceConfiguration;
|
|
503
555
|
/**
|
|
@@ -513,13 +565,17 @@ declare namespace AppRunner {
|
|
|
513
565
|
*/
|
|
514
566
|
HealthCheckConfiguration?: HealthCheckConfiguration;
|
|
515
567
|
/**
|
|
516
|
-
* The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with
|
|
568
|
+
* The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with your service. If not provided, App Runner associates the latest revision of a default auto scaling configuration. Specify an ARN with a name and a revision number to associate that revision. For example: arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/3 Specify just the name to associate the latest revision. For example: arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability
|
|
517
569
|
*/
|
|
518
570
|
AutoScalingConfigurationArn?: AppRunnerResourceArn;
|
|
519
571
|
/**
|
|
520
572
|
* Configuration settings related to network traffic of the web application that the App Runner service runs.
|
|
521
573
|
*/
|
|
522
574
|
NetworkConfiguration?: NetworkConfiguration;
|
|
575
|
+
/**
|
|
576
|
+
* The observability configuration of your service.
|
|
577
|
+
*/
|
|
578
|
+
ObservabilityConfiguration?: ServiceObservabilityConfiguration;
|
|
523
579
|
}
|
|
524
580
|
export interface CreateServiceResponse {
|
|
525
581
|
/**
|
|
@@ -599,6 +655,18 @@ declare namespace AppRunner {
|
|
|
599
655
|
*/
|
|
600
656
|
Connection?: Connection;
|
|
601
657
|
}
|
|
658
|
+
export interface DeleteObservabilityConfigurationRequest {
|
|
659
|
+
/**
|
|
660
|
+
* The Amazon Resource Name (ARN) of the App Runner observability configuration that you want to delete. The ARN can be a full observability configuration ARN, or a partial ARN ending with either .../name or .../name/revision . If a revision isn't specified, the latest active revision is deleted.
|
|
661
|
+
*/
|
|
662
|
+
ObservabilityConfigurationArn: AppRunnerResourceArn;
|
|
663
|
+
}
|
|
664
|
+
export interface DeleteObservabilityConfigurationResponse {
|
|
665
|
+
/**
|
|
666
|
+
* A description of the App Runner observability configuration that this request just deleted.
|
|
667
|
+
*/
|
|
668
|
+
ObservabilityConfiguration: ObservabilityConfiguration;
|
|
669
|
+
}
|
|
602
670
|
export interface DeleteServiceRequest {
|
|
603
671
|
/**
|
|
604
672
|
* The Amazon Resource Name (ARN) of the App Runner service that you want to delete.
|
|
@@ -672,6 +740,18 @@ declare namespace AppRunner {
|
|
|
672
740
|
*/
|
|
673
741
|
NextToken?: String;
|
|
674
742
|
}
|
|
743
|
+
export interface DescribeObservabilityConfigurationRequest {
|
|
744
|
+
/**
|
|
745
|
+
* The Amazon Resource Name (ARN) of the App Runner observability configuration that you want a description for. The ARN can be a full observability configuration ARN, or a partial ARN ending with either .../name or .../name/revision . If a revision isn't specified, the latest active revision is described.
|
|
746
|
+
*/
|
|
747
|
+
ObservabilityConfigurationArn: AppRunnerResourceArn;
|
|
748
|
+
}
|
|
749
|
+
export interface DescribeObservabilityConfigurationResponse {
|
|
750
|
+
/**
|
|
751
|
+
* A full description of the App Runner observability configuration that you specified in this request.
|
|
752
|
+
*/
|
|
753
|
+
ObservabilityConfiguration: ObservabilityConfiguration;
|
|
754
|
+
}
|
|
675
755
|
export interface DescribeServiceRequest {
|
|
676
756
|
/**
|
|
677
757
|
* The Amazon Resource Name (ARN) of the App Runner service that you want a description for.
|
|
@@ -818,11 +898,11 @@ declare namespace AppRunner {
|
|
|
818
898
|
export type KmsKeyArn = string;
|
|
819
899
|
export interface ListAutoScalingConfigurationsRequest {
|
|
820
900
|
/**
|
|
821
|
-
* The name of the App Runner auto scaling configuration that you want to list. If specified, App Runner lists revisions that share this name. If not specified, App Runner returns revisions of all configurations.
|
|
901
|
+
* The name of the App Runner auto scaling configuration that you want to list. If specified, App Runner lists revisions that share this name. If not specified, App Runner returns revisions of all active configurations.
|
|
822
902
|
*/
|
|
823
903
|
AutoScalingConfigurationName?: AutoScalingConfigurationName;
|
|
824
904
|
/**
|
|
825
|
-
* Set to true to list only the latest revision for each requested configuration name.
|
|
905
|
+
* Set to true to list only the latest revision for each requested configuration name. Set to false to list all revisions for each requested configuration name. Default: true
|
|
826
906
|
*/
|
|
827
907
|
LatestOnly?: Boolean;
|
|
828
908
|
/**
|
|
@@ -868,6 +948,34 @@ declare namespace AppRunner {
|
|
|
868
948
|
*/
|
|
869
949
|
NextToken?: NextToken;
|
|
870
950
|
}
|
|
951
|
+
export interface ListObservabilityConfigurationsRequest {
|
|
952
|
+
/**
|
|
953
|
+
* The name of the App Runner observability configuration that you want to list. If specified, App Runner lists revisions that share this name. If not specified, App Runner returns revisions of all active configurations.
|
|
954
|
+
*/
|
|
955
|
+
ObservabilityConfigurationName?: ObservabilityConfigurationName;
|
|
956
|
+
/**
|
|
957
|
+
* Set to true to list only the latest revision for each requested configuration name. Set to false to list all revisions for each requested configuration name. Default: true
|
|
958
|
+
*/
|
|
959
|
+
LatestOnly?: Boolean;
|
|
960
|
+
/**
|
|
961
|
+
* The maximum number of results to include in each response (result page). It's used for a paginated request. If you don't specify MaxResults, the request retrieves all available results in a single response.
|
|
962
|
+
*/
|
|
963
|
+
MaxResults?: MaxResults;
|
|
964
|
+
/**
|
|
965
|
+
* A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones that are specified in the initial request. If you don't specify NextToken, the request retrieves the first result page.
|
|
966
|
+
*/
|
|
967
|
+
NextToken?: NextToken;
|
|
968
|
+
}
|
|
969
|
+
export interface ListObservabilityConfigurationsResponse {
|
|
970
|
+
/**
|
|
971
|
+
* A list of summary information records for observability configurations. In a paginated request, the request returns up to MaxResults records for each call.
|
|
972
|
+
*/
|
|
973
|
+
ObservabilityConfigurationSummaryList: ObservabilityConfigurationSummaryList;
|
|
974
|
+
/**
|
|
975
|
+
* The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
|
|
976
|
+
*/
|
|
977
|
+
NextToken?: NextToken;
|
|
978
|
+
}
|
|
871
979
|
export type ListOperationsMaxResults = number;
|
|
872
980
|
export interface ListOperationsRequest {
|
|
873
981
|
/**
|
|
@@ -955,6 +1063,57 @@ declare namespace AppRunner {
|
|
|
955
1063
|
}
|
|
956
1064
|
export type NextToken = string;
|
|
957
1065
|
export type NullableBoolean = boolean;
|
|
1066
|
+
export interface ObservabilityConfiguration {
|
|
1067
|
+
/**
|
|
1068
|
+
* The Amazon Resource Name (ARN) of this observability configuration.
|
|
1069
|
+
*/
|
|
1070
|
+
ObservabilityConfigurationArn?: AppRunnerResourceArn;
|
|
1071
|
+
/**
|
|
1072
|
+
* The customer-provided observability configuration name. It can be used in multiple revisions of a configuration.
|
|
1073
|
+
*/
|
|
1074
|
+
ObservabilityConfigurationName?: ObservabilityConfigurationName;
|
|
1075
|
+
/**
|
|
1076
|
+
* The configuration of the tracing feature within this observability configuration. If not specified, tracing isn't enabled.
|
|
1077
|
+
*/
|
|
1078
|
+
TraceConfiguration?: TraceConfiguration;
|
|
1079
|
+
/**
|
|
1080
|
+
* The revision of this observability configuration. It's unique among all the active configurations ("Status": "ACTIVE") that share the same ObservabilityConfigurationName.
|
|
1081
|
+
*/
|
|
1082
|
+
ObservabilityConfigurationRevision?: Integer;
|
|
1083
|
+
/**
|
|
1084
|
+
* It's set to true for the configuration with the highest Revision among all configurations that share the same ObservabilityConfigurationName. It's set to false otherwise.
|
|
1085
|
+
*/
|
|
1086
|
+
Latest?: Boolean;
|
|
1087
|
+
/**
|
|
1088
|
+
* The current state of the observability configuration. If the status of a configuration revision is INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.
|
|
1089
|
+
*/
|
|
1090
|
+
Status?: ObservabilityConfigurationStatus;
|
|
1091
|
+
/**
|
|
1092
|
+
* The time when the observability configuration was created. It's in Unix time stamp format.
|
|
1093
|
+
*/
|
|
1094
|
+
CreatedAt?: Timestamp;
|
|
1095
|
+
/**
|
|
1096
|
+
* The time when the observability configuration was deleted. It's in Unix time stamp format.
|
|
1097
|
+
*/
|
|
1098
|
+
DeletedAt?: Timestamp;
|
|
1099
|
+
}
|
|
1100
|
+
export type ObservabilityConfigurationName = string;
|
|
1101
|
+
export type ObservabilityConfigurationStatus = "ACTIVE"|"INACTIVE"|string;
|
|
1102
|
+
export interface ObservabilityConfigurationSummary {
|
|
1103
|
+
/**
|
|
1104
|
+
* The Amazon Resource Name (ARN) of this observability configuration.
|
|
1105
|
+
*/
|
|
1106
|
+
ObservabilityConfigurationArn?: AppRunnerResourceArn;
|
|
1107
|
+
/**
|
|
1108
|
+
* The customer-provided observability configuration name. It can be used in multiple revisions of a configuration.
|
|
1109
|
+
*/
|
|
1110
|
+
ObservabilityConfigurationName?: ObservabilityConfigurationName;
|
|
1111
|
+
/**
|
|
1112
|
+
* The revision of this observability configuration. It's unique among all the active configurations ("Status": "ACTIVE") that share the same ObservabilityConfigurationName.
|
|
1113
|
+
*/
|
|
1114
|
+
ObservabilityConfigurationRevision?: Integer;
|
|
1115
|
+
}
|
|
1116
|
+
export type ObservabilityConfigurationSummaryList = ObservabilityConfigurationSummary[];
|
|
958
1117
|
export type OperationStatus = "PENDING"|"IN_PROGRESS"|"FAILED"|"SUCCEEDED"|"ROLLBACK_IN_PROGRESS"|"ROLLBACK_FAILED"|"ROLLBACK_SUCCEEDED"|string;
|
|
959
1118
|
export interface OperationSummary {
|
|
960
1119
|
/**
|
|
@@ -1083,10 +1242,24 @@ declare namespace AppRunner {
|
|
|
1083
1242
|
* Configuration settings related to network traffic of the web application that this service runs.
|
|
1084
1243
|
*/
|
|
1085
1244
|
NetworkConfiguration: NetworkConfiguration;
|
|
1245
|
+
/**
|
|
1246
|
+
* The observability configuration of this service.
|
|
1247
|
+
*/
|
|
1248
|
+
ObservabilityConfiguration?: ServiceObservabilityConfiguration;
|
|
1086
1249
|
}
|
|
1087
1250
|
export type ServiceId = string;
|
|
1088
1251
|
export type ServiceMaxResults = number;
|
|
1089
1252
|
export type ServiceName = string;
|
|
1253
|
+
export interface ServiceObservabilityConfiguration {
|
|
1254
|
+
/**
|
|
1255
|
+
* When true, an observability configuration resource is associated with the service, and an ObservabilityConfigurationArn is specified.
|
|
1256
|
+
*/
|
|
1257
|
+
ObservabilityEnabled: Boolean;
|
|
1258
|
+
/**
|
|
1259
|
+
* The Amazon Resource Name (ARN) of the observability configuration that is associated with the service. Specified only when ObservabilityEnabled is true. Specify an ARN with a name and a revision number to associate that revision. For example: arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing/3 Specify just the name to associate the latest revision. For example: arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing
|
|
1260
|
+
*/
|
|
1261
|
+
ObservabilityConfigurationArn?: AppRunnerResourceArn;
|
|
1262
|
+
}
|
|
1090
1263
|
export type ServiceStatus = "CREATE_FAILED"|"RUNNING"|"DELETED"|"DELETE_FAILED"|"PAUSED"|"OPERATION_IN_PROGRESS"|string;
|
|
1091
1264
|
export interface ServiceSummary {
|
|
1092
1265
|
/**
|
|
@@ -1190,6 +1363,13 @@ declare namespace AppRunner {
|
|
|
1190
1363
|
}
|
|
1191
1364
|
export type TagValue = string;
|
|
1192
1365
|
export type Timestamp = Date;
|
|
1366
|
+
export interface TraceConfiguration {
|
|
1367
|
+
/**
|
|
1368
|
+
* The implementation provider chosen for tracing App Runner services.
|
|
1369
|
+
*/
|
|
1370
|
+
Vendor: TracingVendor;
|
|
1371
|
+
}
|
|
1372
|
+
export type TracingVendor = "AWSXRAY"|string;
|
|
1193
1373
|
export type UUID = string;
|
|
1194
1374
|
export interface UntagResourceRequest {
|
|
1195
1375
|
/**
|
|
@@ -1213,7 +1393,7 @@ declare namespace AppRunner {
|
|
|
1213
1393
|
*/
|
|
1214
1394
|
SourceConfiguration?: SourceConfiguration;
|
|
1215
1395
|
/**
|
|
1216
|
-
* The runtime configuration to apply to instances (scaling units) of
|
|
1396
|
+
* The runtime configuration to apply to instances (scaling units) of your service.
|
|
1217
1397
|
*/
|
|
1218
1398
|
InstanceConfiguration?: InstanceConfiguration;
|
|
1219
1399
|
/**
|
|
@@ -1228,6 +1408,10 @@ declare namespace AppRunner {
|
|
|
1228
1408
|
* Configuration settings related to network traffic of the web application that the App Runner service runs.
|
|
1229
1409
|
*/
|
|
1230
1410
|
NetworkConfiguration?: NetworkConfiguration;
|
|
1411
|
+
/**
|
|
1412
|
+
* The observability configuration of your service.
|
|
1413
|
+
*/
|
|
1414
|
+
ObservabilityConfiguration?: ServiceObservabilityConfiguration;
|
|
1231
1415
|
}
|
|
1232
1416
|
export interface UpdateServiceResponse {
|
|
1233
1417
|
/**
|
package/clients/cloudwatch.d.ts
CHANGED
|
@@ -141,11 +141,11 @@ declare class CloudWatch extends Service {
|
|
|
141
141
|
*/
|
|
142
142
|
getInsightRuleReport(callback?: (err: AWSError, data: CloudWatch.Types.GetInsightRuleReportOutput) => void): Request<CloudWatch.Types.GetInsightRuleReportOutput, AWSError>;
|
|
143
143
|
/**
|
|
144
|
-
* You can use the GetMetricData API to retrieve as many as 500 different metrics in a single request, with a total of as many as 100,800 data points. You can also optionally perform math expressions on the values of the returned statistics, to create new time series that represent new insights into your data. For example, using Lambda metrics, you could divide the Errors metric by the Invocations metric to get an error rate time series. For more information about metric math expressions, see Metric Math Syntax and Functions in the Amazon CloudWatch User Guide. Calls to the GetMetricData API have a different pricing structure than calls to GetMetricStatistics. For more information about pricing, see Amazon CloudWatch Pricing. Amazon CloudWatch retains metric data as follows: Data points with a period of less than 60 seconds are available for 3 hours. These data points are high-resolution metrics and are available only for custom metrics that have been defined with a StorageResolution of 1. Data points with a period of 60 seconds (1-minute) are available for 15 days. Data points with a period of 300 seconds (5-minute) are available for 63 days. Data points with a period of 3600 seconds (1 hour) are available for 455 days (15 months). Data points that are initially published with a shorter period are aggregated together for long-term storage. For example, if you collect data using a period of 1 minute, the data remains available for 15 days with 1-minute resolution. After 15 days, this data is still available, but is aggregated and retrievable only with a resolution of 5 minutes. After 63 days, the data is further aggregated and is available with a resolution of 1 hour. If you omit Unit in your request, all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.
|
|
144
|
+
* You can use the GetMetricData API to retrieve CloudWatch metric values. The operation can also include a CloudWatch Metrics Insights query, and one or more metric math functions. A GetMetricData operation that does not include a query can retrieve as many as 500 different metrics in a single request, with a total of as many as 100,800 data points. You can also optionally perform metric math expressions on the values of the returned statistics, to create new time series that represent new insights into your data. For example, using Lambda metrics, you could divide the Errors metric by the Invocations metric to get an error rate time series. For more information about metric math expressions, see Metric Math Syntax and Functions in the Amazon CloudWatch User Guide. If you include a Metrics Insights query, each GetMetricData operation can include only one query. But the same GetMetricData operation can also retrieve other metrics. Metrics Insights queries can query only the most recent three hours of metric data. For more information about Metrics Insights, see Query your metrics with CloudWatch Metrics Insights. Calls to the GetMetricData API have a different pricing structure than calls to GetMetricStatistics. For more information about pricing, see Amazon CloudWatch Pricing. Amazon CloudWatch retains metric data as follows: Data points with a period of less than 60 seconds are available for 3 hours. These data points are high-resolution metrics and are available only for custom metrics that have been defined with a StorageResolution of 1. Data points with a period of 60 seconds (1-minute) are available for 15 days. Data points with a period of 300 seconds (5-minute) are available for 63 days. Data points with a period of 3600 seconds (1 hour) are available for 455 days (15 months). Data points that are initially published with a shorter period are aggregated together for long-term storage. For example, if you collect data using a period of 1 minute, the data remains available for 15 days with 1-minute resolution. After 15 days, this data is still available, but is aggregated and retrievable only with a resolution of 5 minutes. After 63 days, the data is further aggregated and is available with a resolution of 1 hour. If you omit Unit in your request, all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions. Using Metrics Insights queries with metric math You can't mix a Metric Insights query and metric math syntax in the same expression, but you can reference results from a Metrics Insights query within other Metric math expressions. A Metrics Insights query without a GROUP BY clause returns a single time-series (TS), and can be used as input for a metric math expression that expects a single time series. A Metrics Insights query with a GROUP BY clause returns an array of time-series (TS[]), and can be used as input for a metric math expression that expects an array of time series.
|
|
145
145
|
*/
|
|
146
146
|
getMetricData(params: CloudWatch.Types.GetMetricDataInput, callback?: (err: AWSError, data: CloudWatch.Types.GetMetricDataOutput) => void): Request<CloudWatch.Types.GetMetricDataOutput, AWSError>;
|
|
147
147
|
/**
|
|
148
|
-
* You can use the GetMetricData API to retrieve as many as 500 different metrics in a single request, with a total of as many as 100,800 data points. You can also optionally perform math expressions on the values of the returned statistics, to create new time series that represent new insights into your data. For example, using Lambda metrics, you could divide the Errors metric by the Invocations metric to get an error rate time series. For more information about metric math expressions, see Metric Math Syntax and Functions in the Amazon CloudWatch User Guide. Calls to the GetMetricData API have a different pricing structure than calls to GetMetricStatistics. For more information about pricing, see Amazon CloudWatch Pricing. Amazon CloudWatch retains metric data as follows: Data points with a period of less than 60 seconds are available for 3 hours. These data points are high-resolution metrics and are available only for custom metrics that have been defined with a StorageResolution of 1. Data points with a period of 60 seconds (1-minute) are available for 15 days. Data points with a period of 300 seconds (5-minute) are available for 63 days. Data points with a period of 3600 seconds (1 hour) are available for 455 days (15 months). Data points that are initially published with a shorter period are aggregated together for long-term storage. For example, if you collect data using a period of 1 minute, the data remains available for 15 days with 1-minute resolution. After 15 days, this data is still available, but is aggregated and retrievable only with a resolution of 5 minutes. After 63 days, the data is further aggregated and is available with a resolution of 1 hour. If you omit Unit in your request, all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.
|
|
148
|
+
* You can use the GetMetricData API to retrieve CloudWatch metric values. The operation can also include a CloudWatch Metrics Insights query, and one or more metric math functions. A GetMetricData operation that does not include a query can retrieve as many as 500 different metrics in a single request, with a total of as many as 100,800 data points. You can also optionally perform metric math expressions on the values of the returned statistics, to create new time series that represent new insights into your data. For example, using Lambda metrics, you could divide the Errors metric by the Invocations metric to get an error rate time series. For more information about metric math expressions, see Metric Math Syntax and Functions in the Amazon CloudWatch User Guide. If you include a Metrics Insights query, each GetMetricData operation can include only one query. But the same GetMetricData operation can also retrieve other metrics. Metrics Insights queries can query only the most recent three hours of metric data. For more information about Metrics Insights, see Query your metrics with CloudWatch Metrics Insights. Calls to the GetMetricData API have a different pricing structure than calls to GetMetricStatistics. For more information about pricing, see Amazon CloudWatch Pricing. Amazon CloudWatch retains metric data as follows: Data points with a period of less than 60 seconds are available for 3 hours. These data points are high-resolution metrics and are available only for custom metrics that have been defined with a StorageResolution of 1. Data points with a period of 60 seconds (1-minute) are available for 15 days. Data points with a period of 300 seconds (5-minute) are available for 63 days. Data points with a period of 3600 seconds (1 hour) are available for 455 days (15 months). Data points that are initially published with a shorter period are aggregated together for long-term storage. For example, if you collect data using a period of 1 minute, the data remains available for 15 days with 1-minute resolution. After 15 days, this data is still available, but is aggregated and retrievable only with a resolution of 5 minutes. After 63 days, the data is further aggregated and is available with a resolution of 1 hour. If you omit Unit in your request, all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions. Using Metrics Insights queries with metric math You can't mix a Metric Insights query and metric math syntax in the same expression, but you can reference results from a Metrics Insights query within other Metric math expressions. A Metrics Insights query without a GROUP BY clause returns a single time-series (TS), and can be used as input for a metric math expression that expects a single time series. A Metrics Insights query with a GROUP BY clause returns an array of time-series (TS[]), and can be used as input for a metric math expression that expects an array of time series.
|
|
149
149
|
*/
|
|
150
150
|
getMetricData(callback?: (err: AWSError, data: CloudWatch.Types.GetMetricDataOutput) => void): Request<CloudWatch.Types.GetMetricDataOutput, AWSError>;
|
|
151
151
|
/**
|
|
@@ -213,11 +213,11 @@ declare class CloudWatch extends Service {
|
|
|
213
213
|
*/
|
|
214
214
|
putAnomalyDetector(callback?: (err: AWSError, data: CloudWatch.Types.PutAnomalyDetectorOutput) => void): Request<CloudWatch.Types.PutAnomalyDetectorOutput, AWSError>;
|
|
215
215
|
/**
|
|
216
|
-
* Creates or updates a composite alarm. When you create a composite alarm, you specify a rule expression for the alarm that takes into account the alarm states of other alarms that you have created. The composite alarm goes into ALARM state only if all conditions of the rule are met. The alarms specified in a composite alarm's rule expression can include metric alarms and other composite alarms. Using composite alarms can reduce alarm noise. You can create multiple metric alarms, and also create a composite alarm and set up alerts only for the composite alarm. For example, you could create a composite alarm that goes into ALARM state only when more than one of the underlying metric alarms are in ALARM state. Currently, the only alarm actions that can be taken by composite alarms are notifying SNS topics. It is possible to create a loop or cycle of composite alarms, where composite alarm A depends on composite alarm B, and composite alarm B also depends on composite alarm A. In this scenario, you can't delete any composite alarm that is part of the cycle because there is always still a composite alarm that depends on that alarm that you want to delete. To get out of such a situation, you must break the cycle by changing the rule of one of the composite alarms in the cycle to remove a dependency that creates the cycle. The simplest change to make to break a cycle is to change the AlarmRule of one of the alarms to False. Additionally, the evaluation of composite alarms stops if CloudWatch detects a cycle in the evaluation path. When this operation creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA. The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed. For a composite alarm, this initial time after creation is the only time that the alarm can be in INSUFFICIENT_DATA state. When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm. To use this operation, you must be signed on with the cloudwatch:PutCompositeAlarm permission that is scoped to *. You can't create a composite alarms if your cloudwatch:PutCompositeAlarm permission has a narrower scope. If you are an IAM user, you must have iam:CreateServiceLinkedRole to create a composite alarm that has Systems Manager OpsItem actions.
|
|
216
|
+
* Creates or updates a composite alarm. When you create a composite alarm, you specify a rule expression for the alarm that takes into account the alarm states of other alarms that you have created. The composite alarm goes into ALARM state only if all conditions of the rule are met. The alarms specified in a composite alarm's rule expression can include metric alarms and other composite alarms. The rule expression of a composite alarm can include as many as 100 underlying alarms. Any single alarm can be included in the rule expressions of as many as 150 composite alarms. Using composite alarms can reduce alarm noise. You can create multiple metric alarms, and also create a composite alarm and set up alerts only for the composite alarm. For example, you could create a composite alarm that goes into ALARM state only when more than one of the underlying metric alarms are in ALARM state. Currently, the only alarm actions that can be taken by composite alarms are notifying SNS topics. It is possible to create a loop or cycle of composite alarms, where composite alarm A depends on composite alarm B, and composite alarm B also depends on composite alarm A. In this scenario, you can't delete any composite alarm that is part of the cycle because there is always still a composite alarm that depends on that alarm that you want to delete. To get out of such a situation, you must break the cycle by changing the rule of one of the composite alarms in the cycle to remove a dependency that creates the cycle. The simplest change to make to break a cycle is to change the AlarmRule of one of the alarms to False. Additionally, the evaluation of composite alarms stops if CloudWatch detects a cycle in the evaluation path. When this operation creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA. The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed. For a composite alarm, this initial time after creation is the only time that the alarm can be in INSUFFICIENT_DATA state. When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm. To use this operation, you must be signed on with the cloudwatch:PutCompositeAlarm permission that is scoped to *. You can't create a composite alarms if your cloudwatch:PutCompositeAlarm permission has a narrower scope. If you are an IAM user, you must have iam:CreateServiceLinkedRole to create a composite alarm that has Systems Manager OpsItem actions.
|
|
217
217
|
*/
|
|
218
218
|
putCompositeAlarm(params: CloudWatch.Types.PutCompositeAlarmInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
219
219
|
/**
|
|
220
|
-
* Creates or updates a composite alarm. When you create a composite alarm, you specify a rule expression for the alarm that takes into account the alarm states of other alarms that you have created. The composite alarm goes into ALARM state only if all conditions of the rule are met. The alarms specified in a composite alarm's rule expression can include metric alarms and other composite alarms. Using composite alarms can reduce alarm noise. You can create multiple metric alarms, and also create a composite alarm and set up alerts only for the composite alarm. For example, you could create a composite alarm that goes into ALARM state only when more than one of the underlying metric alarms are in ALARM state. Currently, the only alarm actions that can be taken by composite alarms are notifying SNS topics. It is possible to create a loop or cycle of composite alarms, where composite alarm A depends on composite alarm B, and composite alarm B also depends on composite alarm A. In this scenario, you can't delete any composite alarm that is part of the cycle because there is always still a composite alarm that depends on that alarm that you want to delete. To get out of such a situation, you must break the cycle by changing the rule of one of the composite alarms in the cycle to remove a dependency that creates the cycle. The simplest change to make to break a cycle is to change the AlarmRule of one of the alarms to False. Additionally, the evaluation of composite alarms stops if CloudWatch detects a cycle in the evaluation path. When this operation creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA. The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed. For a composite alarm, this initial time after creation is the only time that the alarm can be in INSUFFICIENT_DATA state. When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm. To use this operation, you must be signed on with the cloudwatch:PutCompositeAlarm permission that is scoped to *. You can't create a composite alarms if your cloudwatch:PutCompositeAlarm permission has a narrower scope. If you are an IAM user, you must have iam:CreateServiceLinkedRole to create a composite alarm that has Systems Manager OpsItem actions.
|
|
220
|
+
* Creates or updates a composite alarm. When you create a composite alarm, you specify a rule expression for the alarm that takes into account the alarm states of other alarms that you have created. The composite alarm goes into ALARM state only if all conditions of the rule are met. The alarms specified in a composite alarm's rule expression can include metric alarms and other composite alarms. The rule expression of a composite alarm can include as many as 100 underlying alarms. Any single alarm can be included in the rule expressions of as many as 150 composite alarms. Using composite alarms can reduce alarm noise. You can create multiple metric alarms, and also create a composite alarm and set up alerts only for the composite alarm. For example, you could create a composite alarm that goes into ALARM state only when more than one of the underlying metric alarms are in ALARM state. Currently, the only alarm actions that can be taken by composite alarms are notifying SNS topics. It is possible to create a loop or cycle of composite alarms, where composite alarm A depends on composite alarm B, and composite alarm B also depends on composite alarm A. In this scenario, you can't delete any composite alarm that is part of the cycle because there is always still a composite alarm that depends on that alarm that you want to delete. To get out of such a situation, you must break the cycle by changing the rule of one of the composite alarms in the cycle to remove a dependency that creates the cycle. The simplest change to make to break a cycle is to change the AlarmRule of one of the alarms to False. Additionally, the evaluation of composite alarms stops if CloudWatch detects a cycle in the evaluation path. When this operation creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA. The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed. For a composite alarm, this initial time after creation is the only time that the alarm can be in INSUFFICIENT_DATA state. When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm. To use this operation, you must be signed on with the cloudwatch:PutCompositeAlarm permission that is scoped to *. You can't create a composite alarms if your cloudwatch:PutCompositeAlarm permission has a narrower scope. If you are an IAM user, you must have iam:CreateServiceLinkedRole to create a composite alarm that has Systems Manager OpsItem actions.
|
|
221
221
|
*/
|
|
222
222
|
putCompositeAlarm(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
223
223
|
/**
|
|
@@ -253,11 +253,11 @@ declare class CloudWatch extends Service {
|
|
|
253
253
|
*/
|
|
254
254
|
putMetricData(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
255
255
|
/**
|
|
256
|
-
* Creates or updates a metric stream. Metric streams can automatically stream CloudWatch metrics to Amazon Web Services destinations including Amazon S3 and to many third-party solutions. For more information, see Using Metric Streams. To create a metric stream, you must be logged on to an account that has the iam:PassRole permission and either the CloudWatchFullAccess policy or the cloudwatch:PutMetricStream permission. When you create or update a metric stream, you choose one of the following: Stream metrics from all metric namespaces in the account. Stream metrics from all metric namespaces in the account, except for the namespaces that you list in ExcludeFilters. Stream metrics from only the metric namespaces that you list in IncludeFilters. When you use PutMetricStream to create a new metric stream, the stream is created in the running state. If you use it to update an existing stream, the state of the stream is not changed.
|
|
256
|
+
* Creates or updates a metric stream. Metric streams can automatically stream CloudWatch metrics to Amazon Web Services destinations including Amazon S3 and to many third-party solutions. For more information, see Using Metric Streams. To create a metric stream, you must be logged on to an account that has the iam:PassRole permission and either the CloudWatchFullAccess policy or the cloudwatch:PutMetricStream permission. When you create or update a metric stream, you choose one of the following: Stream metrics from all metric namespaces in the account. Stream metrics from all metric namespaces in the account, except for the namespaces that you list in ExcludeFilters. Stream metrics from only the metric namespaces that you list in IncludeFilters. By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed. You can use the StatisticsConfigurations parameter to have the metric stream also send extended statistics in the stream. Streaming extended statistics incurs additional costs. For more information, see Amazon CloudWatch Pricing. When you use PutMetricStream to create a new metric stream, the stream is created in the running state. If you use it to update an existing stream, the state of the stream is not changed.
|
|
257
257
|
*/
|
|
258
258
|
putMetricStream(params: CloudWatch.Types.PutMetricStreamInput, callback?: (err: AWSError, data: CloudWatch.Types.PutMetricStreamOutput) => void): Request<CloudWatch.Types.PutMetricStreamOutput, AWSError>;
|
|
259
259
|
/**
|
|
260
|
-
* Creates or updates a metric stream. Metric streams can automatically stream CloudWatch metrics to Amazon Web Services destinations including Amazon S3 and to many third-party solutions. For more information, see Using Metric Streams. To create a metric stream, you must be logged on to an account that has the iam:PassRole permission and either the CloudWatchFullAccess policy or the cloudwatch:PutMetricStream permission. When you create or update a metric stream, you choose one of the following: Stream metrics from all metric namespaces in the account. Stream metrics from all metric namespaces in the account, except for the namespaces that you list in ExcludeFilters. Stream metrics from only the metric namespaces that you list in IncludeFilters. When you use PutMetricStream to create a new metric stream, the stream is created in the running state. If you use it to update an existing stream, the state of the stream is not changed.
|
|
260
|
+
* Creates or updates a metric stream. Metric streams can automatically stream CloudWatch metrics to Amazon Web Services destinations including Amazon S3 and to many third-party solutions. For more information, see Using Metric Streams. To create a metric stream, you must be logged on to an account that has the iam:PassRole permission and either the CloudWatchFullAccess policy or the cloudwatch:PutMetricStream permission. When you create or update a metric stream, you choose one of the following: Stream metrics from all metric namespaces in the account. Stream metrics from all metric namespaces in the account, except for the namespaces that you list in ExcludeFilters. Stream metrics from only the metric namespaces that you list in IncludeFilters. By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed. You can use the StatisticsConfigurations parameter to have the metric stream also send extended statistics in the stream. Streaming extended statistics incurs additional costs. For more information, see Amazon CloudWatch Pricing. When you use PutMetricStream to create a new metric stream, the stream is created in the running state. If you use it to update an existing stream, the state of the stream is not changed.
|
|
261
261
|
*/
|
|
262
262
|
putMetricStream(callback?: (err: AWSError, data: CloudWatch.Types.PutMetricStreamOutput) => void): Request<CloudWatch.Types.PutMetricStreamOutput, AWSError>;
|
|
263
263
|
/**
|
|
@@ -793,7 +793,7 @@ declare namespace CloudWatch {
|
|
|
793
793
|
}
|
|
794
794
|
export interface Dimension {
|
|
795
795
|
/**
|
|
796
|
-
* The name of the dimension. Dimension names must contain only ASCII characters
|
|
796
|
+
* The name of the dimension. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
|
|
797
797
|
*/
|
|
798
798
|
Name: DimensionName;
|
|
799
799
|
/**
|
|
@@ -937,7 +937,7 @@ declare namespace CloudWatch {
|
|
|
937
937
|
}
|
|
938
938
|
export interface GetMetricDataInput {
|
|
939
939
|
/**
|
|
940
|
-
* The metric queries to be returned. A single GetMetricData call can include as many as 500 MetricDataQuery structures. Each of these structures can specify either a metric to retrieve, or a math expression to perform on retrieved data.
|
|
940
|
+
* The metric queries to be returned. A single GetMetricData call can include as many as 500 MetricDataQuery structures. Each of these structures can specify either a metric to retrieve, a Metrics Insights query, or a math expression to perform on retrieved data.
|
|
941
941
|
*/
|
|
942
942
|
MetricDataQueries: MetricDataQueries;
|
|
943
943
|
/**
|
|
@@ -1073,9 +1073,13 @@ declare namespace CloudWatch {
|
|
|
1073
1073
|
*/
|
|
1074
1074
|
LastUpdateDate?: Timestamp;
|
|
1075
1075
|
/**
|
|
1076
|
-
*
|
|
1076
|
+
* The output format for the stream. Valid values are json and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats.
|
|
1077
1077
|
*/
|
|
1078
1078
|
OutputFormat?: MetricStreamOutputFormat;
|
|
1079
|
+
/**
|
|
1080
|
+
* Each entry in this array displays information about one or more metrics that include extended statistics in the metric stream. For more information about extended statistics, see CloudWatch statistics definitions.
|
|
1081
|
+
*/
|
|
1082
|
+
StatisticsConfigurations?: MetricStreamStatisticsConfigurations;
|
|
1079
1083
|
}
|
|
1080
1084
|
export interface GetMetricWidgetImageInput {
|
|
1081
1085
|
/**
|
|
@@ -1408,7 +1412,7 @@ declare namespace CloudWatch {
|
|
|
1408
1412
|
*/
|
|
1409
1413
|
ComparisonOperator?: ComparisonOperator;
|
|
1410
1414
|
/**
|
|
1411
|
-
* Sets how this alarm is to handle missing data points. If this parameter is omitted, the default behavior of missing is used.
|
|
1415
|
+
* Sets how this alarm is to handle missing data points. The valid values are breaching, notBreaching, ignore, and missing. For more information, see Configuring how CloudWatch alarms treat missing data. If this parameter is omitted, the default behavior of missing is used.
|
|
1412
1416
|
*/
|
|
1413
1417
|
TreatMissingData?: TreatMissingData;
|
|
1414
1418
|
/**
|
|
@@ -1437,7 +1441,7 @@ declare namespace CloudWatch {
|
|
|
1437
1441
|
*/
|
|
1438
1442
|
MetricStat?: MetricStat;
|
|
1439
1443
|
/**
|
|
1440
|
-
*
|
|
1444
|
+
* This field can contain either a Metrics Insights query, or a metric math expression to be performed on the returned data. For more information about Metrics Insights queries, see Metrics Insights query components and syntax in the Amazon CloudWatch User Guide. A math expression can use the Id of the other metrics or queries to refer to those metrics, and can also use the Id of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the Amazon CloudWatch User Guide. Within each MetricDataQuery object, you must specify either Expression or MetricStat but not both.
|
|
1441
1445
|
*/
|
|
1442
1446
|
Expression?: MetricExpression;
|
|
1443
1447
|
/**
|
|
@@ -1593,6 +1597,30 @@ declare namespace CloudWatch {
|
|
|
1593
1597
|
export type MetricStreamNames = MetricStreamName[];
|
|
1594
1598
|
export type MetricStreamOutputFormat = "json"|"opentelemetry0.7"|string;
|
|
1595
1599
|
export type MetricStreamState = string;
|
|
1600
|
+
export type MetricStreamStatistic = string;
|
|
1601
|
+
export type MetricStreamStatisticsAdditionalStatistics = MetricStreamStatistic[];
|
|
1602
|
+
export interface MetricStreamStatisticsConfiguration {
|
|
1603
|
+
/**
|
|
1604
|
+
* An array of metric name and namespace pairs that stream the extended statistics listed in the value of the AdditionalStatistics parameter. There can be as many as 100 pairs in the array. All metrics that match the combination of metric name and namespace will be streamed with the extended statistics, no matter their dimensions.
|
|
1605
|
+
*/
|
|
1606
|
+
IncludeMetrics: MetricStreamStatisticsIncludeMetrics;
|
|
1607
|
+
/**
|
|
1608
|
+
* The list of extended statistics that are to be streamed for the metrics listed in the IncludeMetrics array in this structure. This list can include as many as 20 statistics. If the OutputFormat for the stream is opentelemetry0.7, the only valid values are p?? percentile statistics such as p90, p99 and so on. If the OutputFormat for the stream is json, the valid values are include the abbreviations for all of the extended statistics listed in CloudWatch statistics definitions. For example, this includes tm98, wm90, PR(:300), and so on.
|
|
1609
|
+
*/
|
|
1610
|
+
AdditionalStatistics: MetricStreamStatisticsAdditionalStatistics;
|
|
1611
|
+
}
|
|
1612
|
+
export type MetricStreamStatisticsConfigurations = MetricStreamStatisticsConfiguration[];
|
|
1613
|
+
export type MetricStreamStatisticsIncludeMetrics = MetricStreamStatisticsMetric[];
|
|
1614
|
+
export interface MetricStreamStatisticsMetric {
|
|
1615
|
+
/**
|
|
1616
|
+
* The metric namespace for the metric.
|
|
1617
|
+
*/
|
|
1618
|
+
Namespace: Namespace;
|
|
1619
|
+
/**
|
|
1620
|
+
* The name of the metric.
|
|
1621
|
+
*/
|
|
1622
|
+
MetricName: MetricName;
|
|
1623
|
+
}
|
|
1596
1624
|
export type MetricWidget = string;
|
|
1597
1625
|
export type MetricWidgetImage = Buffer|Uint8Array|Blob|string;
|
|
1598
1626
|
export type Metrics = Metric[];
|
|
@@ -1849,6 +1877,10 @@ declare namespace CloudWatch {
|
|
|
1849
1877
|
* A list of key-value pairs to associate with the metric stream. You can associate as many as 50 tags with a metric stream. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. You can use this parameter only when you are creating a new metric stream. If you are using this operation to update an existing metric stream, any tags you specify in this parameter are ignored. To change the tags of an existing metric stream, use TagResource or UntagResource.
|
|
1850
1878
|
*/
|
|
1851
1879
|
Tags?: TagList;
|
|
1880
|
+
/**
|
|
1881
|
+
* By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed. You can use this parameter to have the metric stream also send extended statistics in the stream. This array can have up to 100 members. For each entry in this array, you specify one or more metrics and the list of extended statistics to stream for those metrics. The extended statistics that you can stream depend on the stream's OutputFormat. If the OutputFormat is json, you can stream any extended statistic that is supported by CloudWatch, listed in CloudWatch statistics definitions. If the OutputFormat is opentelemetry0.7, you can stream percentile statistics (p??).
|
|
1882
|
+
*/
|
|
1883
|
+
StatisticsConfigurations?: MetricStreamStatisticsConfigurations;
|
|
1852
1884
|
}
|
|
1853
1885
|
export interface PutMetricStreamOutput {
|
|
1854
1886
|
/**
|