@aws-sdk/client-dynamodb 3.150.0 → 3.159.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/CHANGELOG.md +27 -0
- package/dist-cjs/DynamoDB.js +45 -0
- package/dist-cjs/commands/DescribeImportCommand.js +36 -0
- package/dist-cjs/commands/ImportTableCommand.js +36 -0
- package/dist-cjs/commands/ListImportsCommand.js +36 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +99 -5
- package/dist-cjs/pagination/ListImportsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +390 -2
- package/dist-es/DynamoDB.js +45 -0
- package/dist-es/commands/DescribeImportCommand.js +39 -0
- package/dist-es/commands/ImportTableCommand.js +39 -0
- package/dist-es/commands/ListImportsCommand.js +39 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +56 -0
- package/dist-es/pagination/ListImportsPaginator.js +75 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +414 -1
- package/dist-types/DynamoDB.d.ts +28 -0
- package/dist-types/DynamoDBClient.d.ts +5 -2
- package/dist-types/commands/DescribeImportCommand.d.ts +37 -0
- package/dist-types/commands/ImportTableCommand.d.ts +38 -0
- package/dist-types/commands/ListImportsCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +493 -2
- package/dist-types/pagination/ListImportsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +9 -0
- package/dist-types/ts3.4/DynamoDB.d.ts +15 -0
- package/dist-types/ts3.4/DynamoDBClient.d.ts +5 -2
- package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +193 -0
- package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +9 -0
- package/package.json +29 -29
|
@@ -841,7 +841,7 @@ export interface BatchStatementError {
|
|
|
841
841
|
*/
|
|
842
842
|
Code?: BatchStatementErrorCodeEnum | string;
|
|
843
843
|
/**
|
|
844
|
-
* <p> The error message associated with the PartiQL batch
|
|
844
|
+
* <p> The error message associated with the PartiQL batch response. </p>
|
|
845
845
|
*/
|
|
846
846
|
Message?: string;
|
|
847
847
|
}
|
|
@@ -2412,6 +2412,27 @@ export declare class ResourceInUseException extends __BaseException {
|
|
|
2412
2412
|
*/
|
|
2413
2413
|
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
2414
2414
|
}
|
|
2415
|
+
/**
|
|
2416
|
+
* <p>
|
|
2417
|
+
* Processing options for the CSV file being imported.
|
|
2418
|
+
* </p>
|
|
2419
|
+
*/
|
|
2420
|
+
export interface CsvOptions {
|
|
2421
|
+
/**
|
|
2422
|
+
* <p>
|
|
2423
|
+
* The delimiter used for separating items in the CSV file being imported.
|
|
2424
|
+
* </p>
|
|
2425
|
+
*/
|
|
2426
|
+
Delimiter?: string;
|
|
2427
|
+
/**
|
|
2428
|
+
* <p> List of the headers used to specify a common header for all source CSV files being
|
|
2429
|
+
* imported. If this field is specified then the first line of each CSV file is treated as
|
|
2430
|
+
* data instead of the header. If this field is not specified the the first line of each
|
|
2431
|
+
* CSV file is treated as the header.
|
|
2432
|
+
* </p>
|
|
2433
|
+
*/
|
|
2434
|
+
HeaderList?: string[];
|
|
2435
|
+
}
|
|
2415
2436
|
export interface DeleteBackupInput {
|
|
2416
2437
|
/**
|
|
2417
2438
|
* <p>The ARN associated with the backup.</p>
|
|
@@ -2886,6 +2907,264 @@ export interface DescribeGlobalTableSettingsOutput {
|
|
|
2886
2907
|
*/
|
|
2887
2908
|
ReplicaSettings?: ReplicaSettingsDescription[];
|
|
2888
2909
|
}
|
|
2910
|
+
export interface DescribeImportInput {
|
|
2911
|
+
/**
|
|
2912
|
+
* <p>
|
|
2913
|
+
* The Amazon Resource Name (ARN) associated with the table you're importing to.
|
|
2914
|
+
* </p>
|
|
2915
|
+
*/
|
|
2916
|
+
ImportArn: string | undefined;
|
|
2917
|
+
}
|
|
2918
|
+
export declare enum ImportStatus {
|
|
2919
|
+
CANCELLED = "CANCELLED",
|
|
2920
|
+
CANCELLING = "CANCELLING",
|
|
2921
|
+
COMPLETED = "COMPLETED",
|
|
2922
|
+
FAILED = "FAILED",
|
|
2923
|
+
IN_PROGRESS = "IN_PROGRESS"
|
|
2924
|
+
}
|
|
2925
|
+
export declare enum InputCompressionType {
|
|
2926
|
+
GZIP = "GZIP",
|
|
2927
|
+
NONE = "NONE",
|
|
2928
|
+
ZSTD = "ZSTD"
|
|
2929
|
+
}
|
|
2930
|
+
export declare enum InputFormat {
|
|
2931
|
+
CSV = "CSV",
|
|
2932
|
+
DYNAMODB_JSON = "DYNAMODB_JSON",
|
|
2933
|
+
ION = "ION"
|
|
2934
|
+
}
|
|
2935
|
+
/**
|
|
2936
|
+
* <p>
|
|
2937
|
+
* The format options for the data that was imported into the target table. There is one value, CsvOption.</p>
|
|
2938
|
+
*/
|
|
2939
|
+
export interface InputFormatOptions {
|
|
2940
|
+
/**
|
|
2941
|
+
* <p>
|
|
2942
|
+
* The options for imported source files in CSV format. The values are Delimiter and HeaderList.
|
|
2943
|
+
* </p>
|
|
2944
|
+
*/
|
|
2945
|
+
Csv?: CsvOptions;
|
|
2946
|
+
}
|
|
2947
|
+
/**
|
|
2948
|
+
* <p>
|
|
2949
|
+
* The S3 bucket that is being imported from.
|
|
2950
|
+
* </p>
|
|
2951
|
+
*/
|
|
2952
|
+
export interface S3BucketSource {
|
|
2953
|
+
/**
|
|
2954
|
+
* <p>
|
|
2955
|
+
* The account number of the S3 bucket that is being imported from.
|
|
2956
|
+
* If the bucket is owned by the requester this is optional.
|
|
2957
|
+
* </p>
|
|
2958
|
+
*/
|
|
2959
|
+
S3BucketOwner?: string;
|
|
2960
|
+
/**
|
|
2961
|
+
* <p>
|
|
2962
|
+
* The S3 bucket that is being imported from.
|
|
2963
|
+
* </p>
|
|
2964
|
+
*/
|
|
2965
|
+
S3Bucket: string | undefined;
|
|
2966
|
+
/**
|
|
2967
|
+
* <p>
|
|
2968
|
+
* The key prefix shared by all S3 Objects that are being imported.
|
|
2969
|
+
* </p>
|
|
2970
|
+
*/
|
|
2971
|
+
S3KeyPrefix?: string;
|
|
2972
|
+
}
|
|
2973
|
+
/**
|
|
2974
|
+
* <p> The parameters for the table created as part of the import operation.
|
|
2975
|
+
* </p>
|
|
2976
|
+
*/
|
|
2977
|
+
export interface TableCreationParameters {
|
|
2978
|
+
/**
|
|
2979
|
+
* <p>
|
|
2980
|
+
* The name of the table created as part of the import operation.
|
|
2981
|
+
* </p>
|
|
2982
|
+
*/
|
|
2983
|
+
TableName: string | undefined;
|
|
2984
|
+
/**
|
|
2985
|
+
* <p>
|
|
2986
|
+
* The attributes of the table created as part of the import operation.
|
|
2987
|
+
* </p>
|
|
2988
|
+
*/
|
|
2989
|
+
AttributeDefinitions: AttributeDefinition[] | undefined;
|
|
2990
|
+
/**
|
|
2991
|
+
* <p>
|
|
2992
|
+
* The primary key and option sort key of the table created as part of the import operation.
|
|
2993
|
+
* </p>
|
|
2994
|
+
*/
|
|
2995
|
+
KeySchema: KeySchemaElement[] | undefined;
|
|
2996
|
+
/**
|
|
2997
|
+
* <p>
|
|
2998
|
+
* The billing mode for provisioning the table created as part of the import operation.
|
|
2999
|
+
* </p>
|
|
3000
|
+
*/
|
|
3001
|
+
BillingMode?: BillingMode | string;
|
|
3002
|
+
/**
|
|
3003
|
+
* <p>Represents the provisioned throughput settings for a specified table or index. The
|
|
3004
|
+
* settings can be modified using the <code>UpdateTable</code> operation.</p>
|
|
3005
|
+
* <p>For current minimum and maximum provisioned throughput values, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html">Service,
|
|
3006
|
+
* Account, and Table Quotas</a> in the <i>Amazon DynamoDB Developer
|
|
3007
|
+
* Guide</i>.</p>
|
|
3008
|
+
*/
|
|
3009
|
+
ProvisionedThroughput?: ProvisionedThroughput;
|
|
3010
|
+
/**
|
|
3011
|
+
* <p>Represents the settings used to enable server-side encryption.</p>
|
|
3012
|
+
*/
|
|
3013
|
+
SSESpecification?: SSESpecification;
|
|
3014
|
+
/**
|
|
3015
|
+
* <p>
|
|
3016
|
+
* The Global Secondary Indexes (GSI) of the table to be created as part of the import operation.
|
|
3017
|
+
* </p>
|
|
3018
|
+
*/
|
|
3019
|
+
GlobalSecondaryIndexes?: GlobalSecondaryIndex[];
|
|
3020
|
+
}
|
|
3021
|
+
/**
|
|
3022
|
+
* <p>
|
|
3023
|
+
* Represents the properties of the table being imported into.
|
|
3024
|
+
* </p>
|
|
3025
|
+
*/
|
|
3026
|
+
export interface ImportTableDescription {
|
|
3027
|
+
/**
|
|
3028
|
+
* <p>
|
|
3029
|
+
* The Amazon Resource Number (ARN) corresponding to the import request.
|
|
3030
|
+
* </p>
|
|
3031
|
+
*/
|
|
3032
|
+
ImportArn?: string;
|
|
3033
|
+
/**
|
|
3034
|
+
* <p>
|
|
3035
|
+
* The status of the import.
|
|
3036
|
+
* </p>
|
|
3037
|
+
*/
|
|
3038
|
+
ImportStatus?: ImportStatus | string;
|
|
3039
|
+
/**
|
|
3040
|
+
* <p>
|
|
3041
|
+
* The Amazon Resource Number (ARN) of the table being imported into.
|
|
3042
|
+
* </p>
|
|
3043
|
+
*/
|
|
3044
|
+
TableArn?: string;
|
|
3045
|
+
/**
|
|
3046
|
+
* <p>
|
|
3047
|
+
* The table id corresponding to the table created by import table process.
|
|
3048
|
+
*
|
|
3049
|
+
* </p>
|
|
3050
|
+
*/
|
|
3051
|
+
TableId?: string;
|
|
3052
|
+
/**
|
|
3053
|
+
* <p>
|
|
3054
|
+
* The client token that was provided for the import task. Reusing the client token
|
|
3055
|
+
* on retry makes a call to <code>ImportTable</code> idempotent.
|
|
3056
|
+
* </p>
|
|
3057
|
+
*/
|
|
3058
|
+
ClientToken?: string;
|
|
3059
|
+
/**
|
|
3060
|
+
* <p>
|
|
3061
|
+
* Values for the S3 bucket the source file is imported from. Includes bucket name (required),
|
|
3062
|
+
* key prefix (optional) and bucket account owner ID (optional).
|
|
3063
|
+
* </p>
|
|
3064
|
+
*/
|
|
3065
|
+
S3BucketSource?: S3BucketSource;
|
|
3066
|
+
/**
|
|
3067
|
+
* <p>
|
|
3068
|
+
* The number of errors occurred on importing the source file into the target table.
|
|
3069
|
+
* </p>
|
|
3070
|
+
*/
|
|
3071
|
+
ErrorCount?: number;
|
|
3072
|
+
/**
|
|
3073
|
+
* <p>
|
|
3074
|
+
* The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with the target table.
|
|
3075
|
+
* </p>
|
|
3076
|
+
*/
|
|
3077
|
+
CloudWatchLogGroupArn?: string;
|
|
3078
|
+
/**
|
|
3079
|
+
* <p>
|
|
3080
|
+
* The format of the source data going into the target table.
|
|
3081
|
+
* </p>
|
|
3082
|
+
*/
|
|
3083
|
+
InputFormat?: InputFormat | string;
|
|
3084
|
+
/**
|
|
3085
|
+
* <p> The format options for the data that was imported into the target table. There is one value, CsvOption.
|
|
3086
|
+
* </p>
|
|
3087
|
+
*/
|
|
3088
|
+
InputFormatOptions?: InputFormatOptions;
|
|
3089
|
+
/**
|
|
3090
|
+
* <p>
|
|
3091
|
+
* The compression options for the data that has been imported into the target table. The values are
|
|
3092
|
+
* NONE, GZIP, or ZSTD.
|
|
3093
|
+
* </p>
|
|
3094
|
+
*/
|
|
3095
|
+
InputCompressionType?: InputCompressionType | string;
|
|
3096
|
+
/**
|
|
3097
|
+
* <p>
|
|
3098
|
+
* The parameters for the new table that is being imported into.
|
|
3099
|
+
* </p>
|
|
3100
|
+
*/
|
|
3101
|
+
TableCreationParameters?: TableCreationParameters;
|
|
3102
|
+
/**
|
|
3103
|
+
* <p>
|
|
3104
|
+
* The time when this import task started.
|
|
3105
|
+
* </p>
|
|
3106
|
+
*/
|
|
3107
|
+
StartTime?: Date;
|
|
3108
|
+
/**
|
|
3109
|
+
* <p>
|
|
3110
|
+
* The time at which the creation of the table associated with this import task completed.
|
|
3111
|
+
* </p>
|
|
3112
|
+
*/
|
|
3113
|
+
EndTime?: Date;
|
|
3114
|
+
/**
|
|
3115
|
+
* <p>
|
|
3116
|
+
* The total size of data processed from the source file, in Bytes.
|
|
3117
|
+
* </p>
|
|
3118
|
+
*/
|
|
3119
|
+
ProcessedSizeBytes?: number;
|
|
3120
|
+
/**
|
|
3121
|
+
* <p>
|
|
3122
|
+
* The total number of items processed from the source file.
|
|
3123
|
+
* </p>
|
|
3124
|
+
*/
|
|
3125
|
+
ProcessedItemCount?: number;
|
|
3126
|
+
/**
|
|
3127
|
+
* <p>
|
|
3128
|
+
* The number of items successfully imported into the new table.
|
|
3129
|
+
* </p>
|
|
3130
|
+
*/
|
|
3131
|
+
ImportedItemCount?: number;
|
|
3132
|
+
/**
|
|
3133
|
+
* <p>
|
|
3134
|
+
* The error code corresponding to the failure that the import job ran into during execution.
|
|
3135
|
+
* </p>
|
|
3136
|
+
*/
|
|
3137
|
+
FailureCode?: string;
|
|
3138
|
+
/**
|
|
3139
|
+
* <p>
|
|
3140
|
+
* The error message corresponding to the failure that the import job ran into during execution.
|
|
3141
|
+
* </p>
|
|
3142
|
+
*/
|
|
3143
|
+
FailureMessage?: string;
|
|
3144
|
+
}
|
|
3145
|
+
export interface DescribeImportOutput {
|
|
3146
|
+
/**
|
|
3147
|
+
* <p>
|
|
3148
|
+
* Represents the properties of the table created for the import, and parameters of
|
|
3149
|
+
* the import. The import parameters include import status, how many items were processed,
|
|
3150
|
+
* and how many errors were encountered.
|
|
3151
|
+
* </p>
|
|
3152
|
+
*/
|
|
3153
|
+
ImportTableDescription: ImportTableDescription | undefined;
|
|
3154
|
+
}
|
|
3155
|
+
/**
|
|
3156
|
+
* <p>
|
|
3157
|
+
* The specified import was not found.
|
|
3158
|
+
* </p>
|
|
3159
|
+
*/
|
|
3160
|
+
export declare class ImportNotFoundException extends __BaseException {
|
|
3161
|
+
readonly name: "ImportNotFoundException";
|
|
3162
|
+
readonly $fault: "client";
|
|
3163
|
+
/**
|
|
3164
|
+
* @internal
|
|
3165
|
+
*/
|
|
3166
|
+
constructor(opts: __ExceptionOptionType<ImportNotFoundException, __BaseException>);
|
|
3167
|
+
}
|
|
2889
3168
|
export interface DescribeKinesisStreamingDestinationInput {
|
|
2890
3169
|
/**
|
|
2891
3170
|
* <p>The name of the table being described.</p>
|
|
@@ -3209,7 +3488,7 @@ export interface ExportTableToPointInTimeInput {
|
|
|
3209
3488
|
* result might not be idempotent.</p>
|
|
3210
3489
|
* <p>If you submit a request with the same client token but a change in other parameters
|
|
3211
3490
|
* within the 8-hour idempotency window, DynamoDB returns an
|
|
3212
|
-
*
|
|
3491
|
+
* <code>ImportConflictException</code>.</p>
|
|
3213
3492
|
*/
|
|
3214
3493
|
ClientToken?: string;
|
|
3215
3494
|
/**
|
|
@@ -3283,6 +3562,75 @@ export declare class PointInTimeRecoveryUnavailableException extends __BaseExcep
|
|
|
3283
3562
|
*/
|
|
3284
3563
|
constructor(opts: __ExceptionOptionType<PointInTimeRecoveryUnavailableException, __BaseException>);
|
|
3285
3564
|
}
|
|
3565
|
+
/**
|
|
3566
|
+
* <p>
|
|
3567
|
+
* There was a conflict when importing from the specified S3 source.
|
|
3568
|
+
* This can occur when the current import conflicts with a previous import request
|
|
3569
|
+
* that had the same client token.
|
|
3570
|
+
* </p>
|
|
3571
|
+
*/
|
|
3572
|
+
export declare class ImportConflictException extends __BaseException {
|
|
3573
|
+
readonly name: "ImportConflictException";
|
|
3574
|
+
readonly $fault: "client";
|
|
3575
|
+
/**
|
|
3576
|
+
* @internal
|
|
3577
|
+
*/
|
|
3578
|
+
constructor(opts: __ExceptionOptionType<ImportConflictException, __BaseException>);
|
|
3579
|
+
}
|
|
3580
|
+
export interface ImportTableInput {
|
|
3581
|
+
/**
|
|
3582
|
+
* <p>Providing a <code>ClientToken</code> makes the call to
|
|
3583
|
+
* <code>ImportTableInput</code> idempotent, meaning that multiple
|
|
3584
|
+
* identical calls have the same effect as one single call.</p>
|
|
3585
|
+
* <p>A client token is valid for 8 hours after the first request that uses it is completed.
|
|
3586
|
+
* After 8 hours, any request with the same client token is treated as a new request. Do
|
|
3587
|
+
* not resubmit the same request with the same client token for more than 8 hours, or the
|
|
3588
|
+
* result might not be idempotent.</p>
|
|
3589
|
+
* <p>If you submit a request with the same client token but a change in other parameters
|
|
3590
|
+
* within the 8-hour idempotency window, DynamoDB returns an
|
|
3591
|
+
* <code>IdempotentParameterMismatch</code> exception.</p>
|
|
3592
|
+
*/
|
|
3593
|
+
ClientToken?: string;
|
|
3594
|
+
/**
|
|
3595
|
+
* <p>
|
|
3596
|
+
* The S3 bucket that provides the source for the import.
|
|
3597
|
+
* </p>
|
|
3598
|
+
*/
|
|
3599
|
+
S3BucketSource: S3BucketSource | undefined;
|
|
3600
|
+
/**
|
|
3601
|
+
* <p> The format of the source data. Valid values for <code>ImportFormat</code> are
|
|
3602
|
+
* <code>CSV</code>, <code>DYNAMODB_JSON</code> or <code>ION</code>.
|
|
3603
|
+
* </p>
|
|
3604
|
+
*/
|
|
3605
|
+
InputFormat: InputFormat | string | undefined;
|
|
3606
|
+
/**
|
|
3607
|
+
* <p>
|
|
3608
|
+
* Additional properties that specify how the input is formatted,
|
|
3609
|
+
* </p>
|
|
3610
|
+
*/
|
|
3611
|
+
InputFormatOptions?: InputFormatOptions;
|
|
3612
|
+
/**
|
|
3613
|
+
* <p>
|
|
3614
|
+
* Type of compression to be used on the input coming from the imported table.
|
|
3615
|
+
* </p>
|
|
3616
|
+
*/
|
|
3617
|
+
InputCompressionType?: InputCompressionType | string;
|
|
3618
|
+
/**
|
|
3619
|
+
* <p>Parameters for the table to import the data into.
|
|
3620
|
+
* </p>
|
|
3621
|
+
*/
|
|
3622
|
+
TableCreationParameters: TableCreationParameters | undefined;
|
|
3623
|
+
}
|
|
3624
|
+
export interface ImportTableOutput {
|
|
3625
|
+
/**
|
|
3626
|
+
* <p>
|
|
3627
|
+
* Represents the properties of the table created for the import, and parameters of
|
|
3628
|
+
* the import. The import parameters include import status, how many items were processed,
|
|
3629
|
+
* and how many errors were encountered.
|
|
3630
|
+
* </p>
|
|
3631
|
+
*/
|
|
3632
|
+
ImportTableDescription: ImportTableDescription | undefined;
|
|
3633
|
+
}
|
|
3286
3634
|
export interface ListBackupsInput {
|
|
3287
3635
|
/**
|
|
3288
3636
|
* <p>The backups from the table specified by <code>TableName</code> are listed. </p>
|
|
@@ -3457,6 +3805,101 @@ export interface ListGlobalTablesOutput {
|
|
|
3457
3805
|
*/
|
|
3458
3806
|
LastEvaluatedGlobalTableName?: string;
|
|
3459
3807
|
}
|
|
3808
|
+
export interface ListImportsInput {
|
|
3809
|
+
/**
|
|
3810
|
+
* <p>
|
|
3811
|
+
* The Amazon Resource Name (ARN) associated with the table that was imported to.
|
|
3812
|
+
* </p>
|
|
3813
|
+
*/
|
|
3814
|
+
TableArn?: string;
|
|
3815
|
+
/**
|
|
3816
|
+
* <p>
|
|
3817
|
+
* The number of <code>ImportSummary </code>objects returned in a single page.
|
|
3818
|
+
* </p>
|
|
3819
|
+
*/
|
|
3820
|
+
PageSize?: number;
|
|
3821
|
+
/**
|
|
3822
|
+
* <p>
|
|
3823
|
+
* An optional string that, if supplied, must be copied from the output of a previous
|
|
3824
|
+
* call to <code>ListImports</code>. When provided in this manner, the API fetches the next
|
|
3825
|
+
* page of results.
|
|
3826
|
+
* </p>
|
|
3827
|
+
*/
|
|
3828
|
+
NextToken?: string;
|
|
3829
|
+
}
|
|
3830
|
+
/**
|
|
3831
|
+
* <p>
|
|
3832
|
+
* Summary information about the source file for the import.
|
|
3833
|
+
* </p>
|
|
3834
|
+
*/
|
|
3835
|
+
export interface ImportSummary {
|
|
3836
|
+
/**
|
|
3837
|
+
* <p>
|
|
3838
|
+
* The Amazon Resource Number (ARN) corresponding to the import request.
|
|
3839
|
+
* </p>
|
|
3840
|
+
*/
|
|
3841
|
+
ImportArn?: string;
|
|
3842
|
+
/**
|
|
3843
|
+
* <p>
|
|
3844
|
+
* The status of the import operation.
|
|
3845
|
+
* </p>
|
|
3846
|
+
*/
|
|
3847
|
+
ImportStatus?: ImportStatus | string;
|
|
3848
|
+
/**
|
|
3849
|
+
* <p>
|
|
3850
|
+
* The Amazon Resource Number (ARN) of the table being imported into.
|
|
3851
|
+
* </p>
|
|
3852
|
+
*/
|
|
3853
|
+
TableArn?: string;
|
|
3854
|
+
/**
|
|
3855
|
+
* <p>
|
|
3856
|
+
* The path and S3 bucket of the source file that is being imported. This includes the S3Bucket (required),
|
|
3857
|
+
* S3KeyPrefix (optional) and S3BucketOwner (optional if the bucket is owned by the requester).
|
|
3858
|
+
* </p>
|
|
3859
|
+
*/
|
|
3860
|
+
S3BucketSource?: S3BucketSource;
|
|
3861
|
+
/**
|
|
3862
|
+
* <p>
|
|
3863
|
+
* The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with this import task.
|
|
3864
|
+
* </p>
|
|
3865
|
+
*/
|
|
3866
|
+
CloudWatchLogGroupArn?: string;
|
|
3867
|
+
/**
|
|
3868
|
+
* <p>
|
|
3869
|
+
* The format of the source data. Valid values are <code>CSV</code>,
|
|
3870
|
+
* <code>DYNAMODB_JSON</code> or <code>ION</code>.</p>
|
|
3871
|
+
*/
|
|
3872
|
+
InputFormat?: InputFormat | string;
|
|
3873
|
+
/**
|
|
3874
|
+
* <p>
|
|
3875
|
+
* The time at which this import task began.
|
|
3876
|
+
* </p>
|
|
3877
|
+
*/
|
|
3878
|
+
StartTime?: Date;
|
|
3879
|
+
/**
|
|
3880
|
+
* <p>
|
|
3881
|
+
* The time at which this import task ended. (Does this include the successful complete creation of
|
|
3882
|
+
* the table it was imported to?)
|
|
3883
|
+
* </p>
|
|
3884
|
+
*/
|
|
3885
|
+
EndTime?: Date;
|
|
3886
|
+
}
|
|
3887
|
+
export interface ListImportsOutput {
|
|
3888
|
+
/**
|
|
3889
|
+
* <p>
|
|
3890
|
+
* A list of <code>ImportSummary</code> objects.
|
|
3891
|
+
* </p>
|
|
3892
|
+
*/
|
|
3893
|
+
ImportSummaryList?: ImportSummary[];
|
|
3894
|
+
/**
|
|
3895
|
+
* <p>
|
|
3896
|
+
* If this value is returned, there are additional results to be displayed. To retrieve
|
|
3897
|
+
* them, call <code>ListImports</code> again, with <code>NextToken</code> set to this
|
|
3898
|
+
* value.
|
|
3899
|
+
* </p>
|
|
3900
|
+
*/
|
|
3901
|
+
NextToken?: string;
|
|
3902
|
+
}
|
|
3460
3903
|
/**
|
|
3461
3904
|
* <p>Represents the input of a <code>ListTables</code> operation.</p>
|
|
3462
3905
|
*/
|
|
@@ -8459,6 +8902,10 @@ export declare const TableDescriptionFilterSensitiveLog: (obj: TableDescription)
|
|
|
8459
8902
|
* @internal
|
|
8460
8903
|
*/
|
|
8461
8904
|
export declare const CreateTableOutputFilterSensitiveLog: (obj: CreateTableOutput) => any;
|
|
8905
|
+
/**
|
|
8906
|
+
* @internal
|
|
8907
|
+
*/
|
|
8908
|
+
export declare const CsvOptionsFilterSensitiveLog: (obj: CsvOptions) => any;
|
|
8462
8909
|
/**
|
|
8463
8910
|
* @internal
|
|
8464
8911
|
*/
|
|
@@ -8563,6 +9010,30 @@ export declare const ReplicaSettingsDescriptionFilterSensitiveLog: (obj: Replica
|
|
|
8563
9010
|
* @internal
|
|
8564
9011
|
*/
|
|
8565
9012
|
export declare const DescribeGlobalTableSettingsOutputFilterSensitiveLog: (obj: DescribeGlobalTableSettingsOutput) => any;
|
|
9013
|
+
/**
|
|
9014
|
+
* @internal
|
|
9015
|
+
*/
|
|
9016
|
+
export declare const DescribeImportInputFilterSensitiveLog: (obj: DescribeImportInput) => any;
|
|
9017
|
+
/**
|
|
9018
|
+
* @internal
|
|
9019
|
+
*/
|
|
9020
|
+
export declare const InputFormatOptionsFilterSensitiveLog: (obj: InputFormatOptions) => any;
|
|
9021
|
+
/**
|
|
9022
|
+
* @internal
|
|
9023
|
+
*/
|
|
9024
|
+
export declare const S3BucketSourceFilterSensitiveLog: (obj: S3BucketSource) => any;
|
|
9025
|
+
/**
|
|
9026
|
+
* @internal
|
|
9027
|
+
*/
|
|
9028
|
+
export declare const TableCreationParametersFilterSensitiveLog: (obj: TableCreationParameters) => any;
|
|
9029
|
+
/**
|
|
9030
|
+
* @internal
|
|
9031
|
+
*/
|
|
9032
|
+
export declare const ImportTableDescriptionFilterSensitiveLog: (obj: ImportTableDescription) => any;
|
|
9033
|
+
/**
|
|
9034
|
+
* @internal
|
|
9035
|
+
*/
|
|
9036
|
+
export declare const DescribeImportOutputFilterSensitiveLog: (obj: DescribeImportOutput) => any;
|
|
8566
9037
|
/**
|
|
8567
9038
|
* @internal
|
|
8568
9039
|
*/
|
|
@@ -8635,6 +9106,14 @@ export declare const ExportTableToPointInTimeInputFilterSensitiveLog: (obj: Expo
|
|
|
8635
9106
|
* @internal
|
|
8636
9107
|
*/
|
|
8637
9108
|
export declare const ExportTableToPointInTimeOutputFilterSensitiveLog: (obj: ExportTableToPointInTimeOutput) => any;
|
|
9109
|
+
/**
|
|
9110
|
+
* @internal
|
|
9111
|
+
*/
|
|
9112
|
+
export declare const ImportTableInputFilterSensitiveLog: (obj: ImportTableInput) => any;
|
|
9113
|
+
/**
|
|
9114
|
+
* @internal
|
|
9115
|
+
*/
|
|
9116
|
+
export declare const ImportTableOutputFilterSensitiveLog: (obj: ImportTableOutput) => any;
|
|
8638
9117
|
/**
|
|
8639
9118
|
* @internal
|
|
8640
9119
|
*/
|
|
@@ -8675,6 +9154,18 @@ export declare const GlobalTableFilterSensitiveLog: (obj: GlobalTable) => any;
|
|
|
8675
9154
|
* @internal
|
|
8676
9155
|
*/
|
|
8677
9156
|
export declare const ListGlobalTablesOutputFilterSensitiveLog: (obj: ListGlobalTablesOutput) => any;
|
|
9157
|
+
/**
|
|
9158
|
+
* @internal
|
|
9159
|
+
*/
|
|
9160
|
+
export declare const ListImportsInputFilterSensitiveLog: (obj: ListImportsInput) => any;
|
|
9161
|
+
/**
|
|
9162
|
+
* @internal
|
|
9163
|
+
*/
|
|
9164
|
+
export declare const ImportSummaryFilterSensitiveLog: (obj: ImportSummary) => any;
|
|
9165
|
+
/**
|
|
9166
|
+
* @internal
|
|
9167
|
+
*/
|
|
9168
|
+
export declare const ListImportsOutputFilterSensitiveLog: (obj: ListImportsOutput) => any;
|
|
8678
9169
|
/**
|
|
8679
9170
|
* @internal
|
|
8680
9171
|
*/
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListImportsCommandInput, ListImportsCommandOutput } from "../commands/ListImportsCommand";
|
|
3
|
+
import { DynamoDBPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListImports(config: DynamoDBPaginationConfiguration, input: ListImportsCommandInput, ...additionalArguments: any): Paginator<ListImportsCommandOutput>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListContributorInsightsPaginator";
|
|
3
3
|
export * from "./ListExportsPaginator";
|
|
4
|
+
export * from "./ListImportsPaginator";
|
|
4
5
|
export * from "./ListTablesPaginator";
|
|
5
6
|
export * from "./QueryPaginator";
|
|
6
7
|
export * from "./ScanPaginator";
|
|
@@ -16,6 +16,7 @@ import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from ".
|
|
|
16
16
|
import { DescribeExportCommandInput, DescribeExportCommandOutput } from "../commands/DescribeExportCommand";
|
|
17
17
|
import { DescribeGlobalTableCommandInput, DescribeGlobalTableCommandOutput } from "../commands/DescribeGlobalTableCommand";
|
|
18
18
|
import { DescribeGlobalTableSettingsCommandInput, DescribeGlobalTableSettingsCommandOutput } from "../commands/DescribeGlobalTableSettingsCommand";
|
|
19
|
+
import { DescribeImportCommandInput, DescribeImportCommandOutput } from "../commands/DescribeImportCommand";
|
|
19
20
|
import { DescribeKinesisStreamingDestinationCommandInput, DescribeKinesisStreamingDestinationCommandOutput } from "../commands/DescribeKinesisStreamingDestinationCommand";
|
|
20
21
|
import { DescribeLimitsCommandInput, DescribeLimitsCommandOutput } from "../commands/DescribeLimitsCommand";
|
|
21
22
|
import { DescribeTableCommandInput, DescribeTableCommandOutput } from "../commands/DescribeTableCommand";
|
|
@@ -27,10 +28,12 @@ import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "../
|
|
|
27
28
|
import { ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput } from "../commands/ExecuteTransactionCommand";
|
|
28
29
|
import { ExportTableToPointInTimeCommandInput, ExportTableToPointInTimeCommandOutput } from "../commands/ExportTableToPointInTimeCommand";
|
|
29
30
|
import { GetItemCommandInput, GetItemCommandOutput } from "../commands/GetItemCommand";
|
|
31
|
+
import { ImportTableCommandInput, ImportTableCommandOutput } from "../commands/ImportTableCommand";
|
|
30
32
|
import { ListBackupsCommandInput, ListBackupsCommandOutput } from "../commands/ListBackupsCommand";
|
|
31
33
|
import { ListContributorInsightsCommandInput, ListContributorInsightsCommandOutput } from "../commands/ListContributorInsightsCommand";
|
|
32
34
|
import { ListExportsCommandInput, ListExportsCommandOutput } from "../commands/ListExportsCommand";
|
|
33
35
|
import { ListGlobalTablesCommandInput, ListGlobalTablesCommandOutput } from "../commands/ListGlobalTablesCommand";
|
|
36
|
+
import { ListImportsCommandInput, ListImportsCommandOutput } from "../commands/ListImportsCommand";
|
|
34
37
|
import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
|
|
35
38
|
import { ListTagsOfResourceCommandInput, ListTagsOfResourceCommandOutput } from "../commands/ListTagsOfResourceCommand";
|
|
36
39
|
import { PutItemCommandInput, PutItemCommandOutput } from "../commands/PutItemCommand";
|
|
@@ -66,6 +69,7 @@ export declare const serializeAws_json1_0DescribeEndpointsCommand: (input: Descr
|
|
|
66
69
|
export declare const serializeAws_json1_0DescribeExportCommand: (input: DescribeExportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
67
70
|
export declare const serializeAws_json1_0DescribeGlobalTableCommand: (input: DescribeGlobalTableCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
68
71
|
export declare const serializeAws_json1_0DescribeGlobalTableSettingsCommand: (input: DescribeGlobalTableSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
72
|
+
export declare const serializeAws_json1_0DescribeImportCommand: (input: DescribeImportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
69
73
|
export declare const serializeAws_json1_0DescribeKinesisStreamingDestinationCommand: (input: DescribeKinesisStreamingDestinationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
70
74
|
export declare const serializeAws_json1_0DescribeLimitsCommand: (input: DescribeLimitsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
71
75
|
export declare const serializeAws_json1_0DescribeTableCommand: (input: DescribeTableCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -77,10 +81,12 @@ export declare const serializeAws_json1_0ExecuteStatementCommand: (input: Execut
|
|
|
77
81
|
export declare const serializeAws_json1_0ExecuteTransactionCommand: (input: ExecuteTransactionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
78
82
|
export declare const serializeAws_json1_0ExportTableToPointInTimeCommand: (input: ExportTableToPointInTimeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
79
83
|
export declare const serializeAws_json1_0GetItemCommand: (input: GetItemCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
84
|
+
export declare const serializeAws_json1_0ImportTableCommand: (input: ImportTableCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
80
85
|
export declare const serializeAws_json1_0ListBackupsCommand: (input: ListBackupsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
81
86
|
export declare const serializeAws_json1_0ListContributorInsightsCommand: (input: ListContributorInsightsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
82
87
|
export declare const serializeAws_json1_0ListExportsCommand: (input: ListExportsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
83
88
|
export declare const serializeAws_json1_0ListGlobalTablesCommand: (input: ListGlobalTablesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
89
|
+
export declare const serializeAws_json1_0ListImportsCommand: (input: ListImportsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
84
90
|
export declare const serializeAws_json1_0ListTablesCommand: (input: ListTablesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
85
91
|
export declare const serializeAws_json1_0ListTagsOfResourceCommand: (input: ListTagsOfResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
86
92
|
export declare const serializeAws_json1_0PutItemCommand: (input: PutItemCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -116,6 +122,7 @@ export declare const deserializeAws_json1_0DescribeEndpointsCommand: (output: __
|
|
|
116
122
|
export declare const deserializeAws_json1_0DescribeExportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeExportCommandOutput>;
|
|
117
123
|
export declare const deserializeAws_json1_0DescribeGlobalTableCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeGlobalTableCommandOutput>;
|
|
118
124
|
export declare const deserializeAws_json1_0DescribeGlobalTableSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeGlobalTableSettingsCommandOutput>;
|
|
125
|
+
export declare const deserializeAws_json1_0DescribeImportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeImportCommandOutput>;
|
|
119
126
|
export declare const deserializeAws_json1_0DescribeKinesisStreamingDestinationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeKinesisStreamingDestinationCommandOutput>;
|
|
120
127
|
export declare const deserializeAws_json1_0DescribeLimitsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeLimitsCommandOutput>;
|
|
121
128
|
export declare const deserializeAws_json1_0DescribeTableCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeTableCommandOutput>;
|
|
@@ -127,10 +134,12 @@ export declare const deserializeAws_json1_0ExecuteStatementCommand: (output: __H
|
|
|
127
134
|
export declare const deserializeAws_json1_0ExecuteTransactionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExecuteTransactionCommandOutput>;
|
|
128
135
|
export declare const deserializeAws_json1_0ExportTableToPointInTimeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExportTableToPointInTimeCommandOutput>;
|
|
129
136
|
export declare const deserializeAws_json1_0GetItemCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetItemCommandOutput>;
|
|
137
|
+
export declare const deserializeAws_json1_0ImportTableCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportTableCommandOutput>;
|
|
130
138
|
export declare const deserializeAws_json1_0ListBackupsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBackupsCommandOutput>;
|
|
131
139
|
export declare const deserializeAws_json1_0ListContributorInsightsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListContributorInsightsCommandOutput>;
|
|
132
140
|
export declare const deserializeAws_json1_0ListExportsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListExportsCommandOutput>;
|
|
133
141
|
export declare const deserializeAws_json1_0ListGlobalTablesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListGlobalTablesCommandOutput>;
|
|
142
|
+
export declare const deserializeAws_json1_0ListImportsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListImportsCommandOutput>;
|
|
134
143
|
export declare const deserializeAws_json1_0ListTablesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTablesCommandOutput>;
|
|
135
144
|
export declare const deserializeAws_json1_0ListTagsOfResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsOfResourceCommandOutput>;
|
|
136
145
|
export declare const deserializeAws_json1_0PutItemCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutItemCommandOutput>;
|