cdk-rds-sql 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +125 -48
- package/.pre-commit-config.yaml +2 -2
- package/README.md +6 -5
- package/cdk.json +1 -2
- package/lib/database.d.ts +16 -6
- package/lib/database.js +17 -2
- package/lib/handler.js +20 -4
- package/lib/provider.js +1 -1
- package/lib/role.custom-resource.d.ts +7 -0
- package/lib/role.custom-resource.js +4 -1
- package/lib/role.d.ts +5 -2
- package/lib/role.js +4 -3
- package/lib/schema.d.ts +2 -1
- package/lib/schema.js +5 -3
- package/lib/sql.d.ts +2 -1
- package/lib/sql.js +5 -3
- package/node_modules/@aws-sdk/abort-controller/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/abort-controller/package.json +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/CHANGELOG.md +24 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.d.ts +3 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -1
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +26 -26
- package/node_modules/@aws-sdk/client-sso/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/client-sso/package.json +23 -23
- package/node_modules/@aws-sdk/client-sts/CHANGELOG.md +24 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +3 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -1
- package/node_modules/@aws-sdk/client-sts/package.json +26 -26
- package/node_modules/@aws-sdk/config-resolver/CHANGELOG.md +11 -0
- package/node_modules/@aws-sdk/config-resolver/dist-cjs/endpointsConfig/resolveEndpointsConfig.js +1 -1
- package/node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js +1 -1
- package/node_modules/@aws-sdk/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-env/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-imds/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/credential-provider-imds/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-process/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/fetch-http-handler/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/fetch-http-handler/package.json +5 -5
- package/node_modules/@aws-sdk/hash-node/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/hash-node/package.json +2 -2
- package/node_modules/@aws-sdk/invalid-dependency/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/invalid-dependency/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-content-length/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/middleware-content-length/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-host-header/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/middleware-host-header/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-retry/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/middleware-retry/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-sdk-sts/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-serde/CHANGELOG.md +11 -0
- package/node_modules/@aws-sdk/middleware-serde/dist-cjs/serializerMiddleware.js +8 -1
- package/node_modules/@aws-sdk/middleware-serde/dist-es/serializerMiddleware.js +15 -5
- package/node_modules/@aws-sdk/middleware-serde/dist-types/serdePlugin.d.ts +5 -2
- package/node_modules/@aws-sdk/middleware-serde/dist-types/serializerMiddleware.d.ts +2 -1
- package/node_modules/@aws-sdk/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +5 -1
- package/node_modules/@aws-sdk/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +2 -1
- package/node_modules/@aws-sdk/middleware-serde/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-signing/CHANGELOG.md +22 -0
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/configurations.js +30 -15
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/middleware.js +3 -1
- package/node_modules/@aws-sdk/middleware-signing/dist-es/configurations.js +21 -10
- package/node_modules/@aws-sdk/middleware-signing/dist-es/middleware.js +13 -11
- package/node_modules/@aws-sdk/middleware-signing/dist-types/configurations.d.ts +5 -5
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/configurations.d.ts +9 -4
- package/node_modules/@aws-sdk/middleware-signing/package.json +7 -6
- package/node_modules/@aws-sdk/middleware-stack/CHANGELOG.md +11 -0
- package/node_modules/@aws-sdk/middleware-stack/dist-cjs/MiddlewareStack.js +13 -3
- package/node_modules/@aws-sdk/middleware-stack/dist-es/MiddlewareStack.js +14 -3
- package/node_modules/@aws-sdk/middleware-stack/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/node-config-provider/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/node-config-provider/package.json +4 -4
- package/node_modules/@aws-sdk/node-http-handler/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/node-http-handler/package.json +5 -5
- package/node_modules/@aws-sdk/property-provider/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/property-provider/package.json +2 -2
- package/node_modules/@aws-sdk/protocol-http/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/protocol-http/package.json +2 -2
- package/node_modules/@aws-sdk/querystring-builder/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/querystring-builder/package.json +2 -2
- package/node_modules/@aws-sdk/querystring-parser/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/querystring-parser/package.json +2 -2
- package/node_modules/@aws-sdk/service-error-classification/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/service-error-classification/package.json +2 -2
- package/node_modules/@aws-sdk/shared-ini-file-loader/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@aws-sdk/signature-v4/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/signature-v4/package.json +4 -4
- package/node_modules/@aws-sdk/smithy-client/CHANGELOG.md +19 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/exceptions.d.ts +2 -2
- package/node_modules/@aws-sdk/smithy-client/dist-types/ts3.4/exceptions.d.ts +4 -1
- package/node_modules/@aws-sdk/smithy-client/package.json +3 -3
- package/node_modules/@aws-sdk/types/CHANGELOG.md +11 -0
- package/node_modules/@aws-sdk/types/dist-types/auth.d.ts +11 -0
- package/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +4 -1
- package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +2 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +4 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +3 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/url-parser/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/url-parser/package.json +3 -3
- package/node_modules/@aws-sdk/util-defaults-mode-browser/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-defaults-mode-node/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@aws-sdk/util-middleware/CHANGELOG.md +11 -0
- package/node_modules/@aws-sdk/util-middleware/dist-types/normalizeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/util-middleware/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
- package/node_modules/aws-sdk/CHANGELOG.md +43 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/backup-gateway-2021-01-01.min.json +59 -8
- package/node_modules/aws-sdk/apis/ce-2017-10-25.min.json +10 -8
- package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +247 -3
- package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/codestar-notifications-2019-10-15.min.json +7 -2
- package/node_modules/aws-sdk/apis/comprehend-2017-11-27.min.json +237 -126
- package/node_modules/aws-sdk/apis/devicefarm-2015-06-23.min.json +166 -132
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1294 -1251
- package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +3 -1
- package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.examples.json +5 -0
- package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.min.json +1961 -0
- package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.paginators.json +82 -0
- package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/lightsail-2016-11-28.min.json +59 -22
- package/node_modules/aws-sdk/apis/location-2020-11-19.min.json +64 -17
- package/node_modules/aws-sdk/apis/mediaconnect-2018-11-14.min.json +21 -0
- package/node_modules/aws-sdk/apis/metadata.json +3 -0
- package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +228 -142
- package/node_modules/aws-sdk/apis/nimble-2020-08-01.waiters2.json +1 -1
- package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +102 -19
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +584 -572
- package/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json +396 -287
- package/node_modules/aws-sdk/clients/all.d.ts +1 -0
- package/node_modules/aws-sdk/clients/all.js +2 -1
- package/node_modules/aws-sdk/clients/apprunner.d.ts +1 -1
- package/node_modules/aws-sdk/clients/backupgateway.d.ts +72 -0
- package/node_modules/aws-sdk/clients/cloudtrail.d.ts +335 -6
- package/node_modules/aws-sdk/clients/codestarnotifications.d.ts +29 -29
- package/node_modules/aws-sdk/clients/comprehend.d.ts +148 -34
- package/node_modules/aws-sdk/clients/costexplorer.d.ts +15 -7
- package/node_modules/aws-sdk/clients/cur.d.ts +1 -1
- package/node_modules/aws-sdk/clients/devicefarm.d.ts +38 -0
- package/node_modules/aws-sdk/clients/ec2.d.ts +154 -105
- package/node_modules/aws-sdk/clients/ecs.d.ts +11 -11
- package/node_modules/aws-sdk/clients/glue.d.ts +8 -0
- package/node_modules/aws-sdk/clients/identitystore.d.ts +8 -8
- package/node_modules/aws-sdk/clients/iotfleetwise.d.ts +2549 -0
- package/node_modules/aws-sdk/clients/iotfleetwise.js +19 -0
- package/node_modules/aws-sdk/clients/kendra.d.ts +36 -36
- package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +85 -0
- package/node_modules/aws-sdk/clients/lightsail.d.ts +66 -3
- package/node_modules/aws-sdk/clients/location.d.ts +54 -4
- package/node_modules/aws-sdk/clients/mediaconnect.d.ts +25 -1
- package/node_modules/aws-sdk/clients/nimble.d.ts +14 -14
- package/node_modules/aws-sdk/clients/rds.d.ts +18 -18
- package/node_modules/aws-sdk/clients/s3control.d.ts +109 -41
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +31 -10
- package/node_modules/aws-sdk/clients/ssm.d.ts +113 -2
- package/node_modules/aws-sdk/clients/wafv2.d.ts +7 -7
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +31 -11
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +107 -37
- package/node_modules/aws-sdk/dist/aws-sdk.js +2448 -1829
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +86 -85
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -0
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/event_listeners.js +1 -0
- package/node_modules/aws-sdk/lib/protocol/rest_json.js +15 -2
- package/node_modules/aws-sdk/package.json +1 -1
- package/node_modules/es-abstract/2015/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2015/ToNumber.js +1 -1
- package/node_modules/es-abstract/2016/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2016/ToNumber.js +1 -1
- package/node_modules/es-abstract/2017/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2017/ToNumber.js +1 -1
- package/node_modules/es-abstract/2018/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2018/ToNumber.js +1 -1
- package/node_modules/es-abstract/2019/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2019/ToNumber.js +1 -1
- package/node_modules/es-abstract/2020/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2020/ToNumber.js +1 -1
- package/node_modules/es-abstract/2021/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2021/ToNumber.js +1 -1
- package/node_modules/es-abstract/2022/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2022/StringToNumber.js +1 -1
- package/node_modules/es-abstract/CHANGELOG.md +6 -0
- package/node_modules/es-abstract/helpers/regexTester.js +2 -6
- package/node_modules/es-abstract/package.json +6 -5
- package/node_modules/is-callable/CHANGELOG.md +13 -0
- package/node_modules/is-callable/README.md +5 -2
- package/node_modules/is-callable/index.js +13 -7
- package/node_modules/is-callable/package.json +1 -1
- package/node_modules/is-callable/test/index.js +26 -9
- package/node_modules/safe-regex-test/.eslintrc +9 -0
- package/node_modules/safe-regex-test/.github/FUNDING.yml +12 -0
- package/node_modules/safe-regex-test/CHANGELOG.md +15 -0
- package/node_modules/safe-regex-test/LICENSE +21 -0
- package/node_modules/safe-regex-test/README.md +42 -0
- package/node_modules/safe-regex-test/index.js +17 -0
- package/node_modules/safe-regex-test/package.json +75 -0
- package/node_modules/safe-regex-test/test/index.js +37 -0
- package/package.json +10 -10
|
@@ -12,11 +12,11 @@ declare class CodeStarNotifications extends Service {
|
|
|
12
12
|
constructor(options?: CodeStarNotifications.Types.ClientConfiguration)
|
|
13
13
|
config: Config & CodeStarNotifications.Types.ClientConfiguration;
|
|
14
14
|
/**
|
|
15
|
-
* Creates a notification rule for a resource. The rule specifies the events you want notifications about and the targets (such as
|
|
15
|
+
* Creates a notification rule for a resource. The rule specifies the events you want notifications about and the targets (such as Chatbot topics or Chatbot clients configured for Slack) where you want to receive them.
|
|
16
16
|
*/
|
|
17
17
|
createNotificationRule(params: CodeStarNotifications.Types.CreateNotificationRuleRequest, callback?: (err: AWSError, data: CodeStarNotifications.Types.CreateNotificationRuleResult) => void): Request<CodeStarNotifications.Types.CreateNotificationRuleResult, AWSError>;
|
|
18
18
|
/**
|
|
19
|
-
* Creates a notification rule for a resource. The rule specifies the events you want notifications about and the targets (such as
|
|
19
|
+
* Creates a notification rule for a resource. The rule specifies the events you want notifications about and the targets (such as Chatbot topics or Chatbot clients configured for Slack) where you want to receive them.
|
|
20
20
|
*/
|
|
21
21
|
createNotificationRule(callback?: (err: AWSError, data: CodeStarNotifications.Types.CreateNotificationRuleResult) => void): Request<CodeStarNotifications.Types.CreateNotificationRuleResult, AWSError>;
|
|
22
22
|
/**
|
|
@@ -52,11 +52,11 @@ declare class CodeStarNotifications extends Service {
|
|
|
52
52
|
*/
|
|
53
53
|
listEventTypes(callback?: (err: AWSError, data: CodeStarNotifications.Types.ListEventTypesResult) => void): Request<CodeStarNotifications.Types.ListEventTypesResult, AWSError>;
|
|
54
54
|
/**
|
|
55
|
-
* Returns a list of the notification rules for an
|
|
55
|
+
* Returns a list of the notification rules for an Amazon Web Services account.
|
|
56
56
|
*/
|
|
57
57
|
listNotificationRules(params: CodeStarNotifications.Types.ListNotificationRulesRequest, callback?: (err: AWSError, data: CodeStarNotifications.Types.ListNotificationRulesResult) => void): Request<CodeStarNotifications.Types.ListNotificationRulesResult, AWSError>;
|
|
58
58
|
/**
|
|
59
|
-
* Returns a list of the notification rules for an
|
|
59
|
+
* Returns a list of the notification rules for an Amazon Web Services account.
|
|
60
60
|
*/
|
|
61
61
|
listNotificationRules(callback?: (err: AWSError, data: CodeStarNotifications.Types.ListNotificationRulesResult) => void): Request<CodeStarNotifications.Types.ListNotificationRulesResult, AWSError>;
|
|
62
62
|
/**
|
|
@@ -68,19 +68,19 @@ declare class CodeStarNotifications extends Service {
|
|
|
68
68
|
*/
|
|
69
69
|
listTagsForResource(callback?: (err: AWSError, data: CodeStarNotifications.Types.ListTagsForResourceResult) => void): Request<CodeStarNotifications.Types.ListTagsForResourceResult, AWSError>;
|
|
70
70
|
/**
|
|
71
|
-
* Returns a list of the notification rule targets for an
|
|
71
|
+
* Returns a list of the notification rule targets for an Amazon Web Services account.
|
|
72
72
|
*/
|
|
73
73
|
listTargets(params: CodeStarNotifications.Types.ListTargetsRequest, callback?: (err: AWSError, data: CodeStarNotifications.Types.ListTargetsResult) => void): Request<CodeStarNotifications.Types.ListTargetsResult, AWSError>;
|
|
74
74
|
/**
|
|
75
|
-
* Returns a list of the notification rule targets for an
|
|
75
|
+
* Returns a list of the notification rule targets for an Amazon Web Services account.
|
|
76
76
|
*/
|
|
77
77
|
listTargets(callback?: (err: AWSError, data: CodeStarNotifications.Types.ListTargetsResult) => void): Request<CodeStarNotifications.Types.ListTargetsResult, AWSError>;
|
|
78
78
|
/**
|
|
79
|
-
* Creates an association between a notification rule and an
|
|
79
|
+
* Creates an association between a notification rule and an Chatbot topic or Chatbot client so that the associated target can receive notifications when the events described in the rule are triggered.
|
|
80
80
|
*/
|
|
81
81
|
subscribe(params: CodeStarNotifications.Types.SubscribeRequest, callback?: (err: AWSError, data: CodeStarNotifications.Types.SubscribeResult) => void): Request<CodeStarNotifications.Types.SubscribeResult, AWSError>;
|
|
82
82
|
/**
|
|
83
|
-
* Creates an association between a notification rule and an
|
|
83
|
+
* Creates an association between a notification rule and an Chatbot topic or Chatbot client so that the associated target can receive notifications when the events described in the rule are triggered.
|
|
84
84
|
*/
|
|
85
85
|
subscribe(callback?: (err: AWSError, data: CodeStarNotifications.Types.SubscribeResult) => void): Request<CodeStarNotifications.Types.SubscribeResult, AWSError>;
|
|
86
86
|
/**
|
|
@@ -92,11 +92,11 @@ declare class CodeStarNotifications extends Service {
|
|
|
92
92
|
*/
|
|
93
93
|
tagResource(callback?: (err: AWSError, data: CodeStarNotifications.Types.TagResourceResult) => void): Request<CodeStarNotifications.Types.TagResourceResult, AWSError>;
|
|
94
94
|
/**
|
|
95
|
-
* Removes an association between a notification rule and an
|
|
95
|
+
* Removes an association between a notification rule and an Chatbot topic so that subscribers to that topic stop receiving notifications when the events described in the rule are triggered.
|
|
96
96
|
*/
|
|
97
97
|
unsubscribe(params: CodeStarNotifications.Types.UnsubscribeRequest, callback?: (err: AWSError, data: CodeStarNotifications.Types.UnsubscribeResult) => void): Request<CodeStarNotifications.Types.UnsubscribeResult, AWSError>;
|
|
98
98
|
/**
|
|
99
|
-
* Removes an association between a notification rule and an
|
|
99
|
+
* Removes an association between a notification rule and an Chatbot topic so that subscribers to that topic stop receiving notifications when the events described in the rule are triggered.
|
|
100
100
|
*/
|
|
101
101
|
unsubscribe(callback?: (err: AWSError, data: CodeStarNotifications.Types.UnsubscribeResult) => void): Request<CodeStarNotifications.Types.UnsubscribeResult, AWSError>;
|
|
102
102
|
/**
|
|
@@ -120,7 +120,7 @@ declare namespace CodeStarNotifications {
|
|
|
120
120
|
export type ClientRequestToken = string;
|
|
121
121
|
export interface CreateNotificationRuleRequest {
|
|
122
122
|
/**
|
|
123
|
-
* The name for the notification rule.
|
|
123
|
+
* The name for the notification rule. Notification rule names must be unique in your Amazon Web Services account.
|
|
124
124
|
*/
|
|
125
125
|
Name: NotificationRuleName;
|
|
126
126
|
/**
|
|
@@ -128,19 +128,19 @@ declare namespace CodeStarNotifications {
|
|
|
128
128
|
*/
|
|
129
129
|
EventTypeIds: EventTypeIds;
|
|
130
130
|
/**
|
|
131
|
-
* The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in
|
|
131
|
+
* The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in CodePipeline, repositories in CodeCommit, and build projects in CodeBuild.
|
|
132
132
|
*/
|
|
133
133
|
Resource: NotificationRuleResource;
|
|
134
134
|
/**
|
|
135
|
-
* A list of Amazon Resource Names (ARNs) of
|
|
135
|
+
* A list of Amazon Resource Names (ARNs) of Amazon Simple Notification Service topics and Chatbot clients to associate with the notification rule.
|
|
136
136
|
*/
|
|
137
137
|
Targets: Targets;
|
|
138
138
|
/**
|
|
139
|
-
* The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in
|
|
139
|
+
* The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
|
|
140
140
|
*/
|
|
141
141
|
DetailType: DetailType;
|
|
142
142
|
/**
|
|
143
|
-
* A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request with the same parameters is received and a token is included, the request returns information about the initial request that used that token. The
|
|
143
|
+
* A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request with the same parameters is received and a token is included, the request returns information about the initial request that used that token. The Amazon Web Services SDKs prepopulate client request tokens. If you are using an Amazon Web Services SDK, an idempotency token is created for you.
|
|
144
144
|
*/
|
|
145
145
|
ClientRequestToken?: ClientRequestToken;
|
|
146
146
|
/**
|
|
@@ -173,11 +173,11 @@ declare namespace CodeStarNotifications {
|
|
|
173
173
|
}
|
|
174
174
|
export interface DeleteTargetRequest {
|
|
175
175
|
/**
|
|
176
|
-
* The Amazon Resource Name (ARN) of the
|
|
176
|
+
* The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client to delete.
|
|
177
177
|
*/
|
|
178
178
|
TargetAddress: TargetAddress;
|
|
179
179
|
/**
|
|
180
|
-
* A Boolean value that can be used to delete all associations with this
|
|
180
|
+
* A Boolean value that can be used to delete all associations with this Chatbot topic. The default value is FALSE. If set to TRUE, all associations between that target and every notification rule in your Amazon Web Services account are deleted.
|
|
181
181
|
*/
|
|
182
182
|
ForceUnsubscribeAll?: ForceUnsubscribeAll;
|
|
183
183
|
}
|
|
@@ -207,11 +207,11 @@ declare namespace CodeStarNotifications {
|
|
|
207
207
|
*/
|
|
208
208
|
Resource?: NotificationRuleResource;
|
|
209
209
|
/**
|
|
210
|
-
* A list of the
|
|
210
|
+
* A list of the Chatbot topics and Chatbot clients associated with the notification rule.
|
|
211
211
|
*/
|
|
212
212
|
Targets?: TargetsBatch;
|
|
213
213
|
/**
|
|
214
|
-
* The level of detail included in the notifications for this resource. BASIC will include only the contents of the event as it would appear in
|
|
214
|
+
* The level of detail included in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
|
|
215
215
|
*/
|
|
216
216
|
DetailType?: DetailType;
|
|
217
217
|
/**
|
|
@@ -242,7 +242,7 @@ declare namespace CodeStarNotifications {
|
|
|
242
242
|
export type EventTypeName = string;
|
|
243
243
|
export interface EventTypeSummary {
|
|
244
244
|
/**
|
|
245
|
-
* The system-generated ID of the event.
|
|
245
|
+
* The system-generated ID of the event. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
|
|
246
246
|
*/
|
|
247
247
|
EventTypeId?: EventTypeId;
|
|
248
248
|
/**
|
|
@@ -303,7 +303,7 @@ declare namespace CodeStarNotifications {
|
|
|
303
303
|
*/
|
|
304
304
|
Name: ListNotificationRulesFilterName;
|
|
305
305
|
/**
|
|
306
|
-
* The value of the attribute you want to use to filter the returned notification rules. For example, if you specify filtering by RESOURCE in Name, you might specify the ARN of a pipeline in
|
|
306
|
+
* The value of the attribute you want to use to filter the returned notification rules. For example, if you specify filtering by RESOURCE in Name, you might specify the ARN of a pipeline in CodePipeline for the value.
|
|
307
307
|
*/
|
|
308
308
|
Value: ListNotificationRulesFilterValue;
|
|
309
309
|
}
|
|
@@ -330,7 +330,7 @@ declare namespace CodeStarNotifications {
|
|
|
330
330
|
*/
|
|
331
331
|
NextToken?: NextToken;
|
|
332
332
|
/**
|
|
333
|
-
* The list of notification rules for the
|
|
333
|
+
* The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.
|
|
334
334
|
*/
|
|
335
335
|
NotificationRules?: NotificationRuleBatch;
|
|
336
336
|
}
|
|
@@ -443,11 +443,11 @@ declare namespace CodeStarNotifications {
|
|
|
443
443
|
export type Tags = {[key: string]: TagValue};
|
|
444
444
|
export interface Target {
|
|
445
445
|
/**
|
|
446
|
-
* The target type. Can be an
|
|
446
|
+
* The target type. Can be an Chatbot topic or Chatbot client. Chatbot topics are specified as SNS. Chatbot clients are specified as AWSChatbotSlack.
|
|
447
447
|
*/
|
|
448
448
|
TargetType?: TargetType;
|
|
449
449
|
/**
|
|
450
|
-
* The Amazon Resource Name (ARN) of the
|
|
450
|
+
* The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.
|
|
451
451
|
*/
|
|
452
452
|
TargetAddress?: TargetAddress;
|
|
453
453
|
}
|
|
@@ -455,11 +455,11 @@ declare namespace CodeStarNotifications {
|
|
|
455
455
|
export type TargetStatus = "PENDING"|"ACTIVE"|"UNREACHABLE"|"INACTIVE"|"DEACTIVATED"|string;
|
|
456
456
|
export interface TargetSummary {
|
|
457
457
|
/**
|
|
458
|
-
* The Amazon Resource Name (ARN) of the
|
|
458
|
+
* The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.
|
|
459
459
|
*/
|
|
460
460
|
TargetAddress?: TargetAddress;
|
|
461
461
|
/**
|
|
462
|
-
* The type of the target (for example, SNS).
|
|
462
|
+
* The type of the target (for example, SNS). Chatbot topics are specified as SNS. Chatbot clients are specified as AWSChatbotSlack.
|
|
463
463
|
*/
|
|
464
464
|
TargetType?: TargetType;
|
|
465
465
|
/**
|
|
@@ -476,7 +476,7 @@ declare namespace CodeStarNotifications {
|
|
|
476
476
|
*/
|
|
477
477
|
Arn: NotificationRuleArn;
|
|
478
478
|
/**
|
|
479
|
-
* The ARN of the
|
|
479
|
+
* The ARN of the Chatbot topic to unsubscribe from the notification rule.
|
|
480
480
|
*/
|
|
481
481
|
TargetAddress: TargetAddress;
|
|
482
482
|
}
|
|
@@ -512,7 +512,7 @@ declare namespace CodeStarNotifications {
|
|
|
512
512
|
*/
|
|
513
513
|
Status?: NotificationRuleStatus;
|
|
514
514
|
/**
|
|
515
|
-
* A list of event types associated with this notification rule.
|
|
515
|
+
* A list of event types associated with this notification rule. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
|
|
516
516
|
*/
|
|
517
517
|
EventTypeIds?: EventTypeIds;
|
|
518
518
|
/**
|
|
@@ -520,7 +520,7 @@ declare namespace CodeStarNotifications {
|
|
|
520
520
|
*/
|
|
521
521
|
Targets?: Targets;
|
|
522
522
|
/**
|
|
523
|
-
* The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in
|
|
523
|
+
* The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
|
|
524
524
|
*/
|
|
525
525
|
DetailType?: DetailType;
|
|
526
526
|
}
|
|
@@ -20,11 +20,11 @@ declare class Comprehend extends Service {
|
|
|
20
20
|
*/
|
|
21
21
|
batchDetectDominantLanguage(callback?: (err: AWSError, data: Comprehend.Types.BatchDetectDominantLanguageResponse) => void): Request<Comprehend.Types.BatchDetectDominantLanguageResponse, AWSError>;
|
|
22
22
|
/**
|
|
23
|
-
* Inspects the text of a batch of documents for named entities and returns information about them. For more information about named entities, see
|
|
23
|
+
* Inspects the text of a batch of documents for named entities and returns information about them. For more information about named entities, see Entities in the Comprehend Developer Guide.
|
|
24
24
|
*/
|
|
25
25
|
batchDetectEntities(params: Comprehend.Types.BatchDetectEntitiesRequest, callback?: (err: AWSError, data: Comprehend.Types.BatchDetectEntitiesResponse) => void): Request<Comprehend.Types.BatchDetectEntitiesResponse, AWSError>;
|
|
26
26
|
/**
|
|
27
|
-
* Inspects the text of a batch of documents for named entities and returns information about them. For more information about named entities, see
|
|
27
|
+
* Inspects the text of a batch of documents for named entities and returns information about them. For more information about named entities, see Entities in the Comprehend Developer Guide.
|
|
28
28
|
*/
|
|
29
29
|
batchDetectEntities(callback?: (err: AWSError, data: Comprehend.Types.BatchDetectEntitiesResponse) => void): Request<Comprehend.Types.BatchDetectEntitiesResponse, AWSError>;
|
|
30
30
|
/**
|
|
@@ -44,13 +44,21 @@ declare class Comprehend extends Service {
|
|
|
44
44
|
*/
|
|
45
45
|
batchDetectSentiment(callback?: (err: AWSError, data: Comprehend.Types.BatchDetectSentimentResponse) => void): Request<Comprehend.Types.BatchDetectSentimentResponse, AWSError>;
|
|
46
46
|
/**
|
|
47
|
-
* Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and returns information about them. For more information, see
|
|
47
|
+
* Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and returns information about them. For more information, see Syntax in the Comprehend Developer Guide.
|
|
48
48
|
*/
|
|
49
49
|
batchDetectSyntax(params: Comprehend.Types.BatchDetectSyntaxRequest, callback?: (err: AWSError, data: Comprehend.Types.BatchDetectSyntaxResponse) => void): Request<Comprehend.Types.BatchDetectSyntaxResponse, AWSError>;
|
|
50
50
|
/**
|
|
51
|
-
* Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and returns information about them. For more information, see
|
|
51
|
+
* Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and returns information about them. For more information, see Syntax in the Comprehend Developer Guide.
|
|
52
52
|
*/
|
|
53
53
|
batchDetectSyntax(callback?: (err: AWSError, data: Comprehend.Types.BatchDetectSyntaxResponse) => void): Request<Comprehend.Types.BatchDetectSyntaxResponse, AWSError>;
|
|
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.
|
|
56
|
+
*/
|
|
57
|
+
batchDetectTargetedSentiment(params: Comprehend.Types.BatchDetectTargetedSentimentRequest, callback?: (err: AWSError, data: Comprehend.Types.BatchDetectTargetedSentimentResponse) => void): Request<Comprehend.Types.BatchDetectTargetedSentimentResponse, AWSError>;
|
|
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.
|
|
60
|
+
*/
|
|
61
|
+
batchDetectTargetedSentiment(callback?: (err: AWSError, data: Comprehend.Types.BatchDetectTargetedSentimentResponse) => void): Request<Comprehend.Types.BatchDetectTargetedSentimentResponse, AWSError>;
|
|
54
62
|
/**
|
|
55
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.
|
|
56
64
|
*/
|
|
@@ -68,11 +76,11 @@ declare class Comprehend extends Service {
|
|
|
68
76
|
*/
|
|
69
77
|
containsPiiEntities(callback?: (err: AWSError, data: Comprehend.Types.ContainsPiiEntitiesResponse) => void): Request<Comprehend.Types.ContainsPiiEntitiesResponse, AWSError>;
|
|
70
78
|
/**
|
|
71
|
-
* Creates a new document classifier that you can use to categorize documents. To create a classifier, you provide a set of training documents that labeled with the categories that you want to use. After the classifier is trained you can use it to categorize a set of labeled documents into the categories. For more information, see
|
|
79
|
+
* Creates a new document classifier that you can use to categorize documents. To create a classifier, you provide a set of training documents that labeled with the categories that you want to use. After the classifier is trained you can use it to categorize a set of labeled documents into the categories. For more information, see Document Classification in the Comprehend Developer Guide.
|
|
72
80
|
*/
|
|
73
81
|
createDocumentClassifier(params: Comprehend.Types.CreateDocumentClassifierRequest, callback?: (err: AWSError, data: Comprehend.Types.CreateDocumentClassifierResponse) => void): Request<Comprehend.Types.CreateDocumentClassifierResponse, AWSError>;
|
|
74
82
|
/**
|
|
75
|
-
* Creates a new document classifier that you can use to categorize documents. To create a classifier, you provide a set of training documents that labeled with the categories that you want to use. After the classifier is trained you can use it to categorize a set of labeled documents into the categories. For more information, see
|
|
83
|
+
* Creates a new document classifier that you can use to categorize documents. To create a classifier, you provide a set of training documents that labeled with the categories that you want to use. After the classifier is trained you can use it to categorize a set of labeled documents into the categories. For more information, see Document Classification in the Comprehend Developer Guide.
|
|
76
84
|
*/
|
|
77
85
|
createDocumentClassifier(callback?: (err: AWSError, data: Comprehend.Types.CreateDocumentClassifierResponse) => void): Request<Comprehend.Types.CreateDocumentClassifierResponse, AWSError>;
|
|
78
86
|
/**
|
|
@@ -236,11 +244,11 @@ declare class Comprehend extends Service {
|
|
|
236
244
|
*/
|
|
237
245
|
detectDominantLanguage(callback?: (err: AWSError, data: Comprehend.Types.DetectDominantLanguageResponse) => void): Request<Comprehend.Types.DetectDominantLanguageResponse, AWSError>;
|
|
238
246
|
/**
|
|
239
|
-
* Inspects text for named entities, and returns information about them. For more information, about named entities, see
|
|
247
|
+
* Inspects text for named entities, and returns information about them. For more information, about named entities, see Entities in the Comprehend Developer Guide.
|
|
240
248
|
*/
|
|
241
249
|
detectEntities(params: Comprehend.Types.DetectEntitiesRequest, callback?: (err: AWSError, data: Comprehend.Types.DetectEntitiesResponse) => void): Request<Comprehend.Types.DetectEntitiesResponse, AWSError>;
|
|
242
250
|
/**
|
|
243
|
-
* Inspects text for named entities, and returns information about them. For more information, about named entities, see
|
|
251
|
+
* Inspects text for named entities, and returns information about them. For more information, about named entities, see Entities in the Comprehend Developer Guide.
|
|
244
252
|
*/
|
|
245
253
|
detectEntities(callback?: (err: AWSError, data: Comprehend.Types.DetectEntitiesResponse) => void): Request<Comprehend.Types.DetectEntitiesResponse, AWSError>;
|
|
246
254
|
/**
|
|
@@ -268,13 +276,21 @@ declare class Comprehend extends Service {
|
|
|
268
276
|
*/
|
|
269
277
|
detectSentiment(callback?: (err: AWSError, data: Comprehend.Types.DetectSentimentResponse) => void): Request<Comprehend.Types.DetectSentimentResponse, AWSError>;
|
|
270
278
|
/**
|
|
271
|
-
* Inspects text for syntax and the part of speech of words in the document. For more information,
|
|
279
|
+
* Inspects text for syntax and the part of speech of words in the document. For more information, see Syntax in the Comprehend Developer Guide.
|
|
272
280
|
*/
|
|
273
281
|
detectSyntax(params: Comprehend.Types.DetectSyntaxRequest, callback?: (err: AWSError, data: Comprehend.Types.DetectSyntaxResponse) => void): Request<Comprehend.Types.DetectSyntaxResponse, AWSError>;
|
|
274
282
|
/**
|
|
275
|
-
* Inspects text for syntax and the part of speech of words in the document. For more information,
|
|
283
|
+
* Inspects text for syntax and the part of speech of words in the document. For more information, see Syntax in the Comprehend Developer Guide.
|
|
276
284
|
*/
|
|
277
285
|
detectSyntax(callback?: (err: AWSError, data: Comprehend.Types.DetectSyntaxResponse) => void): Request<Comprehend.Types.DetectSyntaxResponse, AWSError>;
|
|
286
|
+
/**
|
|
287
|
+
* 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.
|
|
288
|
+
*/
|
|
289
|
+
detectTargetedSentiment(params: Comprehend.Types.DetectTargetedSentimentRequest, callback?: (err: AWSError, data: Comprehend.Types.DetectTargetedSentimentResponse) => void): Request<Comprehend.Types.DetectTargetedSentimentResponse, AWSError>;
|
|
290
|
+
/**
|
|
291
|
+
* 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.
|
|
292
|
+
*/
|
|
293
|
+
detectTargetedSentiment(callback?: (err: AWSError, data: Comprehend.Types.DetectTargetedSentimentResponse) => void): Request<Comprehend.Types.DetectTargetedSentimentResponse, AWSError>;
|
|
278
294
|
/**
|
|
279
295
|
* Creates a new custom model that replicates a source custom model that you import. The source model can be in your AWS account or another one. If the source model is in another AWS account, then it must have a resource-based policy that authorizes you to import it. The source model must be in the same AWS region that you're using when you import. You can't import a model that's in a different region.
|
|
280
296
|
*/
|
|
@@ -623,7 +639,7 @@ declare namespace Comprehend {
|
|
|
623
639
|
}
|
|
624
640
|
export interface BatchDetectDominantLanguageRequest {
|
|
625
641
|
/**
|
|
626
|
-
* A list containing the text of the input documents. The list can contain a maximum of 25 documents. Each document should contain at least 20 characters
|
|
642
|
+
* A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. Each document should contain at least 20 characters. The maximum size of each document is 5 KB.
|
|
627
643
|
*/
|
|
628
644
|
TextList: CustomerInputStringList;
|
|
629
645
|
}
|
|
@@ -649,7 +665,7 @@ declare namespace Comprehend {
|
|
|
649
665
|
}
|
|
650
666
|
export interface BatchDetectEntitiesRequest {
|
|
651
667
|
/**
|
|
652
|
-
* A list containing the text of the input documents. The list can contain a maximum of 25 documents.
|
|
668
|
+
* A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB.
|
|
653
669
|
*/
|
|
654
670
|
TextList: CustomerInputStringList;
|
|
655
671
|
/**
|
|
@@ -679,7 +695,7 @@ declare namespace Comprehend {
|
|
|
679
695
|
}
|
|
680
696
|
export interface BatchDetectKeyPhrasesRequest {
|
|
681
697
|
/**
|
|
682
|
-
* A list containing the text of the input documents. The list can contain a maximum of 25 documents.
|
|
698
|
+
* A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB.
|
|
683
699
|
*/
|
|
684
700
|
TextList: CustomerInputStringList;
|
|
685
701
|
/**
|
|
@@ -713,7 +729,7 @@ declare namespace Comprehend {
|
|
|
713
729
|
}
|
|
714
730
|
export interface BatchDetectSentimentRequest {
|
|
715
731
|
/**
|
|
716
|
-
* A list containing the text of the input documents. The list can contain a maximum of 25 documents.
|
|
732
|
+
* A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB. Amazon Comprehend performs real-time sentiment analysis on the first 500 characters of the input text and ignores any additional text in the input.
|
|
717
733
|
*/
|
|
718
734
|
TextList: CustomerInputStringList;
|
|
719
735
|
/**
|
|
@@ -743,7 +759,7 @@ declare namespace Comprehend {
|
|
|
743
759
|
}
|
|
744
760
|
export interface BatchDetectSyntaxRequest {
|
|
745
761
|
/**
|
|
746
|
-
* A list containing the text of the input documents. The list can contain a maximum of 25 documents.
|
|
762
|
+
* A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size for each document is 5 KB.
|
|
747
763
|
*/
|
|
748
764
|
TextList: CustomerInputStringList;
|
|
749
765
|
/**
|
|
@@ -761,6 +777,36 @@ declare namespace Comprehend {
|
|
|
761
777
|
*/
|
|
762
778
|
ErrorList: BatchItemErrorList;
|
|
763
779
|
}
|
|
780
|
+
export interface BatchDetectTargetedSentimentItemResult {
|
|
781
|
+
/**
|
|
782
|
+
* The zero-based index of this result in the input list.
|
|
783
|
+
*/
|
|
784
|
+
Index?: Integer;
|
|
785
|
+
/**
|
|
786
|
+
* An array of targeted sentiment entities.
|
|
787
|
+
*/
|
|
788
|
+
Entities?: ListOfTargetedSentimentEntities;
|
|
789
|
+
}
|
|
790
|
+
export interface BatchDetectTargetedSentimentRequest {
|
|
791
|
+
/**
|
|
792
|
+
* A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB.
|
|
793
|
+
*/
|
|
794
|
+
TextList: CustomerInputStringList;
|
|
795
|
+
/**
|
|
796
|
+
* The language of the input documents. Currently, English is the only supported language.
|
|
797
|
+
*/
|
|
798
|
+
LanguageCode: LanguageCode;
|
|
799
|
+
}
|
|
800
|
+
export interface BatchDetectTargetedSentimentResponse {
|
|
801
|
+
/**
|
|
802
|
+
* A list of objects containing the results of the operation. The results are sorted in ascending order by the Index field and match the order of the documents in the input list. If all of the documents contain an error, the ResultList is empty.
|
|
803
|
+
*/
|
|
804
|
+
ResultList: ListOfDetectTargetedSentimentResult;
|
|
805
|
+
/**
|
|
806
|
+
* List of errors that the operation can return.
|
|
807
|
+
*/
|
|
808
|
+
ErrorList: BatchItemErrorList;
|
|
809
|
+
}
|
|
764
810
|
export interface BatchItemError {
|
|
765
811
|
/**
|
|
766
812
|
* The zero-based index of the document in the input list.
|
|
@@ -856,7 +902,7 @@ declare namespace Comprehend {
|
|
|
856
902
|
export type ComprehendModelArn = string;
|
|
857
903
|
export interface ContainsPiiEntitiesRequest {
|
|
858
904
|
/**
|
|
859
|
-
*
|
|
905
|
+
* A UTF-8 text string. The maximum string size is 100 KB.
|
|
860
906
|
*/
|
|
861
907
|
Text: String;
|
|
862
908
|
/**
|
|
@@ -1219,7 +1265,7 @@ declare namespace Comprehend {
|
|
|
1219
1265
|
}
|
|
1220
1266
|
export interface DetectDominantLanguageRequest {
|
|
1221
1267
|
/**
|
|
1222
|
-
* A UTF-8 text string.
|
|
1268
|
+
* A UTF-8 text string. The string must contain at least 20 characters. The maximum string size is 100 KB.
|
|
1223
1269
|
*/
|
|
1224
1270
|
Text: CustomerInputString;
|
|
1225
1271
|
}
|
|
@@ -1231,7 +1277,7 @@ declare namespace Comprehend {
|
|
|
1231
1277
|
}
|
|
1232
1278
|
export interface DetectEntitiesRequest {
|
|
1233
1279
|
/**
|
|
1234
|
-
* A UTF-8 text string.
|
|
1280
|
+
* A UTF-8 text string. The maximum string size is 100 KB.
|
|
1235
1281
|
*/
|
|
1236
1282
|
Text: CustomerInputString;
|
|
1237
1283
|
/**
|
|
@@ -1245,13 +1291,13 @@ declare namespace Comprehend {
|
|
|
1245
1291
|
}
|
|
1246
1292
|
export interface DetectEntitiesResponse {
|
|
1247
1293
|
/**
|
|
1248
|
-
* A collection of entities identified in the input text. For each entity, the response provides the entity text, entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the detection. If your request uses a custom entity recognition model, Amazon Comprehend detects the entities that the model is trained to recognize. Otherwise, it detects the default entity types. For a list of default entity types, see
|
|
1294
|
+
* A collection of entities identified in the input text. For each entity, the response provides the entity text, entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the detection. If your request uses a custom entity recognition model, Amazon Comprehend detects the entities that the model is trained to recognize. Otherwise, it detects the default entity types. For a list of default entity types, see Entities in the Comprehend Developer Guide.
|
|
1249
1295
|
*/
|
|
1250
1296
|
Entities?: ListOfEntities;
|
|
1251
1297
|
}
|
|
1252
1298
|
export interface DetectKeyPhrasesRequest {
|
|
1253
1299
|
/**
|
|
1254
|
-
* A UTF-8 text string.
|
|
1300
|
+
* A UTF-8 text string. The string must contain less than 100 KB of UTF-8 encoded characters.
|
|
1255
1301
|
*/
|
|
1256
1302
|
Text: CustomerInputString;
|
|
1257
1303
|
/**
|
|
@@ -1267,7 +1313,7 @@ declare namespace Comprehend {
|
|
|
1267
1313
|
}
|
|
1268
1314
|
export interface DetectPiiEntitiesRequest {
|
|
1269
1315
|
/**
|
|
1270
|
-
* A UTF-8 text string.
|
|
1316
|
+
* A UTF-8 text string. The maximum string size is 100 KB.
|
|
1271
1317
|
*/
|
|
1272
1318
|
Text: String;
|
|
1273
1319
|
/**
|
|
@@ -1283,7 +1329,7 @@ declare namespace Comprehend {
|
|
|
1283
1329
|
}
|
|
1284
1330
|
export interface DetectSentimentRequest {
|
|
1285
1331
|
/**
|
|
1286
|
-
* A UTF-8 text string.
|
|
1332
|
+
* A UTF-8 text string. The maximum string size is 5 KB. Amazon Comprehend performs real-time sentiment analysis on the first 500 characters of the input text and ignores any additional text in the input.
|
|
1287
1333
|
*/
|
|
1288
1334
|
Text: CustomerInputString;
|
|
1289
1335
|
/**
|
|
@@ -1303,7 +1349,7 @@ declare namespace Comprehend {
|
|
|
1303
1349
|
}
|
|
1304
1350
|
export interface DetectSyntaxRequest {
|
|
1305
1351
|
/**
|
|
1306
|
-
* A UTF-8 string.
|
|
1352
|
+
* A UTF-8 string. The maximum string size is 5 KB.
|
|
1307
1353
|
*/
|
|
1308
1354
|
Text: CustomerInputString;
|
|
1309
1355
|
/**
|
|
@@ -1313,10 +1359,26 @@ declare namespace Comprehend {
|
|
|
1313
1359
|
}
|
|
1314
1360
|
export interface DetectSyntaxResponse {
|
|
1315
1361
|
/**
|
|
1316
|
-
* A collection of syntax tokens describing the text. For each token, the response provides the text, the token type, where the text begins and ends, and the level of confidence that Amazon Comprehend has that the token is correct. For a list of token types, see
|
|
1362
|
+
* A collection of syntax tokens describing the text. For each token, the response provides the text, the token type, where the text begins and ends, and the level of confidence that Amazon Comprehend has that the token is correct. For a list of token types, see Syntax in the Comprehend Developer Guide.
|
|
1317
1363
|
*/
|
|
1318
1364
|
SyntaxTokens?: ListOfSyntaxTokens;
|
|
1319
1365
|
}
|
|
1366
|
+
export interface DetectTargetedSentimentRequest {
|
|
1367
|
+
/**
|
|
1368
|
+
* A UTF-8 text string. The maximum string length is 5 KB.
|
|
1369
|
+
*/
|
|
1370
|
+
Text: CustomerInputString;
|
|
1371
|
+
/**
|
|
1372
|
+
* The language of the input documents. Currently, English is the only supported language.
|
|
1373
|
+
*/
|
|
1374
|
+
LanguageCode: LanguageCode;
|
|
1375
|
+
}
|
|
1376
|
+
export interface DetectTargetedSentimentResponse {
|
|
1377
|
+
/**
|
|
1378
|
+
* Targeted sentiment analysis for each of the entities identified in the input text.
|
|
1379
|
+
*/
|
|
1380
|
+
Entities?: ListOfTargetedSentimentEntities;
|
|
1381
|
+
}
|
|
1320
1382
|
export interface DocumentClass {
|
|
1321
1383
|
/**
|
|
1322
1384
|
* The name of the class.
|
|
@@ -1432,7 +1494,7 @@ declare namespace Comprehend {
|
|
|
1432
1494
|
*/
|
|
1433
1495
|
S3Uri?: S3Uri;
|
|
1434
1496
|
/**
|
|
1435
|
-
*
|
|
1497
|
+
* This specifies the Amazon S3 location where the test annotations for an entity recognizer are located. The URI must be in the same AWS Region as the API endpoint that you are calling.
|
|
1436
1498
|
*/
|
|
1437
1499
|
TestS3Uri?: S3Uri;
|
|
1438
1500
|
/**
|
|
@@ -1817,11 +1879,11 @@ declare namespace Comprehend {
|
|
|
1817
1879
|
*/
|
|
1818
1880
|
Text?: String;
|
|
1819
1881
|
/**
|
|
1820
|
-
*
|
|
1882
|
+
* The zero-based offset from the beginning of the source text to the first character in the entity.
|
|
1821
1883
|
*/
|
|
1822
1884
|
BeginOffset?: Integer;
|
|
1823
1885
|
/**
|
|
1824
|
-
*
|
|
1886
|
+
* The zero-based offset from the beginning of the source text to the last character in the entity.
|
|
1825
1887
|
*/
|
|
1826
1888
|
EndOffset?: Integer;
|
|
1827
1889
|
}
|
|
@@ -1841,7 +1903,7 @@ declare namespace Comprehend {
|
|
|
1841
1903
|
*/
|
|
1842
1904
|
S3Uri: S3Uri;
|
|
1843
1905
|
/**
|
|
1844
|
-
*
|
|
1906
|
+
* Specifies the Amazon S3 location where the test annotations for an entity recognizer are located. The URI must be in the same region as the API endpoint that you are calling.
|
|
1845
1907
|
*/
|
|
1846
1908
|
TestS3Uri?: S3Uri;
|
|
1847
1909
|
}
|
|
@@ -2207,11 +2269,11 @@ declare namespace Comprehend {
|
|
|
2207
2269
|
*/
|
|
2208
2270
|
Text?: String;
|
|
2209
2271
|
/**
|
|
2210
|
-
*
|
|
2272
|
+
* The zero-based offset from the beginning of the source text to the first character in the key phrase.
|
|
2211
2273
|
*/
|
|
2212
2274
|
BeginOffset?: Integer;
|
|
2213
2275
|
/**
|
|
2214
|
-
*
|
|
2276
|
+
* The zero-based offset from the beginning of the source text to the last character in the key phrase.
|
|
2215
2277
|
*/
|
|
2216
2278
|
EndOffset?: Integer;
|
|
2217
2279
|
}
|
|
@@ -2524,20 +2586,24 @@ declare namespace Comprehend {
|
|
|
2524
2586
|
NextToken?: String;
|
|
2525
2587
|
}
|
|
2526
2588
|
export type ListOfClasses = DocumentClass[];
|
|
2589
|
+
export type ListOfDescriptiveMentionIndices = Integer[];
|
|
2527
2590
|
export type ListOfDetectDominantLanguageResult = BatchDetectDominantLanguageItemResult[];
|
|
2528
2591
|
export type ListOfDetectEntitiesResult = BatchDetectEntitiesItemResult[];
|
|
2529
2592
|
export type ListOfDetectKeyPhrasesResult = BatchDetectKeyPhrasesItemResult[];
|
|
2530
2593
|
export type ListOfDetectSentimentResult = BatchDetectSentimentItemResult[];
|
|
2531
2594
|
export type ListOfDetectSyntaxResult = BatchDetectSyntaxItemResult[];
|
|
2595
|
+
export type ListOfDetectTargetedSentimentResult = BatchDetectTargetedSentimentItemResult[];
|
|
2532
2596
|
export type ListOfDocumentReadFeatureTypes = DocumentReadFeatureTypes[];
|
|
2533
2597
|
export type ListOfDominantLanguages = DominantLanguage[];
|
|
2534
2598
|
export type ListOfEntities = Entity[];
|
|
2535
2599
|
export type ListOfEntityLabels = EntityLabel[];
|
|
2536
2600
|
export type ListOfKeyPhrases = KeyPhrase[];
|
|
2537
2601
|
export type ListOfLabels = DocumentLabel[];
|
|
2602
|
+
export type ListOfMentions = TargetedSentimentMention[];
|
|
2538
2603
|
export type ListOfPiiEntities = PiiEntity[];
|
|
2539
2604
|
export type ListOfPiiEntityTypes = PiiEntityType[];
|
|
2540
2605
|
export type ListOfSyntaxTokens = SyntaxToken[];
|
|
2606
|
+
export type ListOfTargetedSentimentEntities = TargetedSentimentEntity[];
|
|
2541
2607
|
export interface ListPiiEntitiesDetectionJobsRequest {
|
|
2542
2608
|
/**
|
|
2543
2609
|
* Filters the jobs that are returned. You can filter jobs on their name, status, or the date and time that they were submitted. You can only set one filter at a time.
|
|
@@ -2652,6 +2718,13 @@ declare namespace Comprehend {
|
|
|
2652
2718
|
}
|
|
2653
2719
|
export type MaskCharacter = string;
|
|
2654
2720
|
export type MaxResultsInteger = number;
|
|
2721
|
+
export interface MentionSentiment {
|
|
2722
|
+
/**
|
|
2723
|
+
* The sentiment of the mention.
|
|
2724
|
+
*/
|
|
2725
|
+
Sentiment?: SentimentType;
|
|
2726
|
+
SentimentScore?: SentimentScore;
|
|
2727
|
+
}
|
|
2655
2728
|
export type ModelStatus = "SUBMITTED"|"TRAINING"|"DELETING"|"STOP_REQUESTED"|"STOPPED"|"IN_ERROR"|"TRAINED"|string;
|
|
2656
2729
|
export type NumberOfTopicsInteger = number;
|
|
2657
2730
|
export interface OutputDataConfig {
|
|
@@ -2760,11 +2833,11 @@ declare namespace Comprehend {
|
|
|
2760
2833
|
*/
|
|
2761
2834
|
Type?: PiiEntityType;
|
|
2762
2835
|
/**
|
|
2763
|
-
*
|
|
2836
|
+
* The zero-based offset from the beginning of the source text to the first character in the entity.
|
|
2764
2837
|
*/
|
|
2765
2838
|
BeginOffset?: Integer;
|
|
2766
2839
|
/**
|
|
2767
|
-
*
|
|
2840
|
+
* The zero-based offset from the beginning of the source text to the last character in the entity.
|
|
2768
2841
|
*/
|
|
2769
2842
|
EndOffset?: Integer;
|
|
2770
2843
|
}
|
|
@@ -3286,7 +3359,7 @@ declare namespace Comprehend {
|
|
|
3286
3359
|
*/
|
|
3287
3360
|
JobName?: JobName;
|
|
3288
3361
|
/**
|
|
3289
|
-
* The language of the input documents. Currently, English is the only
|
|
3362
|
+
* The language of the input documents. Currently, English is the only supported language.
|
|
3290
3363
|
*/
|
|
3291
3364
|
LanguageCode: LanguageCode;
|
|
3292
3365
|
/**
|
|
@@ -3519,7 +3592,7 @@ declare namespace Comprehend {
|
|
|
3519
3592
|
*/
|
|
3520
3593
|
EndOffset?: Integer;
|
|
3521
3594
|
/**
|
|
3522
|
-
* Provides the part of speech label and the confidence level that Amazon Comprehend has that the part of speech was correctly identified. For more information, see
|
|
3595
|
+
* Provides the part of speech label and the confidence level that Amazon Comprehend has that the part of speech was correctly identified. For more information, see Syntax in the Comprehend Developer Guide.
|
|
3523
3596
|
*/
|
|
3524
3597
|
PartOfSpeech?: PartOfSpeechTag;
|
|
3525
3598
|
}
|
|
@@ -3614,6 +3687,47 @@ declare namespace Comprehend {
|
|
|
3614
3687
|
VpcConfig?: VpcConfig;
|
|
3615
3688
|
}
|
|
3616
3689
|
export type TargetedSentimentDetectionJobPropertiesList = TargetedSentimentDetectionJobProperties[];
|
|
3690
|
+
export interface TargetedSentimentEntity {
|
|
3691
|
+
/**
|
|
3692
|
+
* One or more index into the Mentions array that provides the best name for the entity group.
|
|
3693
|
+
*/
|
|
3694
|
+
DescriptiveMentionIndex?: ListOfDescriptiveMentionIndices;
|
|
3695
|
+
/**
|
|
3696
|
+
* An array of mentions of the entity in the document. The array represents a co-reference group. See Co-reference group for an example.
|
|
3697
|
+
*/
|
|
3698
|
+
Mentions?: ListOfMentions;
|
|
3699
|
+
}
|
|
3700
|
+
export type TargetedSentimentEntityType = "PERSON"|"LOCATION"|"ORGANIZATION"|"FACILITY"|"BRAND"|"COMMERCIAL_ITEM"|"MOVIE"|"MUSIC"|"BOOK"|"SOFTWARE"|"GAME"|"PERSONAL_TITLE"|"EVENT"|"DATE"|"QUANTITY"|"ATTRIBUTE"|"OTHER"|string;
|
|
3701
|
+
export interface TargetedSentimentMention {
|
|
3702
|
+
/**
|
|
3703
|
+
* Model confidence that the entity is relevant. Value range is zero to one, where one is highest confidence.
|
|
3704
|
+
*/
|
|
3705
|
+
Score?: Float;
|
|
3706
|
+
/**
|
|
3707
|
+
* The confidence that all the entities mentioned in the group relate to the same entity.
|
|
3708
|
+
*/
|
|
3709
|
+
GroupScore?: Float;
|
|
3710
|
+
/**
|
|
3711
|
+
* The text in the document that identifies the entity.
|
|
3712
|
+
*/
|
|
3713
|
+
Text?: String;
|
|
3714
|
+
/**
|
|
3715
|
+
* The type of the entity. Amazon Comprehend supports a variety of entity types.
|
|
3716
|
+
*/
|
|
3717
|
+
Type?: TargetedSentimentEntityType;
|
|
3718
|
+
/**
|
|
3719
|
+
* Contains the sentiment and sentiment score for the mention.
|
|
3720
|
+
*/
|
|
3721
|
+
MentionSentiment?: MentionSentiment;
|
|
3722
|
+
/**
|
|
3723
|
+
* The offset into the document text where the mention begins.
|
|
3724
|
+
*/
|
|
3725
|
+
BeginOffset?: Integer;
|
|
3726
|
+
/**
|
|
3727
|
+
* The offset into the document text where the mention ends.
|
|
3728
|
+
*/
|
|
3729
|
+
EndOffset?: Integer;
|
|
3730
|
+
}
|
|
3617
3731
|
export type Timestamp = Date;
|
|
3618
3732
|
export interface TopicsDetectionJobFilter {
|
|
3619
3733
|
/**
|