cdk-lambda-subminute 2.0.293 → 2.0.295

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 (41) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +22 -1
  4. package/node_modules/aws-sdk/README.md +1 -1
  5. package/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +48 -47
  6. package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +11 -8
  7. package/node_modules/aws-sdk/apis/comprehend-2017-11-27.min.json +55 -0
  8. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +4 -0
  9. package/node_modules/aws-sdk/apis/controltower-2018-05-10.min.json +104 -9
  10. package/node_modules/aws-sdk/apis/cur-2017-01-06.min.json +86 -1
  11. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1070 -950
  12. package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +242 -39
  13. package/node_modules/aws-sdk/apis/entitlement.marketplace-2017-01-11.paginators.json +5 -0
  14. package/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +372 -26
  15. package/node_modules/aws-sdk/apis/logs-2014-03-28.paginators.json +18 -0
  16. package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +177 -164
  17. package/node_modules/aws-sdk/apis/omics-2022-11-28.min.json +1 -3
  18. package/node_modules/aws-sdk/apis/sqs-2012-11-05.min.json +13 -13
  19. package/node_modules/aws-sdk/clients/cloudformation.d.ts +15 -10
  20. package/node_modules/aws-sdk/clients/cloudtrail.d.ts +50 -22
  21. package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +422 -2
  22. package/node_modules/aws-sdk/clients/comprehend.d.ts +73 -19
  23. package/node_modules/aws-sdk/clients/connect.d.ts +5 -1
  24. package/node_modules/aws-sdk/clients/controltower.d.ts +94 -22
  25. package/node_modules/aws-sdk/clients/cur.d.ts +104 -10
  26. package/node_modules/aws-sdk/clients/ec2.d.ts +136 -7
  27. package/node_modules/aws-sdk/clients/eks.d.ts +221 -9
  28. package/node_modules/aws-sdk/clients/fms.d.ts +6 -6
  29. package/node_modules/aws-sdk/clients/lambda.d.ts +1 -1
  30. package/node_modules/aws-sdk/clients/marketplaceentitlementservice.d.ts +2 -1
  31. package/node_modules/aws-sdk/clients/mediaconvert.d.ts +26 -12
  32. package/node_modules/aws-sdk/clients/omics.d.ts +5 -4
  33. package/node_modules/aws-sdk/clients/rds.d.ts +11 -11
  34. package/node_modules/aws-sdk/clients/sqs.d.ts +1 -2
  35. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  36. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +15 -15
  37. package/node_modules/aws-sdk/dist/aws-sdk.js +1680 -1048
  38. package/node_modules/aws-sdk/dist/aws-sdk.min.js +91 -91
  39. package/node_modules/aws-sdk/lib/core.js +1 -1
  40. package/node_modules/aws-sdk/package.json +1 -1
  41. package/package.json +3 -4
