aws-sdk 2.684.0 → 2.688.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.
@@ -392,6 +392,8 @@ declare namespace ELBv2 {
392
392
  export interface AddTagsOutput {
393
393
  }
394
394
  export type AllocationId = string;
395
+ export type AlpnPolicyName = AlpnPolicyValue[];
396
+ export type AlpnPolicyValue = string;
395
397
  export type AuthenticateCognitoActionAuthenticationRequestExtraParams = {[key: string]: AuthenticateCognitoActionAuthenticationRequestParamValue};
396
398
  export type AuthenticateCognitoActionAuthenticationRequestParamName = string;
397
399
  export type AuthenticateCognitoActionAuthenticationRequestParamValue = string;
@@ -567,6 +569,10 @@ declare namespace ELBv2 {
567
569
  * The actions for the default rule. The rule must include one forward action or one or more fixed-response actions. If the action type is forward, you specify one or more target groups. The protocol of the target group must be HTTP or HTTPS for an Application Load Balancer. The protocol of the target group must be TCP, TLS, UDP, or TCP_UDP for a Network Load Balancer. [HTTPS listeners] If the action type is authenticate-oidc, you authenticate users through an identity provider that is OpenID Connect (OIDC) compliant. [HTTPS listeners] If the action type is authenticate-cognito, you authenticate users through the user pools supported by Amazon Cognito. [Application Load Balancer] If the action type is redirect, you redirect specified client requests from one URL to another. [Application Load Balancer] If the action type is fixed-response, you drop specified client requests and return a custom HTTP response.
568
570
  */
569
571
  DefaultActions: Actions;
572
+ /**
573
+ * [TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values: HTTP1Only HTTP2Only HTTP2Optional HTTP2Preferred None For more information, see ALPN Policies in the Network Load Balancers Guide.
574
+ */
575
+ AlpnPolicy?: AlpnPolicyName;
570
576
  }
571
577
  export interface CreateListenerOutput {
572
578
  /**
@@ -1086,6 +1092,10 @@ declare namespace ELBv2 {
1086
1092
  * The default actions for the listener.
1087
1093
  */
1088
1094
  DefaultActions?: Actions;
1095
+ /**
1096
+ * [TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.
1097
+ */
1098
+ AlpnPolicy?: AlpnPolicyName;
1089
1099
  }
1090
1100
  export type ListenerArn = string;
1091
1101
  export type ListenerArns = ListenerArn[];
@@ -1219,6 +1229,10 @@ declare namespace ELBv2 {
1219
1229
  * The actions for the default rule. The rule must include one forward action or one or more fixed-response actions. If the action type is forward, you specify one or more target groups. The protocol of the target group must be HTTP or HTTPS for an Application Load Balancer. The protocol of the target group must be TCP, TLS, UDP, or TCP_UDP for a Network Load Balancer. [HTTPS listeners] If the action type is authenticate-oidc, you authenticate users through an identity provider that is OpenID Connect (OIDC) compliant. [HTTPS listeners] If the action type is authenticate-cognito, you authenticate users through the user pools supported by Amazon Cognito. [Application Load Balancer] If the action type is redirect, you redirect specified client requests from one URL to another. [Application Load Balancer] If the action type is fixed-response, you drop specified client requests and return a custom HTTP response.
1220
1230
  */
1221
1231
  DefaultActions?: Actions;
1232
+ /**
1233
+ * [TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values: HTTP1Only HTTP2Only HTTP2Optional HTTP2Preferred None For more information, see ALPN Policies in the Network Load Balancers Guide.
1234
+ */
1235
+ AlpnPolicy?: AlpnPolicyName;
1222
1236
  }
1223
1237
  export interface ModifyListenerOutput {
1224
1238
  /**
@@ -1718,7 +1732,7 @@ declare namespace ELBv2 {
1718
1732
  export type TargetGroupArns = TargetGroupArn[];
1719
1733
  export interface TargetGroupAttribute {
1720
1734
  /**
1721
- * The name of the attribute. The following attributes are supported by both Application Load Balancers and Network Load Balancers: deregistration_delay.timeout_seconds - The amount of time, in seconds, for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds. The default value is 300 seconds. If the target is a Lambda function, this attribute is not supported. stickiness.enabled - Indicates whether sticky sessions are enabled. The value is true or false. The default is false. stickiness.type - The type of sticky sessions. The possible values are lb_cookie for Application Load Balancers or source_ip for Network Load Balancers. The following attributes are supported by Application Load Balancers if the target is not a Lambda function: load_balancing.algorithm.type - The load balancing algorithm determines how the load balancer selects targets when routing requests. The value is round_robin or least_outstanding_requests. The default is round_robin. slow_start.duration_seconds - The time period, in seconds, during which a newly registered target receives a linearly increasing share of the traffic to the target group. After this time period ends, the target receives its full share of traffic. The range is 30-900 seconds (15 minutes). Slow start mode is disabled by default. stickiness.lb_cookie.duration_seconds - The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds). The following attribute is supported only if the target is a Lambda function. lambda.multi_value_headers.enabled - Indicates whether the request and response headers exchanged between the load balancer and the Lambda function include arrays of values or strings. The value is true or false. The default is false. If the value is false and the request contains a duplicate header field name or query parameter key, the load balancer uses the last value sent by the client. The following attribute is supported only by Network Load Balancers: proxy_protocol_v2.enabled - Indicates whether Proxy Protocol version 2 is enabled. The value is true or false. The default is false.
1735
+ * The name of the attribute. The following attributes are supported by both Application Load Balancers and Network Load Balancers: deregistration_delay.timeout_seconds - The amount of time, in seconds, for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds. The default value is 300 seconds. If the target is a Lambda function, this attribute is not supported. stickiness.enabled - Indicates whether sticky sessions are enabled. The value is true or false. The default is false. stickiness.type - The type of sticky sessions. The possible values are lb_cookie for Application Load Balancers or source_ip for Network Load Balancers. The following attributes are supported only if the load balancer is an Application Load Balancer and the target is an instance or an IP address: load_balancing.algorithm.type - The load balancing algorithm determines how the load balancer selects targets when routing requests. The value is round_robin or least_outstanding_requests. The default is round_robin. slow_start.duration_seconds - The time period, in seconds, during which a newly registered target receives an increasing share of the traffic to the target group. After this time period ends, the target receives its full share of traffic. The range is 30-900 seconds (15 minutes). Slow start mode is disabled by default. stickiness.lb_cookie.duration_seconds - The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds). The following attribute is supported only if the load balancer is an Application Load Balancer and the target is a Lambda function: lambda.multi_value_headers.enabled - Indicates whether the request and response headers that are exchanged between the load balancer and the Lambda function include arrays of values or strings. The value is true or false. The default is false. If the value is false and the request contains a duplicate header field name or query parameter key, the load balancer uses the last value sent by the client. The following attribute is supported only by Network Load Balancers: proxy_protocol_v2.enabled - Indicates whether Proxy Protocol version 2 is enabled. The value is true or false. The default is false.
1722
1736
  */
1723
1737
  Key?: TargetGroupAttributeKey;
1724
1738
  /**
package/clients/emr.d.ts CHANGED
@@ -585,6 +585,10 @@ declare namespace EMR {
585
585
  * The path to the Amazon S3 location where logs for this cluster are stored.
586
586
  */
587
587
  LogUri?: String;
588
+ /**
589
+ * The AWS KMS customer master key (CMK) used for encrypting log files. This attribute is only available with EMR version 5.30.0 and later, excluding EMR 6.0.0.
590
+ */
591
+ LogEncryptionKmsKeyId?: String;
588
592
  /**
589
593
  * The AMI version requested for this cluster.
590
594
  */
@@ -1609,6 +1613,10 @@ declare namespace EMR {
1609
1613
  * The location in Amazon S3 where log files for the job are stored.
1610
1614
  */
1611
1615
  LogUri?: XmlString;
1616
+ /**
1617
+ * The AWS KMS customer master key (CMK) used for encrypting log files. This attribute is only available with EMR version 5.30.0 and later, excluding EMR 6.0.0.
1618
+ */
1619
+ LogEncryptionKmsKeyId?: XmlString;
1612
1620
  /**
1613
1621
  * Applies only to Amazon EMR AMI versions 3.x and 2.x. For Amazon EMR releases 4.0 and later, ReleaseLabel is used. To specify a custom AMI, use CustomAmiID.
1614
1622
  */
@@ -2188,6 +2196,10 @@ declare namespace EMR {
2188
2196
  * The location in Amazon S3 to write the log files of the job flow. If a value is not provided, logs are not created.
2189
2197
  */
2190
2198
  LogUri?: XmlString;
2199
+ /**
2200
+ * The AWS KMS customer master key (CMK) used for encrypting log files. If a value is not provided, the logs will remain encrypted by AES-256. This attribute is only available with EMR version 5.30.0 and later, excluding EMR 6.0.0.
2201
+ */
2202
+ LogEncryptionKmsKeyId?: XmlString;
2191
2203
  /**
2192
2204
  * A JSON string for selecting additional features.
2193
2205
  */
package/clients/fsx.d.ts CHANGED
@@ -116,11 +116,11 @@ declare class FSx extends Service {
116
116
  */
117
117
  untagResource(callback?: (err: AWSError, data: FSx.Types.UntagResourceResponse) => void): Request<FSx.Types.UntagResourceResponse, AWSError>;
118
118
  /**
119
- * Updates a file system configuration.
119
+ * Use this operation to update the configuration of an existing Amazon FSx file system. For an Amazon FSx for Lustre file system, you can update only the WeeklyMaintenanceStartTime. For an Amazon for Windows File Server file system, you can update the following properties: AutomaticBackupRetentionDays DailyAutomaticBackupStartTime SelfManagedActiveDirectoryConfiguration StorageCapacity ThroughputCapacity WeeklyMaintenanceStartTime You can update multiple properties in a single request.
120
120
  */
121
121
  updateFileSystem(params: FSx.Types.UpdateFileSystemRequest, callback?: (err: AWSError, data: FSx.Types.UpdateFileSystemResponse) => void): Request<FSx.Types.UpdateFileSystemResponse, AWSError>;
122
122
  /**
123
- * Updates a file system configuration.
123
+ * Use this operation to update the configuration of an existing Amazon FSx file system. For an Amazon FSx for Lustre file system, you can update only the WeeklyMaintenanceStartTime. For an Amazon for Windows File Server file system, you can update the following properties: AutomaticBackupRetentionDays DailyAutomaticBackupStartTime SelfManagedActiveDirectoryConfiguration StorageCapacity ThroughputCapacity WeeklyMaintenanceStartTime You can update multiple properties in a single request.
124
124
  */
125
125
  updateFileSystem(callback?: (err: AWSError, data: FSx.Types.UpdateFileSystemResponse) => void): Request<FSx.Types.UpdateFileSystemResponse, AWSError>;
126
126
  }
@@ -137,6 +137,34 @@ declare namespace FSx {
137
137
  ActiveDirectoryId?: DirectoryId;
138
138
  }
139
139
  export type ActiveDirectoryFullyQualifiedName = string;
140
+ export interface AdministrativeAction {
141
+ AdministrativeActionType?: AdministrativeActionType;
142
+ /**
143
+ * Provides the percent complete of a STORAGE_OPTIMIZATION administrative action.
144
+ */
145
+ ProgressPercent?: ProgressPercent;
146
+ /**
147
+ * Time that the administrative action request was received.
148
+ */
149
+ RequestTime?: RequestTime;
150
+ /**
151
+ * Describes the status of the administrative action, as follows: FAILED - Amazon FSx failed to process the administrative action successfully. IN_PROGRESS - Amazon FSx is processing the administrative action. PENDING - Amazon FSx is waiting to process the administrative action. COMPLETED - Amazon FSx has finished processing the administrative task. UPDATED_OPTIMIZING - For a storage capacity increase update, Amazon FSx has updated the file system with the new storage capacity, and is now performing the storage optimization process. For more information, see Managing Storage Capacity.
152
+ */
153
+ Status?: Status;
154
+ /**
155
+ * Describes the target StorageCapacity or ThroughputCapacity value provided in the UpdateFileSystem operation. Returned for FILE_SYSTEM_UPDATE administrative actions.
156
+ */
157
+ TargetFileSystemValues?: FileSystem;
158
+ FailureDetails?: AdministrativeActionFailureDetails;
159
+ }
160
+ export interface AdministrativeActionFailureDetails {
161
+ /**
162
+ * Error message providing details about the failure.
163
+ */
164
+ Message?: ErrorMessage;
165
+ }
166
+ export type AdministrativeActionType = "FILE_SYSTEM_UPDATE"|"STORAGE_OPTIMIZATION"|string;
167
+ export type AdministrativeActions = AdministrativeAction[];
140
168
  export type ArchivePath = string;
141
169
  export type AutomaticBackupRetentionDays = number;
142
170
  export interface Backup {
@@ -306,7 +334,7 @@ declare namespace FSx {
306
334
  }
307
335
  export interface CreateFileSystemLustreConfiguration {
308
336
  /**
309
- * The preferred time to perform weekly maintenance, in the UTC time zone.
337
+ * The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.
310
338
  */
311
339
  WeeklyMaintenanceStartTime?: WeeklyTime;
312
340
  /**
@@ -391,7 +419,7 @@ declare namespace FSx {
391
419
  */
392
420
  ThroughputCapacity: MegabytesPerSecond;
393
421
  /**
394
- * The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone.
422
+ * The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.
395
423
  */
396
424
  WeeklyMaintenanceStartTime?: WeeklyTime;
397
425
  /**
@@ -706,6 +734,10 @@ declare namespace FSx {
706
734
  */
707
735
  WindowsConfiguration?: WindowsFileSystemConfiguration;
708
736
  LustreConfiguration?: LustreFileSystemConfiguration;
737
+ /**
738
+ * A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Windows file system that you have initiated using the UpdateFileSystem action.
739
+ */
740
+ AdministrativeActions?: AdministrativeActions;
709
741
  }
710
742
  export type FileSystemAdministratorsGroupName = string;
711
743
  export interface FileSystemFailureDetails {
@@ -766,7 +798,7 @@ declare namespace FSx {
766
798
  export type LustreDeploymentType = "SCRATCH_1"|"SCRATCH_2"|"PERSISTENT_1"|string;
767
799
  export interface LustreFileSystemConfiguration {
768
800
  /**
769
- * The UTC time that you want to begin your weekly maintenance window.
801
+ * The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.
770
802
  */
771
803
  WeeklyMaintenanceStartTime?: WeeklyTime;
772
804
  DataRepositoryConfiguration?: DataRepositoryConfiguration;
@@ -795,6 +827,7 @@ declare namespace FSx {
795
827
  export type ProgressPercent = number;
796
828
  export type ReportFormat = "REPORT_CSV_20191124"|string;
797
829
  export type ReportScope = "FAILED_FILES_ONLY"|string;
830
+ export type RequestTime = Date;
798
831
  export type ResourceARN = string;
799
832
  export type SecurityGroupId = string;
800
833
  export type SecurityGroupIds = SecurityGroupId[];
@@ -861,6 +894,7 @@ declare namespace FSx {
861
894
  DnsIps?: DnsIps;
862
895
  }
863
896
  export type StartTime = Date;
897
+ export type Status = "FAILED"|"IN_PROGRESS"|"PENDING"|"COMPLETED"|"UPDATED_OPTIMIZING"|string;
864
898
  export type StorageCapacity = number;
865
899
  export type StorageType = "SSD"|"HDD"|string;
866
900
  export type SubnetId = string;
@@ -909,18 +943,25 @@ declare namespace FSx {
909
943
  }
910
944
  export interface UpdateFileSystemLustreConfiguration {
911
945
  /**
912
- * The preferred time to perform weekly maintenance, in the UTC time zone.
946
+ * The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.
913
947
  */
914
948
  WeeklyMaintenanceStartTime?: WeeklyTime;
915
949
  }
916
950
  export interface UpdateFileSystemRequest {
951
+ /**
952
+ * Identifies the file system that you are updating.
953
+ */
917
954
  FileSystemId: FileSystemId;
918
955
  /**
919
- * (Optional) A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent updates. This string is automatically filled on your behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS SDK.
956
+ * A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent updates. This string is automatically filled on your behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS SDK.
920
957
  */
921
958
  ClientRequestToken?: ClientRequestToken;
922
959
  /**
923
- * The configuration update for this Microsoft Windows file system. The only supported options are for backup and maintenance and for self-managed Active Directory configuration.
960
+ * Use this parameter to increase the storage capacity of an Amazon FSx for Windows File Server file system. Specifies the storage capacity target value, GiB, for the file system you're updating. The storage capacity target value must be at least 10 percent (%) greater than the current storage capacity value. In order to increase storage capacity, the file system needs to have at least 16 MB/s of throughput capacity. You cannot make a storage capacity increase request if there is an existing storage capacity increase request in progress. For more information, see Managing Storage Capacity.
961
+ */
962
+ StorageCapacity?: StorageCapacity;
963
+ /**
964
+ * The configuration updates for an Amazon FSx for Windows File Server file system.
924
965
  */
925
966
  WindowsConfiguration?: UpdateFileSystemWindowsConfiguration;
926
967
  LustreConfiguration?: UpdateFileSystemLustreConfiguration;
@@ -933,19 +974,23 @@ declare namespace FSx {
933
974
  }
934
975
  export interface UpdateFileSystemWindowsConfiguration {
935
976
  /**
936
- * The preferred time to perform weekly maintenance, in the UTC time zone.
977
+ * The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. Where d is the weekday number, from 1 through 7, with 1 = Monday and 7 = Sunday.
937
978
  */
938
979
  WeeklyMaintenanceStartTime?: WeeklyTime;
939
980
  /**
940
- * The preferred time to take daily automatic backups, in the UTC time zone.
981
+ * The preferred time to start the daily automatic backup, in the UTC time zone, for example, 02:00
941
982
  */
942
983
  DailyAutomaticBackupStartTime?: DailyTime;
943
984
  /**
944
- * The number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 35 days.
985
+ * The number of days to retain automatic daily backups. Setting this to zero (0) disables automatic daily backups. You can retain automatic daily backups for a maximum of 35 days. For more information, see Working with Automatic Daily Backups.
945
986
  */
946
987
  AutomaticBackupRetentionDays?: AutomaticBackupRetentionDays;
947
988
  /**
948
- * The configuration Amazon FSx uses to join the Windows File Server instance to the self-managed Microsoft AD directory.
989
+ * Sets the target value for a file system's throughput capacity, in MB/s, that you are updating the file system to. Valid values are 8, 16, 32, 64, 128, 256, 512, 1024, 2048. You cannot make a throughput capacity update request if there is an existing throughput capacity update request in progress. For more information, see Managing Throughput Capacity.
990
+ */
991
+ ThroughputCapacity?: MegabytesPerSecond;
992
+ /**
993
+ * The configuration Amazon FSx uses to join the Windows File Server instance to the self-managed Microsoft AD directory. You cannot make a self-managed Microsoft AD update request if there is an existing self-managed Microsoft AD update request in progress.
949
994
  */
950
995
  SelfManagedActiveDirectoryConfiguration?: SelfManagedActiveDirectoryConfigurationUpdates;
951
996
  }
@@ -983,7 +1028,7 @@ declare namespace FSx {
983
1028
  */
984
1029
  MaintenanceOperationsInProgress?: FileSystemMaintenanceOperations;
985
1030
  /**
986
- * The preferred time to perform weekly maintenance, in the UTC time zone.
1031
+ * The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.
987
1032
  */
988
1033
  WeeklyMaintenanceStartTime?: WeeklyTime;
989
1034
  /**
@@ -316,11 +316,11 @@ declare class GuardDuty extends Service {
316
316
  */
317
317
  listInvitations(callback?: (err: AWSError, data: GuardDuty.Types.ListInvitationsResponse) => void): Request<GuardDuty.Types.ListInvitationsResponse, AWSError>;
318
318
  /**
319
- * Lists details about associated member accounts for the current GuardDuty master account.
319
+ * Lists details about all member accounts for the current GuardDuty master account.
320
320
  */
321
321
  listMembers(params: GuardDuty.Types.ListMembersRequest, callback?: (err: AWSError, data: GuardDuty.Types.ListMembersResponse) => void): Request<GuardDuty.Types.ListMembersResponse, AWSError>;
322
322
  /**
323
- * Lists details about associated member accounts for the current GuardDuty master account.
323
+ * Lists details about all member accounts for the current GuardDuty master account.
324
324
  */
325
325
  listMembers(callback?: (err: AWSError, data: GuardDuty.Types.ListMembersResponse) => void): Request<GuardDuty.Types.ListMembersResponse, AWSError>;
326
326
  /**
@@ -469,6 +469,16 @@ declare namespace GuardDuty {
469
469
  }
470
470
  export interface AcceptInvitationResponse {
471
471
  }
472
+ export interface AccessControlList {
473
+ /**
474
+ * A value that indicates whether public read access for the bucket is enabled through an Access Control List (ACL).
475
+ */
476
+ AllowsPublicReadAccess?: Boolean;
477
+ /**
478
+ * A value that indicates whether public write access for the bucket is enabled through an Access Control List (ACL).
479
+ */
480
+ AllowsPublicWriteAccess?: Boolean;
481
+ }
472
482
  export interface AccessKeyDetails {
473
483
  /**
474
484
  * The access key ID of the user.
@@ -500,6 +510,12 @@ declare namespace GuardDuty {
500
510
  export type AccountDetails = AccountDetail[];
501
511
  export type AccountId = string;
502
512
  export type AccountIds = AccountId[];
513
+ export interface AccountLevelPermissions {
514
+ /**
515
+ * Describes the S3 Block Public Access settings of the bucket's parent account.
516
+ */
517
+ BlockPublicAccess?: BlockPublicAccess;
518
+ }
503
519
  export interface Action {
504
520
  /**
505
521
  * The GuardDuty finding activity type.
@@ -568,7 +584,49 @@ declare namespace GuardDuty {
568
584
  */
569
585
  ServiceName?: String;
570
586
  }
587
+ export interface BlockPublicAccess {
588
+ /**
589
+ * Indicates if S3 Block Public Access is set to IgnorePublicAcls.
590
+ */
591
+ IgnorePublicAcls?: Boolean;
592
+ /**
593
+ * Indicates if S3 Block Public Access is set to RestrictPublicBuckets.
594
+ */
595
+ RestrictPublicBuckets?: Boolean;
596
+ /**
597
+ * Indicates if S3 Block Public Access is set to BlockPublicAcls.
598
+ */
599
+ BlockPublicAcls?: Boolean;
600
+ /**
601
+ * Indicates if S3 Block Public Access is set to BlockPublicPolicy.
602
+ */
603
+ BlockPublicPolicy?: Boolean;
604
+ }
571
605
  export type Boolean = boolean;
606
+ export interface BucketLevelPermissions {
607
+ /**
608
+ * Contains information on how Access Control Policies are applied to the bucket.
609
+ */
610
+ AccessControlList?: AccessControlList;
611
+ /**
612
+ * Contains information on the bucket policies for the S3 bucket.
613
+ */
614
+ BucketPolicy?: BucketPolicy;
615
+ /**
616
+ * Contains information on which account level S3 Block Public Access settings are applied to the S3 bucket.
617
+ */
618
+ BlockPublicAccess?: BlockPublicAccess;
619
+ }
620
+ export interface BucketPolicy {
621
+ /**
622
+ * A value that indicates whether public read access for the bucket is enabled through a bucket policy.
623
+ */
624
+ AllowsPublicReadAccess?: Boolean;
625
+ /**
626
+ * A value that indicates whether public write access for the bucket is enabled through a bucket policy.
627
+ */
628
+ AllowsPublicWriteAccess?: Boolean;
629
+ }
572
630
  export interface City {
573
631
  /**
574
632
  * The city name of the remote IP address.
@@ -715,7 +773,7 @@ declare namespace GuardDuty {
715
773
  */
716
774
  Format: IpSetFormat;
717
775
  /**
718
- * The URI of the file that contains the IPSet. For example: .
776
+ * The URI of the file that contains the IPSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
719
777
  */
720
778
  Location: Location;
721
779
  /**
@@ -803,7 +861,7 @@ declare namespace GuardDuty {
803
861
  */
804
862
  Format: ThreatIntelSetFormat;
805
863
  /**
806
- * The URI of the file that contains the ThreatIntelSet. For example: .
864
+ * The URI of the file that contains the ThreatIntelSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
807
865
  */
808
866
  Location: Location;
809
867
  /**
@@ -838,6 +896,16 @@ declare namespace GuardDuty {
838
896
  */
839
897
  UnprocessedAccounts: UnprocessedAccounts;
840
898
  }
899
+ export interface DefaultServerSideEncryption {
900
+ /**
901
+ * The type of encryption used for objects within the S3 bucket.
902
+ */
903
+ EncryptionType?: String;
904
+ /**
905
+ * The Amazon Resource Name (ARN) of the KMS encryption key. Only available if the bucket EncryptionType is aws:kms.
906
+ */
907
+ KmsMasterKeyArn?: String;
908
+ }
841
909
  export interface DeleteDetectorRequest {
842
910
  /**
843
911
  * The unique ID of the detector that you want to delete.
@@ -1281,7 +1349,7 @@ declare namespace GuardDuty {
1281
1349
  */
1282
1350
  Format: IpSetFormat;
1283
1351
  /**
1284
- * The URI of the file that contains the IPSet. For example: .
1352
+ * The URI of the file that contains the IPSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
1285
1353
  */
1286
1354
  Location: Location;
1287
1355
  /**
@@ -1353,7 +1421,7 @@ declare namespace GuardDuty {
1353
1421
  */
1354
1422
  Format: ThreatIntelSetFormat;
1355
1423
  /**
1356
- * The URI of the file that contains the ThreatIntelSet. For example: .
1424
+ * The URI of the file that contains the ThreatIntelSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
1357
1425
  */
1358
1426
  Location: Location;
1359
1427
  /**
@@ -1528,7 +1596,7 @@ declare namespace GuardDuty {
1528
1596
  */
1529
1597
  DetectorId: DetectorId;
1530
1598
  /**
1531
- * Represents the criteria used for querying findings. Valid values include: JSON field name accountId region confidence id resource.accessKeyDetails.accessKeyId resource.accessKeyDetails.principalId resource.accessKeyDetails.userName resource.accessKeyDetails.userType resource.instanceDetails.iamInstanceProfile.id resource.instanceDetails.imageId resource.instanceDetails.instanceId resource.instanceDetails.outpostArn resource.instanceDetails.networkInterfaces.ipv6Addresses resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress resource.instanceDetails.networkInterfaces.publicDnsName resource.instanceDetails.networkInterfaces.publicIp resource.instanceDetails.networkInterfaces.securityGroups.groupId resource.instanceDetails.networkInterfaces.securityGroups.groupName resource.instanceDetails.networkInterfaces.subnetId resource.instanceDetails.networkInterfaces.vpcId resource.instanceDetails.tags.key resource.instanceDetails.tags.value resource.resourceType service.action.actionType service.action.awsApiCallAction.api service.action.awsApiCallAction.callerType service.action.awsApiCallAction.remoteIpDetails.city.cityName service.action.awsApiCallAction.remoteIpDetails.country.countryName service.action.awsApiCallAction.remoteIpDetails.ipAddressV4 service.action.awsApiCallAction.remoteIpDetails.organization.asn service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg service.action.awsApiCallAction.serviceName service.action.dnsRequestAction.domain service.action.networkConnectionAction.blocked service.action.networkConnectionAction.connectionDirection service.action.networkConnectionAction.localPortDetails.port service.action.networkConnectionAction.protocol service.action.networkConnectionAction.localIpDetails.ipAddressV4 service.action.networkConnectionAction.remoteIpDetails.city.cityName service.action.networkConnectionAction.remoteIpDetails.country.countryName service.action.networkConnectionAction.remoteIpDetails.ipAddressV4 service.action.networkConnectionAction.remoteIpDetails.organization.asn service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg service.action.networkConnectionAction.remotePortDetails.port service.additionalInfo.threatListName service.archived When this attribute is set to 'true', only archived findings are listed. When it's set to 'false', only unarchived findings are listed. When this attribute is not set, all existing findings are listed. service.resourceRole severity type updatedAt Type: Timestamp in Unix Epoch millisecond format: 1486685375000
1599
+ * Represents the criteria used for querying findings. Valid values include: JSON field name accountId region confidence id resource.accessKeyDetails.accessKeyId resource.accessKeyDetails.principalId resource.accessKeyDetails.userName resource.accessKeyDetails.userType resource.instanceDetails.iamInstanceProfile.id resource.instanceDetails.imageId resource.instanceDetails.instanceId resource.instanceDetails.networkInterfaces.ipv6Addresses resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress resource.instanceDetails.networkInterfaces.publicDnsName resource.instanceDetails.networkInterfaces.publicIp resource.instanceDetails.networkInterfaces.securityGroups.groupId resource.instanceDetails.networkInterfaces.securityGroups.groupName resource.instanceDetails.networkInterfaces.subnetId resource.instanceDetails.networkInterfaces.vpcId resource.instanceDetails.tags.key resource.instanceDetails.tags.value resource.resourceType service.action.actionType service.action.awsApiCallAction.api service.action.awsApiCallAction.callerType service.action.awsApiCallAction.remoteIpDetails.city.cityName service.action.awsApiCallAction.remoteIpDetails.country.countryName service.action.awsApiCallAction.remoteIpDetails.ipAddressV4 service.action.awsApiCallAction.remoteIpDetails.organization.asn service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg service.action.awsApiCallAction.serviceName service.action.dnsRequestAction.domain service.action.networkConnectionAction.blocked service.action.networkConnectionAction.connectionDirection service.action.networkConnectionAction.localPortDetails.port service.action.networkConnectionAction.protocol service.action.networkConnectionAction.remoteIpDetails.city.cityName service.action.networkConnectionAction.remoteIpDetails.country.countryName service.action.networkConnectionAction.remoteIpDetails.ipAddressV4 service.action.networkConnectionAction.remoteIpDetails.organization.asn service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg service.action.networkConnectionAction.remotePortDetails.port service.additionalInfo.threatListName service.archived When this attribute is set to 'true', only archived findings are listed. When it's set to 'false', only unarchived findings are listed. When this attribute is not set, all existing findings are listed. service.resourceRole severity type updatedAt Type: Timestamp in Unix Epoch millisecond format: 1486685375000
1532
1600
  */
1533
1601
  FindingCriteria?: FindingCriteria;
1534
1602
  /**
@@ -1612,7 +1680,7 @@ declare namespace GuardDuty {
1612
1680
  */
1613
1681
  NextToken?: String;
1614
1682
  /**
1615
- * Specifies what member accounts the response includes based on their relationship status with the master account. The default value is "true". If set to "false" the response includes all existing member accounts (including members who haven't been invited yet or have been disassociated).
1683
+ * Specifies whether to only return associated members or to return all members (including members who haven't been invited yet or have been disassociated).
1616
1684
  */
1617
1685
  OnlyAssociated?: String;
1618
1686
  }
@@ -1869,6 +1937,22 @@ declare namespace GuardDuty {
1869
1937
  */
1870
1938
  Org?: String;
1871
1939
  }
1940
+ export interface Owner {
1941
+ /**
1942
+ * The canonical user ID of the bucket owner. For information about locating your canonical user ID see Finding Your Account Canonical User ID.
1943
+ */
1944
+ Id?: String;
1945
+ }
1946
+ export interface PermissionConfiguration {
1947
+ /**
1948
+ * Contains information about the bucket level permissions for the S3 bucket.
1949
+ */
1950
+ BucketLevelPermissions?: BucketLevelPermissions;
1951
+ /**
1952
+ * Contains information about the account level permissions on the S3 bucket.
1953
+ */
1954
+ AccountLevelPermissions?: AccountLevelPermissions;
1955
+ }
1872
1956
  export interface PortProbeAction {
1873
1957
  /**
1874
1958
  * Indicates whether EC2 blocked the port probe to the instance, such as with an ACL.
@@ -1916,6 +2000,16 @@ declare namespace GuardDuty {
1916
2000
  ProductType?: String;
1917
2001
  }
1918
2002
  export type ProductCodes = ProductCode[];
2003
+ export interface PublicAccess {
2004
+ /**
2005
+ * Contains information about how permissions are configured for the S3 bucket.
2006
+ */
2007
+ PermissionConfiguration?: PermissionConfiguration;
2008
+ /**
2009
+ * Describes the effective permission on this bucket after factoring all attached policies.
2010
+ */
2011
+ EffectivePermission?: String;
2012
+ }
1919
2013
  export type PublishingStatus = "PENDING_VERIFICATION"|"PUBLISHING"|"UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY"|"STOPPED"|string;
1920
2014
  export interface RemoteIpDetails {
1921
2015
  /**
@@ -1954,6 +2048,10 @@ declare namespace GuardDuty {
1954
2048
  * The IAM access key details (IAM user information) of a user that engaged in the activity that prompted GuardDuty to generate a finding.
1955
2049
  */
1956
2050
  AccessKeyDetails?: AccessKeyDetails;
2051
+ /**
2052
+ * Contains information on the S3 bucket.
2053
+ */
2054
+ S3BucketDetails?: S3BucketDetails;
1957
2055
  /**
1958
2056
  * The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a finding.
1959
2057
  */
@@ -1963,6 +2061,41 @@ declare namespace GuardDuty {
1963
2061
  */
1964
2062
  ResourceType?: String;
1965
2063
  }
2064
+ export interface S3BucketDetail {
2065
+ /**
2066
+ * The Amazon Resource Name (ARN) of the S3 bucket.
2067
+ */
2068
+ Arn?: String;
2069
+ /**
2070
+ * The name of the S3 bucket.
2071
+ */
2072
+ Name?: String;
2073
+ /**
2074
+ * Describes whether the bucket is a source or destination bucket.
2075
+ */
2076
+ Type?: String;
2077
+ /**
2078
+ * The date and time the bucket was created at.
2079
+ */
2080
+ CreatedAt?: Timestamp;
2081
+ /**
2082
+ * The owner of the S3 bucket.
2083
+ */
2084
+ Owner?: Owner;
2085
+ /**
2086
+ * All tags attached to the S3 bucket
2087
+ */
2088
+ Tags?: Tags;
2089
+ /**
2090
+ * Describes the server side encryption method used in the S3 bucket.
2091
+ */
2092
+ DefaultServerSideEncryption?: DefaultServerSideEncryption;
2093
+ /**
2094
+ * Describes the public access policies that apply to the S3 bucket.
2095
+ */
2096
+ PublicAccess?: PublicAccess;
2097
+ }
2098
+ export type S3BucketDetails = S3BucketDetail[];
1966
2099
  export interface SecurityGroup {
1967
2100
  /**
1968
2101
  * The security group ID of the EC2 instance.
@@ -2101,6 +2234,7 @@ declare namespace GuardDuty {
2101
2234
  }
2102
2235
  export type ThreatIntelligenceDetails = ThreatIntelligenceDetail[];
2103
2236
  export type ThreatNames = String[];
2237
+ export type Timestamp = Date;
2104
2238
  export interface UnarchiveFindingsRequest {
2105
2239
  /**
2106
2240
  * The ID of the detector associated with the findings to unarchive.
@@ -2218,7 +2352,7 @@ declare namespace GuardDuty {
2218
2352
  */
2219
2353
  Name?: Name;
2220
2354
  /**
2221
- * The updated URI of the file that contains the IPSet. For example: .
2355
+ * The updated URI of the file that contains the IPSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
2222
2356
  */
2223
2357
  Location?: Location;
2224
2358
  /**
@@ -2270,7 +2404,7 @@ declare namespace GuardDuty {
2270
2404
  */
2271
2405
  Name?: Name;
2272
2406
  /**
2273
- * The updated URI of the file that contains the ThreateIntelSet. For example: .
2407
+ * The updated URI of the file that contains the ThreateIntelSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
2274
2408
  */
2275
2409
  Location?: Location;
2276
2410
  /**