aws-sdk 2.1551.0 → 2.1553.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.
@@ -51,6 +51,14 @@ declare class OpenSearch extends Service {
51
51
  * Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.
52
52
  */
53
53
  authorizeVpcEndpointAccess(callback?: (err: AWSError, data: OpenSearch.Types.AuthorizeVpcEndpointAccessResponse) => void): Request<OpenSearch.Types.AuthorizeVpcEndpointAccessResponse, AWSError>;
54
+ /**
55
+ * Cancels a pending configuration change on an Amazon OpenSearch Service domain.
56
+ */
57
+ cancelDomainConfigChange(params: OpenSearch.Types.CancelDomainConfigChangeRequest, callback?: (err: AWSError, data: OpenSearch.Types.CancelDomainConfigChangeResponse) => void): Request<OpenSearch.Types.CancelDomainConfigChangeResponse, AWSError>;
58
+ /**
59
+ * Cancels a pending configuration change on an Amazon OpenSearch Service domain.
60
+ */
61
+ cancelDomainConfigChange(callback?: (err: AWSError, data: OpenSearch.Types.CancelDomainConfigChangeResponse) => void): Request<OpenSearch.Types.CancelDomainConfigChangeResponse, AWSError>;
54
62
  /**
55
63
  * Cancels a scheduled service software update for an Amazon OpenSearch Service domain. You can only perform this operation before the AutomatedUpdateDate and when the domain's UpdateStatus is PENDING_UPDATE. For more information, see Service software updates in Amazon OpenSearch Service.
56
64
  */
@@ -852,6 +860,27 @@ declare namespace OpenSearch {
852
860
  export type AvailabilityZoneList = AvailabilityZone[];
853
861
  export type BackendRole = string;
854
862
  export type Boolean = boolean;
863
+ export interface CancelDomainConfigChangeRequest {
864
+ DomainName: DomainName;
865
+ /**
866
+ * When set to True, returns the list of change IDs and properties that will be cancelled without actually cancelling the change.
867
+ */
868
+ DryRun?: DryRun;
869
+ }
870
+ export interface CancelDomainConfigChangeResponse {
871
+ /**
872
+ * The unique identifiers of the changes that were cancelled.
873
+ */
874
+ CancelledChangeIds?: GUIDList;
875
+ /**
876
+ * The domain change properties that were cancelled.
877
+ */
878
+ CancelledChangeProperties?: CancelledChangePropertyList;
879
+ /**
880
+ * Whether or not the request was a dry run. If True, the changes were not actually cancelled.
881
+ */
882
+ DryRun?: DryRun;
883
+ }
855
884
  export interface CancelServiceSoftwareUpdateRequest {
856
885
  /**
857
886
  * Name of the OpenSearch Service domain that you want to cancel the service software update on.
@@ -864,6 +893,21 @@ declare namespace OpenSearch {
864
893
  */
865
894
  ServiceSoftwareOptions?: ServiceSoftwareOptions;
866
895
  }
896
+ export interface CancelledChangeProperty {
897
+ /**
898
+ * The name of the property whose change was cancelled.
899
+ */
900
+ PropertyName?: String;
901
+ /**
902
+ * The pending value of the property that was cancelled. This would have been the eventual value of the property if the chance had not been cancelled.
903
+ */
904
+ CancelledValue?: String;
905
+ /**
906
+ * The current value of the property, after the change was cancelled.
907
+ */
908
+ ActiveValue?: String;
909
+ }
910
+ export type CancelledChangePropertyList = CancelledChangeProperty[];
867
911
  export interface ChangeProgressDetails {
868
912
  /**
869
913
  * The ID of the configuration change.
@@ -873,6 +917,22 @@ declare namespace OpenSearch {
873
917
  * A message corresponding to the status of the configuration change.
874
918
  */
875
919
  Message?: Message;
920
+ /**
921
+ * The current status of the configuration change.
922
+ */
923
+ ConfigChangeStatus?: ConfigChangeStatus;
924
+ /**
925
+ * The IAM principal who initiated the configuration change.
926
+ */
927
+ InitiatedBy?: InitiatedBy;
928
+ /**
929
+ * The time that the configuration change was initiated, in Universal Coordinated Time (UTC).
930
+ */
931
+ StartTime?: UpdateTimestamp;
932
+ /**
933
+ * The last time that the configuration change was updated.
934
+ */
935
+ LastUpdatedTime?: UpdateTimestamp;
876
936
  }
877
937
  export interface ChangeProgressStage {
878
938
  /**
@@ -924,6 +984,18 @@ declare namespace OpenSearch {
924
984
  * The specific stages that the domain is going through to perform the configuration change.
925
985
  */
926
986
  ChangeProgressStages?: ChangeProgressStageList;
987
+ /**
988
+ * The last time that the status of the configuration change was updated.
989
+ */
990
+ LastUpdatedTime?: UpdateTimestamp;
991
+ /**
992
+ * The current status of the configuration change.
993
+ */
994
+ ConfigChangeStatus?: ConfigChangeStatus;
995
+ /**
996
+ * The IAM principal who initiated the configuration change.
997
+ */
998
+ InitiatedBy?: InitiatedBy;
927
999
  }
928
1000
  export type ClientToken = string;
929
1001
  export type CloudWatchLogsLogGroupArn = string;
@@ -1033,6 +1105,7 @@ declare namespace OpenSearch {
1033
1105
  */
1034
1106
  TargetVersions?: VersionList;
1035
1107
  }
1108
+ export type ConfigChangeStatus = "Pending"|"Initializing"|"Validating"|"ValidationFailed"|"ApplyingChanges"|"Completed"|"PendingUserInput"|"Cancelled"|string;
1036
1109
  export type ConnectionAlias = string;
1037
1110
  export type ConnectionId = string;
1038
1111
  export type ConnectionMode = "DIRECT"|"VPC_ENDPOINT"|string;
@@ -1774,6 +1847,10 @@ declare namespace OpenSearch {
1774
1847
  * Software update options for the domain.
1775
1848
  */
1776
1849
  SoftwareUpdateOptions?: SoftwareUpdateOptionsStatus;
1850
+ /**
1851
+ * Information about the domain properties that are currently being modified.
1852
+ */
1853
+ ModifyingProperties?: ModifyingPropertiesList;
1777
1854
  }
1778
1855
  export interface DomainEndpointOptions {
1779
1856
  /**
@@ -1939,6 +2016,7 @@ declare namespace OpenSearch {
1939
2016
  }
1940
2017
  export type DomainPackageDetailsList = DomainPackageDetails[];
1941
2018
  export type DomainPackageStatus = "ASSOCIATING"|"ASSOCIATION_FAILED"|"ACTIVE"|"DISSOCIATING"|"DISSOCIATION_FAILED"|string;
2019
+ export type DomainProcessingStatusType = "Creating"|"Active"|"Modifying"|"UpgradingEngineVersion"|"UpdatingServiceSoftware"|"Isolated"|"Deleting"|string;
1942
2020
  export type DomainState = "Active"|"Processing"|"NotAvailable"|string;
1943
2021
  export interface DomainStatus {
1944
2022
  /**
@@ -2057,6 +2135,14 @@ declare namespace OpenSearch {
2057
2135
  * Service software update options for the domain.
2058
2136
  */
2059
2137
  SoftwareUpdateOptions?: SoftwareUpdateOptions;
2138
+ /**
2139
+ * The status of any changes that are currently in progress for the domain.
2140
+ */
2141
+ DomainProcessingStatus?: DomainProcessingStatusType;
2142
+ /**
2143
+ * Information about the domain properties that are currently being modified.
2144
+ */
2145
+ ModifyingProperties?: ModifyingPropertiesList;
2060
2146
  }
2061
2147
  export type DomainStatusList = DomainStatus[];
2062
2148
  export type Double = number;
@@ -2192,6 +2278,7 @@ declare namespace OpenSearch {
2192
2278
  }
2193
2279
  export type FilterList = Filter[];
2194
2280
  export type GUID = string;
2281
+ export type GUIDList = GUID[];
2195
2282
  export interface GetCompatibleVersionsRequest {
2196
2283
  /**
2197
2284
  * The name of an existing domain. Provide this parameter to limit the results to a single domain.
@@ -2379,6 +2466,7 @@ declare namespace OpenSearch {
2379
2466
  }
2380
2467
  export type InboundConnectionStatusCode = "PENDING_ACCEPTANCE"|"APPROVED"|"PROVISIONING"|"ACTIVE"|"REJECTING"|"REJECTED"|"DELETING"|"DELETED"|string;
2381
2468
  export type InboundConnections = InboundConnection[];
2469
+ export type InitiatedBy = "CUSTOMER"|"SERVICE"|string;
2382
2470
  export type InstanceCount = number;
2383
2471
  export interface InstanceCountLimits {
2384
2472
  /**
@@ -2755,6 +2843,25 @@ declare namespace OpenSearch {
2755
2843
  export type MaximumInstanceCount = number;
2756
2844
  export type Message = string;
2757
2845
  export type MinimumInstanceCount = number;
2846
+ export interface ModifyingProperties {
2847
+ /**
2848
+ * The name of the property that is currently being modified.
2849
+ */
2850
+ Name?: String;
2851
+ /**
2852
+ * The current value of the domain property that is being modified.
2853
+ */
2854
+ ActiveValue?: String;
2855
+ /**
2856
+ * The value that the property that is currently being modified will eventually have.
2857
+ */
2858
+ PendingValue?: String;
2859
+ /**
2860
+ * The type of value that is currently being modified. Properties can have two types: PLAIN_TEXT: Contain direct values such as "1", "True", or "c5.large.search". STRINGIFIED_JSON: Contain content in JSON format, such as {"Enabled":"True"}".
2861
+ */
2862
+ ValueType?: PropertyValueType;
2863
+ }
2864
+ export type ModifyingPropertiesList = ModifyingProperties[];
2758
2865
  export type NextToken = string;
2759
2866
  export type NodeId = string;
2760
2867
  export type NodeStatus = "Active"|"StandBy"|"NotAvailable"|string;
@@ -2985,6 +3092,7 @@ declare namespace OpenSearch {
2985
3092
  export type PluginVersion = string;
2986
3093
  export type PolicyDocument = string;
2987
3094
  export type PrincipalType = "AWS_ACCOUNT"|"AWS_SERVICE"|string;
3095
+ export type PropertyValueType = "PLAIN_TEXT"|"STRINGIFIED_JSON"|string;
2988
3096
  export interface PurchaseReservedInstanceOfferingRequest {
2989
3097
  /**
2990
3098
  * The ID of the Reserved Instance offering to purchase.
@@ -800,6 +800,14 @@ declare class Redshift extends Service {
800
800
  * Get the resource policy for a specified resource.
801
801
  */
802
802
  getResourcePolicy(callback?: (err: AWSError, data: Redshift.Types.GetResourcePolicyResult) => void): Request<Redshift.Types.GetResourcePolicyResult, AWSError>;
803
+ /**
804
+ * List the Amazon Redshift Advisor recommendations for one or multiple Amazon Redshift clusters in an Amazon Web Services account.
805
+ */
806
+ listRecommendations(params: Redshift.Types.ListRecommendationsMessage, callback?: (err: AWSError, data: Redshift.Types.ListRecommendationsResult) => void): Request<Redshift.Types.ListRecommendationsResult, AWSError>;
807
+ /**
808
+ * List the Amazon Redshift Advisor recommendations for one or multiple Amazon Redshift clusters in an Amazon Web Services account.
809
+ */
810
+ listRecommendations(callback?: (err: AWSError, data: Redshift.Types.ListRecommendationsResult) => void): Request<Redshift.Types.ListRecommendationsResult, AWSError>;
803
811
  /**
804
812
  * This operation is retired. Calling this operation does not change AQUA configuration. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).
805
813
  */
@@ -4200,6 +4208,7 @@ declare namespace Redshift {
4200
4208
  export type IamRoleArnList = String[];
4201
4209
  export type IdcDisplayNameString = string;
4202
4210
  export type IdentityNamespaceString = string;
4211
+ export type ImpactRankingType = "HIGH"|"MEDIUM"|"LOW"|string;
4203
4212
  export type ImportTablesCompleted = String[];
4204
4213
  export type ImportTablesInProgress = String[];
4205
4214
  export type ImportTablesNotStarted = String[];
@@ -4266,6 +4275,34 @@ declare namespace Redshift {
4266
4275
  LakeFormationQuery?: LakeFormationQuery;
4267
4276
  }
4268
4277
  export type LakeFormationServiceIntegrations = LakeFormationScopeUnion[];
4278
+ export interface ListRecommendationsMessage {
4279
+ /**
4280
+ * The unique identifier of the Amazon Redshift cluster for which the list of Advisor recommendations is returned. If the neither the cluster identifier and the cluster namespace ARN parameters are specified, then recommendations for all clusters in the account are returned.
4281
+ */
4282
+ ClusterIdentifier?: String;
4283
+ /**
4284
+ * The Amazon Redshift cluster namespace Amazon Resource Name (ARN) for which the list of Advisor recommendations is returned. If the neither the cluster identifier and the cluster namespace ARN parameters are specified, then recommendations for all clusters in the account are returned.
4285
+ */
4286
+ NamespaceArn?: String;
4287
+ /**
4288
+ * The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
4289
+ */
4290
+ MaxRecords?: IntegerOptional;
4291
+ /**
4292
+ * A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.
4293
+ */
4294
+ Marker?: String;
4295
+ }
4296
+ export interface ListRecommendationsResult {
4297
+ /**
4298
+ * The Advisor recommendations for action on the Amazon Redshift cluster.
4299
+ */
4300
+ Recommendations?: RecommendationList;
4301
+ /**
4302
+ * A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.
4303
+ */
4304
+ Marker?: String;
4305
+ }
4269
4306
  export type LogDestinationType = "s3"|"cloudwatch"|string;
4270
4307
  export type LogTypeList = String[];
4271
4308
  export interface LoggingStatus {
@@ -5070,6 +5107,77 @@ declare namespace Redshift {
5070
5107
  export interface RebootClusterResult {
5071
5108
  Cluster?: Cluster;
5072
5109
  }
5110
+ export interface Recommendation {
5111
+ /**
5112
+ * A unique identifier of the Advisor recommendation.
5113
+ */
5114
+ Id?: String;
5115
+ /**
5116
+ * The unique identifier of the cluster for which the recommendation is returned.
5117
+ */
5118
+ ClusterIdentifier?: String;
5119
+ /**
5120
+ * The Amazon Redshift cluster namespace ARN for which the recommendations is returned.
5121
+ */
5122
+ NamespaceArn?: String;
5123
+ /**
5124
+ * The date and time (UTC) that the recommendation was created.
5125
+ */
5126
+ CreatedAt?: TStamp;
5127
+ /**
5128
+ * The type of Advisor recommendation.
5129
+ */
5130
+ RecommendationType?: String;
5131
+ /**
5132
+ * The title of the recommendation.
5133
+ */
5134
+ Title?: String;
5135
+ /**
5136
+ * The description of the recommendation.
5137
+ */
5138
+ Description?: String;
5139
+ /**
5140
+ * The description of what was observed about your cluster.
5141
+ */
5142
+ Observation?: String;
5143
+ /**
5144
+ * The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.
5145
+ */
5146
+ ImpactRanking?: ImpactRankingType;
5147
+ /**
5148
+ * The description of the recommendation.
5149
+ */
5150
+ RecommendationText?: String;
5151
+ /**
5152
+ * List of Amazon Redshift recommended actions.
5153
+ */
5154
+ RecommendedActions?: RecommendedActionList;
5155
+ /**
5156
+ * List of helpful links for more information about the Advisor recommendation.
5157
+ */
5158
+ ReferenceLinks?: ReferenceLinkList;
5159
+ }
5160
+ export type RecommendationList = Recommendation[];
5161
+ export interface RecommendedAction {
5162
+ /**
5163
+ * The specific instruction about the command.
5164
+ */
5165
+ Text?: String;
5166
+ /**
5167
+ * The database name to perform the action on. Only applicable if the type of command is SQL.
5168
+ */
5169
+ Database?: String;
5170
+ /**
5171
+ * The command to run.
5172
+ */
5173
+ Command?: String;
5174
+ /**
5175
+ * The type of command.
5176
+ */
5177
+ Type?: RecommendedActionType;
5178
+ }
5179
+ export type RecommendedActionList = RecommendedAction[];
5180
+ export type RecommendedActionType = "SQL"|"CLI"|string;
5073
5181
  export interface RecurringCharge {
5074
5182
  /**
5075
5183
  * The amount charged per the period of time specified by the recurring charge frequency.
@@ -5125,6 +5233,17 @@ declare namespace Redshift {
5125
5233
  }
5126
5234
  export type RedshiftIdcApplicationList = RedshiftIdcApplication[];
5127
5235
  export type RedshiftIdcApplicationName = string;
5236
+ export interface ReferenceLink {
5237
+ /**
5238
+ * The hyperlink text that describes the link to more information.
5239
+ */
5240
+ Text?: String;
5241
+ /**
5242
+ * The URL address to find more information.
5243
+ */
5244
+ Link?: String;
5245
+ }
5246
+ export type ReferenceLinkList = ReferenceLink[];
5128
5247
  export interface RejectDataShareMessage {
5129
5248
  /**
5130
5249
  * The Amazon Resource Name (ARN) of the datashare to reject.
@@ -67,6 +67,14 @@ declare class WAFV2 extends Service {
67
67
  * Creates a WebACL per the specifications provided. A web ACL defines a collection of rules to use to inspect and control web requests. Each rule has a statement that defines what to look for in web requests and an action that WAF applies to requests that match the statement. In the web ACL, you assign a default action to take (allow, block) for any request that does not match any of the rules. The rules in a web ACL can be a combination of the types Rule, RuleGroup, and managed rule group. You can associate a web ACL with one or more Amazon Web Services resources to protect. The resources can be an Amazon CloudFront distribution, an Amazon API Gateway REST API, an Application Load Balancer, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
68
68
  */
69
69
  createWebACL(callback?: (err: AWSError, data: WAFV2.Types.CreateWebACLResponse) => void): Request<WAFV2.Types.CreateWebACLResponse, AWSError>;
70
+ /**
71
+ * Deletes the specified API key. After you delete a key, it can take up to 24 hours for WAF to disallow use of the key in all regions.
72
+ */
73
+ deleteAPIKey(params: WAFV2.Types.DeleteAPIKeyRequest, callback?: (err: AWSError, data: WAFV2.Types.DeleteAPIKeyResponse) => void): Request<WAFV2.Types.DeleteAPIKeyResponse, AWSError>;
74
+ /**
75
+ * Deletes the specified API key. After you delete a key, it can take up to 24 hours for WAF to disallow use of the key in all regions.
76
+ */
77
+ deleteAPIKey(callback?: (err: AWSError, data: WAFV2.Types.DeleteAPIKeyResponse) => void): Request<WAFV2.Types.DeleteAPIKeyResponse, AWSError>;
70
78
  /**
71
79
  * Deletes all rule groups that are managed by Firewall Manager for the specified web ACL. You can only use this if ManagedByFirewallManager is false in the specified WebACL.
72
80
  */
@@ -717,7 +725,7 @@ declare namespace WAFV2 {
717
725
  */
718
726
  Scope: Scope;
719
727
  /**
720
- * The client application domains that you want to use this API key for. Example JSON: "TokenDomains": ["abc.com", "store.abc.com"] Public suffixes aren't allowed. For example, you can't use usa.gov or co.uk as token domains.
728
+ * The client application domains that you want to use this API key for. Example JSON: "TokenDomains": ["abc.com", "store.abc.com"] Public suffixes aren't allowed. For example, you can't use gov.au or co.uk as token domains.
721
729
  */
722
730
  TokenDomains: APIKeyTokenDomains;
723
731
  }
@@ -869,7 +877,7 @@ declare namespace WAFV2 {
869
877
  */
870
878
  ChallengeConfig?: ChallengeConfig;
871
879
  /**
872
- * Specifies the domains that WAF should accept in a web request token. This enables the use of tokens across multiple protected websites. When WAF provides a token, it uses the domain of the Amazon Web Services resource that the web ACL is protecting. If you don't specify a list of token domains, WAF accepts tokens only for the domain of the protected resource. With a token domain list, WAF accepts the resource's host domain plus all domains in the token domain list, including their prefixed subdomains. Example JSON: "TokenDomains": { "mywebsite.com", "myotherwebsite.com" } Public suffixes aren't allowed. For example, you can't use usa.gov or co.uk as token domains.
880
+ * Specifies the domains that WAF should accept in a web request token. This enables the use of tokens across multiple protected websites. When WAF provides a token, it uses the domain of the Amazon Web Services resource that the web ACL is protecting. If you don't specify a list of token domains, WAF accepts tokens only for the domain of the protected resource. With a token domain list, WAF accepts the resource's host domain plus all domains in the token domain list, including their prefixed subdomains. Example JSON: "TokenDomains": { "mywebsite.com", "myotherwebsite.com" } Public suffixes aren't allowed. For example, you can't use gov.au or co.uk as token domains.
873
881
  */
874
882
  TokenDomains?: TokenDomains;
875
883
  /**
@@ -938,6 +946,18 @@ declare namespace WAFV2 {
938
946
  */
939
947
  Allow?: AllowAction;
940
948
  }
949
+ export interface DeleteAPIKeyRequest {
950
+ /**
951
+ * Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance. To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1. API and SDKs - For all calls, use the Region endpoint us-east-1.
952
+ */
953
+ Scope: Scope;
954
+ /**
955
+ * The encrypted API key that you want to delete.
956
+ */
957
+ APIKey: APIKey;
958
+ }
959
+ export interface DeleteAPIKeyResponse {
960
+ }
941
961
  export interface DeleteFirewallManagerRuleGroupsRequest {
942
962
  /**
943
963
  * The Amazon Resource Name (ARN) of the web ACL.
@@ -3421,7 +3441,7 @@ declare namespace WAFV2 {
3421
3441
  */
3422
3442
  ChallengeConfig?: ChallengeConfig;
3423
3443
  /**
3424
- * Specifies the domains that WAF should accept in a web request token. This enables the use of tokens across multiple protected websites. When WAF provides a token, it uses the domain of the Amazon Web Services resource that the web ACL is protecting. If you don't specify a list of token domains, WAF accepts tokens only for the domain of the protected resource. With a token domain list, WAF accepts the resource's host domain plus all domains in the token domain list, including their prefixed subdomains. Example JSON: "TokenDomains": { "mywebsite.com", "myotherwebsite.com" } Public suffixes aren't allowed. For example, you can't use usa.gov or co.uk as token domains.
3444
+ * Specifies the domains that WAF should accept in a web request token. This enables the use of tokens across multiple protected websites. When WAF provides a token, it uses the domain of the Amazon Web Services resource that the web ACL is protecting. If you don't specify a list of token domains, WAF accepts tokens only for the domain of the protected resource. With a token domain list, WAF accepts the resource's host domain plus all domains in the token domain list, including their prefixed subdomains. Example JSON: "TokenDomains": { "mywebsite.com", "myotherwebsite.com" } Public suffixes aren't allowed. For example, you can't use gov.au or co.uk as token domains.
3425
3445
  */
3426
3446
  TokenDomains?: TokenDomains;
3427
3447
  /**