cdk-lambda-subminute 2.0.313 → 2.0.315

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 (42) hide show
  1. package/.jsii +27 -14
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/README.md +1 -1
  4. package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.min.json +319 -17
  5. package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.paginators.json +6 -0
  6. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +654 -589
  7. package/node_modules/aws-sdk/apis/marketplace-agreement-2020-03-01.examples.json +5 -0
  8. package/node_modules/aws-sdk/apis/marketplace-agreement-2020-03-01.min.json +397 -0
  9. package/node_modules/aws-sdk/apis/marketplace-agreement-2020-03-01.paginators.json +14 -0
  10. package/node_modules/aws-sdk/apis/marketplace-catalog-2018-09-17.min.json +542 -7
  11. package/node_modules/aws-sdk/apis/marketplace-deployment-2023-01-25.examples.json +5 -0
  12. package/node_modules/aws-sdk/apis/marketplace-deployment-2023-01-25.min.json +178 -0
  13. package/node_modules/aws-sdk/apis/marketplace-deployment-2023-01-25.paginators.json +4 -0
  14. package/node_modules/aws-sdk/apis/metadata.json +8 -0
  15. package/node_modules/aws-sdk/apis/qconnect-2020-10-19.min.json +68 -6
  16. package/node_modules/aws-sdk/apis/rbin-2021-06-15.min.json +12 -6
  17. package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.min.json +436 -74
  18. package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.paginators.json +12 -0
  19. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +1227 -992
  20. package/node_modules/aws-sdk/apis/verifiedpermissions-2021-12-01.min.json +44 -19
  21. package/node_modules/aws-sdk/clients/all.d.ts +2 -0
  22. package/node_modules/aws-sdk/clients/all.js +3 -1
  23. package/node_modules/aws-sdk/clients/arczonalshift.d.ts +330 -30
  24. package/node_modules/aws-sdk/clients/glue.d.ts +83 -2
  25. package/node_modules/aws-sdk/clients/marketplaceagreement.d.ts +602 -0
  26. package/node_modules/aws-sdk/clients/marketplaceagreement.js +18 -0
  27. package/node_modules/aws-sdk/clients/marketplacecatalog.d.ts +883 -2
  28. package/node_modules/aws-sdk/clients/marketplacedeployment.d.ts +172 -0
  29. package/node_modules/aws-sdk/clients/marketplacedeployment.js +18 -0
  30. package/node_modules/aws-sdk/clients/qconnect.d.ts +66 -4
  31. package/node_modules/aws-sdk/clients/rbin.d.ts +24 -0
  32. package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +463 -6
  33. package/node_modules/aws-sdk/clients/sagemaker.d.ts +264 -2
  34. package/node_modules/aws-sdk/clients/verifiedpermissions.d.ts +27 -2
  35. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
  36. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +88 -14
  37. package/node_modules/aws-sdk/dist/aws-sdk.js +553 -10
  38. package/node_modules/aws-sdk/dist/aws-sdk.min.js +40 -40
  39. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +4 -0
  40. package/node_modules/aws-sdk/lib/core.js +1 -1
  41. package/node_modules/aws-sdk/package.json +1 -1
  42. package/package.json +2 -2
