aws-sdk 2.1501.0 → 2.1503.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.
Files changed (126) hide show
  1. package/CHANGELOG.md +46 -1
  2. package/README.md +1 -3
  3. package/apis/accessanalyzer-2019-11-01.min.json +423 -86
  4. package/apis/accessanalyzer-2019-11-01.paginators.json +12 -0
  5. package/apis/amp-2020-08-01.min.json +320 -3
  6. package/apis/amp-2020-08-01.paginators.json +6 -0
  7. package/apis/amp-2020-08-01.waiters2.json +33 -0
  8. package/apis/bcm-data-exports-2023-11-26.examples.json +5 -0
  9. package/apis/bcm-data-exports-2023-11-26.min.json +470 -0
  10. package/apis/bcm-data-exports-2023-11-26.paginators.json +22 -0
  11. package/apis/cloudtrail-2013-11-01.min.json +67 -24
  12. package/apis/codestar-connections-2019-12-01.min.json +590 -3
  13. package/apis/codestar-connections-2019-12-01.paginators.json +10 -0
  14. package/apis/compute-optimizer-2019-11-01.min.json +243 -39
  15. package/apis/config-2014-11-12.min.json +204 -169
  16. package/apis/controltower-2018-05-10.min.json +249 -13
  17. package/apis/controltower-2018-05-10.paginators.json +6 -0
  18. package/apis/cost-optimization-hub-2022-07-26.examples.json +5 -0
  19. package/apis/cost-optimization-hub-2022-07-26.min.json +757 -0
  20. package/apis/cost-optimization-hub-2022-07-26.paginators.json +22 -0
  21. package/apis/detective-2018-10-26.min.json +294 -0
  22. package/apis/ecs-2014-11-13.min.json +108 -107
  23. package/apis/eks-2017-11-01.min.json +211 -4
  24. package/apis/eks-2017-11-01.paginators.json +12 -0
  25. package/apis/eks-auth-2023-11-26.examples.json +5 -0
  26. package/apis/eks-auth-2023-11-26.min.json +104 -0
  27. package/apis/eks-auth-2023-11-26.paginators.json +4 -0
  28. package/apis/eks-auth-2023-11-26.waiters2.json +5 -0
  29. package/apis/elasticfilesystem-2015-02-01.min.json +5 -1
  30. package/apis/elasticfilesystem-2015-02-01.paginators.json +18 -3
  31. package/apis/elasticloadbalancingv2-2015-12-01.min.json +403 -75
  32. package/apis/elasticloadbalancingv2-2015-12-01.paginators.json +15 -0
  33. package/apis/freetier-2023-09-07.examples.json +5 -0
  34. package/apis/freetier-2023-09-07.min.json +105 -0
  35. package/apis/freetier-2023-09-07.paginators.json +10 -0
  36. package/apis/fsx-2018-03-01.min.json +259 -135
  37. package/apis/guardduty-2017-11-28.min.json +64 -0
  38. package/apis/iotfleetwise-2021-06-17.min.json +159 -33
  39. package/apis/kinesis-2013-12-02.min.json +92 -21
  40. package/apis/lakeformation-2017-03-31.min.json +126 -35
  41. package/apis/logs-2014-03-28.min.json +310 -36
  42. package/apis/logs-2014-03-28.paginators.json +12 -0
  43. package/apis/managedblockchain-2018-09-24.min.json +58 -50
  44. package/apis/metadata.json +22 -0
  45. package/apis/models.lex.v2-2020-08-07.min.json +633 -331
  46. package/apis/models.lex.v2-2020-08-07.paginators.json +5 -0
  47. package/apis/personalize-2018-05-22.min.json +85 -52
  48. package/apis/personalize-events-2018-03-22.min.json +97 -5
  49. package/apis/personalize-runtime-2018-05-22.min.json +68 -11
  50. package/apis/quicksight-2018-04-01.min.json +398 -268
  51. package/apis/redshift-2012-12-01.min.json +14 -2
  52. package/apis/repostspace-2022-05-13.examples.json +5 -0
  53. package/apis/repostspace-2022-05-13.min.json +447 -0
  54. package/apis/repostspace-2022-05-13.paginators.json +10 -0
  55. package/apis/runtime.lex.v2-2020-08-07.min.json +25 -24
  56. package/apis/s3-2006-03-01.examples.json +142 -142
  57. package/apis/s3-2006-03-01.min.json +45 -0
  58. package/apis/s3control-2018-08-20.min.json +1283 -239
  59. package/apis/s3control-2018-08-20.paginators.json +15 -0
  60. package/apis/sagemaker-2017-07-24.min.json +544 -533
  61. package/apis/secretsmanager-2017-10-17.min.json +111 -50
  62. package/apis/secretsmanager-2017-10-17.paginators.json +5 -0
  63. package/apis/securityhub-2018-10-26.examples.json +93 -2
  64. package/apis/securityhub-2018-10-26.min.json +551 -300
  65. package/apis/states-2016-11-23.min.json +85 -0
  66. package/apis/transcribe-2017-10-26.min.json +49 -38
  67. package/apis/workspaces-2015-04-08.min.json +119 -96
  68. package/apis/workspaces-thin-client-2023-08-22.examples.json +5 -0
  69. package/apis/workspaces-thin-client-2023-08-22.min.json +777 -0
  70. package/apis/workspaces-thin-client-2023-08-22.paginators.json +22 -0
  71. package/clients/accessanalyzer.d.ts +374 -5
  72. package/clients/all.d.ts +6 -0
  73. package/clients/all.js +7 -1
  74. package/clients/amp.d.ts +322 -0
  75. package/clients/bcmdataexports.d.ts +589 -0
  76. package/clients/bcmdataexports.js +18 -0
  77. package/clients/cloudtrail.d.ts +76 -2
  78. package/clients/cloudwatchlogs.d.ts +413 -1
  79. package/clients/codestarconnections.d.ts +727 -0
  80. package/clients/computeoptimizer.d.ts +307 -6
  81. package/clients/configservice.d.ts +60 -11
  82. package/clients/controltower.d.ts +258 -20
  83. package/clients/costoptimizationhub.d.ts +1283 -0
  84. package/clients/costoptimizationhub.js +18 -0
  85. package/clients/detective.d.ts +469 -0
  86. package/clients/ecs.d.ts +10 -5
  87. package/clients/efs.d.ts +39 -30
  88. package/clients/eks.d.ts +237 -15
  89. package/clients/eksauth.d.ts +124 -0
  90. package/clients/eksauth.js +19 -0
  91. package/clients/elbv2.d.ts +433 -4
  92. package/clients/freetier.d.ts +149 -0
  93. package/clients/freetier.js +18 -0
  94. package/clients/fsx.d.ts +194 -21
  95. package/clients/guardduty.d.ts +82 -11
  96. package/clients/iotfleetwise.d.ts +198 -13
  97. package/clients/kinesis.d.ts +96 -42
  98. package/clients/lakeformation.d.ts +118 -2
  99. package/clients/lexmodelsv2.d.ts +343 -2
  100. package/clients/lexruntimev2.d.ts +14 -9
  101. package/clients/managedblockchain.d.ts +26 -5
  102. package/clients/personalize.d.ts +65 -20
  103. package/clients/personalizeevents.d.ts +102 -12
  104. package/clients/personalizeruntime.d.ts +72 -2
  105. package/clients/quicksight.d.ts +124 -0
  106. package/clients/redshift.d.ts +16 -0
  107. package/clients/repostspace.d.ts +458 -0
  108. package/clients/repostspace.js +18 -0
  109. package/clients/s3.d.ts +2 -2
  110. package/clients/s3control.d.ts +876 -16
  111. package/clients/sagemaker.d.ts +13 -2
  112. package/clients/secretsmanager.d.ts +94 -5
  113. package/clients/securityhub.d.ts +305 -2
  114. package/clients/stepfunctions.d.ts +153 -8
  115. package/clients/transcribeservice.d.ts +11 -1
  116. package/clients/workspaces.d.ts +43 -1
  117. package/clients/workspacesthinclient.d.ts +895 -0
  118. package/clients/workspacesthinclient.js +18 -0
  119. package/dist/aws-sdk-core-react-native.js +2 -2
  120. package/dist/aws-sdk-react-native.js +280 -51
  121. package/dist/aws-sdk.js +2069 -587
  122. package/dist/aws-sdk.min.js +104 -104
  123. package/lib/config_service_placeholders.d.ts +12 -0
  124. package/lib/core.js +1 -1
  125. package/lib/services/s3.js +1 -1
  126. package/package.json +1 -1
