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.
- package/CHANGELOG.md +20 -1
- package/README.md +1 -1
- package/apis/athena-2017-05-18.min.json +287 -10
- package/apis/athena-2017-05-18.paginators.json +31 -7
- package/apis/elasticloadbalancingv2-2015-12-01.min.json +76 -63
- package/apis/elasticmapreduce-2009-03-31.min.json +3 -0
- package/apis/fsx-2018-03-01.min.json +49 -18
- package/apis/guardduty-2017-11-28.min.json +160 -26
- package/apis/kafka-2018-11-14.min.json +109 -7
- package/apis/marketplace-catalog-2018-09-17.min.json +1 -0
- package/apis/sagemaker-2017-07-24.min.json +4 -2
- package/apis/worklink-2018-09-25.min.json +102 -8
- package/apis/workmail-2017-10-01.min.json +106 -24
- package/clients/athena.d.ts +385 -30
- package/clients/elbv2.d.ts +15 -1
- package/clients/emr.d.ts +12 -0
- package/clients/fsx.d.ts +58 -13
- package/clients/guardduty.d.ts +144 -10
- package/clients/kafka.d.ts +131 -1
- package/clients/kms.d.ts +32 -32
- package/clients/marketplacecatalog.d.ts +10 -6
- package/clients/qldbsession.d.ts +9 -9
- package/clients/sagemaker.d.ts +53 -45
- package/clients/worklink.d.ts +80 -4
- package/clients/workmail.d.ts +104 -0
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +14 -14
- package/dist/aws-sdk.js +83 -67
- package/dist/aws-sdk.min.js +43 -43
- package/dist/xml2js.js +1 -1
- package/lib/core.js +1 -1
- package/package.json +2 -2
package/clients/worklink.d.ts
CHANGED
|
@@ -163,6 +163,14 @@ declare class WorkLink extends Service {
|
|
|
163
163
|
* Retrieves a list of fleets for the current account and Region.
|
|
164
164
|
*/
|
|
165
165
|
listFleets(callback?: (err: AWSError, data: WorkLink.Types.ListFleetsResponse) => void): Request<WorkLink.Types.ListFleetsResponse, AWSError>;
|
|
166
|
+
/**
|
|
167
|
+
* Retrieves a list of tags for the specified resource.
|
|
168
|
+
*/
|
|
169
|
+
listTagsForResource(params: WorkLink.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: WorkLink.Types.ListTagsForResourceResponse) => void): Request<WorkLink.Types.ListTagsForResourceResponse, AWSError>;
|
|
170
|
+
/**
|
|
171
|
+
* Retrieves a list of tags for the specified resource.
|
|
172
|
+
*/
|
|
173
|
+
listTagsForResource(callback?: (err: AWSError, data: WorkLink.Types.ListTagsForResourceResponse) => void): Request<WorkLink.Types.ListTagsForResourceResponse, AWSError>;
|
|
166
174
|
/**
|
|
167
175
|
* Retrieves a list of website authorization providers associated with a specified fleet.
|
|
168
176
|
*/
|
|
@@ -203,6 +211,22 @@ declare class WorkLink extends Service {
|
|
|
203
211
|
* Signs the user out from all of their devices. The user can sign in again if they have valid credentials.
|
|
204
212
|
*/
|
|
205
213
|
signOutUser(callback?: (err: AWSError, data: WorkLink.Types.SignOutUserResponse) => void): Request<WorkLink.Types.SignOutUserResponse, AWSError>;
|
|
214
|
+
/**
|
|
215
|
+
* Adds or overwrites one or more tags for the specified resource, such as a fleet. Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value.
|
|
216
|
+
*/
|
|
217
|
+
tagResource(params: WorkLink.Types.TagResourceRequest, callback?: (err: AWSError, data: WorkLink.Types.TagResourceResponse) => void): Request<WorkLink.Types.TagResourceResponse, AWSError>;
|
|
218
|
+
/**
|
|
219
|
+
* Adds or overwrites one or more tags for the specified resource, such as a fleet. Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value.
|
|
220
|
+
*/
|
|
221
|
+
tagResource(callback?: (err: AWSError, data: WorkLink.Types.TagResourceResponse) => void): Request<WorkLink.Types.TagResourceResponse, AWSError>;
|
|
222
|
+
/**
|
|
223
|
+
* Removes one or more tags from the specified resource.
|
|
224
|
+
*/
|
|
225
|
+
untagResource(params: WorkLink.Types.UntagResourceRequest, callback?: (err: AWSError, data: WorkLink.Types.UntagResourceResponse) => void): Request<WorkLink.Types.UntagResourceResponse, AWSError>;
|
|
226
|
+
/**
|
|
227
|
+
* Removes one or more tags from the specified resource.
|
|
228
|
+
*/
|
|
229
|
+
untagResource(callback?: (err: AWSError, data: WorkLink.Types.UntagResourceResponse) => void): Request<WorkLink.Types.UntagResourceResponse, AWSError>;
|
|
206
230
|
/**
|
|
207
231
|
* Updates the audit stream configuration for the fleet.
|
|
208
232
|
*/
|
|
@@ -333,10 +357,14 @@ declare namespace WorkLink {
|
|
|
333
357
|
* The option to optimize for better performance by routing traffic through the closest AWS Region to users, which may be outside of your home Region.
|
|
334
358
|
*/
|
|
335
359
|
OptimizeForEndUserLocation?: Boolean;
|
|
360
|
+
/**
|
|
361
|
+
* The tags to add to the resource. A tag is a key-value pair.
|
|
362
|
+
*/
|
|
363
|
+
Tags?: TagMap;
|
|
336
364
|
}
|
|
337
365
|
export interface CreateFleetResponse {
|
|
338
366
|
/**
|
|
339
|
-
* The ARN of the fleet.
|
|
367
|
+
* The Amazon Resource Name (ARN) of the fleet.
|
|
340
368
|
*/
|
|
341
369
|
FleetArn?: FleetArn;
|
|
342
370
|
}
|
|
@@ -475,7 +503,7 @@ declare namespace WorkLink {
|
|
|
475
503
|
}
|
|
476
504
|
export interface DescribeFleetMetadataRequest {
|
|
477
505
|
/**
|
|
478
|
-
* The ARN of the fleet.
|
|
506
|
+
* The Amazon Resource Name (ARN) of the fleet.
|
|
479
507
|
*/
|
|
480
508
|
FleetArn: FleetArn;
|
|
481
509
|
}
|
|
@@ -508,6 +536,10 @@ declare namespace WorkLink {
|
|
|
508
536
|
* The current state of the fleet.
|
|
509
537
|
*/
|
|
510
538
|
FleetStatus?: FleetStatus;
|
|
539
|
+
/**
|
|
540
|
+
* The tags attached to the resource. A tag is a key-value pair.
|
|
541
|
+
*/
|
|
542
|
+
Tags?: TagMap;
|
|
511
543
|
}
|
|
512
544
|
export interface DescribeIdentityProviderConfigurationRequest {
|
|
513
545
|
/**
|
|
@@ -633,7 +665,7 @@ declare namespace WorkLink {
|
|
|
633
665
|
export type FleetStatus = "CREATING"|"ACTIVE"|"DELETING"|"DELETED"|"FAILED_TO_CREATE"|"FAILED_TO_DELETE"|string;
|
|
634
666
|
export interface FleetSummary {
|
|
635
667
|
/**
|
|
636
|
-
* The ARN of the fleet.
|
|
668
|
+
* The Amazon Resource Name (ARN) of the fleet.
|
|
637
669
|
*/
|
|
638
670
|
FleetArn?: FleetArn;
|
|
639
671
|
/**
|
|
@@ -649,7 +681,7 @@ declare namespace WorkLink {
|
|
|
649
681
|
*/
|
|
650
682
|
FleetName?: FleetName;
|
|
651
683
|
/**
|
|
652
|
-
* The name to display.
|
|
684
|
+
* The name of the fleet to display.
|
|
653
685
|
*/
|
|
654
686
|
DisplayName?: DisplayName;
|
|
655
687
|
/**
|
|
@@ -660,6 +692,10 @@ declare namespace WorkLink {
|
|
|
660
692
|
* The status of the fleet.
|
|
661
693
|
*/
|
|
662
694
|
FleetStatus?: FleetStatus;
|
|
695
|
+
/**
|
|
696
|
+
* The tags attached to the resource. A tag is a key-value pair.
|
|
697
|
+
*/
|
|
698
|
+
Tags?: TagMap;
|
|
663
699
|
}
|
|
664
700
|
export type FleetSummaryList = FleetSummary[];
|
|
665
701
|
export type Id = string;
|
|
@@ -732,6 +768,18 @@ declare namespace WorkLink {
|
|
|
732
768
|
*/
|
|
733
769
|
NextToken?: NextToken;
|
|
734
770
|
}
|
|
771
|
+
export interface ListTagsForResourceRequest {
|
|
772
|
+
/**
|
|
773
|
+
* The Amazon Resource Name (ARN) of the fleet.
|
|
774
|
+
*/
|
|
775
|
+
ResourceArn: FleetArn;
|
|
776
|
+
}
|
|
777
|
+
export interface ListTagsForResourceResponse {
|
|
778
|
+
/**
|
|
779
|
+
* The tags attached to the resource. A tag is a key-value pair.
|
|
780
|
+
*/
|
|
781
|
+
Tags?: TagMap;
|
|
782
|
+
}
|
|
735
783
|
export interface ListWebsiteAuthorizationProvidersRequest {
|
|
736
784
|
/**
|
|
737
785
|
* The ARN of the fleet.
|
|
@@ -823,6 +871,34 @@ declare namespace WorkLink {
|
|
|
823
871
|
}
|
|
824
872
|
export type SubnetId = string;
|
|
825
873
|
export type SubnetIds = SubnetId[];
|
|
874
|
+
export type TagKey = string;
|
|
875
|
+
export type TagKeyList = TagKey[];
|
|
876
|
+
export type TagMap = {[key: string]: TagValue};
|
|
877
|
+
export interface TagResourceRequest {
|
|
878
|
+
/**
|
|
879
|
+
* The Amazon Resource Name (ARN) of the fleet.
|
|
880
|
+
*/
|
|
881
|
+
ResourceArn: FleetArn;
|
|
882
|
+
/**
|
|
883
|
+
* The tags to add to the resource. A tag is a key-value pair.
|
|
884
|
+
*/
|
|
885
|
+
Tags: TagMap;
|
|
886
|
+
}
|
|
887
|
+
export interface TagResourceResponse {
|
|
888
|
+
}
|
|
889
|
+
export type TagValue = string;
|
|
890
|
+
export interface UntagResourceRequest {
|
|
891
|
+
/**
|
|
892
|
+
* The Amazon Resource Name (ARN) of the fleet.
|
|
893
|
+
*/
|
|
894
|
+
ResourceArn: FleetArn;
|
|
895
|
+
/**
|
|
896
|
+
* The list of tag keys to remove from the resource.
|
|
897
|
+
*/
|
|
898
|
+
TagKeys: TagKeyList;
|
|
899
|
+
}
|
|
900
|
+
export interface UntagResourceResponse {
|
|
901
|
+
}
|
|
826
902
|
export interface UpdateAuditStreamConfigurationRequest {
|
|
827
903
|
/**
|
|
828
904
|
* The ARN of the fleet.
|
package/clients/workmail.d.ts
CHANGED
|
@@ -99,6 +99,14 @@ declare class WorkMail extends Service {
|
|
|
99
99
|
* Deletes the specified resource.
|
|
100
100
|
*/
|
|
101
101
|
deleteResource(callback?: (err: AWSError, data: WorkMail.Types.DeleteResourceResponse) => void): Request<WorkMail.Types.DeleteResourceResponse, AWSError>;
|
|
102
|
+
/**
|
|
103
|
+
* Deletes the specified retention policy from the specified organization.
|
|
104
|
+
*/
|
|
105
|
+
deleteRetentionPolicy(params: WorkMail.Types.DeleteRetentionPolicyRequest, callback?: (err: AWSError, data: WorkMail.Types.DeleteRetentionPolicyResponse) => void): Request<WorkMail.Types.DeleteRetentionPolicyResponse, AWSError>;
|
|
106
|
+
/**
|
|
107
|
+
* Deletes the specified retention policy from the specified organization.
|
|
108
|
+
*/
|
|
109
|
+
deleteRetentionPolicy(callback?: (err: AWSError, data: WorkMail.Types.DeleteRetentionPolicyResponse) => void): Request<WorkMail.Types.DeleteRetentionPolicyResponse, AWSError>;
|
|
102
110
|
/**
|
|
103
111
|
* Deletes a user from Amazon WorkMail and all subsequent systems. Before you can delete a user, the user state must be DISABLED. Use the DescribeUser action to confirm the user state. Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for 30 days before they are permanently removed.
|
|
104
112
|
*/
|
|
@@ -171,6 +179,14 @@ declare class WorkMail extends Service {
|
|
|
171
179
|
* Gets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, or user ID.
|
|
172
180
|
*/
|
|
173
181
|
getAccessControlEffect(callback?: (err: AWSError, data: WorkMail.Types.GetAccessControlEffectResponse) => void): Request<WorkMail.Types.GetAccessControlEffectResponse, AWSError>;
|
|
182
|
+
/**
|
|
183
|
+
* Gets the default retention policy details for the specified organization.
|
|
184
|
+
*/
|
|
185
|
+
getDefaultRetentionPolicy(params: WorkMail.Types.GetDefaultRetentionPolicyRequest, callback?: (err: AWSError, data: WorkMail.Types.GetDefaultRetentionPolicyResponse) => void): Request<WorkMail.Types.GetDefaultRetentionPolicyResponse, AWSError>;
|
|
186
|
+
/**
|
|
187
|
+
* Gets the default retention policy details for the specified organization.
|
|
188
|
+
*/
|
|
189
|
+
getDefaultRetentionPolicy(callback?: (err: AWSError, data: WorkMail.Types.GetDefaultRetentionPolicyResponse) => void): Request<WorkMail.Types.GetDefaultRetentionPolicyResponse, AWSError>;
|
|
174
190
|
/**
|
|
175
191
|
* Requests a user's mailbox details for a specified organization and user.
|
|
176
192
|
*/
|
|
@@ -275,6 +291,14 @@ declare class WorkMail extends Service {
|
|
|
275
291
|
* Sets permissions for a user, group, or resource. This replaces any pre-existing permissions.
|
|
276
292
|
*/
|
|
277
293
|
putMailboxPermissions(callback?: (err: AWSError, data: WorkMail.Types.PutMailboxPermissionsResponse) => void): Request<WorkMail.Types.PutMailboxPermissionsResponse, AWSError>;
|
|
294
|
+
/**
|
|
295
|
+
* Puts a retention policy to the specified organization.
|
|
296
|
+
*/
|
|
297
|
+
putRetentionPolicy(params: WorkMail.Types.PutRetentionPolicyRequest, callback?: (err: AWSError, data: WorkMail.Types.PutRetentionPolicyResponse) => void): Request<WorkMail.Types.PutRetentionPolicyResponse, AWSError>;
|
|
298
|
+
/**
|
|
299
|
+
* Puts a retention policy to the specified organization.
|
|
300
|
+
*/
|
|
301
|
+
putRetentionPolicy(callback?: (err: AWSError, data: WorkMail.Types.PutRetentionPolicyResponse) => void): Request<WorkMail.Types.PutRetentionPolicyResponse, AWSError>;
|
|
278
302
|
/**
|
|
279
303
|
* Registers an existing and disabled user, group, or resource for Amazon WorkMail use by associating a mailbox and calendaring capabilities. It performs no change if the user, group, or resource is enabled and fails if the user, group, or resource is deleted. This operation results in the accumulation of costs. For more information, see Pricing. The equivalent console functionality for this operation is Enable. Users can either be created by calling the CreateUser API operation or they can be synchronized from your directory. For more information, see DeregisterFromWorkMail.
|
|
280
304
|
*/
|
|
@@ -589,6 +613,18 @@ declare namespace WorkMail {
|
|
|
589
613
|
}
|
|
590
614
|
export interface DeleteResourceResponse {
|
|
591
615
|
}
|
|
616
|
+
export interface DeleteRetentionPolicyRequest {
|
|
617
|
+
/**
|
|
618
|
+
* The organization ID.
|
|
619
|
+
*/
|
|
620
|
+
OrganizationId: OrganizationId;
|
|
621
|
+
/**
|
|
622
|
+
* The retention policy ID.
|
|
623
|
+
*/
|
|
624
|
+
Id: ShortString;
|
|
625
|
+
}
|
|
626
|
+
export interface DeleteRetentionPolicyResponse {
|
|
627
|
+
}
|
|
592
628
|
export interface DeleteUserRequest {
|
|
593
629
|
/**
|
|
594
630
|
* The organization that contains the user to be deleted.
|
|
@@ -815,6 +851,22 @@ declare namespace WorkMail {
|
|
|
815
851
|
}
|
|
816
852
|
export type EmailAddress = string;
|
|
817
853
|
export type EntityState = "ENABLED"|"DISABLED"|"DELETED"|string;
|
|
854
|
+
export interface FolderConfiguration {
|
|
855
|
+
/**
|
|
856
|
+
* The folder name.
|
|
857
|
+
*/
|
|
858
|
+
Name: FolderName;
|
|
859
|
+
/**
|
|
860
|
+
* The action to take on the folder contents at the end of the folder configuration period.
|
|
861
|
+
*/
|
|
862
|
+
Action: RetentionAction;
|
|
863
|
+
/**
|
|
864
|
+
* The period of time at which the folder configuration action is applied.
|
|
865
|
+
*/
|
|
866
|
+
Period?: RetentionPeriod;
|
|
867
|
+
}
|
|
868
|
+
export type FolderConfigurations = FolderConfiguration[];
|
|
869
|
+
export type FolderName = "INBOX"|"DELETED_ITEMS"|"SENT_ITEMS"|"DRAFTS"|"JUNK_EMAIL"|string;
|
|
818
870
|
export interface GetAccessControlEffectRequest {
|
|
819
871
|
/**
|
|
820
872
|
* The identifier for the organization.
|
|
@@ -843,6 +895,30 @@ declare namespace WorkMail {
|
|
|
843
895
|
*/
|
|
844
896
|
MatchedRules?: AccessControlRuleNameList;
|
|
845
897
|
}
|
|
898
|
+
export interface GetDefaultRetentionPolicyRequest {
|
|
899
|
+
/**
|
|
900
|
+
* The organization ID.
|
|
901
|
+
*/
|
|
902
|
+
OrganizationId: OrganizationId;
|
|
903
|
+
}
|
|
904
|
+
export interface GetDefaultRetentionPolicyResponse {
|
|
905
|
+
/**
|
|
906
|
+
* The retention policy ID.
|
|
907
|
+
*/
|
|
908
|
+
Id?: ShortString;
|
|
909
|
+
/**
|
|
910
|
+
* The retention policy name.
|
|
911
|
+
*/
|
|
912
|
+
Name?: ShortString;
|
|
913
|
+
/**
|
|
914
|
+
* The retention policy description.
|
|
915
|
+
*/
|
|
916
|
+
Description?: String;
|
|
917
|
+
/**
|
|
918
|
+
* The retention policy folder configurations.
|
|
919
|
+
*/
|
|
920
|
+
FolderConfigurations?: FolderConfigurations;
|
|
921
|
+
}
|
|
846
922
|
export interface GetMailboxDetailsRequest {
|
|
847
923
|
/**
|
|
848
924
|
* The identifier for the organization that contains the user whose mailbox details are being requested.
|
|
@@ -1193,6 +1269,7 @@ declare namespace WorkMail {
|
|
|
1193
1269
|
export type PermissionType = "FULL_ACCESS"|"SEND_AS"|"SEND_ON_BEHALF"|string;
|
|
1194
1270
|
export type PermissionValues = PermissionType[];
|
|
1195
1271
|
export type Permissions = Permission[];
|
|
1272
|
+
export type PolicyDescription = string;
|
|
1196
1273
|
export interface PutAccessControlRuleRequest {
|
|
1197
1274
|
/**
|
|
1198
1275
|
* The rule name.
|
|
@@ -1257,6 +1334,30 @@ declare namespace WorkMail {
|
|
|
1257
1334
|
}
|
|
1258
1335
|
export interface PutMailboxPermissionsResponse {
|
|
1259
1336
|
}
|
|
1337
|
+
export interface PutRetentionPolicyRequest {
|
|
1338
|
+
/**
|
|
1339
|
+
* The organization ID.
|
|
1340
|
+
*/
|
|
1341
|
+
OrganizationId: OrganizationId;
|
|
1342
|
+
/**
|
|
1343
|
+
* The retention policy ID.
|
|
1344
|
+
*/
|
|
1345
|
+
Id?: ShortString;
|
|
1346
|
+
/**
|
|
1347
|
+
* The retention policy name.
|
|
1348
|
+
*/
|
|
1349
|
+
Name: ShortString;
|
|
1350
|
+
/**
|
|
1351
|
+
* The retention policy description.
|
|
1352
|
+
*/
|
|
1353
|
+
Description?: PolicyDescription;
|
|
1354
|
+
/**
|
|
1355
|
+
* The retention policy folder configurations.
|
|
1356
|
+
*/
|
|
1357
|
+
FolderConfigurations: FolderConfigurations;
|
|
1358
|
+
}
|
|
1359
|
+
export interface PutRetentionPolicyResponse {
|
|
1360
|
+
}
|
|
1260
1361
|
export interface RegisterToWorkMailRequest {
|
|
1261
1362
|
/**
|
|
1262
1363
|
* The identifier for the organization under which the user, group, or resource exists.
|
|
@@ -1324,6 +1425,9 @@ declare namespace WorkMail {
|
|
|
1324
1425
|
export type ResourceName = string;
|
|
1325
1426
|
export type ResourceType = "ROOM"|"EQUIPMENT"|string;
|
|
1326
1427
|
export type Resources = Resource[];
|
|
1428
|
+
export type RetentionAction = "NONE"|"DELETE"|"PERMANENTLY_DELETE"|string;
|
|
1429
|
+
export type RetentionPeriod = number;
|
|
1430
|
+
export type ShortString = string;
|
|
1327
1431
|
export type String = string;
|
|
1328
1432
|
export interface Tag {
|
|
1329
1433
|
/**
|