@@ -0,0 +1,172 @@
1
+ import {Request} from '../lib/request';
2
+ import {Response} from '../lib/response';
3
+ import {AWSError} from '../lib/error';
4
+ import {Service} from '../lib/service';
5
+ import {ServiceConfigurationOptions} from '../lib/service';
6
+ import {ConfigBase as Config} from '../lib/config-base';
7
+ interface Blob {}
8
+ declare class MarketplaceDeployment extends Service {
9
+ /**
10
+ * Constructs a service object. This object has one method for each API operation.
11
+ */
12
+ constructor(options?: MarketplaceDeployment.Types.ClientConfiguration)
13
+ config: Config & MarketplaceDeployment.Types.ClientConfiguration;
14
+ /**
15
+ * Lists all tags that have been added to a deployment parameter resource.
16
+ */
17
+ listTagsForResource(params: MarketplaceDeployment.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: MarketplaceDeployment.Types.ListTagsForResourceResponse) => void): Request<MarketplaceDeployment.Types.ListTagsForResourceResponse, AWSError>;
18
+ /**
19
+ * Lists all tags that have been added to a deployment parameter resource.
20
+ */
21
+ listTagsForResource(callback?: (err: AWSError, data: MarketplaceDeployment.Types.ListTagsForResourceResponse) => void): Request<MarketplaceDeployment.Types.ListTagsForResourceResponse, AWSError>;
22
+ /**
23
+ * Creates or updates a deployment parameter and is targeted by catalog and agreementId.
24
+ */
25
+ putDeploymentParameter(params: MarketplaceDeployment.Types.PutDeploymentParameterRequest, callback?: (err: AWSError, data: MarketplaceDeployment.Types.PutDeploymentParameterResponse) => void): Request<MarketplaceDeployment.Types.PutDeploymentParameterResponse, AWSError>;
26
+ /**
27
+ * Creates or updates a deployment parameter and is targeted by catalog and agreementId.
28
+ */
29
+ putDeploymentParameter(callback?: (err: AWSError, data: MarketplaceDeployment.Types.PutDeploymentParameterResponse) => void): Request<MarketplaceDeployment.Types.PutDeploymentParameterResponse, AWSError>;
30
+ /**
31
+ * Tags a resource.
32
+ */
33
+ tagResource(params: MarketplaceDeployment.Types.TagResourceRequest, callback?: (err: AWSError, data: MarketplaceDeployment.Types.TagResourceResponse) => void): Request<MarketplaceDeployment.Types.TagResourceResponse, AWSError>;
34
+ /**
35
+ * Tags a resource.
36
+ */
37
+ tagResource(callback?: (err: AWSError, data: MarketplaceDeployment.Types.TagResourceResponse) => void): Request<MarketplaceDeployment.Types.TagResourceResponse, AWSError>;
38
+ /**
39
+ * Removes a tag or list of tags from a resource.
40
+ */
41
+ untagResource(params: MarketplaceDeployment.Types.UntagResourceRequest, callback?: (err: AWSError, data: MarketplaceDeployment.Types.UntagResourceResponse) => void): Request<MarketplaceDeployment.Types.UntagResourceResponse, AWSError>;
42
+ /**
43
+ * Removes a tag or list of tags from a resource.
44
+ */
45
+ untagResource(callback?: (err: AWSError, data: MarketplaceDeployment.Types.UntagResourceResponse) => void): Request<MarketplaceDeployment.Types.UntagResourceResponse, AWSError>;
46
+ }
47
+ declare namespace MarketplaceDeployment {
48
+ export type Catalog = string;
49
+ export type ClientToken = string;
50
+ export interface DeploymentParameterInput {
51
+ /**
52
+ * The desired name of the deployment parameter. This is the identifier on which deployment parameters are keyed for a given buyer and product. If this name matches an existing deployment parameter, this request will update the existing resource.
53
+ */
54
+ name: DeploymentParameterName;
55
+ /**
56
+ * The text to encrypt and store in the secret.
57
+ */
58
+ secretString: SecretString;
59
+ }
60
+ export type DeploymentParameterName = string;
61
+ export type DeploymentParameterResourceIdentifier = string;
62
+ export interface ListTagsForResourceRequest {
63
+ /**
64
+ * The Amazon Resource Name (ARN) associated with the deployment parameter resource you want to list tags on.
65
+ */
66
+ resourceArn: String;
67
+ }
68
+ export interface ListTagsForResourceResponse {
69
+ /**
70
+ * A map of key-value pairs, where each pair represents a tag present on the resource.
71
+ */
72
+ tags?: Tags;
73
+ }
74
+ export interface PutDeploymentParameterRequest {
75
+ /**
76
+ * The unique identifier of the agreement.
77
+ */
78
+ agreementId: ResourceId;
79
+ /**
80
+ * The catalog related to the request. Fixed value: AWS Marketplace
81
+ */
82
+ catalog: Catalog;
83
+ /**
84
+ * The idempotency token for deployment parameters. A unique identifier for the new version.
85
+ */
86
+ clientToken?: ClientToken;
87
+ /**
88
+ * The deployment parameter targeted to the acceptor of an agreement for which to create the AWS Secret Manager resource.
89
+ */
90
+ deploymentParameter: DeploymentParameterInput;
91
+ /**
92
+ * The date when deployment parameters expire and are scheduled for deletion.
93
+ */
94
+ expirationDate?: SyntheticTimestamp_date_time;
95
+ /**
96
+ * The product for which AWS Marketplace will save secrets for the buyer’s account.
97
+ */
98
+ productId: ResourceId;
99
+ /**
100
+ * A map of key-value pairs, where each pair represents a tag saved to the resource. Tags will only be applied for create operations, and they'll be ignored if the resource already exists.
101
+ */
102
+ tags?: TagsMap;
103
+ }
104
+ export interface PutDeploymentParameterResponse {
105
+ /**
106
+ * The unique identifier of the agreement.
107
+ */
108
+ agreementId: ResourceId;
109
+ /**
110
+ * The unique identifier of the deployment parameter.
111
+ */
112
+ deploymentParameterId: DeploymentParameterResourceIdentifier;
113
+ /**
114
+ * The Amazon Resource Name (ARN) associated with the deployment parameter resource you want to create or update.
115
+ */
116
+ resourceArn: ResourceArn;
117
+ /**
118
+ * A map of key-value pairs, where each pair represents a tag saved to the resource. Tags will only be applied for create operations, and they'll be ignored if the resource already exists.
119
+ */
120
+ tags?: TagsMap;
121
+ }
122
+ export type ResourceArn = string;
123
+ export type ResourceId = string;
124
+ export type SecretString = string;
125
+ export type String = string;
126
+ export type StringList = String[];
127
+ export type SyntheticTimestamp_date_time = Date;
128
+ export type TagKey = string;
129
+ export interface TagResourceRequest {
130
+ /**
131
+ * The Amazon Resource Name (ARN) associated with the resource you want to tag.
132
+ */
133
+ resourceArn: String;
134
+ /**
135
+ * A map of key-value pairs, where each pair represents a tag present on the resource.
136
+ */
137
+ tags?: Tags;
138
+ }
139
+ export interface TagResourceResponse {
140
+ }
141
+ export type TagValue = string;
142
+ export type Tags = {[key: string]: String};
143
+ export type TagsMap = {[key: string]: TagValue};
144
+ export interface UntagResourceRequest {
145
+ /**
146
+ * The Amazon Resource Name (ARN) associated with the resource you want to remove the tag from.
147
+ */
148
+ resourceArn: String;
149
+ /**
150
+ * A list of key names of tags to be removed.
151
+ */
152
+ tagKeys: StringList;
153
+ }
154
+ export interface UntagResourceResponse {
155
+ }
156
+ /**
157
+ * 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.
158
+ */
159
+ export type apiVersion = "2023-01-25"|"latest"|string;
160
+ export interface ClientApiVersions {
161
+ /**
162
+ * 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.
163
+ */
164
+ apiVersion?: apiVersion;
165
+ }
166
+ export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
167
+ /**
168
+ * Contains interfaces for use with the MarketplaceDeployment client.
169
+ */
170
+ export import Types = MarketplaceDeployment;
171
+ }
172
+ export = MarketplaceDeployment;
@@ -0,0 +1,18 @@
1
+ require('../lib/node_loader');
2
+ var AWS = require('../lib/core');
3
+ var Service = AWS.Service;
4
+ var apiLoader = AWS.apiLoader;
5
+
6
+ apiLoader.services['marketplacedeployment'] = {};
7
+ AWS.MarketplaceDeployment = Service.defineService('marketplacedeployment', ['2023-01-25']);
8
+ Object.defineProperty(apiLoader.services['marketplacedeployment'], '2023-01-25', {
9
+ get: function get() {
10
+ var model = require('../apis/marketplace-deployment-2023-01-25.min.json');
11
+ model.paginators = require('../apis/marketplace-deployment-2023-01-25.paginators.json').pagination;
12
+ return model;
13
+ },
14
+ enumerable: true,
15
+ configurable: true
16
+ });
17
+
18
+ module.exports = AWS.MarketplaceDeployment;
@@ -44,11 +44,11 @@ declare class QConnect extends Service {
44
44
  */
45
45
  createKnowledgeBase(callback?: (err: AWSError, data: QConnect.Types.CreateKnowledgeBaseResponse) => void): Request<QConnect.Types.CreateKnowledgeBaseResponse, AWSError>;
46
46
  /**
47
- * Creates a Amazon Q quick response.
47
+ * Creates an Amazon Q quick response.
48
48
  */
49
49
  createQuickResponse(params: QConnect.Types.CreateQuickResponseRequest, callback?: (err: AWSError, data: QConnect.Types.CreateQuickResponseResponse) => void): Request<QConnect.Types.CreateQuickResponseResponse, AWSError>;
50
50
  /**
51
- * Creates a Amazon Q quick response.
51
+ * Creates an Amazon Q quick response.
52
52
  */
53
53
  createQuickResponse(callback?: (err: AWSError, data: QConnect.Types.CreateQuickResponseResponse) => void): Request<QConnect.Types.CreateQuickResponseResponse, AWSError>;
54
54
  /**
@@ -243,6 +243,14 @@ declare class QConnect extends Service {
243
243
  * Removes the specified recommendations from the specified assistant's queue of newly available recommendations. You can use this API in conjunction with GetRecommendations and a waitTimeSeconds input for long-polling behavior and avoiding duplicate recommendations.
244
244
  */
245
245
  notifyRecommendationsReceived(callback?: (err: AWSError, data: QConnect.Types.NotifyRecommendationsReceivedResponse) => void): Request<QConnect.Types.NotifyRecommendationsReceivedResponse, AWSError>;
246
+ /**
247
+ * Provides feedback against the specified assistant for the specified target. This API only supports generative targets.
248
+ */
249
+ putFeedback(params: QConnect.Types.PutFeedbackRequest, callback?: (err: AWSError, data: QConnect.Types.PutFeedbackResponse) => void): Request<QConnect.Types.PutFeedbackResponse, AWSError>;
250
+ /**
251
+ * Provides feedback against the specified assistant for the specified target. This API only supports generative targets.
252
+ */
253
+ putFeedback(callback?: (err: AWSError, data: QConnect.Types.PutFeedbackResponse) => void): Request<QConnect.Types.PutFeedbackResponse, AWSError>;
246
254
  /**
247
255
  * Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations.
248
256
  */
@@ -268,11 +276,11 @@ declare class QConnect extends Service {
268
276
  */
269
277
  searchContent(callback?: (err: AWSError, data: QConnect.Types.SearchContentResponse) => void): Request<QConnect.Types.SearchContentResponse, AWSError>;
270
278
  /**
271
- * Searches existing Amazon Q quick responses in a Amazon Q knowledge base.
279
+ * Searches existing Amazon Q quick responses in an Amazon Q knowledge base.
272
280
  */
273
281
  searchQuickResponses(params: QConnect.Types.SearchQuickResponsesRequest, callback?: (err: AWSError, data: QConnect.Types.SearchQuickResponsesResponse) => void): Request<QConnect.Types.SearchQuickResponsesResponse, AWSError>;
274
282
  /**
275
- * Searches existing Amazon Q quick responses in a Amazon Q knowledge base.
283
+ * Searches existing Amazon Q quick responses in an Amazon Q knowledge base.
276
284
  */
277
285
  searchQuickResponses(callback?: (err: AWSError, data: QConnect.Types.SearchQuickResponsesResponse) => void): Request<QConnect.Types.SearchQuickResponsesResponse, AWSError>;
278
286
  /**
@@ -614,6 +622,12 @@ declare namespace QConnect {
614
622
  */
615
623
  textData: TextData;
616
624
  }
625
+ export interface ContentFeedbackData {
626
+ /**
627
+ * Information about the feedback for a generative target type.
628
+ */
629
+ generativeContentFeedbackData?: GenerativeContentFeedbackData;
630
+ }
617
631
  export type ContentMetadata = {[key: string]: NonEmptyString};
618
632
  export interface ContentReference {
619
633
  /**
@@ -1056,6 +1070,12 @@ declare namespace QConnect {
1056
1070
  export type FilterField = "NAME"|string;
1057
1071
  export type FilterList = Filter[];
1058
1072
  export type FilterOperator = "EQUALS"|string;
1073
+ export interface GenerativeContentFeedbackData {
1074
+ /**
1075
+ * The relevance of the feedback.
1076
+ */
1077
+ relevance: Relevance;
1078
+ }
1059
1079
  export interface GenerativeDataDetails {
1060
1080
  /**
1061
1081
  * The LLM response.
@@ -1645,6 +1665,46 @@ declare namespace QConnect {
1645
1665
  export type ObjectFieldsList = NonEmptyString[];
1646
1666
  export type Order = "ASC"|"DESC"|string;
1647
1667
  export type Priority = "HIGH"|"MEDIUM"|"LOW"|string;
1668
+ export interface PutFeedbackRequest {
1669
+ /**
1670
+ * The identifier of the Amazon Q assistant.
1671
+ */
1672
+ assistantId: UuidOrArn;
1673
+ /**
1674
+ * Information about the feedback provided.
1675
+ */
1676
+ contentFeedback: ContentFeedbackData;
1677
+ /**
1678
+ * The identifier of the feedback target.
1679
+ */
1680
+ targetId: Uuid;
1681
+ /**
1682
+ * The type of the feedback target.
1683
+ */
1684
+ targetType: TargetType;
1685
+ }
1686
+ export interface PutFeedbackResponse {
1687
+ /**
1688
+ * The Amazon Resource Name (ARN) of the Amazon Q assistant.
1689
+ */
1690
+ assistantArn: UuidOrArn;
1691
+ /**
1692
+ * The identifier of the Amazon Q assistant.
1693
+ */
1694
+ assistantId: Uuid;
1695
+ /**
1696
+ * Information about the feedback provided.
1697
+ */
1698
+ contentFeedback: ContentFeedbackData;
1699
+ /**
1700
+ * The identifier of the feedback target.
1701
+ */
1702
+ targetId: Uuid;
1703
+ /**
1704
+ * The type of the feedback target.
1705
+ */
1706
+ targetType: TargetType;
1707
+ }
1648
1708
  export interface QueryAssistantRequest {
1649
1709
  /**
1650
1710
  * The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
@@ -2093,6 +2153,7 @@ declare namespace QConnect {
2093
2153
  export type RecommendationTriggerList = RecommendationTrigger[];
2094
2154
  export type RecommendationTriggerType = "QUERY"|"GENERATIVE"|string;
2095
2155
  export type RecommendationType = "KNOWLEDGE_CONTENT"|"GENERATIVE_RESPONSE"|"GENERATIVE_ANSWER"|string;
2156
+ export type Relevance = "HELPFUL"|"NOT_HELPFUL"|string;
2096
2157
  export type RelevanceLevel = "HIGH"|"MEDIUM"|"LOW"|string;
2097
2158
  export type RelevanceScore = number;
2098
2159
  export interface RemoveKnowledgeBaseTemplateUriRequest {
@@ -2390,6 +2451,7 @@ declare namespace QConnect {
2390
2451
  }
2391
2452
  export type TagValue = string;
2392
2453
  export type Tags = {[key: string]: TagValue};
2454
+ export type TargetType = "RECOMMENDATION"|"RESULT"|string;
2393
2455
  export interface TextData {
2394
2456
  excerpt?: DocumentText;
2395
2457
  title?: DocumentText;
@@ -153,6 +153,10 @@ declare namespace Rbin {
153
153
  * The lock state for the retention rule. locked - The retention rule is locked and can't be modified or deleted. pending_unlock - The retention rule has been unlocked but it is still within the unlock delay period. The retention rule can be modified or deleted only after the unlock delay period has expired. unlocked - The retention rule is unlocked and it can be modified or deleted by any user with the required permissions. null - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the locked and unlocked states only; it can never transition back to null.
154
154
  */
155
155
  LockState?: LockState;
156
+ /**
157
+ * The Amazon Resource Name (ARN) of the retention rule.
158
+ */
159
+ RuleArn?: RuleArn;
156
160
  }
157
161
  export interface DeleteRuleRequest {
158
162
  /**
@@ -206,6 +210,10 @@ declare namespace Rbin {
206
210
  * The date and time at which the unlock delay is set to expire. Only returned for retention rules that have been unlocked and that are still within the unlock delay period.
207
211
  */
208
212
  LockEndTime?: TimeStamp;
213
+ /**
214
+ * The Amazon Resource Name (ARN) of the retention rule.
215
+ */
216
+ RuleArn?: RuleArn;
209
217
  }
210
218
  export interface ListRulesRequest {
211
219
  /**
@@ -297,6 +305,10 @@ declare namespace Rbin {
297
305
  * The lock state for the retention rule. locked - The retention rule is locked and can't be modified or deleted. pending_unlock - The retention rule has been unlocked but it is still within the unlock delay period. The retention rule can be modified or deleted only after the unlock delay period has expired. unlocked - The retention rule is unlocked and it can be modified or deleted by any user with the required permissions. null - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the locked and unlocked states only; it can never transition back to null.
298
306
  */
299
307
  LockState?: LockState;
308
+ /**
309
+ * The Amazon Resource Name (ARN) of the retention rule.
310
+ */
311
+ RuleArn?: RuleArn;
300
312
  }
301
313
  export type LockState = "locked"|"pending_unlock"|"unlocked"|string;
302
314
  export type MaxResults = number;
@@ -347,6 +359,10 @@ declare namespace Rbin {
347
359
  * The lock state for the retention rule. locked - The retention rule is locked and can't be modified or deleted. pending_unlock - The retention rule has been unlocked but it is still within the unlock delay period. The retention rule can be modified or deleted only after the unlock delay period has expired. unlocked - The retention rule is unlocked and it can be modified or deleted by any user with the required permissions. null - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the locked and unlocked states only; it can never transition back to null.
348
360
  */
349
361
  LockState?: LockState;
362
+ /**
363
+ * The Amazon Resource Name (ARN) of the retention rule.
364
+ */
365
+ RuleArn?: RuleArn;
350
366
  }
351
367
  export type RuleSummaryList = RuleSummary[];
352
368
  export interface Tag {
@@ -428,6 +444,10 @@ declare namespace Rbin {
428
444
  * The date and time at which the unlock delay is set to expire. Only returned for retention rules that have been unlocked and that are still within the unlock delay period.
429
445
  */
430
446
  LockEndTime?: TimeStamp;
447
+ /**
448
+ * The Amazon Resource Name (ARN) of the retention rule.
449
+ */
450
+ RuleArn?: RuleArn;
431
451
  }
432
452
  export interface UntagResourceRequest {
433
453
  /**
@@ -493,6 +513,10 @@ declare namespace Rbin {
493
513
  * The date and time at which the unlock delay is set to expire. Only returned for retention rules that have been unlocked and that are still within the unlock delay period.
494
514
  */
495
515
  LockEndTime?: TimeStamp;
516
+ /**
517
+ * The Amazon Resource Name (ARN) of the retention rule.
518
+ */
519
+ RuleArn?: RuleArn;
496
520
  }
497
521
  /**
498
522
  * 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.