How to use the default function from aws-sdk

Find comprehensive JavaScript aws-sdk.default code examples handpicked from public code repositorys.

598
599
600
601
602
603
604
605
606
607
    return new stream_1.Writable({ write(chunk, encoding, cb) { cb(); } });
}
// S3 ------------------------------------------------------------------
if (destination.startsWith("s3://")) {
    if (this.options.awsAccessKeyId && this.options.awsSecretAccessKey) {
        aws_sdk_1.default.config.update({
            accessKeyId: this.options.awsAccessKeyId,
            secretAccessKey: this.options.awsSecretAccessKey
        });
    }
fork icon4
star icon7
watch icon2

+ 107 other calls in file

15
16
17
18
19
20
21
22
23
24
}, _dec3 = Reflect.metadata("design:type", Function), _dec4 = Reflect.metadata("design:paramtypes", [typeof _IMailTemplateProvider.default === "undefined" ? Object : _IMailTemplateProvider.default]), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = class SESMailProvider {
  constructor(mailTemplateProvider) {
    this.mailTemplateProvider = mailTemplateProvider;
    this.client = void 0;
    this.client = _nodemailer.default.createTransport({
      SES: new _awsSdk.default.SES({
        apiVersion: '2010-12-01',
        region: 'sa-east-1'
      })
    });
fork icon0
star icon0
watch icon1

+ 52 other calls in file