aws-sdk 2.1601.0 → 2.1603.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,6 +11,14 @@ declare class WorkSpaces extends Service {
11
11
  */
12
12
  constructor(options?: WorkSpaces.Types.ClientConfiguration)
13
13
  config: Config & WorkSpaces.Types.ClientConfiguration;
14
+ /**
15
+ * Accepts the account link invitation. There's currently no unlinking capability after you accept the account linking invitation.
16
+ */
17
+ acceptAccountLinkInvitation(params: WorkSpaces.Types.AcceptAccountLinkInvitationRequest, callback?: (err: AWSError, data: WorkSpaces.Types.AcceptAccountLinkInvitationResult) => void): Request<WorkSpaces.Types.AcceptAccountLinkInvitationResult, AWSError>;
18
+ /**
19
+ * Accepts the account link invitation. There's currently no unlinking capability after you accept the account linking invitation.
20
+ */
21
+ acceptAccountLinkInvitation(callback?: (err: AWSError, data: WorkSpaces.Types.AcceptAccountLinkInvitationResult) => void): Request<WorkSpaces.Types.AcceptAccountLinkInvitationResult, AWSError>;
14
22
  /**
15
23
  * Associates the specified connection alias with the specified directory to enable cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces. Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is CREATED.
16
24
  */
@@ -51,6 +59,14 @@ declare class WorkSpaces extends Service {
51
59
  * Copies the specified image from the specified Region to the current Region. For more information about copying images, see Copy a Custom WorkSpaces Image. In the China (Ningxia) Region, you can copy images only within the same Region. In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support. Before copying a shared image, be sure to verify that it has been shared from the correct Amazon Web Services account. To determine if an image has been shared and to see the ID of the Amazon Web Services account that owns an image, use the DescribeWorkSpaceImages and DescribeWorkspaceImagePermissions API operations.
52
60
  */
53
61
  copyWorkspaceImage(callback?: (err: AWSError, data: WorkSpaces.Types.CopyWorkspaceImageResult) => void): Request<WorkSpaces.Types.CopyWorkspaceImageResult, AWSError>;
62
+ /**
63
+ * Creates the account link invitation.
64
+ */
65
+ createAccountLinkInvitation(params: WorkSpaces.Types.CreateAccountLinkInvitationRequest, callback?: (err: AWSError, data: WorkSpaces.Types.CreateAccountLinkInvitationResult) => void): Request<WorkSpaces.Types.CreateAccountLinkInvitationResult, AWSError>;
66
+ /**
67
+ * Creates the account link invitation.
68
+ */
69
+ createAccountLinkInvitation(callback?: (err: AWSError, data: WorkSpaces.Types.CreateAccountLinkInvitationResult) => void): Request<WorkSpaces.Types.CreateAccountLinkInvitationResult, AWSError>;
54
70
  /**
55
71
  * Creates a client-add-in for Amazon Connect within a directory. You can create only one Amazon Connect client add-in within a directory. This client add-in allows WorkSpaces users to seamlessly connect to Amazon Connect.
56
72
  */
@@ -123,6 +139,14 @@ declare class WorkSpaces extends Service {
123
139
  * Creates one or more WorkSpaces. This operation is asynchronous and returns before the WorkSpaces are created. The MANUAL running mode value is only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use this value. For more information, see Amazon WorkSpaces Core. You don't need to specify the PCOIP protocol for Linux bundles because WSP is the default protocol for those bundles. User-decoupled WorkSpaces are only supported by Amazon WorkSpaces Core.
124
140
  */
125
141
  createWorkspaces(callback?: (err: AWSError, data: WorkSpaces.Types.CreateWorkspacesResult) => void): Request<WorkSpaces.Types.CreateWorkspacesResult, AWSError>;
142
+ /**
143
+ * Deletes the account link invitation.
144
+ */
145
+ deleteAccountLinkInvitation(params: WorkSpaces.Types.DeleteAccountLinkInvitationRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DeleteAccountLinkInvitationResult) => void): Request<WorkSpaces.Types.DeleteAccountLinkInvitationResult, AWSError>;
146
+ /**
147
+ * Deletes the account link invitation.
148
+ */
149
+ deleteAccountLinkInvitation(callback?: (err: AWSError, data: WorkSpaces.Types.DeleteAccountLinkInvitationResult) => void): Request<WorkSpaces.Types.DeleteAccountLinkInvitationResult, AWSError>;
126
150
  /**
127
151
  * Deletes customized client branding. Client branding allows you to customize your WorkSpace's client login portal. You can tailor your login portal company logo, the support email address, support link, link to reset password, and a custom message for users trying to sign in. After you delete your customized client branding, your login portal reverts to the default client branding.
128
152
  */
@@ -387,6 +411,14 @@ declare class WorkSpaces extends Service {
387
411
  * Disassociates the specified application from a WorkSpace.
388
412
  */
389
413
  disassociateWorkspaceApplication(callback?: (err: AWSError, data: WorkSpaces.Types.DisassociateWorkspaceApplicationResult) => void): Request<WorkSpaces.Types.DisassociateWorkspaceApplicationResult, AWSError>;
414
+ /**
415
+ * Retrieves account link information.
416
+ */
417
+ getAccountLink(params: WorkSpaces.Types.GetAccountLinkRequest, callback?: (err: AWSError, data: WorkSpaces.Types.GetAccountLinkResult) => void): Request<WorkSpaces.Types.GetAccountLinkResult, AWSError>;
418
+ /**
419
+ * Retrieves account link information.
420
+ */
421
+ getAccountLink(callback?: (err: AWSError, data: WorkSpaces.Types.GetAccountLinkResult) => void): Request<WorkSpaces.Types.GetAccountLinkResult, AWSError>;
390
422
  /**
391
423
  * Imports client branding. Client branding allows you to customize your WorkSpace's client login portal. You can tailor your login portal company logo, the support email address, support link, link to reset password, and a custom message for users trying to sign in. After you import client branding, the default branding experience for the specified platform type is replaced with the imported experience You must specify at least one platform type when importing client branding. You can import up to 6 MB of data with each request. If your request exceeds this limit, you can import client branding for different platform types using separate requests. In each platform type, the SupportEmail and SupportLink parameters are mutually exclusive. You can specify only one parameter for each platform type, but not both. Imported data can take up to a minute to appear in the WorkSpaces client.
392
424
  */
@@ -403,6 +435,14 @@ declare class WorkSpaces extends Service {
403
435
  * Imports the specified Windows 10 or 11 Bring Your Own License (BYOL) image into Amazon WorkSpaces. The image must be an already licensed Amazon EC2 image that is in your Amazon Web Services account, and you must own the image. For more information about creating BYOL images, see Bring Your Own Windows Desktop Licenses.
404
436
  */
405
437
  importWorkspaceImage(callback?: (err: AWSError, data: WorkSpaces.Types.ImportWorkspaceImageResult) => void): Request<WorkSpaces.Types.ImportWorkspaceImageResult, AWSError>;
438
+ /**
439
+ * Lists all account links.
440
+ */
441
+ listAccountLinks(params: WorkSpaces.Types.ListAccountLinksRequest, callback?: (err: AWSError, data: WorkSpaces.Types.ListAccountLinksResult) => void): Request<WorkSpaces.Types.ListAccountLinksResult, AWSError>;
442
+ /**
443
+ * Lists all account links.
444
+ */
445
+ listAccountLinks(callback?: (err: AWSError, data: WorkSpaces.Types.ListAccountLinksResult) => void): Request<WorkSpaces.Types.ListAccountLinksResult, AWSError>;
406
446
  /**
407
447
  * Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks, that you can use for the network management interface when you enable Bring Your Own License (BYOL). This operation can be run only by Amazon Web Services accounts that are enabled for BYOL. If your account isn't enabled for BYOL, you'll receive an AccessDeniedException error. The management network interface is connected to a secure Amazon WorkSpaces management network. It is used for interactive streaming of the WorkSpace desktop to Amazon WorkSpaces clients, and to allow Amazon WorkSpaces to manage the WorkSpace.
408
448
  */
@@ -515,6 +555,14 @@ declare class WorkSpaces extends Service {
515
555
  * Registers the specified directory. This operation is asynchronous and returns before the WorkSpace directory is registered. If this is the first time you are registering a directory, you will need to create the workspaces_DefaultRole role before you can register a directory. For more information, see Creating the workspaces_DefaultRole Role.
516
556
  */
517
557
  registerWorkspaceDirectory(callback?: (err: AWSError, data: WorkSpaces.Types.RegisterWorkspaceDirectoryResult) => void): Request<WorkSpaces.Types.RegisterWorkspaceDirectoryResult, AWSError>;
558
+ /**
559
+ * Rejects the account link invitation.
560
+ */
561
+ rejectAccountLinkInvitation(params: WorkSpaces.Types.RejectAccountLinkInvitationRequest, callback?: (err: AWSError, data: WorkSpaces.Types.RejectAccountLinkInvitationResult) => void): Request<WorkSpaces.Types.RejectAccountLinkInvitationResult, AWSError>;
562
+ /**
563
+ * Rejects the account link invitation.
564
+ */
565
+ rejectAccountLinkInvitation(callback?: (err: AWSError, data: WorkSpaces.Types.RejectAccountLinkInvitationResult) => void): Request<WorkSpaces.Types.RejectAccountLinkInvitationResult, AWSError>;
518
566
  /**
519
567
  * Restores the specified WorkSpace to its last known healthy state. You cannot restore a WorkSpace unless its state is AVAILABLE, ERROR, UNHEALTHY, or STOPPED. Restoring a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see Restore a WorkSpace. This operation is asynchronous and returns before the WorkSpace is completely restored.
520
568
  */
@@ -598,7 +646,43 @@ declare class WorkSpaces extends Service {
598
646
  }
599
647
  declare namespace WorkSpaces {
600
648
  export type ARN = string;
649
+ export interface AcceptAccountLinkInvitationRequest {
650
+ /**
651
+ * The identifier of the account link.
652
+ */
653
+ LinkId: LinkId;
654
+ /**
655
+ * A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.
656
+ */
657
+ ClientToken?: ClientToken;
658
+ }
659
+ export interface AcceptAccountLinkInvitationResult {
660
+ /**
661
+ * Information about the account link.
662
+ */
663
+ AccountLink?: AccountLink;
664
+ }
601
665
  export type AccessPropertyValue = "ALLOW"|"DENY"|string;
666
+ export interface AccountLink {
667
+ /**
668
+ * The identifier of the account link.
669
+ */
670
+ AccountLinkId?: LinkId;
671
+ /**
672
+ * The status of the account link.
673
+ */
674
+ AccountLinkStatus?: AccountLinkStatusEnum;
675
+ /**
676
+ * The identifier of the source account.
677
+ */
678
+ SourceAccountId?: AwsAccount;
679
+ /**
680
+ * The identifier of the target account.
681
+ */
682
+ TargetAccountId?: AwsAccount;
683
+ }
684
+ export type AccountLinkList = AccountLink[];
685
+ export type AccountLinkStatusEnum = "LINKED"|"LINKING_FAILED"|"LINK_NOT_FOUND"|"PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT"|"REJECTED"|string;
602
686
  export interface AccountModification {
603
687
  /**
604
688
  * The state of the modification to the configuration of BYOL.
@@ -812,6 +896,7 @@ declare namespace WorkSpaces {
812
896
  */
813
897
  ClientProperties?: ClientProperties;
814
898
  }
899
+ export type ClientToken = string;
815
900
  export type ClientUrl = string;
816
901
  export type Compute = "VALUE"|"STANDARD"|"PERFORMANCE"|"POWER"|"GRAPHICS"|"POWERPRO"|"GRAPHICSPRO"|"GRAPHICS_G4DN"|"GRAPHICSPRO_G4DN"|string;
817
902
  export type ComputeList = Compute[];
@@ -928,6 +1013,22 @@ declare namespace WorkSpaces {
928
1013
  */
929
1014
  ImageId?: WorkspaceImageId;
930
1015
  }
1016
+ export interface CreateAccountLinkInvitationRequest {
1017
+ /**
1018
+ * The identifier of the target account.
1019
+ */
1020
+ TargetAccountId: AwsAccount;
1021
+ /**
1022
+ * A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.
1023
+ */
1024
+ ClientToken?: ClientToken;
1025
+ }
1026
+ export interface CreateAccountLinkInvitationResult {
1027
+ /**
1028
+ * Information about the account link.
1029
+ */
1030
+ AccountLink?: AccountLink;
1031
+ }
931
1032
  export interface CreateConnectClientAddInRequest {
932
1033
  /**
933
1034
  * The directory identifier for which to configure the client add-in.
@@ -1147,6 +1248,7 @@ declare namespace WorkSpaces {
1147
1248
  */
1148
1249
  RecoverySnapshotTime?: Timestamp;
1149
1250
  }
1251
+ export type DedicatedTenancyAccountType = "SOURCE_ACCOUNT"|"TARGET_ACCOUNT"|string;
1150
1252
  export type DedicatedTenancyCidrRangeList = DedicatedTenancyManagementCidrRange[];
1151
1253
  export type DedicatedTenancyManagementCidrRange = string;
1152
1254
  export type DedicatedTenancyModificationStateEnum = "PENDING"|"COMPLETED"|"FAILED"|string;
@@ -1228,6 +1330,22 @@ declare namespace WorkSpaces {
1228
1330
  export type DeletableCertificateBasedAuthProperty = "CERTIFICATE_BASED_AUTH_PROPERTIES_CERTIFICATE_AUTHORITY_ARN"|string;
1229
1331
  export type DeletableSamlPropertiesList = DeletableSamlProperty[];
1230
1332
  export type DeletableSamlProperty = "SAML_PROPERTIES_USER_ACCESS_URL"|"SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME"|string;
1333
+ export interface DeleteAccountLinkInvitationRequest {
1334
+ /**
1335
+ * The identifier of the account link.
1336
+ */
1337
+ LinkId: LinkId;
1338
+ /**
1339
+ * A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.
1340
+ */
1341
+ ClientToken?: ClientToken;
1342
+ }
1343
+ export interface DeleteAccountLinkInvitationResult {
1344
+ /**
1345
+ * Information about the account link.
1346
+ */
1347
+ AccountLink?: AccountLink;
1348
+ }
1231
1349
  export interface DeleteClientBrandingRequest {
1232
1350
  /**
1233
1351
  * The directory identifier of the WorkSpace for which you want to delete client branding.
@@ -1347,6 +1465,10 @@ declare namespace WorkSpaces {
1347
1465
  * The IP address range, specified as an IPv4 CIDR block, used for the management network interface. The management network interface is connected to a secure Amazon WorkSpaces management network. It is used for interactive streaming of the WorkSpace desktop to Amazon WorkSpaces clients, and to allow Amazon WorkSpaces to manage the WorkSpace.
1348
1466
  */
1349
1467
  DedicatedTenancyManagementCidrRange?: DedicatedTenancyManagementCidrRange;
1468
+ /**
1469
+ * The type of linked account.
1470
+ */
1471
+ DedicatedTenancyAccountType?: DedicatedTenancyAccountType;
1350
1472
  }
1351
1473
  export interface DescribeApplicationAssociationsRequest {
1352
1474
  /**
@@ -1908,6 +2030,22 @@ declare namespace WorkSpaces {
1908
2030
  */
1909
2031
  ErrorMessage?: Description;
1910
2032
  }
2033
+ export interface GetAccountLinkRequest {
2034
+ /**
2035
+ * The identifier of the account to link.
2036
+ */
2037
+ LinkId?: LinkId;
2038
+ /**
2039
+ * The identifier of the account link
2040
+ */
2041
+ LinkedAccountId?: AwsAccount;
2042
+ }
2043
+ export interface GetAccountLinkResult {
2044
+ /**
2045
+ * The account link of the account link to retrieve.
2046
+ */
2047
+ AccountLink?: AccountLink;
2048
+ }
1911
2049
  export type ImageAssociatedResourceType = "APPLICATION"|string;
1912
2050
  export type ImageAssociatedResourceTypeList = ImageAssociatedResourceType[];
1913
2051
  export interface ImagePermission {
@@ -2120,6 +2258,32 @@ declare namespace WorkSpaces {
2120
2258
  }
2121
2259
  export type IpRuleList = IpRuleItem[];
2122
2260
  export type Limit = number;
2261
+ export type LinkId = string;
2262
+ export type LinkStatusFilterList = AccountLinkStatusEnum[];
2263
+ export interface ListAccountLinksRequest {
2264
+ /**
2265
+ * Filters the account based on their link status.
2266
+ */
2267
+ LinkStatusFilter?: LinkStatusFilterList;
2268
+ /**
2269
+ * The token to use to retrieve the next page of results. This value is null when there are no more results to return.
2270
+ */
2271
+ NextToken?: PaginationToken;
2272
+ /**
2273
+ * The maximum number of accounts to return.
2274
+ */
2275
+ MaxResults?: Limit;
2276
+ }
2277
+ export interface ListAccountLinksResult {
2278
+ /**
2279
+ * Information about the account links.
2280
+ */
2281
+ AccountLinks?: AccountLinkList;
2282
+ /**
2283
+ * The token to use to retrieve the next page of results. This value is null when there are no more results to return.
2284
+ */
2285
+ NextToken?: PaginationToken;
2286
+ }
2123
2287
  export interface ListAvailableManagementCidrRangesRequest {
2124
2288
  /**
2125
2289
  * The IP address range to search. Specify an IP address range that is compatible with your network and in CIDR notation (that is, specify the range as an IPv4 CIDR block).
@@ -2402,6 +2566,22 @@ declare namespace WorkSpaces {
2402
2566
  export interface RegisterWorkspaceDirectoryResult {
2403
2567
  }
2404
2568
  export type RegistrationCode = string;
2569
+ export interface RejectAccountLinkInvitationRequest {
2570
+ /**
2571
+ * The identifier of the account link
2572
+ */
2573
+ LinkId: LinkId;
2574
+ /**
2575
+ * The client token of the account link invitation to reject.
2576
+ */
2577
+ ClientToken?: ClientToken;
2578
+ }
2579
+ export interface RejectAccountLinkInvitationResult {
2580
+ /**
2581
+ * Information about the account link.
2582
+ */
2583
+ AccountLink?: AccountLink;
2584
+ }
2405
2585
  export interface RelatedWorkspaceProperties {
2406
2586
  /**
2407
2587
  * The identifier of the related WorkSpace.
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1601.0',
86
+ VERSION: '2.1603.0',
87
87
 
88
88
  /**
89
89
  * @api private