@@ -52,19 +52,19 @@ declare class Comprehend extends Service {
52
52
  */
53
53
  batchDetectSyntax(callback?: (err: AWSError, data: Comprehend.Types.BatchDetectSyntaxResponse) => void): Request<Comprehend.Types.BatchDetectSyntaxResponse, AWSError>;
54
54
  /**
55
- * Inspects a batch of documents and returns a sentiment analysis for each entity identified in the documents. For more information about targeted sentiment, see Targeted sentiment.
55
+ * Inspects a batch of documents and returns a sentiment analysis for each entity identified in the documents. For more information about targeted sentiment, see Targeted sentiment in the Amazon Comprehend Developer Guide.
56
56
  */
57
57
  batchDetectTargetedSentiment(params: Comprehend.Types.BatchDetectTargetedSentimentRequest, callback?: (err: AWSError, data: Comprehend.Types.BatchDetectTargetedSentimentResponse) => void): Request<Comprehend.Types.BatchDetectTargetedSentimentResponse, AWSError>;
58
58
  /**
59
- * Inspects a batch of documents and returns a sentiment analysis for each entity identified in the documents. For more information about targeted sentiment, see Targeted sentiment.
59
+ * Inspects a batch of documents and returns a sentiment analysis for each entity identified in the documents. For more information about targeted sentiment, see Targeted sentiment in the Amazon Comprehend Developer Guide.
60
60
  */
61
61
  batchDetectTargetedSentiment(callback?: (err: AWSError, data: Comprehend.Types.BatchDetectTargetedSentimentResponse) => void): Request<Comprehend.Types.BatchDetectTargetedSentimentResponse, AWSError>;
62
62
  /**
63
- * Creates a new document classification request to analyze a single document in real-time, using a previously created and trained custom model and an endpoint. You can input plain text or you can upload a single-page input document (text, PDF, Word, or image). If the system detects errors while processing a page in the input document, the API response includes an entry in Errors that describes the errors. If the system detects a document-level error in your input document, the API returns an InvalidRequestException error response. For details about this exception, see Errors in semi-structured documents in the Comprehend Developer Guide.
63
+ * Creates a classification request to analyze a single document in real-time. ClassifyDocument supports the following model types: Custom classifier - a custom model that you have created and trained. For input, you can provide plain text, a single-page document (PDF, Word, or image), or Textract API output. For more information, see Custom classification in the Amazon Comprehend Developer Guide. Prompt classifier - Amazon Comprehend provides a model for classifying prompts. For input, you provide English plain text input. For prompt classification, the response includes only the Classes field. For more information about prompt classifiers, see Prompt classifiers in the Amazon Comprehend Developer Guide. If the system detects errors while processing a page in the input document, the API response includes an entry in Errors that describes the errors. If the system detects a document-level error in your input document, the API returns an InvalidRequestException error response. For details about this exception, see Errors in semi-structured documents in the Comprehend Developer Guide.
64
64
  */
65
65
  classifyDocument(params: Comprehend.Types.ClassifyDocumentRequest, callback?: (err: AWSError, data: Comprehend.Types.ClassifyDocumentResponse) => void): Request<Comprehend.Types.ClassifyDocumentResponse, AWSError>;
66
66
  /**
67
- * Creates a new document classification request to analyze a single document in real-time, using a previously created and trained custom model and an endpoint. You can input plain text or you can upload a single-page input document (text, PDF, Word, or image). If the system detects errors while processing a page in the input document, the API response includes an entry in Errors that describes the errors. If the system detects a document-level error in your input document, the API returns an InvalidRequestException error response. For details about this exception, see Errors in semi-structured documents in the Comprehend Developer Guide.
67
+ * Creates a classification request to analyze a single document in real-time. ClassifyDocument supports the following model types: Custom classifier - a custom model that you have created and trained. For input, you can provide plain text, a single-page document (PDF, Word, or image), or Textract API output. For more information, see Custom classification in the Amazon Comprehend Developer Guide. Prompt classifier - Amazon Comprehend provides a model for classifying prompts. For input, you provide English plain text input. For prompt classification, the response includes only the Classes field. For more information about prompt classifiers, see Prompt classifiers in the Amazon Comprehend Developer Guide. If the system detects errors while processing a page in the input document, the API response includes an entry in Errors that describes the errors. If the system detects a document-level error in your input document, the API returns an InvalidRequestException error response. For details about this exception, see Errors in semi-structured documents in the Comprehend Developer Guide.
68
68
  */
69
69
  classifyDocument(callback?: (err: AWSError, data: Comprehend.Types.ClassifyDocumentResponse) => void): Request<Comprehend.Types.ClassifyDocumentResponse, AWSError>;
70
70
  /**
@@ -332,13 +332,21 @@ declare class Comprehend extends Service {
332
332
  */
333
333
  detectSyntax(callback?: (err: AWSError, data: Comprehend.Types.DetectSyntaxResponse) => void): Request<Comprehend.Types.DetectSyntaxResponse, AWSError>;
334
334
  /**
335
- * Inspects the input text and returns a sentiment analysis for each entity identified in the text. For more information about targeted sentiment, see Targeted sentiment.
335
+ * Inspects the input text and returns a sentiment analysis for each entity identified in the text. For more information about targeted sentiment, see Targeted sentiment in the Amazon Comprehend Developer Guide.
336
336
  */
337
337
  detectTargetedSentiment(params: Comprehend.Types.DetectTargetedSentimentRequest, callback?: (err: AWSError, data: Comprehend.Types.DetectTargetedSentimentResponse) => void): Request<Comprehend.Types.DetectTargetedSentimentResponse, AWSError>;
338
338
  /**
339
- * Inspects the input text and returns a sentiment analysis for each entity identified in the text. For more information about targeted sentiment, see Targeted sentiment.
339
+ * Inspects the input text and returns a sentiment analysis for each entity identified in the text. For more information about targeted sentiment, see Targeted sentiment in the Amazon Comprehend Developer Guide.
340
340
  */
341
341
  detectTargetedSentiment(callback?: (err: AWSError, data: Comprehend.Types.DetectTargetedSentimentResponse) => void): Request<Comprehend.Types.DetectTargetedSentimentResponse, AWSError>;
342
+ /**
343
+ * Performs toxicity analysis on the list of text strings that you provide as input. The analysis uses the order of strings in the list to determine context when predicting toxicity. The API response contains a results list that matches the size of the input list. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide
344
+ */
345
+ detectToxicContent(params: Comprehend.Types.DetectToxicContentRequest, callback?: (err: AWSError, data: Comprehend.Types.DetectToxicContentResponse) => void): Request<Comprehend.Types.DetectToxicContentResponse, AWSError>;
346
+ /**
347
+ * Performs toxicity analysis on the list of text strings that you provide as input. The analysis uses the order of strings in the list to determine context when predicting toxicity. The API response contains a results list that matches the size of the input list. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide
348
+ */
349
+ detectToxicContent(callback?: (err: AWSError, data: Comprehend.Types.DetectToxicContentResponse) => void): Request<Comprehend.Types.DetectToxicContentResponse, AWSError>;
342
350
  /**
343
351
  * Creates a new custom model that replicates a source custom model that you import. The source model can be in your Amazon Web Services account or another one. If the source model is in another Amazon Web Services account, then it must have a resource-based policy that authorizes you to import it. The source model must be in the same Amazon Web Services Region that you're using when you import. You can't import a model that's in a different Region.
344
352
  */
@@ -1045,11 +1053,11 @@ declare namespace Comprehend {
1045
1053
  */
1046
1054
  Text?: CustomerInputString;
1047
1055
  /**
1048
- * The Amazon Resource Number (ARN) of the endpoint. For information about endpoints, see Managing endpoints.
1056
+ * The Amazon Resource Number (ARN) of the endpoint. For prompt classification, Amazon Comprehend provides the endpoint ARN: zzz. For custom classification, you create an endpoint for your custom model. For more information, see Using Amazon Comprehend endpoints.
1049
1057
  */
1050
1058
  EndpointArn: DocumentClassifierEndpointArn;
1051
1059
  /**
1052
- * Use the Bytes parameter to input a text, PDF, Word or image file. You can also use the Bytes parameter to input an Amazon Textract DetectDocumentText or AnalyzeDocument output file. Provide the input document as a sequence of base64-encoded bytes. If your code uses an Amazon Web Services SDK to classify documents, the SDK may encode the document file bytes for you. The maximum length of this field depends on the input document type. For details, see Inputs for real-time custom analysis in the Comprehend Developer Guide. If you use the Bytes parameter, do not use the Text parameter.
1060
+ * Use the Bytes parameter to input a text, PDF, Word or image file. When you classify a document using a custom model, you can also use the Bytes parameter to input an Amazon Textract DetectDocumentText or AnalyzeDocument output file. To classify a document using the prompt classifier, use the Text parameter for input. Provide the input document as a sequence of base64-encoded bytes. If your code uses an Amazon Web Services SDK to classify documents, the SDK may encode the document file bytes for you. The maximum length of this field depends on the input document type. For details, see Inputs for real-time custom analysis in the Comprehend Developer Guide. If you use the Bytes parameter, do not use the Text parameter.
1053
1061
  */
1054
1062
  Bytes?: SemiStructuredDocumentBlob;
1055
1063
  /**
@@ -1059,7 +1067,7 @@ declare namespace Comprehend {
1059
1067
  }
1060
1068
  export interface ClassifyDocumentResponse {
1061
1069
  /**
1062
- * The classes used by the document being analyzed. These are used for multi-class trained models. Individual classes are mutually exclusive and each document is expected to have only a single class assigned to it. For example, an animal can be a dog or a cat, but not both at the same time.
1070
+ * The classes used by the document being analyzed. These are used for multi-class trained models. Individual classes are mutually exclusive and each document is expected to have only a single class assigned to it. For example, an animal can be a dog or a cat, but not both at the same time. For prompt classification, the response includes a single class (UNDESIRED_PROMPT), along with a confidence score. A higher confidence score indicates that the input prompt is undesired in nature.
1063
1071
  */
1064
1072
  Classes?: ListOfClasses;
1065
1073
  /**
@@ -1165,7 +1173,7 @@ declare namespace Comprehend {
1165
1173
  */
1166
1174
  InputDataConfig: DocumentClassifierInputDataConfig;
1167
1175
  /**
1168
- * Specifies the location for the output files from a custom classifier job. This parameter is required for a request that creates a native classifier model.
1176
+ * Specifies the location for the output files from a custom classifier job. This parameter is required for a request that creates a native document model.
1169
1177
  */
1170
1178
  OutputDataConfig?: DocumentClassifierOutputDataConfig;
1171
1179
  /**
@@ -1301,7 +1309,7 @@ declare namespace Comprehend {
1301
1309
  */
1302
1310
  FlywheelName: ComprehendArnName;
1303
1311
  /**
1304
- * To associate an existing model with the flywheel, specify the Amazon Resource Number (ARN) of the model version.
1312
+ * To associate an existing model with the flywheel, specify the Amazon Resource Number (ARN) of the model version. Do not set TaskConfig or ModelType if you specify an ActiveModelArn.
1305
1313
  */
1306
1314
  ActiveModelArn?: ComprehendModelArn;
1307
1315
  /**
@@ -1309,11 +1317,11 @@ declare namespace Comprehend {
1309
1317
  */
1310
1318
  DataAccessRoleArn: IamRoleArn;
1311
1319
  /**
1312
- * Configuration about the custom classifier associated with the flywheel.
1320
+ * Configuration about the model associated with the flywheel. You need to set TaskConfig if you are creating a flywheel for a new model.
1313
1321
  */
1314
1322
  TaskConfig?: TaskConfig;
1315
1323
  /**
1316
- * The model type.
1324
+ * The model type. You need to set ModelType if you are creating a flywheel for a new model.
1317
1325
  */
1318
1326
  ModelType?: ModelType;
1319
1327
  /**
@@ -1901,6 +1909,22 @@ declare namespace Comprehend {
1901
1909
  */
1902
1910
  Entities?: ListOfTargetedSentimentEntities;
1903
1911
  }
1912
+ export interface DetectToxicContentRequest {
1913
+ /**
1914
+ * A list of up to 10 text strings. The maximum size for the list is 10 KB.
1915
+ */
1916
+ TextSegments: ListOfTextSegments;
1917
+ /**
1918
+ * The language of the input text. Currently, English is the only supported language.
1919
+ */
1920
+ LanguageCode: LanguageCode;
1921
+ }
1922
+ export interface DetectToxicContentResponse {
1923
+ /**
1924
+ * Results of the content moderation analysis. Each entry in the results list contains a list of toxic content types identified in the text, along with a confidence score for each content type. The results list also includes a toxicity score for each entry in the results list.
1925
+ */
1926
+ ResultList?: ListOfToxicLabels;
1927
+ }
1904
1928
  export interface DocumentClass {
1905
1929
  /**
1906
1930
  * The name of the class.
@@ -2045,7 +2069,7 @@ declare namespace Comprehend {
2045
2069
  */
2046
2070
  S3Uri?: S3Uri;
2047
2071
  /**
2048
- * This specifies the Amazon S3 location where the test annotations for an entity recognizer are located. The URI must be in the same Amazon Web Services Region as the API endpoint that you are calling.
2072
+ * This specifies the Amazon S3 location that contains the test annotations for the document classifier. The URI must be in the same Amazon Web Services Region as the API endpoint that you are calling.
2049
2073
  */
2050
2074
  TestS3Uri?: S3Uri;
2051
2075
  /**
@@ -2057,11 +2081,11 @@ declare namespace Comprehend {
2057
2081
  */
2058
2082
  AugmentedManifests?: DocumentClassifierAugmentedManifestsList;
2059
2083
  /**
2060
- * The type of input documents for training the model. Provide plain-text documents to create a plain-text model, and provide semi-structured documents to create a native model.
2084
+ * The type of input documents for training the model. Provide plain-text documents to create a plain-text model, and provide semi-structured documents to create a native document model.
2061
2085
  */
2062
2086
  DocumentType?: DocumentClassifierDocumentTypeFormat;
2063
2087
  /**
2064
- * The S3 location of the training documents. This parameter is required in a request to create a native classifier model.
2088
+ * The S3 location of the training documents. This parameter is required in a request to create a native document model.
2065
2089
  */
2066
2090
  Documents?: DocumentClassifierDocuments;
2067
2091
  DocumentReaderConfig?: DocumentReaderConfig;
@@ -2957,7 +2981,7 @@ declare namespace Comprehend {
2957
2981
  */
2958
2982
  DataAccessRoleArn?: IamRoleArn;
2959
2983
  /**
2960
- * Configuration about the custom classifier associated with the flywheel.
2984
+ * Configuration about the model associated with a flywheel.
2961
2985
  */
2962
2986
  TaskConfig?: TaskConfig;
2963
2987
  /**
@@ -3531,6 +3555,9 @@ declare namespace Comprehend {
3531
3555
  export type ListOfRelationships = RelationshipsListItem[];
3532
3556
  export type ListOfSyntaxTokens = SyntaxToken[];
3533
3557
  export type ListOfTargetedSentimentEntities = TargetedSentimentEntity[];
3558
+ export type ListOfTextSegments = TextSegment[];
3559
+ export type ListOfToxicContent = ToxicContent[];
3560
+ export type ListOfToxicLabels = ToxicLabels[];
3534
3561
  export type ListOfWarnings = WarningsListItem[];
3535
3562
  export interface ListPiiEntitiesDetectionJobsRequest {
3536
3563
  /**
@@ -3663,7 +3690,7 @@ declare namespace Comprehend {
3663
3690
  */
3664
3691
  S3Uri: S3Uri;
3665
3692
  /**
3666
- * ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job. The KmsKeyId can be one of the following formats: KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" KMS Key Alias: "alias/ExampleAlias" ARN of a KMS Key Alias: "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"
3693
+ * ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job. Specify the Key Id of a symmetric key, because you cannot use an asymmetric key for uploading data to S3. The KmsKeyId can be one of the following formats: KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" KMS Key Alias: "alias/ExampleAlias" ARN of a KMS Key Alias: "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"
3667
3694
  */
3668
3695
  KmsKeyId?: KmsKeyId;
3669
3696
  }
@@ -4726,7 +4753,7 @@ declare namespace Comprehend {
4726
4753
  */
4727
4754
  LanguageCode: LanguageCode;
4728
4755
  /**
4729
- * Configuration required for a classification model.
4756
+ * Configuration required for a document classification model.
4730
4757
  */
4731
4758
  DocumentClassificationConfig?: DocumentClassificationConfig;
4732
4759
  /**
@@ -4734,6 +4761,12 @@ declare namespace Comprehend {
4734
4761
  */
4735
4762
  EntityRecognitionConfig?: EntityRecognitionConfig;
4736
4763
  }
4764
+ export interface TextSegment {
4765
+ /**
4766
+ * The text content.
4767
+ */
4768
+ Text: CustomerInputString;
4769
+ }
4737
4770
  export type Timestamp = Date;
4738
4771
  export interface TopicsDetectionJobFilter {
4739
4772
  /**
@@ -4808,6 +4841,27 @@ declare namespace Comprehend {
4808
4841
  VpcConfig?: VpcConfig;
4809
4842
  }
4810
4843
  export type TopicsDetectionJobPropertiesList = TopicsDetectionJobProperties[];
4844
+ export interface ToxicContent {
4845
+ /**
4846
+ * The name of the toxic content type.
4847
+ */
4848
+ Name?: ToxicContentType;
4849
+ /**
4850
+ * Model confidence in the detected content type. Value range is zero to one, where one is highest confidence.
4851
+ */
4852
+ Score?: Float;
4853
+ }
4854
+ export type ToxicContentType = "GRAPHIC"|"HARASSMENT_OR_ABUSE"|"HATE_SPEECH"|"INSULT"|"PROFANITY"|"SEXUAL"|"VIOLENCE_OR_THREAT"|string;
4855
+ export interface ToxicLabels {
4856
+ /**
4857
+ * Array of toxic content types identified in the string.
4858
+ */
4859
+ Labels?: ListOfToxicContent;
4860
+ /**
4861
+ * Overall toxicity score for the string.
4862
+ */
4863
+ Toxicity?: Float;
4864
+ }
4811
4865
  export interface UntagResourceRequest {
4812
4866
  /**
4813
4867
  * The Amazon Resource Name (ARN) of the given Amazon Comprehend resource from which you want to remove the tags.
@@ -5759,7 +5759,7 @@ declare namespace Connect {
5759
5759
  SourceType?: SourceType;
5760
5760
  }
5761
5761
  export type IntegrationAssociationSummaryList = IntegrationAssociationSummary[];
5762
- export type IntegrationType = "EVENT"|"VOICE_ID"|"PINPOINT_APP"|"WISDOM_ASSISTANT"|"WISDOM_KNOWLEDGE_BASE"|"CASES_DOMAIN"|"APPLICATION"|string;
5762
+ export type IntegrationType = "EVENT"|"VOICE_ID"|"PINPOINT_APP"|"WISDOM_ASSISTANT"|"WISDOM_KNOWLEDGE_BASE"|"CASES_DOMAIN"|"APPLICATION"|"FILE_SCANNER"|string;
5763
5763
  export interface IntervalDetails {
5764
5764
  /**
5765
5765
  * The timezone applied to requested metrics.
@@ -6215,6 +6215,10 @@ declare namespace Connect {
6215
6215
  * The maximum number of results to return per page.
6216
6216
  */
6217
6217
  MaxResults?: MaxResult100;
6218
+ /**
6219
+ * The Amazon Resource Name (ARN) of the integration.
6220
+ */
6221
+ IntegrationArn?: ARN;
6218
6222
  }
6219
6223
  export interface ListIntegrationAssociationsResponse {
6220
6224
  /**
@@ -20,37 +20,61 @@ declare class ControlTower extends Service {
20
20
  */
21
21
  disableControl(callback?: (err: AWSError, data: ControlTower.Types.DisableControlOutput) => void): Request<ControlTower.Types.DisableControlOutput, AWSError>;
22
22
  /**
23
- * This API call activates a control. It starts an asynchronous operation that creates AWS resources on the specified organizational unit and the accounts it contains. The resources created will vary according to the control that you specify. For usage examples, see the AWS Control Tower User Guide
23
+ * This API call activates a control. It starts an asynchronous operation that creates AWS resources on the specified organizational unit and the accounts it contains. The resources created will vary according to the control that you specify. For usage examples, see the AWS Control Tower User Guide .
24
24
  */
25
25
  enableControl(params: ControlTower.Types.EnableControlInput, callback?: (err: AWSError, data: ControlTower.Types.EnableControlOutput) => void): Request<ControlTower.Types.EnableControlOutput, AWSError>;
26
26
  /**
27
- * This API call activates a control. It starts an asynchronous operation that creates AWS resources on the specified organizational unit and the accounts it contains. The resources created will vary according to the control that you specify. For usage examples, see the AWS Control Tower User Guide
27
+ * This API call activates a control. It starts an asynchronous operation that creates AWS resources on the specified organizational unit and the accounts it contains. The resources created will vary according to the control that you specify. For usage examples, see the AWS Control Tower User Guide .
28
28
  */
29
29
  enableControl(callback?: (err: AWSError, data: ControlTower.Types.EnableControlOutput) => void): Request<ControlTower.Types.EnableControlOutput, AWSError>;
30
30
  /**
31
- * Returns the status of a particular EnableControl or DisableControl operation. Displays a message in case of error. Details for an operation are available for 90 days. For usage examples, see the AWS Control Tower User Guide
31
+ * Returns the status of a particular EnableControl or DisableControl operation. Displays a message in case of error. Details for an operation are available for 90 days. For usage examples, see the AWS Control Tower User Guide .
32
32
  */
33
33
  getControlOperation(params: ControlTower.Types.GetControlOperationInput, callback?: (err: AWSError, data: ControlTower.Types.GetControlOperationOutput) => void): Request<ControlTower.Types.GetControlOperationOutput, AWSError>;
34
34
  /**
35
- * Returns the status of a particular EnableControl or DisableControl operation. Displays a message in case of error. Details for an operation are available for 90 days. For usage examples, see the AWS Control Tower User Guide
35
+ * Returns the status of a particular EnableControl or DisableControl operation. Displays a message in case of error. Details for an operation are available for 90 days. For usage examples, see the AWS Control Tower User Guide .
36
36
  */
37
37
  getControlOperation(callback?: (err: AWSError, data: ControlTower.Types.GetControlOperationOutput) => void): Request<ControlTower.Types.GetControlOperationOutput, AWSError>;
38
38
  /**
39
- * Provides details about the enabled control. For usage examples, see the AWS Control Tower User Guide . Returned values TargetRegions: Shows target AWS Regions where the enabled control is available to be deployed. StatusSummary: Provides a detailed summary of the deployment status. DriftSummary: Provides a detailed summary of the drifted status.
39
+ * Retrieves details about an enabled control. For usage examples, see the AWS Control Tower User Guide .
40
40
  */
41
41
  getEnabledControl(params: ControlTower.Types.GetEnabledControlInput, callback?: (err: AWSError, data: ControlTower.Types.GetEnabledControlOutput) => void): Request<ControlTower.Types.GetEnabledControlOutput, AWSError>;
42
42
  /**
43
- * Provides details about the enabled control. For usage examples, see the AWS Control Tower User Guide . Returned values TargetRegions: Shows target AWS Regions where the enabled control is available to be deployed. StatusSummary: Provides a detailed summary of the deployment status. DriftSummary: Provides a detailed summary of the drifted status.
43
+ * Retrieves details about an enabled control. For usage examples, see the AWS Control Tower User Guide .
44
44
  */
45
45
  getEnabledControl(callback?: (err: AWSError, data: ControlTower.Types.GetEnabledControlOutput) => void): Request<ControlTower.Types.GetEnabledControlOutput, AWSError>;
46
46
  /**
47
- * Lists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it contains. For usage examples, see the AWS Control Tower User Guide
47
+ * Lists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it contains. For usage examples, see the AWS Control Tower User Guide .
48
48
  */
49
49
  listEnabledControls(params: ControlTower.Types.ListEnabledControlsInput, callback?: (err: AWSError, data: ControlTower.Types.ListEnabledControlsOutput) => void): Request<ControlTower.Types.ListEnabledControlsOutput, AWSError>;
50
50
  /**
51
- * Lists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it contains. For usage examples, see the AWS Control Tower User Guide
51
+ * Lists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it contains. For usage examples, see the AWS Control Tower User Guide .
52
52
  */
53
53
  listEnabledControls(callback?: (err: AWSError, data: ControlTower.Types.ListEnabledControlsOutput) => void): Request<ControlTower.Types.ListEnabledControlsOutput, AWSError>;
54
+ /**
55
+ * Returns a list of tags associated with the resource. For usage examples, see the AWS Control Tower User Guide .
56
+ */
57
+ listTagsForResource(params: ControlTower.Types.ListTagsForResourceInput, callback?: (err: AWSError, data: ControlTower.Types.ListTagsForResourceOutput) => void): Request<ControlTower.Types.ListTagsForResourceOutput, AWSError>;
58
+ /**
59
+ * Returns a list of tags associated with the resource. For usage examples, see the AWS Control Tower User Guide .
60
+ */
61
+ listTagsForResource(callback?: (err: AWSError, data: ControlTower.Types.ListTagsForResourceOutput) => void): Request<ControlTower.Types.ListTagsForResourceOutput, AWSError>;
62
+ /**
63
+ * Applies tags to a resource. For usage examples, see the AWS Control Tower User Guide .
64
+ */
65
+ tagResource(params: ControlTower.Types.TagResourceInput, callback?: (err: AWSError, data: ControlTower.Types.TagResourceOutput) => void): Request<ControlTower.Types.TagResourceOutput, AWSError>;
66
+ /**
67
+ * Applies tags to a resource. For usage examples, see the AWS Control Tower User Guide .
68
+ */
69
+ tagResource(callback?: (err: AWSError, data: ControlTower.Types.TagResourceOutput) => void): Request<ControlTower.Types.TagResourceOutput, AWSError>;
70
+ /**
71
+ * Removes tags from a resource. For usage examples, see the AWS Control Tower User Guide .
72
+ */
73
+ untagResource(params: ControlTower.Types.UntagResourceInput, callback?: (err: AWSError, data: ControlTower.Types.UntagResourceOutput) => void): Request<ControlTower.Types.UntagResourceOutput, AWSError>;
74
+ /**
75
+ * Removes tags from a resource. For usage examples, see the AWS Control Tower User Guide .
76
+ */
77
+ untagResource(callback?: (err: AWSError, data: ControlTower.Types.UntagResourceOutput) => void): Request<ControlTower.Types.UntagResourceOutput, AWSError>;
54
78
  }
55
79
  declare namespace ControlTower {
56
80
  export type Arn = string;
@@ -107,12 +131,20 @@ declare namespace ControlTower {
107
131
  * The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny control. For information on how to find the controlIdentifier, see the overview page.
108
132
  */
109
133
  controlIdentifier: ControlIdentifier;
134
+ /**
135
+ * Tags to be applied to the EnabledControl resource.
136
+ */
137
+ tags?: TagMap;
110
138
  /**
111
139
  * The ARN of the organizational unit. For information on how to find the targetIdentifier, see the overview page.
112
140
  */
113
141
  targetIdentifier: TargetIdentifier;
114
142
  }
115
143
  export interface EnableControlOutput {
144
+ /**
145
+ * The ARN of the EnabledControl resource.
146
+ */
147
+ arn?: Arn;
116
148
  /**
117
149
  * The ID of the asynchronous operation, which is used to track status. The operation is available for 90 days.
118
150
  */
@@ -120,45 +152,45 @@ declare namespace ControlTower {
120
152
  }
121
153
  export interface EnabledControlDetails {
122
154
  /**
123
- * The ARN of the enabled control.
155
+ * The ARN of the enabled control.
124
156
  */
125
157
  arn?: Arn;
126
158
  /**
127
- * The control identifier of the enabled control. For information on how to find the controlIdentifier, see the overview page.
159
+ * The control identifier of the enabled control. For information on how to find the controlIdentifier, see the overview page.
128
160
  */
129
161
  controlIdentifier?: ControlIdentifier;
130
162
  /**
131
- * The drift status of the enabled control.
163
+ * The drift status of the enabled control.
132
164
  */
133
165
  driftStatusSummary?: DriftStatusSummary;
134
166
  /**
135
- * The deployment summary of the enabled control.
167
+ * The deployment summary of the enabled control.
136
168
  */
137
169
  statusSummary?: EnablementStatusSummary;
138
170
  /**
139
- * The ARN of the organizational unit. For information on how to find the targetIdentifier, see the overview page.
171
+ * The ARN of the organizational unit. For information on how to find the targetIdentifier, see the overview page.
140
172
  */
141
173
  targetIdentifier?: TargetIdentifier;
142
174
  /**
143
- * Target AWS Regions for the enabled control.
175
+ * Target AWS Regions for the enabled control.
144
176
  */
145
177
  targetRegions?: TargetRegions;
146
178
  }
147
179
  export interface EnabledControlSummary {
148
180
  /**
149
- * The ARN of the enabled control.
181
+ * The ARN of the enabled control.
150
182
  */
151
183
  arn?: Arn;
152
184
  /**
153
- * The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny control. For information on how to find the controlIdentifier, see the overview page.
185
+ * The controlIdentifier of the enabled control.
154
186
  */
155
187
  controlIdentifier?: ControlIdentifier;
156
188
  /**
157
- * The drift status of the enabled control.
189
+ * The drift status of the enabled control.
158
190
  */
159
191
  driftStatusSummary?: DriftStatusSummary;
160
192
  /**
161
- *
193
+ * A short description of the status of the enabled control.
162
194
  */
163
195
  statusSummary?: EnablementStatusSummary;
164
196
  /**
@@ -170,7 +202,7 @@ declare namespace ControlTower {
170
202
  export type EnablementStatus = "SUCCEEDED"|"FAILED"|"UNDER_CHANGE"|string;
171
203
  export interface EnablementStatusSummary {
172
204
  /**
173
- * The last operation identifier for the enabled control.
205
+ * The last operation identifier for the enabled control.
174
206
  */
175
207
  lastOperationIdentifier?: OperationIdentifier;
176
208
  /**
@@ -192,13 +224,13 @@ declare namespace ControlTower {
192
224
  }
193
225
  export interface GetEnabledControlInput {
194
226
  /**
195
- * The ARN of the enabled control.
227
+ * The controlIdentifier of the enabled control.
196
228
  */
197
229
  enabledControlIdentifier: Arn;
198
230
  }
199
231
  export interface GetEnabledControlOutput {
200
232
  /**
201
- * Information about the enabled control.
233
+ * Information about the enabled control.
202
234
  */
203
235
  enabledControlDetails: EnabledControlDetails;
204
236
  }
@@ -226,19 +258,59 @@ declare namespace ControlTower {
226
258
  */
227
259
  nextToken?: String;
228
260
  }
261
+ export interface ListTagsForResourceInput {
262
+ /**
263
+ * The ARN of the resource.
264
+ */
265
+ resourceArn: Arn;
266
+ }
267
+ export interface ListTagsForResourceOutput {
268
+ /**
269
+ * A list of tags, as key:value strings.
270
+ */
271
+ tags: TagMap;
272
+ }
229
273
  export type MaxResults = number;
230
274
  export type OperationIdentifier = string;
231
275
  export interface Region {
232
276
  /**
233
- * The AWS Region name.
277
+ * The AWS Region name.
234
278
  */
235
279
  name?: RegionName;
236
280
  }
237
281
  export type RegionName = string;
238
282
  export type String = string;
239
283
  export type SyntheticTimestamp_date_time = Date;
284
+ export type TagKey = string;
285
+ export type TagKeys = TagKey[];
286
+ export type TagMap = {[key: string]: TagValue};
287
+ export interface TagResourceInput {
288
+ /**
289
+ * The ARN of the resource to be tagged.
290
+ */
291
+ resourceArn: Arn;
292
+ /**
293
+ * Tags to be applied to the resource.
294
+ */
295
+ tags: TagMap;
296
+ }
297
+ export interface TagResourceOutput {
298
+ }
299
+ export type TagValue = string;
240
300
  export type TargetIdentifier = string;
241
301
  export type TargetRegions = Region[];
302
+ export interface UntagResourceInput {
303
+ /**
304
+ * The ARN of the resource.
305
+ */
306
+ resourceArn: Arn;
307
+ /**
308
+ * Tag keys to be removed from the resource.
309
+ */
310
+ tagKeys: TagKeys;
311
+ }
312
+ export interface UntagResourceOutput {
313
+ }
242
314
  /**
243
315
  * 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.
244
316
  */