File tree Expand file tree Collapse file tree 10 files changed +26
-25
lines changed
client-cognito-identity-browser Expand file tree Collapse file tree 10 files changed +26
-25
lines changed Original file line number Diff line number Diff line change 32
32
"jest" : " ^20.0.4" ,
33
33
"lerna" : " 3.13.4" ,
34
34
"lint-staged" : " ^8.1.5" ,
35
+ "prettier" : " 1.17.0" ,
35
36
"typescript" : " ^3.0.0"
36
37
},
37
38
"workspaces" : [
Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ To send a request, you:
47
47
const cognitoIdentity = new CognitoIdentityClient ({region: ' region' });
48
48
// clients can be shared by different commands
49
49
const params = {
50
- IdentityPoolName: /** a string value*/ ,
51
- AllowUnauthenticatedIdentities: /** a boolean value*/ ,
50
+ IdentityPoolName: /** a string value*/ ,
51
+ AllowUnauthenticatedIdentities: /** a boolean value*/ ,
52
52
};
53
53
const createIdentityPoolCommand = new CreateIdentityPoolCommand (params);
54
54
cognitoIdentity .send (createIdentityPoolCommand).then (data => {
Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ To send a request, you:
45
45
const glacier = new GlacierClient ({region: ' region' });
46
46
// clients can be shared by different commands
47
47
const params = {
48
- vaultName: /** a string value*/ ,
49
- accountId: /** a string value*/ ,
50
- body: /** a blob value*/
51
- /** You can supply readable stream to streaming input. e.g. fs.createReadStream(file) */ ,
48
+ vaultName: /** a string value*/ ,
49
+ accountId: /** a string value*/ ,
50
+ body: /** a blob value*/
51
+ /** You can supply readable stream to streaming input. e.g. fs.createReadStream(file) */ ,
52
52
};
53
53
const uploadArchiveCommand = new UploadArchiveCommand (params);
54
54
glacier .send (uploadArchiveCommand).then (data => {
Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ To send a request, you:
47
47
const kinesis = new KinesisClient ({region: ' region' });
48
48
// clients can be shared by different commands
49
49
const params = {
50
- StreamName: /** a string value*/ ,
51
- Tags: { /** a map with key of string and value of string*/ },
50
+ StreamName: /** a string value*/ ,
51
+ Tags: { /** a map with key of string and value of string*/ },
52
52
};
53
53
const addTagsToStreamCommand = new AddTagsToStreamCommand (params);
54
54
kinesis .send (addTagsToStreamCommand).then (data => {
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ To send a request, you:
45
45
const kMS = new KMSClient ({region: ' region' });
46
46
// clients can be shared by different commands
47
47
const params = {
48
- KeyId: /** a string value*/ ,
48
+ KeyId: /** a string value*/ ,
49
49
};
50
50
const cancelKeyDeletionCommand = new CancelKeyDeletionCommand (params);
51
51
kMS .send (cancelKeyDeletionCommand).then (data => {
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ To send a request, you:
45
45
const kMS = new KMSClient ({region: ' region' });
46
46
// clients can be shared by different commands
47
47
const params = {
48
- KeyId: /** a string value*/ ,
48
+ KeyId: /** a string value*/ ,
49
49
};
50
50
const cancelKeyDeletionCommand = new CancelKeyDeletionCommand (params);
51
51
kMS .send (cancelKeyDeletionCommand).then (data => {
Original file line number Diff line number Diff line change @@ -45,9 +45,9 @@ To send a request, you:
45
45
const lambda = new LambdaClient ({region: ' region' });
46
46
// clients can be shared by different commands
47
47
const params = {
48
- FunctionName: /** a string value*/ ,
49
- InvokeArgs: /** a blob value*/
50
- /** You can supply readable stream to streaming input. e.g. fs.createReadStream(file) */ ,
48
+ FunctionName: /** a string value*/ ,
49
+ InvokeArgs: /** a blob value*/
50
+ /** You can supply readable stream to streaming input. e.g. fs.createReadStream(file) */ ,
51
51
};
52
52
const invokeAsyncCommand = new InvokeAsyncCommand (params);
53
53
lambda .send (invokeAsyncCommand).then (data => {
Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ To send a request, you:
45
45
const s3 = new S3Client ({region: ' region' });
46
46
// clients can be shared by different commands
47
47
const params = {
48
- Body: /** a blob value*/
49
- /** You can supply readable stream to streaming input. e.g. (await fetch(input)).body */ ,
50
- Bucket: /** a string value*/ ,
51
- Key: /** a string value*/ ,
48
+ Body: /** a blob value*/
49
+ /** You can supply readable stream to streaming input. e.g. (await fetch(input)).body */ ,
50
+ Bucket: /** a string value*/ ,
51
+ Key: /** a string value*/ ,
52
52
};
53
53
const putObjectCommand = new PutObjectCommand (params);
54
54
s3 .send (putObjectCommand).then (data => {
Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ To send a request, you:
45
45
const s3 = new S3Client ({region: ' region' });
46
46
// clients can be shared by different commands
47
47
const params = {
48
- Body: /** a blob value*/
49
- /** You can supply readable stream to streaming input. e.g. fs.createReadStream(file) */ ,
50
- Bucket: /** a string value*/ ,
51
- Key: /** a string value*/ ,
48
+ Body: /** a blob value*/
49
+ /** You can supply readable stream to streaming input. e.g. fs.createReadStream(file) */ ,
50
+ Bucket: /** a string value*/ ,
51
+ Key: /** a string value*/ ,
52
52
};
53
53
const putObjectCommand = new PutObjectCommand (params);
54
54
s3 .send (putObjectCommand).then (data => {
Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ To send a request, you:
45
45
const sQS = new SQSClient ({region: ' region' });
46
46
// clients can be shared by different commands
47
47
const params = {
48
- QueueUrl: /** a string value*/ ,
49
- Label: /** a string value*/ ,
50
- AWSAccountIds: [ /** a list of string*/ ],
51
- Actions: [ /** a list of string*/ ],
48
+ QueueUrl: /** a string value*/ ,
49
+ Label: /** a string value*/ ,
50
+ AWSAccountIds: [ /** a list of string*/ ],
51
+ Actions: [ /** a list of string*/ ],
52
52
};
53
53
const addPermissionCommand = new AddPermissionCommand (params);
54
54
sQS .send (addPermissionCommand).then (data => {
You can’t perform that action at this time.
0 commit comments