cdk-comprehend-s3olap 2.0.64 → 2.0.67
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 +5 -5
- package/lib/cdk-comprehend-s3olap.js +2 -2
- package/lib/comprehend-lambdas.js +2 -2
- package/lib/iam-roles.js +4 -4
- package/node_modules/aws-sdk/CHANGELOG.md +12 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/amp-2020-08-01.min.json +176 -20
- package/node_modules/aws-sdk/apis/backupstorage-2018-04-10.examples.json +5 -0
- package/node_modules/aws-sdk/apis/backupstorage-2018-04-10.min.json +522 -0
- package/node_modules/aws-sdk/apis/backupstorage-2018-04-10.paginators.json +14 -0
- package/node_modules/aws-sdk/apis/chime-sdk-messaging-2021-05-15.min.json +265 -136
- package/node_modules/aws-sdk/apis/chime-sdk-messaging-2021-05-15.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/metadata.json +6 -0
- package/node_modules/aws-sdk/apis/personalize-runtime-2018-05-22.min.json +19 -2
- package/node_modules/aws-sdk/apis/privatenetworks-2021-12-03.examples.json +5 -0
- package/node_modules/aws-sdk/apis/privatenetworks-2021-12-03.min.json +1058 -0
- package/node_modules/aws-sdk/apis/privatenetworks-2021-12-03.paginators.json +34 -0
- package/node_modules/aws-sdk/clients/all.d.ts +2 -0
- package/node_modules/aws-sdk/clients/all.js +3 -1
- package/node_modules/aws-sdk/clients/amp.d.ts +128 -0
- package/node_modules/aws-sdk/clients/backupstorage.d.ts +469 -0
- package/node_modules/aws-sdk/clients/backupstorage.js +18 -0
- package/node_modules/aws-sdk/clients/chimesdkmessaging.d.ts +178 -0
- package/node_modules/aws-sdk/clients/ivs.d.ts +31 -31
- package/node_modules/aws-sdk/clients/personalizeruntime.d.ts +30 -1
- package/node_modules/aws-sdk/clients/privatenetworks.d.ts +1092 -0
- package/node_modules/aws-sdk/clients/privatenetworks.js +18 -0
- package/node_modules/aws-sdk/clients/rds.d.ts +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +82 -8
- package/node_modules/aws-sdk/dist/aws-sdk.js +28 -5
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +33 -33
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +4 -0
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/node_modules/esbuild/install.js +4 -4
- package/node_modules/esbuild/lib/main.js +7 -7
- package/node_modules/esbuild/package.json +22 -22
- package/node_modules/esbuild-linux-64/bin/esbuild +0 -0
- package/node_modules/esbuild-linux-64/package.json +1 -1
- package/package.json +8 -8
@@ -0,0 +1,34 @@
|
|
1
|
+
{
|
2
|
+
"pagination": {
|
3
|
+
"ListDeviceIdentifiers": {
|
4
|
+
"input_token": "startToken",
|
5
|
+
"output_token": "nextToken",
|
6
|
+
"limit_key": "maxResults",
|
7
|
+
"result_key": "deviceIdentifiers"
|
8
|
+
},
|
9
|
+
"ListNetworkResources": {
|
10
|
+
"input_token": "startToken",
|
11
|
+
"output_token": "nextToken",
|
12
|
+
"limit_key": "maxResults",
|
13
|
+
"result_key": "networkResources"
|
14
|
+
},
|
15
|
+
"ListNetworkSites": {
|
16
|
+
"input_token": "startToken",
|
17
|
+
"output_token": "nextToken",
|
18
|
+
"limit_key": "maxResults",
|
19
|
+
"result_key": "networkSites"
|
20
|
+
},
|
21
|
+
"ListNetworks": {
|
22
|
+
"input_token": "startToken",
|
23
|
+
"output_token": "nextToken",
|
24
|
+
"limit_key": "maxResults",
|
25
|
+
"result_key": "networks"
|
26
|
+
},
|
27
|
+
"ListOrders": {
|
28
|
+
"input_token": "startToken",
|
29
|
+
"output_token": "nextToken",
|
30
|
+
"limit_key": "maxResults",
|
31
|
+
"result_key": "orders"
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
@@ -310,3 +310,5 @@ export import ConnectCampaigns = require('./connectcampaigns');
|
|
310
310
|
export import RedshiftServerless = require('./redshiftserverless');
|
311
311
|
export import RolesAnywhere = require('./rolesanywhere');
|
312
312
|
export import LicenseManagerUserSubscriptions = require('./licensemanagerusersubscriptions');
|
313
|
+
export import BackupStorage = require('./backupstorage');
|
314
|
+
export import PrivateNetworks = require('./privatenetworks');
|
@@ -311,5 +311,7 @@ module.exports = {
|
|
311
311
|
ConnectCampaigns: require('./connectcampaigns'),
|
312
312
|
RedshiftServerless: require('./redshiftserverless'),
|
313
313
|
RolesAnywhere: require('./rolesanywhere'),
|
314
|
-
LicenseManagerUserSubscriptions: require('./licensemanagerusersubscriptions')
|
314
|
+
LicenseManagerUserSubscriptions: require('./licensemanagerusersubscriptions'),
|
315
|
+
BackupStorage: require('./backupstorage'),
|
316
|
+
PrivateNetworks: require('./privatenetworks')
|
315
317
|
};
|
@@ -20,6 +20,14 @@ declare class Amp extends Service {
|
|
20
20
|
* Create an alert manager definition.
|
21
21
|
*/
|
22
22
|
createAlertManagerDefinition(callback?: (err: AWSError, data: Amp.Types.CreateAlertManagerDefinitionResponse) => void): Request<Amp.Types.CreateAlertManagerDefinitionResponse, AWSError>;
|
23
|
+
/**
|
24
|
+
* Create logging configuration.
|
25
|
+
*/
|
26
|
+
createLoggingConfiguration(params: Amp.Types.CreateLoggingConfigurationRequest, callback?: (err: AWSError, data: Amp.Types.CreateLoggingConfigurationResponse) => void): Request<Amp.Types.CreateLoggingConfigurationResponse, AWSError>;
|
27
|
+
/**
|
28
|
+
* Create logging configuration.
|
29
|
+
*/
|
30
|
+
createLoggingConfiguration(callback?: (err: AWSError, data: Amp.Types.CreateLoggingConfigurationResponse) => void): Request<Amp.Types.CreateLoggingConfigurationResponse, AWSError>;
|
23
31
|
/**
|
24
32
|
* Create a rule group namespace.
|
25
33
|
*/
|
@@ -44,6 +52,14 @@ declare class Amp extends Service {
|
|
44
52
|
* Deletes an alert manager definition.
|
45
53
|
*/
|
46
54
|
deleteAlertManagerDefinition(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
55
|
+
/**
|
56
|
+
* Delete logging configuration.
|
57
|
+
*/
|
58
|
+
deleteLoggingConfiguration(params: Amp.Types.DeleteLoggingConfigurationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
59
|
+
/**
|
60
|
+
* Delete logging configuration.
|
61
|
+
*/
|
62
|
+
deleteLoggingConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
47
63
|
/**
|
48
64
|
* Delete a rule groups namespace.
|
49
65
|
*/
|
@@ -68,6 +84,14 @@ declare class Amp extends Service {
|
|
68
84
|
* Describes an alert manager definition.
|
69
85
|
*/
|
70
86
|
describeAlertManagerDefinition(callback?: (err: AWSError, data: Amp.Types.DescribeAlertManagerDefinitionResponse) => void): Request<Amp.Types.DescribeAlertManagerDefinitionResponse, AWSError>;
|
87
|
+
/**
|
88
|
+
* Describes logging configuration.
|
89
|
+
*/
|
90
|
+
describeLoggingConfiguration(params: Amp.Types.DescribeLoggingConfigurationRequest, callback?: (err: AWSError, data: Amp.Types.DescribeLoggingConfigurationResponse) => void): Request<Amp.Types.DescribeLoggingConfigurationResponse, AWSError>;
|
91
|
+
/**
|
92
|
+
* Describes logging configuration.
|
93
|
+
*/
|
94
|
+
describeLoggingConfiguration(callback?: (err: AWSError, data: Amp.Types.DescribeLoggingConfigurationResponse) => void): Request<Amp.Types.DescribeLoggingConfigurationResponse, AWSError>;
|
71
95
|
/**
|
72
96
|
* Describe a rule groups namespace.
|
73
97
|
*/
|
@@ -140,6 +164,14 @@ declare class Amp extends Service {
|
|
140
164
|
* Deletes tags from the specified resource.
|
141
165
|
*/
|
142
166
|
untagResource(callback?: (err: AWSError, data: Amp.Types.UntagResourceResponse) => void): Request<Amp.Types.UntagResourceResponse, AWSError>;
|
167
|
+
/**
|
168
|
+
* Update logging configuration.
|
169
|
+
*/
|
170
|
+
updateLoggingConfiguration(params: Amp.Types.UpdateLoggingConfigurationRequest, callback?: (err: AWSError, data: Amp.Types.UpdateLoggingConfigurationResponse) => void): Request<Amp.Types.UpdateLoggingConfigurationResponse, AWSError>;
|
171
|
+
/**
|
172
|
+
* Update logging configuration.
|
173
|
+
*/
|
174
|
+
updateLoggingConfiguration(callback?: (err: AWSError, data: Amp.Types.UpdateLoggingConfigurationResponse) => void): Request<Amp.Types.UpdateLoggingConfigurationResponse, AWSError>;
|
143
175
|
/**
|
144
176
|
* Updates an AMP workspace alias.
|
145
177
|
*/
|
@@ -216,6 +248,26 @@ declare namespace Amp {
|
|
216
248
|
*/
|
217
249
|
status: AlertManagerDefinitionStatus;
|
218
250
|
}
|
251
|
+
export interface CreateLoggingConfigurationRequest {
|
252
|
+
/**
|
253
|
+
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
254
|
+
*/
|
255
|
+
clientToken?: IdempotencyToken;
|
256
|
+
/**
|
257
|
+
* The ARN of the CW log group to which the vended log data will be published.
|
258
|
+
*/
|
259
|
+
logGroupArn: LogGroupArn;
|
260
|
+
/**
|
261
|
+
* The ID of the workspace to vend logs to.
|
262
|
+
*/
|
263
|
+
workspaceId: WorkspaceId;
|
264
|
+
}
|
265
|
+
export interface CreateLoggingConfigurationResponse {
|
266
|
+
/**
|
267
|
+
* The status of the logging configuration.
|
268
|
+
*/
|
269
|
+
status: LoggingConfigurationStatus;
|
270
|
+
}
|
219
271
|
export interface CreateRuleGroupsNamespaceRequest {
|
220
272
|
/**
|
221
273
|
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
@@ -298,6 +350,16 @@ declare namespace Amp {
|
|
298
350
|
*/
|
299
351
|
workspaceId: WorkspaceId;
|
300
352
|
}
|
353
|
+
export interface DeleteLoggingConfigurationRequest {
|
354
|
+
/**
|
355
|
+
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
356
|
+
*/
|
357
|
+
clientToken?: IdempotencyToken;
|
358
|
+
/**
|
359
|
+
* The ID of the workspace to vend logs to.
|
360
|
+
*/
|
361
|
+
workspaceId: WorkspaceId;
|
362
|
+
}
|
301
363
|
export interface DeleteRuleGroupsNamespaceRequest {
|
302
364
|
/**
|
303
365
|
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
@@ -334,6 +396,18 @@ declare namespace Amp {
|
|
334
396
|
*/
|
335
397
|
alertManagerDefinition: AlertManagerDefinitionDescription;
|
336
398
|
}
|
399
|
+
export interface DescribeLoggingConfigurationRequest {
|
400
|
+
/**
|
401
|
+
* The ID of the workspace to vend logs to.
|
402
|
+
*/
|
403
|
+
workspaceId: WorkspaceId;
|
404
|
+
}
|
405
|
+
export interface DescribeLoggingConfigurationResponse {
|
406
|
+
/**
|
407
|
+
* Metadata object containing information about the logging configuration of a workspace.
|
408
|
+
*/
|
409
|
+
loggingConfiguration: LoggingConfigurationMetadata;
|
410
|
+
}
|
337
411
|
export interface DescribeRuleGroupsNamespaceRequest {
|
338
412
|
/**
|
339
413
|
* The rule groups namespace.
|
@@ -426,6 +500,40 @@ declare namespace Amp {
|
|
426
500
|
*/
|
427
501
|
workspaces: WorkspaceSummaryList;
|
428
502
|
}
|
503
|
+
export type LogGroupArn = string;
|
504
|
+
export interface LoggingConfigurationMetadata {
|
505
|
+
/**
|
506
|
+
* The time when the logging configuration was created.
|
507
|
+
*/
|
508
|
+
createdAt: Timestamp;
|
509
|
+
/**
|
510
|
+
* The ARN of the CW log group to which the vended log data will be published.
|
511
|
+
*/
|
512
|
+
logGroupArn: LogGroupArn;
|
513
|
+
/**
|
514
|
+
* The time when the logging configuration was modified.
|
515
|
+
*/
|
516
|
+
modifiedAt: Timestamp;
|
517
|
+
/**
|
518
|
+
* The status of the logging configuration.
|
519
|
+
*/
|
520
|
+
status: LoggingConfigurationStatus;
|
521
|
+
/**
|
522
|
+
* The workspace where the logging configuration exists.
|
523
|
+
*/
|
524
|
+
workspace: WorkspaceId;
|
525
|
+
}
|
526
|
+
export interface LoggingConfigurationStatus {
|
527
|
+
/**
|
528
|
+
* Status code of the logging configuration.
|
529
|
+
*/
|
530
|
+
statusCode: LoggingConfigurationStatusCode;
|
531
|
+
/**
|
532
|
+
* The reason for failure if any.
|
533
|
+
*/
|
534
|
+
statusReason?: String;
|
535
|
+
}
|
536
|
+
export type LoggingConfigurationStatusCode = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"CREATION_FAILED"|"UPDATE_FAILED"|string;
|
429
537
|
export type PaginationToken = string;
|
430
538
|
export interface PutAlertManagerDefinitionRequest {
|
431
539
|
/**
|
@@ -581,6 +689,26 @@ declare namespace Amp {
|
|
581
689
|
}
|
582
690
|
export interface UntagResourceResponse {
|
583
691
|
}
|
692
|
+
export interface UpdateLoggingConfigurationRequest {
|
693
|
+
/**
|
694
|
+
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
695
|
+
*/
|
696
|
+
clientToken?: IdempotencyToken;
|
697
|
+
/**
|
698
|
+
* The ARN of the CW log group to which the vended log data will be published.
|
699
|
+
*/
|
700
|
+
logGroupArn: LogGroupArn;
|
701
|
+
/**
|
702
|
+
* The ID of the workspace to vend logs to.
|
703
|
+
*/
|
704
|
+
workspaceId: WorkspaceId;
|
705
|
+
}
|
706
|
+
export interface UpdateLoggingConfigurationResponse {
|
707
|
+
/**
|
708
|
+
* The status of the logging configuration.
|
709
|
+
*/
|
710
|
+
status: LoggingConfigurationStatus;
|
711
|
+
}
|
584
712
|
export interface UpdateWorkspaceAliasRequest {
|
585
713
|
/**
|
586
714
|
* The new alias of the workspace.
|
@@ -0,0 +1,469 @@
|
|
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
|
+
import {Readable} from 'stream';
|
8
|
+
interface Blob {}
|
9
|
+
declare class BackupStorage extends Service {
|
10
|
+
/**
|
11
|
+
* Constructs a service object. This object has one method for each API operation.
|
12
|
+
*/
|
13
|
+
constructor(options?: BackupStorage.Types.ClientConfiguration)
|
14
|
+
config: Config & BackupStorage.Types.ClientConfiguration;
|
15
|
+
/**
|
16
|
+
* Delete Object from the incremental base Backup.
|
17
|
+
*/
|
18
|
+
deleteObject(params: BackupStorage.Types.DeleteObjectInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
19
|
+
/**
|
20
|
+
* Delete Object from the incremental base Backup.
|
21
|
+
*/
|
22
|
+
deleteObject(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
23
|
+
/**
|
24
|
+
* Gets the specified object's chunk.
|
25
|
+
*/
|
26
|
+
getChunk(params: BackupStorage.Types.GetChunkInput, callback?: (err: AWSError, data: BackupStorage.Types.GetChunkOutput) => void): Request<BackupStorage.Types.GetChunkOutput, AWSError>;
|
27
|
+
/**
|
28
|
+
* Gets the specified object's chunk.
|
29
|
+
*/
|
30
|
+
getChunk(callback?: (err: AWSError, data: BackupStorage.Types.GetChunkOutput) => void): Request<BackupStorage.Types.GetChunkOutput, AWSError>;
|
31
|
+
/**
|
32
|
+
* Get metadata associated with an Object.
|
33
|
+
*/
|
34
|
+
getObjectMetadata(params: BackupStorage.Types.GetObjectMetadataInput, callback?: (err: AWSError, data: BackupStorage.Types.GetObjectMetadataOutput) => void): Request<BackupStorage.Types.GetObjectMetadataOutput, AWSError>;
|
35
|
+
/**
|
36
|
+
* Get metadata associated with an Object.
|
37
|
+
*/
|
38
|
+
getObjectMetadata(callback?: (err: AWSError, data: BackupStorage.Types.GetObjectMetadataOutput) => void): Request<BackupStorage.Types.GetObjectMetadataOutput, AWSError>;
|
39
|
+
/**
|
40
|
+
* List chunks in a given Object
|
41
|
+
*/
|
42
|
+
listChunks(params: BackupStorage.Types.ListChunksInput, callback?: (err: AWSError, data: BackupStorage.Types.ListChunksOutput) => void): Request<BackupStorage.Types.ListChunksOutput, AWSError>;
|
43
|
+
/**
|
44
|
+
* List chunks in a given Object
|
45
|
+
*/
|
46
|
+
listChunks(callback?: (err: AWSError, data: BackupStorage.Types.ListChunksOutput) => void): Request<BackupStorage.Types.ListChunksOutput, AWSError>;
|
47
|
+
/**
|
48
|
+
* List all Objects in a given Backup.
|
49
|
+
*/
|
50
|
+
listObjects(params: BackupStorage.Types.ListObjectsInput, callback?: (err: AWSError, data: BackupStorage.Types.ListObjectsOutput) => void): Request<BackupStorage.Types.ListObjectsOutput, AWSError>;
|
51
|
+
/**
|
52
|
+
* List all Objects in a given Backup.
|
53
|
+
*/
|
54
|
+
listObjects(callback?: (err: AWSError, data: BackupStorage.Types.ListObjectsOutput) => void): Request<BackupStorage.Types.ListObjectsOutput, AWSError>;
|
55
|
+
/**
|
56
|
+
* Complete upload
|
57
|
+
*/
|
58
|
+
notifyObjectComplete(params: BackupStorage.Types.NotifyObjectCompleteInput, callback?: (err: AWSError, data: BackupStorage.Types.NotifyObjectCompleteOutput) => void): Request<BackupStorage.Types.NotifyObjectCompleteOutput, AWSError>;
|
59
|
+
/**
|
60
|
+
* Complete upload
|
61
|
+
*/
|
62
|
+
notifyObjectComplete(callback?: (err: AWSError, data: BackupStorage.Types.NotifyObjectCompleteOutput) => void): Request<BackupStorage.Types.NotifyObjectCompleteOutput, AWSError>;
|
63
|
+
/**
|
64
|
+
* Upload chunk.
|
65
|
+
*/
|
66
|
+
putChunk(params: BackupStorage.Types.PutChunkInput, callback?: (err: AWSError, data: BackupStorage.Types.PutChunkOutput) => void): Request<BackupStorage.Types.PutChunkOutput, AWSError>;
|
67
|
+
/**
|
68
|
+
* Upload chunk.
|
69
|
+
*/
|
70
|
+
putChunk(callback?: (err: AWSError, data: BackupStorage.Types.PutChunkOutput) => void): Request<BackupStorage.Types.PutChunkOutput, AWSError>;
|
71
|
+
/**
|
72
|
+
* Upload object that can store object metadata String and data blob in single API call using inline chunk field.
|
73
|
+
*/
|
74
|
+
putObject(params: BackupStorage.Types.PutObjectInput, callback?: (err: AWSError, data: BackupStorage.Types.PutObjectOutput) => void): Request<BackupStorage.Types.PutObjectOutput, AWSError>;
|
75
|
+
/**
|
76
|
+
* Upload object that can store object metadata String and data blob in single API call using inline chunk field.
|
77
|
+
*/
|
78
|
+
putObject(callback?: (err: AWSError, data: BackupStorage.Types.PutObjectOutput) => void): Request<BackupStorage.Types.PutObjectOutput, AWSError>;
|
79
|
+
/**
|
80
|
+
* Start upload containing one or many chunks.
|
81
|
+
*/
|
82
|
+
startObject(params: BackupStorage.Types.StartObjectInput, callback?: (err: AWSError, data: BackupStorage.Types.StartObjectOutput) => void): Request<BackupStorage.Types.StartObjectOutput, AWSError>;
|
83
|
+
/**
|
84
|
+
* Start upload containing one or many chunks.
|
85
|
+
*/
|
86
|
+
startObject(callback?: (err: AWSError, data: BackupStorage.Types.StartObjectOutput) => void): Request<BackupStorage.Types.StartObjectOutput, AWSError>;
|
87
|
+
}
|
88
|
+
declare namespace BackupStorage {
|
89
|
+
export interface BackupObject {
|
90
|
+
/**
|
91
|
+
* Object name
|
92
|
+
*/
|
93
|
+
Name: string;
|
94
|
+
/**
|
95
|
+
* Number of chunks in object
|
96
|
+
*/
|
97
|
+
ChunksCount?: OptionalLong;
|
98
|
+
/**
|
99
|
+
* Metadata string associated with the Object
|
100
|
+
*/
|
101
|
+
MetadataString?: string;
|
102
|
+
/**
|
103
|
+
* Object checksum
|
104
|
+
*/
|
105
|
+
ObjectChecksum: string;
|
106
|
+
/**
|
107
|
+
* Checksum algorithm
|
108
|
+
*/
|
109
|
+
ObjectChecksumAlgorithm: SummaryChecksumAlgorithm;
|
110
|
+
/**
|
111
|
+
* Object token
|
112
|
+
*/
|
113
|
+
ObjectToken: string;
|
114
|
+
}
|
115
|
+
export interface Chunk {
|
116
|
+
/**
|
117
|
+
* Chunk index
|
118
|
+
*/
|
119
|
+
Index: long;
|
120
|
+
/**
|
121
|
+
* Chunk length
|
122
|
+
*/
|
123
|
+
Length: long;
|
124
|
+
/**
|
125
|
+
* Chunk checksum
|
126
|
+
*/
|
127
|
+
Checksum: string;
|
128
|
+
/**
|
129
|
+
* Checksum algorithm
|
130
|
+
*/
|
131
|
+
ChecksumAlgorithm: DataChecksumAlgorithm;
|
132
|
+
/**
|
133
|
+
* Chunk token
|
134
|
+
*/
|
135
|
+
ChunkToken: string;
|
136
|
+
}
|
137
|
+
export type ChunkList = Chunk[];
|
138
|
+
export type DataChecksumAlgorithm = "SHA256"|string;
|
139
|
+
export interface DeleteObjectInput {
|
140
|
+
/**
|
141
|
+
* Backup job Id for the in-progress backup.
|
142
|
+
*/
|
143
|
+
BackupJobId: string;
|
144
|
+
/**
|
145
|
+
* The name of the Object.
|
146
|
+
*/
|
147
|
+
ObjectName: string;
|
148
|
+
}
|
149
|
+
export interface GetChunkInput {
|
150
|
+
/**
|
151
|
+
* Storage job id
|
152
|
+
*/
|
153
|
+
StorageJobId: string;
|
154
|
+
/**
|
155
|
+
* Chunk token
|
156
|
+
*/
|
157
|
+
ChunkToken: string;
|
158
|
+
}
|
159
|
+
export interface GetChunkOutput {
|
160
|
+
/**
|
161
|
+
* Chunk data
|
162
|
+
*/
|
163
|
+
Data: PayloadBlob;
|
164
|
+
/**
|
165
|
+
* Data length
|
166
|
+
*/
|
167
|
+
Length: long;
|
168
|
+
/**
|
169
|
+
* Data checksum
|
170
|
+
*/
|
171
|
+
Checksum: string;
|
172
|
+
/**
|
173
|
+
* Checksum algorithm
|
174
|
+
*/
|
175
|
+
ChecksumAlgorithm: DataChecksumAlgorithm;
|
176
|
+
}
|
177
|
+
export interface GetObjectMetadataInput {
|
178
|
+
/**
|
179
|
+
* Backup job id for the in-progress backup.
|
180
|
+
*/
|
181
|
+
StorageJobId: string;
|
182
|
+
/**
|
183
|
+
* Object token.
|
184
|
+
*/
|
185
|
+
ObjectToken: string;
|
186
|
+
}
|
187
|
+
export interface GetObjectMetadataOutput {
|
188
|
+
/**
|
189
|
+
* Metadata string.
|
190
|
+
*/
|
191
|
+
MetadataString?: string;
|
192
|
+
/**
|
193
|
+
* Metadata blob.
|
194
|
+
*/
|
195
|
+
MetadataBlob?: PayloadBlob;
|
196
|
+
/**
|
197
|
+
* The size of MetadataBlob.
|
198
|
+
*/
|
199
|
+
MetadataBlobLength?: long;
|
200
|
+
/**
|
201
|
+
* MetadataBlob checksum.
|
202
|
+
*/
|
203
|
+
MetadataBlobChecksum?: string;
|
204
|
+
/**
|
205
|
+
* Checksum algorithm.
|
206
|
+
*/
|
207
|
+
MetadataBlobChecksumAlgorithm?: DataChecksumAlgorithm;
|
208
|
+
}
|
209
|
+
export interface ListChunksInput {
|
210
|
+
/**
|
211
|
+
* Storage job id
|
212
|
+
*/
|
213
|
+
StorageJobId: string;
|
214
|
+
/**
|
215
|
+
* Object token
|
216
|
+
*/
|
217
|
+
ObjectToken: string;
|
218
|
+
/**
|
219
|
+
* Maximum number of chunks
|
220
|
+
*/
|
221
|
+
MaxResults?: MaxResults;
|
222
|
+
/**
|
223
|
+
* Pagination token
|
224
|
+
*/
|
225
|
+
NextToken?: string;
|
226
|
+
}
|
227
|
+
export interface ListChunksOutput {
|
228
|
+
/**
|
229
|
+
* List of chunks
|
230
|
+
*/
|
231
|
+
ChunkList: ChunkList;
|
232
|
+
/**
|
233
|
+
* Pagination token
|
234
|
+
*/
|
235
|
+
NextToken?: string;
|
236
|
+
}
|
237
|
+
export interface ListObjectsInput {
|
238
|
+
/**
|
239
|
+
* Storage job id
|
240
|
+
*/
|
241
|
+
StorageJobId: string;
|
242
|
+
/**
|
243
|
+
* Optional, specifies the starting Object name to list from. Ignored if NextToken is not NULL
|
244
|
+
*/
|
245
|
+
StartingObjectName?: string;
|
246
|
+
/**
|
247
|
+
* Optional, specifies the starting Object prefix to list from. Ignored if NextToken is not NULL
|
248
|
+
*/
|
249
|
+
StartingObjectPrefix?: string;
|
250
|
+
/**
|
251
|
+
* Maximum objects count
|
252
|
+
*/
|
253
|
+
MaxResults?: MaxResults;
|
254
|
+
/**
|
255
|
+
* Pagination token
|
256
|
+
*/
|
257
|
+
NextToken?: string;
|
258
|
+
/**
|
259
|
+
* (Optional) Created before filter
|
260
|
+
*/
|
261
|
+
CreatedBefore?: timestamp;
|
262
|
+
/**
|
263
|
+
* (Optional) Created after filter
|
264
|
+
*/
|
265
|
+
CreatedAfter?: timestamp;
|
266
|
+
}
|
267
|
+
export interface ListObjectsOutput {
|
268
|
+
/**
|
269
|
+
* Object list
|
270
|
+
*/
|
271
|
+
ObjectList: ObjectList;
|
272
|
+
/**
|
273
|
+
* Pagination token
|
274
|
+
*/
|
275
|
+
NextToken?: string;
|
276
|
+
}
|
277
|
+
export type MaxResults = number;
|
278
|
+
export type MetadataString = string;
|
279
|
+
export interface NotifyObjectCompleteInput {
|
280
|
+
/**
|
281
|
+
* Backup job Id for the in-progress backup
|
282
|
+
*/
|
283
|
+
BackupJobId: string;
|
284
|
+
/**
|
285
|
+
* Upload Id for the in-progress upload
|
286
|
+
*/
|
287
|
+
UploadId: string;
|
288
|
+
/**
|
289
|
+
* Object checksum
|
290
|
+
*/
|
291
|
+
ObjectChecksum: string;
|
292
|
+
/**
|
293
|
+
* Checksum algorithm
|
294
|
+
*/
|
295
|
+
ObjectChecksumAlgorithm: SummaryChecksumAlgorithm;
|
296
|
+
/**
|
297
|
+
* Optional metadata associated with an Object. Maximum string length is 256 bytes.
|
298
|
+
*/
|
299
|
+
MetadataString?: MetadataString;
|
300
|
+
/**
|
301
|
+
* Optional metadata associated with an Object. Maximum length is 4MB.
|
302
|
+
*/
|
303
|
+
MetadataBlob?: PayloadBlob;
|
304
|
+
/**
|
305
|
+
* The size of MetadataBlob.
|
306
|
+
*/
|
307
|
+
MetadataBlobLength?: long;
|
308
|
+
/**
|
309
|
+
* Checksum of MetadataBlob.
|
310
|
+
*/
|
311
|
+
MetadataBlobChecksum?: string;
|
312
|
+
/**
|
313
|
+
* Checksum algorithm.
|
314
|
+
*/
|
315
|
+
MetadataBlobChecksumAlgorithm?: DataChecksumAlgorithm;
|
316
|
+
}
|
317
|
+
export interface NotifyObjectCompleteOutput {
|
318
|
+
/**
|
319
|
+
* Object checksum
|
320
|
+
*/
|
321
|
+
ObjectChecksum: string;
|
322
|
+
/**
|
323
|
+
* Checksum algorithm
|
324
|
+
*/
|
325
|
+
ObjectChecksumAlgorithm: SummaryChecksumAlgorithm;
|
326
|
+
}
|
327
|
+
export type ObjectList = BackupObject[];
|
328
|
+
export type OptionalLong = number;
|
329
|
+
export type PayloadBlob = Buffer|Uint8Array|Blob|string|Readable;
|
330
|
+
export interface PutChunkInput {
|
331
|
+
/**
|
332
|
+
* Backup job Id for the in-progress backup.
|
333
|
+
*/
|
334
|
+
BackupJobId: string;
|
335
|
+
/**
|
336
|
+
* Upload Id for the in-progress upload.
|
337
|
+
*/
|
338
|
+
UploadId: string;
|
339
|
+
/**
|
340
|
+
* Describes this chunk's position relative to the other chunks
|
341
|
+
*/
|
342
|
+
ChunkIndex: long;
|
343
|
+
/**
|
344
|
+
* Data to be uploaded
|
345
|
+
*/
|
346
|
+
Data: PayloadBlob;
|
347
|
+
/**
|
348
|
+
* Data length
|
349
|
+
*/
|
350
|
+
Length: long;
|
351
|
+
/**
|
352
|
+
* Data checksum
|
353
|
+
*/
|
354
|
+
Checksum: string;
|
355
|
+
/**
|
356
|
+
* Checksum algorithm
|
357
|
+
*/
|
358
|
+
ChecksumAlgorithm: DataChecksumAlgorithm;
|
359
|
+
}
|
360
|
+
export interface PutChunkOutput {
|
361
|
+
/**
|
362
|
+
* Chunk checksum
|
363
|
+
*/
|
364
|
+
ChunkChecksum: string;
|
365
|
+
/**
|
366
|
+
* Checksum algorithm
|
367
|
+
*/
|
368
|
+
ChunkChecksumAlgorithm: DataChecksumAlgorithm;
|
369
|
+
}
|
370
|
+
export interface PutObjectInput {
|
371
|
+
/**
|
372
|
+
* Backup job Id for the in-progress backup.
|
373
|
+
*/
|
374
|
+
BackupJobId: string;
|
375
|
+
/**
|
376
|
+
* The name of the Object to be uploaded.
|
377
|
+
*/
|
378
|
+
ObjectName: string;
|
379
|
+
/**
|
380
|
+
* Store user defined metadata like backup checksum, disk ids, restore metadata etc.
|
381
|
+
*/
|
382
|
+
MetadataString?: string;
|
383
|
+
/**
|
384
|
+
* Inline chunk data to be uploaded.
|
385
|
+
*/
|
386
|
+
InlineChunk?: PayloadBlob;
|
387
|
+
/**
|
388
|
+
* Length of the inline chunk data.
|
389
|
+
*/
|
390
|
+
InlineChunkLength?: long;
|
391
|
+
/**
|
392
|
+
* Inline chunk checksum
|
393
|
+
*/
|
394
|
+
InlineChunkChecksum?: string;
|
395
|
+
/**
|
396
|
+
* Inline chunk checksum algorithm
|
397
|
+
*/
|
398
|
+
InlineChunkChecksumAlgorithm?: string;
|
399
|
+
/**
|
400
|
+
* object checksum
|
401
|
+
*/
|
402
|
+
ObjectChecksum?: string;
|
403
|
+
/**
|
404
|
+
* object checksum algorithm
|
405
|
+
*/
|
406
|
+
ObjectChecksumAlgorithm?: SummaryChecksumAlgorithm;
|
407
|
+
/**
|
408
|
+
* Throw an exception if Object name is already exist.
|
409
|
+
*/
|
410
|
+
ThrowOnDuplicate?: boolean;
|
411
|
+
}
|
412
|
+
export interface PutObjectOutput {
|
413
|
+
/**
|
414
|
+
* Inline chunk checksum
|
415
|
+
*/
|
416
|
+
InlineChunkChecksum: string;
|
417
|
+
/**
|
418
|
+
* Inline chunk checksum algorithm
|
419
|
+
*/
|
420
|
+
InlineChunkChecksumAlgorithm: DataChecksumAlgorithm;
|
421
|
+
/**
|
422
|
+
* object checksum
|
423
|
+
*/
|
424
|
+
ObjectChecksum: string;
|
425
|
+
/**
|
426
|
+
* object checksum algorithm
|
427
|
+
*/
|
428
|
+
ObjectChecksumAlgorithm: SummaryChecksumAlgorithm;
|
429
|
+
}
|
430
|
+
export interface StartObjectInput {
|
431
|
+
/**
|
432
|
+
* Backup job Id for the in-progress backup
|
433
|
+
*/
|
434
|
+
BackupJobId: string;
|
435
|
+
/**
|
436
|
+
* Name for the object.
|
437
|
+
*/
|
438
|
+
ObjectName: string;
|
439
|
+
/**
|
440
|
+
* Throw an exception if Object name is already exist.
|
441
|
+
*/
|
442
|
+
ThrowOnDuplicate?: boolean;
|
443
|
+
}
|
444
|
+
export interface StartObjectOutput {
|
445
|
+
/**
|
446
|
+
* Upload Id for a given upload.
|
447
|
+
*/
|
448
|
+
UploadId: string;
|
449
|
+
}
|
450
|
+
export type SummaryChecksumAlgorithm = "SUMMARY"|string;
|
451
|
+
export type long = number;
|
452
|
+
export type timestamp = Date;
|
453
|
+
/**
|
454
|
+
* 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.
|
455
|
+
*/
|
456
|
+
export type apiVersion = "2018-04-10"|"latest"|string;
|
457
|
+
export interface ClientApiVersions {
|
458
|
+
/**
|
459
|
+
* 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.
|
460
|
+
*/
|
461
|
+
apiVersion?: apiVersion;
|
462
|
+
}
|
463
|
+
export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
464
|
+
/**
|
465
|
+
* Contains interfaces for use with the BackupStorage client.
|
466
|
+
*/
|
467
|
+
export import Types = BackupStorage;
|
468
|
+
}
|
469
|
+
export = BackupStorage;
|