@@ -291,6 +291,14 @@ declare class QuickSight extends Service {
291
291
  * Deletes an existing IAM policy assignment.
292
292
  */
293
293
  deleteIAMPolicyAssignment(callback?: (err: AWSError, data: QuickSight.Types.DeleteIAMPolicyAssignmentResponse) => void): Request<QuickSight.Types.DeleteIAMPolicyAssignmentResponse, AWSError>;
294
+ /**
295
+ * Deletes all access scopes and authorized targets that are associated with a service from the Amazon QuickSight IAM Identity Center application. This operation is only supported for Amazon QuickSight accounts that use IAM Identity Center.
296
+ */
297
+ deleteIdentityPropagationConfig(params: QuickSight.Types.DeleteIdentityPropagationConfigRequest, callback?: (err: AWSError, data: QuickSight.Types.DeleteIdentityPropagationConfigResponse) => void): Request<QuickSight.Types.DeleteIdentityPropagationConfigResponse, AWSError>;
298
+ /**
299
+ * Deletes all access scopes and authorized targets that are associated with a service from the Amazon QuickSight IAM Identity Center application. This operation is only supported for Amazon QuickSight accounts that use IAM Identity Center.
300
+ */
301
+ deleteIdentityPropagationConfig(callback?: (err: AWSError, data: QuickSight.Types.DeleteIdentityPropagationConfigResponse) => void): Request<QuickSight.Types.DeleteIdentityPropagationConfigResponse, AWSError>;
294
302
  /**
295
303
  * Deletes a namespace and the users and groups that are associated with the namespace. This is an asynchronous process. Assets including dashboards, analyses, datasets and data sources are not deleted. To delete these assets, you use the API operations for the relevant asset.
296
304
  */
@@ -867,6 +875,14 @@ declare class QuickSight extends Service {
867
875
  * Lists all of the IAM policy assignments, including the Amazon Resource Names (ARNs), for the IAM policies assigned to the specified user and group, or groups that the user belongs to.
868
876
  */
869
877
  listIAMPolicyAssignmentsForUser(callback?: (err: AWSError, data: QuickSight.Types.ListIAMPolicyAssignmentsForUserResponse) => void): Request<QuickSight.Types.ListIAMPolicyAssignmentsForUserResponse, AWSError>;
878
+ /**
879
+ * Lists all services and authorized targets that the Amazon QuickSight IAM Identity Center application can access. This operation is only supported for Amazon QuickSight accounts that use IAM Identity Center.
880
+ */
881
+ listIdentityPropagationConfigs(params: QuickSight.Types.ListIdentityPropagationConfigsRequest, callback?: (err: AWSError, data: QuickSight.Types.ListIdentityPropagationConfigsResponse) => void): Request<QuickSight.Types.ListIdentityPropagationConfigsResponse, AWSError>;
882
+ /**
883
+ * Lists all services and authorized targets that the Amazon QuickSight IAM Identity Center application can access. This operation is only supported for Amazon QuickSight accounts that use IAM Identity Center.
884
+ */
885
+ listIdentityPropagationConfigs(callback?: (err: AWSError, data: QuickSight.Types.ListIdentityPropagationConfigsResponse) => void): Request<QuickSight.Types.ListIdentityPropagationConfigsResponse, AWSError>;
870
886
  /**
871
887
  * Lists the history of SPICE ingestions for a dataset.
872
888
  */
@@ -1227,6 +1243,14 @@ declare class QuickSight extends Service {
1227
1243
  * Updates an existing IAM policy assignment. This operation updates only the optional parameter or parameters that are specified in the request. This overwrites all of the users included in Identities.
1228
1244
  */
1229
1245
  updateIAMPolicyAssignment(callback?: (err: AWSError, data: QuickSight.Types.UpdateIAMPolicyAssignmentResponse) => void): Request<QuickSight.Types.UpdateIAMPolicyAssignmentResponse, AWSError>;
1246
+ /**
1247
+ * Adds or updates services and authorized targets to configure what the Amazon QuickSight IAM Identity Center application can access. This operation is only supported for Amazon QuickSight accounts using IAM Identity Center
1248
+ */
1249
+ updateIdentityPropagationConfig(params: QuickSight.Types.UpdateIdentityPropagationConfigRequest, callback?: (err: AWSError, data: QuickSight.Types.UpdateIdentityPropagationConfigResponse) => void): Request<QuickSight.Types.UpdateIdentityPropagationConfigResponse, AWSError>;
1250
+ /**
1251
+ * Adds or updates services and authorized targets to configure what the Amazon QuickSight IAM Identity Center application can access. This operation is only supported for Amazon QuickSight accounts using IAM Identity Center
1252
+ */
1253
+ updateIdentityPropagationConfig(callback?: (err: AWSError, data: QuickSight.Types.UpdateIdentityPropagationConfigResponse) => void): Request<QuickSight.Types.UpdateIdentityPropagationConfigResponse, AWSError>;
1230
1254
  /**
1231
1255
  * Updates the content and status of IP rules. To use this operation, you must provide the entire map of rules. You can use the DescribeIpRestriction operation to get the current rule map.
1232
1256
  */
@@ -2411,6 +2435,18 @@ declare namespace QuickSight {
2411
2435
  export type AuthenticationMethodOption = "IAM_AND_QUICKSIGHT"|"IAM_ONLY"|"ACTIVE_DIRECTORY"|"IAM_IDENTITY_CENTER"|string;
2412
2436
  export type AuthorSpecifiedAggregation = "COUNT"|"DISTINCT_COUNT"|"MIN"|"MAX"|"MEDIAN"|"SUM"|"AVERAGE"|"STDEV"|"STDEVP"|"VAR"|"VARP"|"PERCENTILE"|string;
2413
2437
  export type AuthorSpecifiedAggregations = AuthorSpecifiedAggregation[];
2438
+ export interface AuthorizedTargetsByService {
2439
+ /**
2440
+ * The name of the Amazon Web Services service.
2441
+ */
2442
+ Service?: ServiceType;
2443
+ /**
2444
+ * Aist of authorized targets that are represented by IAM Identity Center application ARNs.
2445
+ */
2446
+ AuthorizedTargets?: AuthorizedTargetsList;
2447
+ }
2448
+ export type AuthorizedTargetsByServices = AuthorizedTargetsByService[];
2449
+ export type AuthorizedTargetsList = String[];
2414
2450
  export type AwsAccountId = string;
2415
2451
  export type AwsAndAccountId = string;
2416
2452
  export interface AwsIotAnalyticsParameters {
@@ -6567,6 +6603,26 @@ declare namespace QuickSight {
6567
6603
  */
6568
6604
  Status?: StatusCode;
6569
6605
  }
6606
+ export interface DeleteIdentityPropagationConfigRequest {
6607
+ /**
6608
+ * The ID of the Amazon Web Services account that you want to delete an identity propagation configuration from.
6609
+ */
6610
+ AwsAccountId: AwsAccountId;
6611
+ /**
6612
+ * The name of the Amazon Web Services service that you want to delete the associated access scopes and authorized targets from.
6613
+ */
6614
+ Service: ServiceType;
6615
+ }
6616
+ export interface DeleteIdentityPropagationConfigResponse {
6617
+ /**
6618
+ * The Amazon Web Services request ID for this operation.
6619
+ */
6620
+ RequestId?: String;
6621
+ /**
6622
+ * The HTTP status of the request.
6623
+ */
6624
+ Status?: StatusCode;
6625
+ }
6570
6626
  export interface DeleteNamespaceRequest {
6571
6627
  /**
6572
6628
  * The ID for the Amazon Web Services account that you want to delete the Amazon QuickSight namespace from.
@@ -10468,6 +10524,12 @@ declare namespace QuickSight {
10468
10524
  export type IAMPolicyAssignmentSummaryList = IAMPolicyAssignmentSummary[];
10469
10525
  export type IPv4Address = string;
10470
10526
  export type Icon = "CARET_UP"|"CARET_DOWN"|"PLUS"|"MINUS"|"ARROW_UP"|"ARROW_DOWN"|"ARROW_LEFT"|"ARROW_UP_LEFT"|"ARROW_DOWN_LEFT"|"ARROW_RIGHT"|"ARROW_UP_RIGHT"|"ARROW_DOWN_RIGHT"|"FACE_UP"|"FACE_DOWN"|"FACE_FLAT"|"ONE_BAR"|"TWO_BAR"|"THREE_BAR"|"CIRCLE"|"TRIANGLE"|"SQUARE"|"FLAG"|"THUMBS_UP"|"THUMBS_DOWN"|"CHECKMARK"|"X"|string;
10527
+ export interface IdentityCenterConfiguration {
10528
+ /**
10529
+ * A Boolean option that controls whether Trusted Identity Propagation should be used.
10530
+ */
10531
+ EnableIdentityPropagation?: Boolean;
10532
+ }
10471
10533
  export type IdentityMap = {[key: string]: IdentityNameList};
10472
10534
  export type IdentityName = string;
10473
10535
  export type IdentityNameList = IdentityName[];
@@ -11678,6 +11740,39 @@ declare namespace QuickSight {
11678
11740
  */
11679
11741
  Status?: StatusCode;
11680
11742
  }
11743
+ export interface ListIdentityPropagationConfigsRequest {
11744
+ /**
11745
+ * The ID of the Amazon Web Services account that contain the identity propagation configurations of.
11746
+ */
11747
+ AwsAccountId: AwsAccountId;
11748
+ /**
11749
+ * The maximum number of results to be returned.
11750
+ */
11751
+ MaxResults?: ListIdentityPropagationMaxResults;
11752
+ /**
11753
+ * The token for the next set of results, or null if there are no more results.
11754
+ */
11755
+ NextToken?: String;
11756
+ }
11757
+ export interface ListIdentityPropagationConfigsResponse {
11758
+ /**
11759
+ * A list of services and their authorized targets that the Amazon QuickSight IAM Identity Center application can access.
11760
+ */
11761
+ Services?: AuthorizedTargetsByServices;
11762
+ /**
11763
+ * The token for the next set of results, or null if there are no more results.
11764
+ */
11765
+ NextToken?: String;
11766
+ /**
11767
+ * The HTTP status of the request.
11768
+ */
11769
+ Status?: StatusCode;
11770
+ /**
11771
+ * The Amazon Web Services request ID for this operation.
11772
+ */
11773
+ RequestId?: String;
11774
+ }
11775
+ export type ListIdentityPropagationMaxResults = number;
11681
11776
  export interface ListIngestionsRequest {
11682
11777
  /**
11683
11778
  * The ID of the dataset used in the ingestion.
@@ -14005,6 +14100,10 @@ declare namespace QuickSight {
14005
14100
  * An optional parameter that uses IAM authentication to grant Amazon QuickSight access to your cluster. This parameter can be used instead of DataSourceCredentials.
14006
14101
  */
14007
14102
  IAMParameters?: RedshiftIAMParameters;
14103
+ /**
14104
+ * An optional parameter that configures IAM Identity Center authentication to grant Amazon QuickSight access to your cluster. This parameter can only be specified if your Amazon QuickSight account is configured with IAM Identity Center.
14105
+ */
14106
+ IdentityCenterConfiguration?: IdentityCenterConfiguration;
14008
14107
  }
14009
14108
  export interface ReferenceLine {
14010
14109
  /**
@@ -15186,6 +15285,7 @@ declare namespace QuickSight {
15186
15285
  */
15187
15286
  SiteBaseUrl: SiteBaseUrl;
15188
15287
  }
15288
+ export type ServiceType = "REDSHIFT"|string;
15189
15289
  export type SessionLifetimeInMinutes = number;
15190
15290
  export interface SessionTag {
15191
15291
  /**
@@ -18490,6 +18590,30 @@ declare namespace QuickSight {
18490
18590
  */
18491
18591
  Status?: StatusCode;
18492
18592
  }
18593
+ export interface UpdateIdentityPropagationConfigRequest {
18594
+ /**
18595
+ * The ID of the Amazon Web Services account that contains the identity propagation configuration that you want to update.
18596
+ */
18597
+ AwsAccountId: AwsAccountId;
18598
+ /**
18599
+ * The name of the Amazon Web Services service that contains the authorized targets that you want to add or update.
18600
+ */
18601
+ Service: ServiceType;
18602
+ /**
18603
+ * Specifies a list of application ARNs that represent the authorized targets for a service.
18604
+ */
18605
+ AuthorizedTargets?: AuthorizedTargetsList;
18606
+ }
18607
+ export interface UpdateIdentityPropagationConfigResponse {
18608
+ /**
18609
+ * The Amazon Web Services request ID for this operation.
18610
+ */
18611
+ RequestId?: String;
18612
+ /**
18613
+ * The HTTP status of the request.
18614
+ */
18615
+ Status?: StatusCode;
18616
+ }
18493
18617
  export interface UpdateIpRestrictionRequest {
18494
18618
  /**
18495
18619
  * The ID of the Amazon Web Services account that contains the IP rules.
@@ -1171,6 +1171,10 @@ declare namespace Redshift {
1171
1171
  * From a datashare consumer account, associates a datashare with all existing and future namespaces in the specified Amazon Web Services Region.
1172
1172
  */
1173
1173
  ConsumerRegion?: String;
1174
+ /**
1175
+ * If set to true, allows write operations for a datashare.
1176
+ */
1177
+ AllowWrites?: BooleanOptional;
1174
1178
  }
1175
1179
  export type AssociatedClusterList = ClusterAssociatedToSchedule[];
1176
1180
  export interface Association {
@@ -1240,6 +1244,10 @@ declare namespace Redshift {
1240
1244
  * The identifier of the data consumer that is authorized to access the datashare. This identifier is an Amazon Web Services account ID or a keyword, such as ADX.
1241
1245
  */
1242
1246
  ConsumerIdentifier: String;
1247
+ /**
1248
+ * If set to true, allows write operations for a datashare.
1249
+ */
1250
+ AllowWrites?: BooleanOptional;
1243
1251
  }
1244
1252
  export interface AuthorizeEndpointAccessMessage {
1245
1253
  /**
@@ -2551,6 +2559,14 @@ declare namespace Redshift {
2551
2559
  * The status change data of the datashare that is associated.
2552
2560
  */
2553
2561
  StatusChangeDate?: TStamp;
2562
+ /**
2563
+ * Specifies whether write operations were allowed during data share authorization.
2564
+ */
2565
+ ProducerAllowedWrites?: BooleanOptional;
2566
+ /**
2567
+ * Specifies whether write operations were allowed during data share association.
2568
+ */
2569
+ ConsumerAcceptedWrites?: BooleanOptional;
2554
2570
  }
2555
2571
  export type DataShareAssociationList = DataShareAssociation[];
2556
2572
  export type DataShareList = DataShare[];
@@ -0,0 +1,458 @@
1
+ import {Request} from '../lib/request';
2
+ import {Response} from '../lib/response';
3
+ import {AWSError} from '../lib/error';
4
+ import {Service} from '../lib/service';
5
+ import {ServiceConfigurationOptions} from '../lib/service';
6
+ import {ConfigBase as Config} from '../lib/config-base';
7
+ interface Blob {}
8
+ declare class Repostspace extends Service {
9
+ /**
10
+ * Constructs a service object. This object has one method for each API operation.
11
+ */
12
+ constructor(options?: Repostspace.Types.ClientConfiguration)
13
+ config: Config & Repostspace.Types.ClientConfiguration;
14
+ /**
15
+ * Creates an AWS re:Post Private private re:Post.
16
+ */
17
+ createSpace(params: Repostspace.Types.CreateSpaceInput, callback?: (err: AWSError, data: Repostspace.Types.CreateSpaceOutput) => void): Request<Repostspace.Types.CreateSpaceOutput, AWSError>;
18
+ /**
19
+ * Creates an AWS re:Post Private private re:Post.
20
+ */
21
+ createSpace(callback?: (err: AWSError, data: Repostspace.Types.CreateSpaceOutput) => void): Request<Repostspace.Types.CreateSpaceOutput, AWSError>;
22
+ /**
23
+ * Deletes an AWS re:Post Private private re:Post.
24
+ */
25
+ deleteSpace(params: Repostspace.Types.DeleteSpaceInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
26
+ /**
27
+ * Deletes an AWS re:Post Private private re:Post.
28
+ */
29
+ deleteSpace(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
30
+ /**
31
+ * Removes the user or group from the list of administrators of the private re:Post.
32
+ */
33
+ deregisterAdmin(params: Repostspace.Types.DeregisterAdminInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
34
+ /**
35
+ * Removes the user or group from the list of administrators of the private re:Post.
36
+ */
37
+ deregisterAdmin(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
38
+ /**
39
+ * Displays information about the AWS re:Post Private private re:Post.
40
+ */
41
+ getSpace(params: Repostspace.Types.GetSpaceInput, callback?: (err: AWSError, data: Repostspace.Types.GetSpaceOutput) => void): Request<Repostspace.Types.GetSpaceOutput, AWSError>;
42
+ /**
43
+ * Displays information about the AWS re:Post Private private re:Post.
44
+ */
45
+ getSpace(callback?: (err: AWSError, data: Repostspace.Types.GetSpaceOutput) => void): Request<Repostspace.Types.GetSpaceOutput, AWSError>;
46
+ /**
47
+ * Returns a list of AWS re:Post Private private re:Posts in the account with some information about each private re:Post.
48
+ */
49
+ listSpaces(params: Repostspace.Types.ListSpacesInput, callback?: (err: AWSError, data: Repostspace.Types.ListSpacesOutput) => void): Request<Repostspace.Types.ListSpacesOutput, AWSError>;
50
+ /**
51
+ * Returns a list of AWS re:Post Private private re:Posts in the account with some information about each private re:Post.
52
+ */
53
+ listSpaces(callback?: (err: AWSError, data: Repostspace.Types.ListSpacesOutput) => void): Request<Repostspace.Types.ListSpacesOutput, AWSError>;
54
+ /**
55
+ * Returns the tags that are associated with the AWS re:Post Private resource specified by the resourceArn. The only resource that can be tagged is a private re:Post.
56
+ */
57
+ listTagsForResource(params: Repostspace.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Repostspace.Types.ListTagsForResourceResponse) => void): Request<Repostspace.Types.ListTagsForResourceResponse, AWSError>;
58
+ /**
59
+ * Returns the tags that are associated with the AWS re:Post Private resource specified by the resourceArn. The only resource that can be tagged is a private re:Post.
60
+ */
61
+ listTagsForResource(callback?: (err: AWSError, data: Repostspace.Types.ListTagsForResourceResponse) => void): Request<Repostspace.Types.ListTagsForResourceResponse, AWSError>;
62
+ /**
63
+ * Adds a user or group to the list of administrators of the private re:Post.
64
+ */
65
+ registerAdmin(params: Repostspace.Types.RegisterAdminInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
66
+ /**
67
+ * Adds a user or group to the list of administrators of the private re:Post.
68
+ */
69
+ registerAdmin(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
70
+ /**
71
+ * Sends an invitation email to selected users and groups.
72
+ */
73
+ sendInvites(params: Repostspace.Types.SendInvitesInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
74
+ /**
75
+ * Sends an invitation email to selected users and groups.
76
+ */
77
+ sendInvites(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
78
+ /**
79
+ * Associates tags with an AWS re:Post Private resource. Currently, the only resource that can be tagged is the private re:Post. If you specify a new tag key for the resource, the tag is appended to the list of tags that are associated with the resource. If you specify a tag key that’s already associated with the resource, the new tag value that you specify replaces the previous value for that tag.
80
+ */
81
+ tagResource(params: Repostspace.Types.TagResourceRequest, callback?: (err: AWSError, data: Repostspace.Types.TagResourceResponse) => void): Request<Repostspace.Types.TagResourceResponse, AWSError>;
82
+ /**
83
+ * Associates tags with an AWS re:Post Private resource. Currently, the only resource that can be tagged is the private re:Post. If you specify a new tag key for the resource, the tag is appended to the list of tags that are associated with the resource. If you specify a tag key that’s already associated with the resource, the new tag value that you specify replaces the previous value for that tag.
84
+ */
85
+ tagResource(callback?: (err: AWSError, data: Repostspace.Types.TagResourceResponse) => void): Request<Repostspace.Types.TagResourceResponse, AWSError>;
86
+ /**
87
+ * Removes the association of the tag with the AWS re:Post Private resource.
88
+ */
89
+ untagResource(params: Repostspace.Types.UntagResourceRequest, callback?: (err: AWSError, data: Repostspace.Types.UntagResourceResponse) => void): Request<Repostspace.Types.UntagResourceResponse, AWSError>;
90
+ /**
91
+ * Removes the association of the tag with the AWS re:Post Private resource.
92
+ */
93
+ untagResource(callback?: (err: AWSError, data: Repostspace.Types.UntagResourceResponse) => void): Request<Repostspace.Types.UntagResourceResponse, AWSError>;
94
+ /**
95
+ * Modifies an existing AWS re:Post Private private re:Post.
96
+ */
97
+ updateSpace(params: Repostspace.Types.UpdateSpaceInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
98
+ /**
99
+ * Modifies an existing AWS re:Post Private private re:Post.
100
+ */
101
+ updateSpace(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
102
+ }
103
+ declare namespace Repostspace {
104
+ export type AccessorId = string;
105
+ export type AccessorIdList = AccessorId[];
106
+ export type AdminId = string;
107
+ export type Arn = string;
108
+ export type ClientId = string;
109
+ export type ConfigurationStatus = "CONFIGURED"|"UNCONFIGURED"|string;
110
+ export type ContentSize = number;
111
+ export interface CreateSpaceInput {
112
+ /**
113
+ * A description for the private re:Post. This is used only to help you identify this private re:Post.
114
+ */
115
+ description?: SpaceDescription;
116
+ /**
117
+ * The name for the private re:Post. This must be unique in your account.
118
+ */
119
+ name: SpaceName;
120
+ /**
121
+ * The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS support tickets.
122
+ */
123
+ roleArn?: Arn;
124
+ /**
125
+ * The subdomain that you use to access your AWS re:Post Private private re:Post. All custom subdomains must be approved by AWS before use. In addition to your custom subdomain, all private re:Posts are issued an AWS generated subdomain for immediate use.
126
+ */
127
+ subdomain: SpaceSubdomain;
128
+ /**
129
+ * The list of tags associated with the private re:Post.
130
+ */
131
+ tags?: Tags;
132
+ /**
133
+ * The pricing tier for the private re:Post.
134
+ */
135
+ tier: TierLevel;
136
+ /**
137
+ * The AWS KMS key ARN that’s used for the AWS KMS encryption. If you don't provide a key, your data is encrypted by default with a key that AWS owns and manages for you.
138
+ */
139
+ userKMSKey?: KMSKey;
140
+ }
141
+ export interface CreateSpaceOutput {
142
+ /**
143
+ * The unique ID of the private re:Post.
144
+ */
145
+ spaceId: SpaceId;
146
+ }
147
+ export interface DeleteSpaceInput {
148
+ /**
149
+ * The unique ID of the private re:Post.
150
+ */
151
+ spaceId: SpaceId;
152
+ }
153
+ export interface DeregisterAdminInput {
154
+ /**
155
+ * The ID of the admin to remove.
156
+ */
157
+ adminId: AdminId;
158
+ /**
159
+ * The ID of the private re:Post to remove the admin from.
160
+ */
161
+ spaceId: SpaceId;
162
+ }
163
+ export interface GetSpaceInput {
164
+ /**
165
+ * The ID of the private re:Post.
166
+ */
167
+ spaceId: SpaceId;
168
+ }
169
+ export interface GetSpaceOutput {
170
+ /**
171
+ * The ARN of the private re:Post.
172
+ */
173
+ arn: Arn;
174
+ /**
175
+ * The Identity Center identifier for the Application Instance.
176
+ */
177
+ clientId: ClientId;
178
+ /**
179
+ * The configuration status of the private re:Post.
180
+ */
181
+ configurationStatus: ConfigurationStatus;
182
+ /**
183
+ * The content size of the private re:Post.
184
+ */
185
+ contentSize?: ContentSize;
186
+ /**
187
+ * The date when the private re:Post was created.
188
+ */
189
+ createDateTime: SyntheticTimestamp_date_time;
190
+ /**
191
+ * The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS support tickets.
192
+ */
193
+ customerRoleArn?: Arn;
194
+ /**
195
+ * The date when the private re:Post was deleted.
196
+ */
197
+ deleteDateTime?: SyntheticTimestamp_date_time;
198
+ /**
199
+ * The description of the private re:Post.
200
+ */
201
+ description?: SpaceDescription;
202
+ /**
203
+ * The list of groups that are administrators of the private re:Post.
204
+ */
205
+ groupAdmins?: GroupAdmins;
206
+ /**
207
+ * The name of the private re:Post.
208
+ */
209
+ name: SpaceName;
210
+ /**
211
+ * The AWS generated subdomain of the private re:Post
212
+ */
213
+ randomDomain: Url;
214
+ /**
215
+ * The unique ID of the private re:Post.
216
+ */
217
+ spaceId: SpaceId;
218
+ /**
219
+ * The creation or deletion status of the private re:Post.
220
+ */
221
+ status: ProvisioningStatus;
222
+ /**
223
+ * The storage limit of the private re:Post.
224
+ */
225
+ storageLimit: StorageLimit;
226
+ /**
227
+ * The pricing tier of the private re:Post.
228
+ */
229
+ tier: TierLevel;
230
+ /**
231
+ * The list of users that are administrators of the private re:Post.
232
+ */
233
+ userAdmins?: UserAdmins;
234
+ /**
235
+ * The number of users that have onboarded to the private re:Post.
236
+ */
237
+ userCount?: UserCount;
238
+ /**
239
+ * The custom AWS KMS key ARN that’s used for the AWS KMS encryption.
240
+ */
241
+ userKMSKey?: KMSKey;
242
+ /**
243
+ * The custom subdomain that you use to access your private re:Post. All custom subdomains must be approved by AWS before use.
244
+ */
245
+ vanityDomain: Url;
246
+ /**
247
+ * The approval status of the custom subdomain.
248
+ */
249
+ vanityDomainStatus: VanityDomainStatus;
250
+ }
251
+ export type GroupAdmins = AdminId[];
252
+ export type InviteBody = string;
253
+ export type InviteTitle = string;
254
+ export type KMSKey = string;
255
+ export interface ListSpacesInput {
256
+ /**
257
+ * The maximum number of private re:Posts to include in the results.
258
+ */
259
+ maxResults?: ListSpacesLimit;
260
+ /**
261
+ * The token for the next set of private re:Posts to return. You receive this token from a previous ListSpaces operation.
262
+ */
263
+ nextToken?: String;
264
+ }
265
+ export type ListSpacesLimit = number;
266
+ export interface ListSpacesOutput {
267
+ /**
268
+ * The token that you use when you request the next set of private re:Posts.
269
+ */
270
+ nextToken?: String;
271
+ /**
272
+ * An array of structures that contain some information about the private re:Posts in the account.
273
+ */
274
+ spaces: SpacesList;
275
+ }
276
+ export interface ListTagsForResourceRequest {
277
+ /**
278
+ * The ARN of the resource that the tags are associated with.
279
+ */
280
+ resourceArn: Arn;
281
+ }
282
+ export interface ListTagsForResourceResponse {
283
+ /**
284
+ * The list of tags that are associated with the resource.
285
+ */
286
+ tags?: Tags;
287
+ }
288
+ export type ProvisioningStatus = string;
289
+ export interface RegisterAdminInput {
290
+ /**
291
+ * The ID of the administrator.
292
+ */
293
+ adminId: AdminId;
294
+ /**
295
+ * The ID of the private re:Post.
296
+ */
297
+ spaceId: SpaceId;
298
+ }
299
+ export interface SendInvitesInput {
300
+ /**
301
+ * The array of identifiers for the users and groups.
302
+ */
303
+ accessorIds: AccessorIdList;
304
+ /**
305
+ * The body of the invite.
306
+ */
307
+ body: InviteBody;
308
+ /**
309
+ * The ID of the private re:Post.
310
+ */
311
+ spaceId: SpaceId;
312
+ /**
313
+ * The title of the invite.
314
+ */
315
+ title: InviteTitle;
316
+ }
317
+ export interface SpaceData {
318
+ /**
319
+ * The ARN of the private re:Post.
320
+ */
321
+ arn: Arn;
322
+ /**
323
+ * The configuration status of the private re:Post.
324
+ */
325
+ configurationStatus: ConfigurationStatus;
326
+ /**
327
+ * The content size of the private re:Post.
328
+ */
329
+ contentSize?: ContentSize;
330
+ /**
331
+ * The date when the private re:Post was created.
332
+ */
333
+ createDateTime: SyntheticTimestamp_date_time;
334
+ /**
335
+ * The date when the private re:Post was deleted.
336
+ */
337
+ deleteDateTime?: SyntheticTimestamp_date_time;
338
+ /**
339
+ * The description for the private re:Post. This is used only to help you identify this private re:Post.
340
+ */
341
+ description?: SpaceDescription;
342
+ /**
343
+ * The name for the private re:Post.
344
+ */
345
+ name: SpaceName;
346
+ /**
347
+ * The AWS generated subdomain of the private re:Post.
348
+ */
349
+ randomDomain: Url;
350
+ /**
351
+ * The unique ID of the private re:Post.
352
+ */
353
+ spaceId: SpaceId;
354
+ /**
355
+ * The creation/deletion status of the private re:Post.
356
+ */
357
+ status: ProvisioningStatus;
358
+ /**
359
+ * The storage limit of the private re:Post.
360
+ */
361
+ storageLimit: StorageLimit;
362
+ /**
363
+ * The pricing tier of the private re:Post.
364
+ */
365
+ tier: TierLevel;
366
+ /**
367
+ * The number of onboarded users to the private re:Post.
368
+ */
369
+ userCount?: UserCount;
370
+ /**
371
+ * The custom AWS KMS key ARN that’s used for the AWS KMS encryption.
372
+ */
373
+ userKMSKey?: KMSKey;
374
+ /**
375
+ * This custom subdomain that you use to access your private re:Post. All custom subdomains must be approved by AWS before use.
376
+ */
377
+ vanityDomain: Url;
378
+ /**
379
+ * This approval status of the custom subdomain.
380
+ */
381
+ vanityDomainStatus: VanityDomainStatus;
382
+ }
383
+ export type SpaceDescription = string;
384
+ export type SpaceId = string;
385
+ export type SpaceName = string;
386
+ export type SpaceSubdomain = string;
387
+ export type SpacesList = SpaceData[];
388
+ export type StorageLimit = number;
389
+ export type String = string;
390
+ export type SyntheticTimestamp_date_time = Date;
391
+ export type TagKey = string;
392
+ export type TagKeyList = TagKey[];
393
+ export interface TagResourceRequest {
394
+ /**
395
+ * The ARN of the resource that the tag is associated with.
396
+ */
397
+ resourceArn: Arn;
398
+ /**
399
+ * The list of tag keys and values that must be associated with the resource. You can associate tag keys only, tags (key and values) only, or a combination of tag keys and tags.
400
+ */
401
+ tags: Tags;
402
+ }
403
+ export interface TagResourceResponse {
404
+ }
405
+ export type TagValue = string;
406
+ export type Tags = {[key: string]: TagValue};
407
+ export type TierLevel = "BASIC"|"STANDARD"|string;
408
+ export interface UntagResourceRequest {
409
+ /**
410
+ * The ARN of the resource.
411
+ */
412
+ resourceArn: Arn;
413
+ /**
414
+ * The key values of the tag.
415
+ */
416
+ tagKeys: TagKeyList;
417
+ }
418
+ export interface UntagResourceResponse {
419
+ }
420
+ export interface UpdateSpaceInput {
421
+ /**
422
+ * A description for the private re:Post. This is used only to help you identify this private re:Post.
423
+ */
424
+ description?: SpaceDescription;
425
+ /**
426
+ * The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS support tickets.
427
+ */
428
+ roleArn?: Arn;
429
+ /**
430
+ * The unique ID of this private re:Post.
431
+ */
432
+ spaceId: SpaceId;
433
+ /**
434
+ * The pricing tier of this private re:Post.
435
+ */
436
+ tier?: TierLevel;
437
+ }
438
+ export type Url = string;
439
+ export type UserAdmins = AdminId[];
440
+ export type UserCount = number;
441
+ export type VanityDomainStatus = "PENDING"|"APPROVED"|"UNAPPROVED"|string;
442
+ /**
443
+ * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
444
+ */
445
+ export type apiVersion = "2022-05-13"|"latest"|string;
446
+ export interface ClientApiVersions {
447
+ /**
448
+ * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
449
+ */
450
+ apiVersion?: apiVersion;
451
+ }
452
+ export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
453
+ /**
454
+ * Contains interfaces for use with the Repostspace client.
455
+ */
456
+ export import Types = Repostspace;
457
+ }
458
+ export = Repostspace;