aws-sdk 2.1551.0 → 2.1552.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.
@@ -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
  /**