Best JavaScript code snippet using wpt
aws-sdk_vx.x.x.js
Source:aws-sdk_vx.x.x.js
1// flow-typed signature: b6c9fe1794869319ffce0248fad5b0932// flow-typed version: <<STUB>>/aws-sdk_v^2.7.26/flow_v0.59.03/**4 * This is an autogenerated libdef stub for:5 *6 * 'aws-sdk'7 *8 * Fill this stub out by replacing all the `any` types.9 *10 * Once filled out, we encourage you to share your work with the11 * community by sending a pull request to:12 * https://github.com/flowtype/flow-typed13 */14declare module 'aws-sdk' {15 declare module.exports: any;16}17/**18 * We include stubs for each file inside this npm package in case you need to19 * require those files directly. Feel free to delete any files that aren't20 * needed.21 */22declare module 'aws-sdk/browser' {23 declare module.exports: any;24}25declare module 'aws-sdk/clients/acm' {26 declare module.exports: any;27}28declare module 'aws-sdk/clients/all' {29 declare module.exports: any;30}31declare module 'aws-sdk/clients/apigateway' {32 declare module.exports: any;33}34declare module 'aws-sdk/clients/applicationautoscaling' {35 declare module.exports: any;36}37declare module 'aws-sdk/clients/appstream' {38 declare module.exports: any;39}40declare module 'aws-sdk/clients/athena' {41 declare module.exports: any;42}43declare module 'aws-sdk/clients/autoscaling' {44 declare module.exports: any;45}46declare module 'aws-sdk/clients/batch' {47 declare module.exports: any;48}49declare module 'aws-sdk/clients/browser_default' {50 declare module.exports: any;51}52declare module 'aws-sdk/clients/budgets' {53 declare module.exports: any;54}55declare module 'aws-sdk/clients/clouddirectory' {56 declare module.exports: any;57}58declare module 'aws-sdk/clients/cloudformation' {59 declare module.exports: any;60}61declare module 'aws-sdk/clients/cloudfront' {62 declare module.exports: any;63}64declare module 'aws-sdk/clients/cloudhsm' {65 declare module.exports: any;66}67declare module 'aws-sdk/clients/cloudhsmv2' {68 declare module.exports: any;69}70declare module 'aws-sdk/clients/cloudsearch' {71 declare module.exports: any;72}73declare module 'aws-sdk/clients/cloudsearchdomain' {74 declare module.exports: any;75}76declare module 'aws-sdk/clients/cloudtrail' {77 declare module.exports: any;78}79declare module 'aws-sdk/clients/cloudwatch' {80 declare module.exports: any;81}82declare module 'aws-sdk/clients/cloudwatchevents' {83 declare module.exports: any;84}85declare module 'aws-sdk/clients/cloudwatchlogs' {86 declare module.exports: any;87}88declare module 'aws-sdk/clients/codebuild' {89 declare module.exports: any;90}91declare module 'aws-sdk/clients/codecommit' {92 declare module.exports: any;93}94declare module 'aws-sdk/clients/codedeploy' {95 declare module.exports: any;96}97declare module 'aws-sdk/clients/codepipeline' {98 declare module.exports: any;99}100declare module 'aws-sdk/clients/codestar' {101 declare module.exports: any;102}103declare module 'aws-sdk/clients/cognitoidentity' {104 declare module.exports: any;105}106declare module 'aws-sdk/clients/cognitoidentityserviceprovider' {107 declare module.exports: any;108}109declare module 'aws-sdk/clients/cognitosync' {110 declare module.exports: any;111}112declare module 'aws-sdk/clients/configservice' {113 declare module.exports: any;114}115declare module 'aws-sdk/clients/cur' {116 declare module.exports: any;117}118declare module 'aws-sdk/clients/datapipeline' {119 declare module.exports: any;120}121declare module 'aws-sdk/clients/dax' {122 declare module.exports: any;123}124declare module 'aws-sdk/clients/devicefarm' {125 declare module.exports: any;126}127declare module 'aws-sdk/clients/directconnect' {128 declare module.exports: any;129}130declare module 'aws-sdk/clients/directoryservice' {131 declare module.exports: any;132}133declare module 'aws-sdk/clients/discovery' {134 declare module.exports: any;135}136declare module 'aws-sdk/clients/dms' {137 declare module.exports: any;138}139declare module 'aws-sdk/clients/dynamodb' {140 declare module.exports: any;141}142declare module 'aws-sdk/clients/dynamodbstreams' {143 declare module.exports: any;144}145declare module 'aws-sdk/clients/ec2' {146 declare module.exports: any;147}148declare module 'aws-sdk/clients/ecr' {149 declare module.exports: any;150}151declare module 'aws-sdk/clients/ecs' {152 declare module.exports: any;153}154declare module 'aws-sdk/clients/efs' {155 declare module.exports: any;156}157declare module 'aws-sdk/clients/elasticache' {158 declare module.exports: any;159}160declare module 'aws-sdk/clients/elasticbeanstalk' {161 declare module.exports: any;162}163declare module 'aws-sdk/clients/elastictranscoder' {164 declare module.exports: any;165}166declare module 'aws-sdk/clients/elb' {167 declare module.exports: any;168}169declare module 'aws-sdk/clients/elbv2' {170 declare module.exports: any;171}172declare module 'aws-sdk/clients/emr' {173 declare module.exports: any;174}175declare module 'aws-sdk/clients/es' {176 declare module.exports: any;177}178declare module 'aws-sdk/clients/firehose' {179 declare module.exports: any;180}181declare module 'aws-sdk/clients/gamelift' {182 declare module.exports: any;183}184declare module 'aws-sdk/clients/glacier' {185 declare module.exports: any;186}187declare module 'aws-sdk/clients/glue' {188 declare module.exports: any;189}190declare module 'aws-sdk/clients/greengrass' {191 declare module.exports: any;192}193declare module 'aws-sdk/clients/health' {194 declare module.exports: any;195}196declare module 'aws-sdk/clients/iam' {197 declare module.exports: any;198}199declare module 'aws-sdk/clients/importexport' {200 declare module.exports: any;201}202declare module 'aws-sdk/clients/inspector' {203 declare module.exports: any;204}205declare module 'aws-sdk/clients/iot' {206 declare module.exports: any;207}208declare module 'aws-sdk/clients/iotdata' {209 declare module.exports: any;210}211declare module 'aws-sdk/clients/kinesis' {212 declare module.exports: any;213}214declare module 'aws-sdk/clients/kinesisanalytics' {215 declare module.exports: any;216}217declare module 'aws-sdk/clients/kms' {218 declare module.exports: any;219}220declare module 'aws-sdk/clients/lambda' {221 declare module.exports: any;222}223declare module 'aws-sdk/clients/lexmodelbuildingservice' {224 declare module.exports: any;225}226declare module 'aws-sdk/clients/lexruntime' {227 declare module.exports: any;228}229declare module 'aws-sdk/clients/lightsail' {230 declare module.exports: any;231}232declare module 'aws-sdk/clients/machinelearning' {233 declare module.exports: any;234}235declare module 'aws-sdk/clients/marketplacecommerceanalytics' {236 declare module.exports: any;237}238declare module 'aws-sdk/clients/marketplaceentitlementservice' {239 declare module.exports: any;240}241declare module 'aws-sdk/clients/marketplacemetering' {242 declare module.exports: any;243}244declare module 'aws-sdk/clients/migrationhub' {245 declare module.exports: any;246}247declare module 'aws-sdk/clients/mobile' {248 declare module.exports: any;249}250declare module 'aws-sdk/clients/mobileanalytics' {251 declare module.exports: any;252}253declare module 'aws-sdk/clients/mturk' {254 declare module.exports: any;255}256declare module 'aws-sdk/clients/opsworks' {257 declare module.exports: any;258}259declare module 'aws-sdk/clients/opsworkscm' {260 declare module.exports: any;261}262declare module 'aws-sdk/clients/organizations' {263 declare module.exports: any;264}265declare module 'aws-sdk/clients/pinpoint' {266 declare module.exports: any;267}268declare module 'aws-sdk/clients/polly' {269 declare module.exports: any;270}271declare module 'aws-sdk/clients/pricing' {272 declare module.exports: any;273}274declare module 'aws-sdk/clients/rds' {275 declare module.exports: any;276}277declare module 'aws-sdk/clients/redshift' {278 declare module.exports: any;279}280declare module 'aws-sdk/clients/rekognition' {281 declare module.exports: any;282}283declare module 'aws-sdk/clients/resourcegroupstaggingapi' {284 declare module.exports: any;285}286declare module 'aws-sdk/clients/route53' {287 declare module.exports: any;288}289declare module 'aws-sdk/clients/route53domains' {290 declare module.exports: any;291}292declare module 'aws-sdk/clients/s3' {293 declare module.exports: any;294}295declare module 'aws-sdk/clients/servicecatalog' {296 declare module.exports: any;297}298declare module 'aws-sdk/clients/ses' {299 declare module.exports: any;300}301declare module 'aws-sdk/clients/shield' {302 declare module.exports: any;303}304declare module 'aws-sdk/clients/simpledb' {305 declare module.exports: any;306}307declare module 'aws-sdk/clients/sms' {308 declare module.exports: any;309}310declare module 'aws-sdk/clients/snowball' {311 declare module.exports: any;312}313declare module 'aws-sdk/clients/sns' {314 declare module.exports: any;315}316declare module 'aws-sdk/clients/sqs' {317 declare module.exports: any;318}319declare module 'aws-sdk/clients/ssm' {320 declare module.exports: any;321}322declare module 'aws-sdk/clients/stepfunctions' {323 declare module.exports: any;324}325declare module 'aws-sdk/clients/storagegateway' {326 declare module.exports: any;327}328declare module 'aws-sdk/clients/sts' {329 declare module.exports: any;330}331declare module 'aws-sdk/clients/support' {332 declare module.exports: any;333}334declare module 'aws-sdk/clients/swf' {335 declare module.exports: any;336}337declare module 'aws-sdk/clients/waf' {338 declare module.exports: any;339}340declare module 'aws-sdk/clients/wafregional' {341 declare module.exports: any;342}343declare module 'aws-sdk/clients/workdocs' {344 declare module.exports: any;345}346declare module 'aws-sdk/clients/workspaces' {347 declare module.exports: any;348}349declare module 'aws-sdk/clients/xray' {350 declare module.exports: any;351}352declare module 'aws-sdk/dist-tools/browser-builder' {353 declare module.exports: any;354}355declare module 'aws-sdk/dist-tools/client-creator' {356 declare module.exports: any;357}358declare module 'aws-sdk/dist-tools/create-all-services' {359 declare module.exports: any;360}361declare module 'aws-sdk/dist-tools/service-collector' {362 declare module.exports: any;363}364declare module 'aws-sdk/dist-tools/transform' {365 declare module.exports: any;366}367declare module 'aws-sdk/dist-tools/webpack.config.rn-core' {368 declare module.exports: any;369}370declare module 'aws-sdk/dist-tools/webpack.config.rn-dep' {371 declare module.exports: any;372}373declare module 'aws-sdk/dist-tools/webpack.config.rn' {374 declare module.exports: any;375}376declare module 'aws-sdk/dist/aws-sdk-core-react-native' {377 declare module.exports: any;378}379declare module 'aws-sdk/dist/aws-sdk-react-native' {380 declare module.exports: any;381}382declare module 'aws-sdk/dist/aws-sdk' {383 declare module.exports: any;384}385declare module 'aws-sdk/dist/aws-sdk.min' {386 declare module.exports: any;387}388declare module 'aws-sdk/dist/xml2js' {389 declare module.exports: any;390}391declare module 'aws-sdk/global' {392 declare module.exports: any;393}394declare module 'aws-sdk/lib/api_loader' {395 declare module.exports: any;396}397declare module 'aws-sdk/lib/aws' {398 declare module.exports: any;399}400declare module 'aws-sdk/lib/browser_loader' {401 declare module.exports: any;402}403declare module 'aws-sdk/lib/browser' {404 declare module.exports: any;405}406declare module 'aws-sdk/lib/cloudfront/signer' {407 declare module.exports: any;408}409declare module 'aws-sdk/lib/config' {410 declare module.exports: any;411}412declare module 'aws-sdk/lib/core' {413 declare module.exports: any;414}415declare module 'aws-sdk/lib/credentials' {416 declare module.exports: any;417}418declare module 'aws-sdk/lib/credentials/cognito_identity_credentials' {419 declare module.exports: any;420}421declare module 'aws-sdk/lib/credentials/credential_provider_chain' {422 declare module.exports: any;423}424declare module 'aws-sdk/lib/credentials/ec2_metadata_credentials' {425 declare module.exports: any;426}427declare module 'aws-sdk/lib/credentials/ecs_credentials' {428 declare module.exports: any;429}430declare module 'aws-sdk/lib/credentials/environment_credentials' {431 declare module.exports: any;432}433declare module 'aws-sdk/lib/credentials/file_system_credentials' {434 declare module.exports: any;435}436declare module 'aws-sdk/lib/credentials/saml_credentials' {437 declare module.exports: any;438}439declare module 'aws-sdk/lib/credentials/shared_ini_file_credentials' {440 declare module.exports: any;441}442declare module 'aws-sdk/lib/credentials/temporary_credentials' {443 declare module.exports: any;444}445declare module 'aws-sdk/lib/credentials/web_identity_credentials' {446 declare module.exports: any;447}448declare module 'aws-sdk/lib/dynamodb/converter' {449 declare module.exports: any;450}451declare module 'aws-sdk/lib/dynamodb/document_client' {452 declare module.exports: any;453}454declare module 'aws-sdk/lib/dynamodb/numberValue' {455 declare module.exports: any;456}457declare module 'aws-sdk/lib/dynamodb/set' {458 declare module.exports: any;459}460declare module 'aws-sdk/lib/dynamodb/translator' {461 declare module.exports: any;462}463declare module 'aws-sdk/lib/dynamodb/types' {464 declare module.exports: any;465}466declare module 'aws-sdk/lib/empty' {467 declare module.exports: any;468}469declare module 'aws-sdk/lib/event_listeners' {470 declare module.exports: any;471}472declare module 'aws-sdk/lib/http' {473 declare module.exports: any;474}475declare module 'aws-sdk/lib/http/node' {476 declare module.exports: any;477}478declare module 'aws-sdk/lib/http/xhr' {479 declare module.exports: any;480}481declare module 'aws-sdk/lib/json/builder' {482 declare module.exports: any;483}484declare module 'aws-sdk/lib/json/parser' {485 declare module.exports: any;486}487declare module 'aws-sdk/lib/metadata_service' {488 declare module.exports: any;489}490declare module 'aws-sdk/lib/model/api' {491 declare module.exports: any;492}493declare module 'aws-sdk/lib/model/collection' {494 declare module.exports: any;495}496declare module 'aws-sdk/lib/model/operation' {497 declare module.exports: any;498}499declare module 'aws-sdk/lib/model/paginator' {500 declare module.exports: any;501}502declare module 'aws-sdk/lib/model/resource_waiter' {503 declare module.exports: any;504}505declare module 'aws-sdk/lib/model/shape' {506 declare module.exports: any;507}508declare module 'aws-sdk/lib/node_loader' {509 declare module.exports: any;510}511declare module 'aws-sdk/lib/param_validator' {512 declare module.exports: any;513}514declare module 'aws-sdk/lib/polly/presigner' {515 declare module.exports: any;516}517declare module 'aws-sdk/lib/protocol/json' {518 declare module.exports: any;519}520declare module 'aws-sdk/lib/protocol/query' {521 declare module.exports: any;522}523declare module 'aws-sdk/lib/protocol/rest_json' {524 declare module.exports: any;525}526declare module 'aws-sdk/lib/protocol/rest_xml' {527 declare module.exports: any;528}529declare module 'aws-sdk/lib/protocol/rest' {530 declare module.exports: any;531}532declare module 'aws-sdk/lib/query/query_param_serializer' {533 declare module.exports: any;534}535declare module 'aws-sdk/lib/rds/signer' {536 declare module.exports: any;537}538declare module 'aws-sdk/lib/react-native-loader' {539 declare module.exports: any;540}541declare module 'aws-sdk/lib/react-native/add-content-type' {542 declare module.exports: any;543}544declare module 'aws-sdk/lib/region_config' {545 declare module.exports: any;546}547declare module 'aws-sdk/lib/request' {548 declare module.exports: any;549}550declare module 'aws-sdk/lib/resource_waiter' {551 declare module.exports: any;552}553declare module 'aws-sdk/lib/response' {554 declare module.exports: any;555}556declare module 'aws-sdk/lib/s3/managed_upload' {557 declare module.exports: any;558}559declare module 'aws-sdk/lib/sequential_executor' {560 declare module.exports: any;561}562declare module 'aws-sdk/lib/service' {563 declare module.exports: any;564}565declare module 'aws-sdk/lib/services/apigateway' {566 declare module.exports: any;567}568declare module 'aws-sdk/lib/services/cloudfront' {569 declare module.exports: any;570}571declare module 'aws-sdk/lib/services/cloudsearchdomain' {572 declare module.exports: any;573}574declare module 'aws-sdk/lib/services/cognitoidentity' {575 declare module.exports: any;576}577declare module 'aws-sdk/lib/services/dynamodb' {578 declare module.exports: any;579}580declare module 'aws-sdk/lib/services/ec2' {581 declare module.exports: any;582}583declare module 'aws-sdk/lib/services/glacier' {584 declare module.exports: any;585}586declare module 'aws-sdk/lib/services/iotdata' {587 declare module.exports: any;588}589declare module 'aws-sdk/lib/services/lambda' {590 declare module.exports: any;591}592declare module 'aws-sdk/lib/services/machinelearning' {593 declare module.exports: any;594}595declare module 'aws-sdk/lib/services/polly' {596 declare module.exports: any;597}598declare module 'aws-sdk/lib/services/rds' {599 declare module.exports: any;600}601declare module 'aws-sdk/lib/services/route53' {602 declare module.exports: any;603}604declare module 'aws-sdk/lib/services/s3' {605 declare module.exports: any;606}607declare module 'aws-sdk/lib/services/sqs' {608 declare module.exports: any;609}610declare module 'aws-sdk/lib/services/sts' {611 declare module.exports: any;612}613declare module 'aws-sdk/lib/services/swf' {614 declare module.exports: any;615}616declare module 'aws-sdk/lib/shared_ini' {617 declare module.exports: any;618}619declare module 'aws-sdk/lib/signers/presign' {620 declare module.exports: any;621}622declare module 'aws-sdk/lib/signers/request_signer' {623 declare module.exports: any;624}625declare module 'aws-sdk/lib/signers/s3' {626 declare module.exports: any;627}628declare module 'aws-sdk/lib/signers/v2' {629 declare module.exports: any;630}631declare module 'aws-sdk/lib/signers/v3' {632 declare module.exports: any;633}634declare module 'aws-sdk/lib/signers/v3https' {635 declare module.exports: any;636}637declare module 'aws-sdk/lib/signers/v4_credentials' {638 declare module.exports: any;639}640declare module 'aws-sdk/lib/signers/v4' {641 declare module.exports: any;642}643declare module 'aws-sdk/lib/state_machine' {644 declare module.exports: any;645}646declare module 'aws-sdk/lib/util' {647 declare module.exports: any;648}649declare module 'aws-sdk/lib/xml/browser_parser' {650 declare module.exports: any;651}652declare module 'aws-sdk/lib/xml/builder' {653 declare module.exports: any;654}655declare module 'aws-sdk/lib/xml/node_parser' {656 declare module.exports: any;657}658declare module 'aws-sdk/react-native' {659 declare module.exports: any;660}661declare module 'aws-sdk/scripts/changelog/add-change' {662 declare module.exports: any;663}664declare module 'aws-sdk/scripts/changelog/change-creator' {665 declare module.exports: any;666}667declare module 'aws-sdk/scripts/changelog/util' {668 declare module.exports: any;669}670declare module 'aws-sdk/scripts/lib/translator' {671 declare module.exports: any;672}673declare module 'aws-sdk/scripts/lib/ts-generator' {674 declare module.exports: any;675}676declare module 'aws-sdk/scripts/services-table-generator' {677 declare module.exports: any;678}679declare module 'aws-sdk/scripts/typings-generator' {680 declare module.exports: any;681}682// Filename aliases683declare module 'aws-sdk/browser.js' {684 declare module.exports: $Exports<'aws-sdk/browser'>;685}686declare module 'aws-sdk/clients/acm.js' {687 declare module.exports: $Exports<'aws-sdk/clients/acm'>;688}689declare module 'aws-sdk/clients/all.js' {690 declare module.exports: $Exports<'aws-sdk/clients/all'>;691}692declare module 'aws-sdk/clients/apigateway.js' {693 declare module.exports: $Exports<'aws-sdk/clients/apigateway'>;694}695declare module 'aws-sdk/clients/applicationautoscaling.js' {696 declare module.exports: $Exports<'aws-sdk/clients/applicationautoscaling'>;697}698declare module 'aws-sdk/clients/appstream.js' {699 declare module.exports: $Exports<'aws-sdk/clients/appstream'>;700}701declare module 'aws-sdk/clients/athena.js' {702 declare module.exports: $Exports<'aws-sdk/clients/athena'>;703}704declare module 'aws-sdk/clients/autoscaling.js' {705 declare module.exports: $Exports<'aws-sdk/clients/autoscaling'>;706}707declare module 'aws-sdk/clients/batch.js' {708 declare module.exports: $Exports<'aws-sdk/clients/batch'>;709}710declare module 'aws-sdk/clients/browser_default.js' {711 declare module.exports: $Exports<'aws-sdk/clients/browser_default'>;712}713declare module 'aws-sdk/clients/budgets.js' {714 declare module.exports: $Exports<'aws-sdk/clients/budgets'>;715}716declare module 'aws-sdk/clients/clouddirectory.js' {717 declare module.exports: $Exports<'aws-sdk/clients/clouddirectory'>;718}719declare module 'aws-sdk/clients/cloudformation.js' {720 declare module.exports: $Exports<'aws-sdk/clients/cloudformation'>;721}722declare module 'aws-sdk/clients/cloudfront.js' {723 declare module.exports: $Exports<'aws-sdk/clients/cloudfront'>;724}725declare module 'aws-sdk/clients/cloudhsm.js' {726 declare module.exports: $Exports<'aws-sdk/clients/cloudhsm'>;727}728declare module 'aws-sdk/clients/cloudhsmv2.js' {729 declare module.exports: $Exports<'aws-sdk/clients/cloudhsmv2'>;730}731declare module 'aws-sdk/clients/cloudsearch.js' {732 declare module.exports: $Exports<'aws-sdk/clients/cloudsearch'>;733}734declare module 'aws-sdk/clients/cloudsearchdomain.js' {735 declare module.exports: $Exports<'aws-sdk/clients/cloudsearchdomain'>;736}737declare module 'aws-sdk/clients/cloudtrail.js' {738 declare module.exports: $Exports<'aws-sdk/clients/cloudtrail'>;739}740declare module 'aws-sdk/clients/cloudwatch.js' {741 declare module.exports: $Exports<'aws-sdk/clients/cloudwatch'>;742}743declare module 'aws-sdk/clients/cloudwatchevents.js' {744 declare module.exports: $Exports<'aws-sdk/clients/cloudwatchevents'>;745}746declare module 'aws-sdk/clients/cloudwatchlogs.js' {747 declare module.exports: $Exports<'aws-sdk/clients/cloudwatchlogs'>;748}749declare module 'aws-sdk/clients/codebuild.js' {750 declare module.exports: $Exports<'aws-sdk/clients/codebuild'>;751}752declare module 'aws-sdk/clients/codecommit.js' {753 declare module.exports: $Exports<'aws-sdk/clients/codecommit'>;754}755declare module 'aws-sdk/clients/codedeploy.js' {756 declare module.exports: $Exports<'aws-sdk/clients/codedeploy'>;757}758declare module 'aws-sdk/clients/codepipeline.js' {759 declare module.exports: $Exports<'aws-sdk/clients/codepipeline'>;760}761declare module 'aws-sdk/clients/codestar.js' {762 declare module.exports: $Exports<'aws-sdk/clients/codestar'>;763}764declare module 'aws-sdk/clients/cognitoidentity.js' {765 declare module.exports: $Exports<'aws-sdk/clients/cognitoidentity'>;766}767declare module 'aws-sdk/clients/cognitoidentityserviceprovider.js' {768 declare module.exports: $Exports<'aws-sdk/clients/cognitoidentityserviceprovider'>;769}770declare module 'aws-sdk/clients/cognitosync.js' {771 declare module.exports: $Exports<'aws-sdk/clients/cognitosync'>;772}773declare module 'aws-sdk/clients/configservice.js' {774 declare module.exports: $Exports<'aws-sdk/clients/configservice'>;775}776declare module 'aws-sdk/clients/cur.js' {777 declare module.exports: $Exports<'aws-sdk/clients/cur'>;778}779declare module 'aws-sdk/clients/datapipeline.js' {780 declare module.exports: $Exports<'aws-sdk/clients/datapipeline'>;781}782declare module 'aws-sdk/clients/dax.js' {783 declare module.exports: $Exports<'aws-sdk/clients/dax'>;784}785declare module 'aws-sdk/clients/devicefarm.js' {786 declare module.exports: $Exports<'aws-sdk/clients/devicefarm'>;787}788declare module 'aws-sdk/clients/directconnect.js' {789 declare module.exports: $Exports<'aws-sdk/clients/directconnect'>;790}791declare module 'aws-sdk/clients/directoryservice.js' {792 declare module.exports: $Exports<'aws-sdk/clients/directoryservice'>;793}794declare module 'aws-sdk/clients/discovery.js' {795 declare module.exports: $Exports<'aws-sdk/clients/discovery'>;796}797declare module 'aws-sdk/clients/dms.js' {798 declare module.exports: $Exports<'aws-sdk/clients/dms'>;799}800declare module 'aws-sdk/clients/dynamodb.js' {801 declare module.exports: $Exports<'aws-sdk/clients/dynamodb'>;802}803declare module 'aws-sdk/clients/dynamodbstreams.js' {804 declare module.exports: $Exports<'aws-sdk/clients/dynamodbstreams'>;805}806declare module 'aws-sdk/clients/ec2.js' {807 declare module.exports: $Exports<'aws-sdk/clients/ec2'>;808}809declare module 'aws-sdk/clients/ecr.js' {810 declare module.exports: $Exports<'aws-sdk/clients/ecr'>;811}812declare module 'aws-sdk/clients/ecs.js' {813 declare module.exports: $Exports<'aws-sdk/clients/ecs'>;814}815declare module 'aws-sdk/clients/efs.js' {816 declare module.exports: $Exports<'aws-sdk/clients/efs'>;817}818declare module 'aws-sdk/clients/elasticache.js' {819 declare module.exports: $Exports<'aws-sdk/clients/elasticache'>;820}821declare module 'aws-sdk/clients/elasticbeanstalk.js' {822 declare module.exports: $Exports<'aws-sdk/clients/elasticbeanstalk'>;823}824declare module 'aws-sdk/clients/elastictranscoder.js' {825 declare module.exports: $Exports<'aws-sdk/clients/elastictranscoder'>;826}827declare module 'aws-sdk/clients/elb.js' {828 declare module.exports: $Exports<'aws-sdk/clients/elb'>;829}830declare module 'aws-sdk/clients/elbv2.js' {831 declare module.exports: $Exports<'aws-sdk/clients/elbv2'>;832}833declare module 'aws-sdk/clients/emr.js' {834 declare module.exports: $Exports<'aws-sdk/clients/emr'>;835}836declare module 'aws-sdk/clients/es.js' {837 declare module.exports: $Exports<'aws-sdk/clients/es'>;838}839declare module 'aws-sdk/clients/firehose.js' {840 declare module.exports: $Exports<'aws-sdk/clients/firehose'>;841}842declare module 'aws-sdk/clients/gamelift.js' {843 declare module.exports: $Exports<'aws-sdk/clients/gamelift'>;844}845declare module 'aws-sdk/clients/glacier.js' {846 declare module.exports: $Exports<'aws-sdk/clients/glacier'>;847}848declare module 'aws-sdk/clients/glue.js' {849 declare module.exports: $Exports<'aws-sdk/clients/glue'>;850}851declare module 'aws-sdk/clients/greengrass.js' {852 declare module.exports: $Exports<'aws-sdk/clients/greengrass'>;853}854declare module 'aws-sdk/clients/health.js' {855 declare module.exports: $Exports<'aws-sdk/clients/health'>;856}857declare module 'aws-sdk/clients/iam.js' {858 declare module.exports: $Exports<'aws-sdk/clients/iam'>;859}860declare module 'aws-sdk/clients/importexport.js' {861 declare module.exports: $Exports<'aws-sdk/clients/importexport'>;862}863declare module 'aws-sdk/clients/inspector.js' {864 declare module.exports: $Exports<'aws-sdk/clients/inspector'>;865}866declare module 'aws-sdk/clients/iot.js' {867 declare module.exports: $Exports<'aws-sdk/clients/iot'>;868}869declare module 'aws-sdk/clients/iotdata.js' {870 declare module.exports: $Exports<'aws-sdk/clients/iotdata'>;871}872declare module 'aws-sdk/clients/kinesis.js' {873 declare module.exports: $Exports<'aws-sdk/clients/kinesis'>;874}875declare module 'aws-sdk/clients/kinesisanalytics.js' {876 declare module.exports: $Exports<'aws-sdk/clients/kinesisanalytics'>;877}878declare module 'aws-sdk/clients/kms.js' {879 declare module.exports: $Exports<'aws-sdk/clients/kms'>;880}881declare module 'aws-sdk/clients/lambda.js' {882 declare module.exports: $Exports<'aws-sdk/clients/lambda'>;883}884declare module 'aws-sdk/clients/lexmodelbuildingservice.js' {885 declare module.exports: $Exports<'aws-sdk/clients/lexmodelbuildingservice'>;886}887declare module 'aws-sdk/clients/lexruntime.js' {888 declare module.exports: $Exports<'aws-sdk/clients/lexruntime'>;889}890declare module 'aws-sdk/clients/lightsail.js' {891 declare module.exports: $Exports<'aws-sdk/clients/lightsail'>;892}893declare module 'aws-sdk/clients/machinelearning.js' {894 declare module.exports: $Exports<'aws-sdk/clients/machinelearning'>;895}896declare module 'aws-sdk/clients/marketplacecommerceanalytics.js' {897 declare module.exports: $Exports<'aws-sdk/clients/marketplacecommerceanalytics'>;898}899declare module 'aws-sdk/clients/marketplaceentitlementservice.js' {900 declare module.exports: $Exports<'aws-sdk/clients/marketplaceentitlementservice'>;901}902declare module 'aws-sdk/clients/marketplacemetering.js' {903 declare module.exports: $Exports<'aws-sdk/clients/marketplacemetering'>;904}905declare module 'aws-sdk/clients/migrationhub.js' {906 declare module.exports: $Exports<'aws-sdk/clients/migrationhub'>;907}908declare module 'aws-sdk/clients/mobile.js' {909 declare module.exports: $Exports<'aws-sdk/clients/mobile'>;910}911declare module 'aws-sdk/clients/mobileanalytics.js' {912 declare module.exports: $Exports<'aws-sdk/clients/mobileanalytics'>;913}914declare module 'aws-sdk/clients/mturk.js' {915 declare module.exports: $Exports<'aws-sdk/clients/mturk'>;916}917declare module 'aws-sdk/clients/opsworks.js' {918 declare module.exports: $Exports<'aws-sdk/clients/opsworks'>;919}920declare module 'aws-sdk/clients/opsworkscm.js' {921 declare module.exports: $Exports<'aws-sdk/clients/opsworkscm'>;922}923declare module 'aws-sdk/clients/organizations.js' {924 declare module.exports: $Exports<'aws-sdk/clients/organizations'>;925}926declare module 'aws-sdk/clients/pinpoint.js' {927 declare module.exports: $Exports<'aws-sdk/clients/pinpoint'>;928}929declare module 'aws-sdk/clients/polly.js' {930 declare module.exports: $Exports<'aws-sdk/clients/polly'>;931}932declare module 'aws-sdk/clients/pricing.js' {933 declare module.exports: $Exports<'aws-sdk/clients/pricing'>;934}935declare module 'aws-sdk/clients/rds.js' {936 declare module.exports: $Exports<'aws-sdk/clients/rds'>;937}938declare module 'aws-sdk/clients/redshift.js' {939 declare module.exports: $Exports<'aws-sdk/clients/redshift'>;940}941declare module 'aws-sdk/clients/rekognition.js' {942 declare module.exports: $Exports<'aws-sdk/clients/rekognition'>;943}944declare module 'aws-sdk/clients/resourcegroupstaggingapi.js' {945 declare module.exports: $Exports<'aws-sdk/clients/resourcegroupstaggingapi'>;946}947declare module 'aws-sdk/clients/route53.js' {948 declare module.exports: $Exports<'aws-sdk/clients/route53'>;949}950declare module 'aws-sdk/clients/route53domains.js' {951 declare module.exports: $Exports<'aws-sdk/clients/route53domains'>;952}953declare module 'aws-sdk/clients/s3.js' {954 declare module.exports: $Exports<'aws-sdk/clients/s3'>;955}956declare module 'aws-sdk/clients/servicecatalog.js' {957 declare module.exports: $Exports<'aws-sdk/clients/servicecatalog'>;958}959declare module 'aws-sdk/clients/ses.js' {960 declare module.exports: $Exports<'aws-sdk/clients/ses'>;961}962declare module 'aws-sdk/clients/shield.js' {963 declare module.exports: $Exports<'aws-sdk/clients/shield'>;964}965declare module 'aws-sdk/clients/simpledb.js' {966 declare module.exports: $Exports<'aws-sdk/clients/simpledb'>;967}968declare module 'aws-sdk/clients/sms.js' {969 declare module.exports: $Exports<'aws-sdk/clients/sms'>;970}971declare module 'aws-sdk/clients/snowball.js' {972 declare module.exports: $Exports<'aws-sdk/clients/snowball'>;973}974declare module 'aws-sdk/clients/sns.js' {975 declare module.exports: $Exports<'aws-sdk/clients/sns'>;976}977declare module 'aws-sdk/clients/sqs.js' {978 declare module.exports: $Exports<'aws-sdk/clients/sqs'>;979}980declare module 'aws-sdk/clients/ssm.js' {981 declare module.exports: $Exports<'aws-sdk/clients/ssm'>;982}983declare module 'aws-sdk/clients/stepfunctions.js' {984 declare module.exports: $Exports<'aws-sdk/clients/stepfunctions'>;985}986declare module 'aws-sdk/clients/storagegateway.js' {987 declare module.exports: $Exports<'aws-sdk/clients/storagegateway'>;988}989declare module 'aws-sdk/clients/sts.js' {990 declare module.exports: $Exports<'aws-sdk/clients/sts'>;991}992declare module 'aws-sdk/clients/support.js' {993 declare module.exports: $Exports<'aws-sdk/clients/support'>;994}995declare module 'aws-sdk/clients/swf.js' {996 declare module.exports: $Exports<'aws-sdk/clients/swf'>;997}998declare module 'aws-sdk/clients/waf.js' {999 declare module.exports: $Exports<'aws-sdk/clients/waf'>;1000}1001declare module 'aws-sdk/clients/wafregional.js' {1002 declare module.exports: $Exports<'aws-sdk/clients/wafregional'>;1003}1004declare module 'aws-sdk/clients/workdocs.js' {1005 declare module.exports: $Exports<'aws-sdk/clients/workdocs'>;1006}1007declare module 'aws-sdk/clients/workspaces.js' {1008 declare module.exports: $Exports<'aws-sdk/clients/workspaces'>;1009}1010declare module 'aws-sdk/clients/xray.js' {1011 declare module.exports: $Exports<'aws-sdk/clients/xray'>;1012}1013declare module 'aws-sdk/dist-tools/browser-builder.js' {1014 declare module.exports: $Exports<'aws-sdk/dist-tools/browser-builder'>;1015}1016declare module 'aws-sdk/dist-tools/client-creator.js' {1017 declare module.exports: $Exports<'aws-sdk/dist-tools/client-creator'>;1018}1019declare module 'aws-sdk/dist-tools/create-all-services.js' {1020 declare module.exports: $Exports<'aws-sdk/dist-tools/create-all-services'>;1021}1022declare module 'aws-sdk/dist-tools/service-collector.js' {1023 declare module.exports: $Exports<'aws-sdk/dist-tools/service-collector'>;1024}1025declare module 'aws-sdk/dist-tools/transform.js' {1026 declare module.exports: $Exports<'aws-sdk/dist-tools/transform'>;1027}1028declare module 'aws-sdk/dist-tools/webpack.config.rn-core.js' {1029 declare module.exports: $Exports<'aws-sdk/dist-tools/webpack.config.rn-core'>;1030}1031declare module 'aws-sdk/dist-tools/webpack.config.rn-dep.js' {1032 declare module.exports: $Exports<'aws-sdk/dist-tools/webpack.config.rn-dep'>;1033}1034declare module 'aws-sdk/dist-tools/webpack.config.rn.js' {1035 declare module.exports: $Exports<'aws-sdk/dist-tools/webpack.config.rn'>;1036}1037declare module 'aws-sdk/dist/aws-sdk-core-react-native.js' {1038 declare module.exports: $Exports<'aws-sdk/dist/aws-sdk-core-react-native'>;1039}1040declare module 'aws-sdk/dist/aws-sdk-react-native.js' {1041 declare module.exports: $Exports<'aws-sdk/dist/aws-sdk-react-native'>;1042}1043declare module 'aws-sdk/dist/aws-sdk.js' {1044 declare module.exports: $Exports<'aws-sdk/dist/aws-sdk'>;1045}1046declare module 'aws-sdk/dist/aws-sdk.min.js' {1047 declare module.exports: $Exports<'aws-sdk/dist/aws-sdk.min'>;1048}1049declare module 'aws-sdk/dist/xml2js.js' {1050 declare module.exports: $Exports<'aws-sdk/dist/xml2js'>;1051}1052declare module 'aws-sdk/global.js' {1053 declare module.exports: $Exports<'aws-sdk/global'>;1054}1055declare module 'aws-sdk/index' {1056 declare module.exports: $Exports<'aws-sdk'>;1057}1058declare module 'aws-sdk/index.js' {1059 declare module.exports: $Exports<'aws-sdk'>;1060}1061declare module 'aws-sdk/lib/api_loader.js' {1062 declare module.exports: $Exports<'aws-sdk/lib/api_loader'>;1063}1064declare module 'aws-sdk/lib/aws.js' {1065 declare module.exports: $Exports<'aws-sdk/lib/aws'>;1066}1067declare module 'aws-sdk/lib/browser_loader.js' {1068 declare module.exports: $Exports<'aws-sdk/lib/browser_loader'>;1069}1070declare module 'aws-sdk/lib/browser.js' {1071 declare module.exports: $Exports<'aws-sdk/lib/browser'>;1072}1073declare module 'aws-sdk/lib/cloudfront/signer.js' {1074 declare module.exports: $Exports<'aws-sdk/lib/cloudfront/signer'>;1075}1076declare module 'aws-sdk/lib/config.js' {1077 declare module.exports: $Exports<'aws-sdk/lib/config'>;1078}1079declare module 'aws-sdk/lib/core.js' {1080 declare module.exports: $Exports<'aws-sdk/lib/core'>;1081}1082declare module 'aws-sdk/lib/credentials.js' {1083 declare module.exports: $Exports<'aws-sdk/lib/credentials'>;1084}1085declare module 'aws-sdk/lib/credentials/cognito_identity_credentials.js' {1086 declare module.exports: $Exports<'aws-sdk/lib/credentials/cognito_identity_credentials'>;1087}1088declare module 'aws-sdk/lib/credentials/credential_provider_chain.js' {1089 declare module.exports: $Exports<'aws-sdk/lib/credentials/credential_provider_chain'>;1090}1091declare module 'aws-sdk/lib/credentials/ec2_metadata_credentials.js' {1092 declare module.exports: $Exports<'aws-sdk/lib/credentials/ec2_metadata_credentials'>;1093}1094declare module 'aws-sdk/lib/credentials/ecs_credentials.js' {1095 declare module.exports: $Exports<'aws-sdk/lib/credentials/ecs_credentials'>;1096}1097declare module 'aws-sdk/lib/credentials/environment_credentials.js' {1098 declare module.exports: $Exports<'aws-sdk/lib/credentials/environment_credentials'>;1099}1100declare module 'aws-sdk/lib/credentials/file_system_credentials.js' {1101 declare module.exports: $Exports<'aws-sdk/lib/credentials/file_system_credentials'>;1102}1103declare module 'aws-sdk/lib/credentials/saml_credentials.js' {1104 declare module.exports: $Exports<'aws-sdk/lib/credentials/saml_credentials'>;1105}1106declare module 'aws-sdk/lib/credentials/shared_ini_file_credentials.js' {1107 declare module.exports: $Exports<'aws-sdk/lib/credentials/shared_ini_file_credentials'>;1108}1109declare module 'aws-sdk/lib/credentials/temporary_credentials.js' {1110 declare module.exports: $Exports<'aws-sdk/lib/credentials/temporary_credentials'>;1111}1112declare module 'aws-sdk/lib/credentials/web_identity_credentials.js' {1113 declare module.exports: $Exports<'aws-sdk/lib/credentials/web_identity_credentials'>;1114}1115declare module 'aws-sdk/lib/dynamodb/converter.js' {1116 declare module.exports: $Exports<'aws-sdk/lib/dynamodb/converter'>;1117}1118declare module 'aws-sdk/lib/dynamodb/document_client.js' {1119 declare module.exports: $Exports<'aws-sdk/lib/dynamodb/document_client'>;1120}1121declare module 'aws-sdk/lib/dynamodb/numberValue.js' {1122 declare module.exports: $Exports<'aws-sdk/lib/dynamodb/numberValue'>;1123}1124declare module 'aws-sdk/lib/dynamodb/set.js' {1125 declare module.exports: $Exports<'aws-sdk/lib/dynamodb/set'>;1126}1127declare module 'aws-sdk/lib/dynamodb/translator.js' {1128 declare module.exports: $Exports<'aws-sdk/lib/dynamodb/translator'>;1129}1130declare module 'aws-sdk/lib/dynamodb/types.js' {1131 declare module.exports: $Exports<'aws-sdk/lib/dynamodb/types'>;1132}1133declare module 'aws-sdk/lib/empty.js' {1134 declare module.exports: $Exports<'aws-sdk/lib/empty'>;1135}1136declare module 'aws-sdk/lib/event_listeners.js' {1137 declare module.exports: $Exports<'aws-sdk/lib/event_listeners'>;1138}1139declare module 'aws-sdk/lib/http.js' {1140 declare module.exports: $Exports<'aws-sdk/lib/http'>;1141}1142declare module 'aws-sdk/lib/http/node.js' {1143 declare module.exports: $Exports<'aws-sdk/lib/http/node'>;1144}1145declare module 'aws-sdk/lib/http/xhr.js' {1146 declare module.exports: $Exports<'aws-sdk/lib/http/xhr'>;1147}1148declare module 'aws-sdk/lib/json/builder.js' {1149 declare module.exports: $Exports<'aws-sdk/lib/json/builder'>;1150}1151declare module 'aws-sdk/lib/json/parser.js' {1152 declare module.exports: $Exports<'aws-sdk/lib/json/parser'>;1153}1154declare module 'aws-sdk/lib/metadata_service.js' {1155 declare module.exports: $Exports<'aws-sdk/lib/metadata_service'>;1156}1157declare module 'aws-sdk/lib/model/api.js' {1158 declare module.exports: $Exports<'aws-sdk/lib/model/api'>;1159}1160declare module 'aws-sdk/lib/model/collection.js' {1161 declare module.exports: $Exports<'aws-sdk/lib/model/collection'>;1162}1163declare module 'aws-sdk/lib/model/operation.js' {1164 declare module.exports: $Exports<'aws-sdk/lib/model/operation'>;1165}1166declare module 'aws-sdk/lib/model/paginator.js' {1167 declare module.exports: $Exports<'aws-sdk/lib/model/paginator'>;1168}1169declare module 'aws-sdk/lib/model/resource_waiter.js' {1170 declare module.exports: $Exports<'aws-sdk/lib/model/resource_waiter'>;1171}1172declare module 'aws-sdk/lib/model/shape.js' {1173 declare module.exports: $Exports<'aws-sdk/lib/model/shape'>;1174}1175declare module 'aws-sdk/lib/node_loader.js' {1176 declare module.exports: $Exports<'aws-sdk/lib/node_loader'>;1177}1178declare module 'aws-sdk/lib/param_validator.js' {1179 declare module.exports: $Exports<'aws-sdk/lib/param_validator'>;1180}1181declare module 'aws-sdk/lib/polly/presigner.js' {1182 declare module.exports: $Exports<'aws-sdk/lib/polly/presigner'>;1183}1184declare module 'aws-sdk/lib/protocol/json.js' {1185 declare module.exports: $Exports<'aws-sdk/lib/protocol/json'>;1186}1187declare module 'aws-sdk/lib/protocol/query.js' {1188 declare module.exports: $Exports<'aws-sdk/lib/protocol/query'>;1189}1190declare module 'aws-sdk/lib/protocol/rest_json.js' {1191 declare module.exports: $Exports<'aws-sdk/lib/protocol/rest_json'>;1192}1193declare module 'aws-sdk/lib/protocol/rest_xml.js' {1194 declare module.exports: $Exports<'aws-sdk/lib/protocol/rest_xml'>;1195}1196declare module 'aws-sdk/lib/protocol/rest.js' {1197 declare module.exports: $Exports<'aws-sdk/lib/protocol/rest'>;1198}1199declare module 'aws-sdk/lib/query/query_param_serializer.js' {1200 declare module.exports: $Exports<'aws-sdk/lib/query/query_param_serializer'>;1201}1202declare module 'aws-sdk/lib/rds/signer.js' {1203 declare module.exports: $Exports<'aws-sdk/lib/rds/signer'>;1204}1205declare module 'aws-sdk/lib/react-native-loader.js' {1206 declare module.exports: $Exports<'aws-sdk/lib/react-native-loader'>;1207}1208declare module 'aws-sdk/lib/react-native/add-content-type.js' {1209 declare module.exports: $Exports<'aws-sdk/lib/react-native/add-content-type'>;1210}1211declare module 'aws-sdk/lib/region_config.js' {1212 declare module.exports: $Exports<'aws-sdk/lib/region_config'>;1213}1214declare module 'aws-sdk/lib/request.js' {1215 declare module.exports: $Exports<'aws-sdk/lib/request'>;1216}1217declare module 'aws-sdk/lib/resource_waiter.js' {1218 declare module.exports: $Exports<'aws-sdk/lib/resource_waiter'>;1219}1220declare module 'aws-sdk/lib/response.js' {1221 declare module.exports: $Exports<'aws-sdk/lib/response'>;1222}1223declare module 'aws-sdk/lib/s3/managed_upload.js' {1224 declare module.exports: $Exports<'aws-sdk/lib/s3/managed_upload'>;1225}1226declare module 'aws-sdk/lib/sequential_executor.js' {1227 declare module.exports: $Exports<'aws-sdk/lib/sequential_executor'>;1228}1229declare module 'aws-sdk/lib/service.js' {1230 declare module.exports: $Exports<'aws-sdk/lib/service'>;1231}1232declare module 'aws-sdk/lib/services/apigateway.js' {1233 declare module.exports: $Exports<'aws-sdk/lib/services/apigateway'>;1234}1235declare module 'aws-sdk/lib/services/cloudfront.js' {1236 declare module.exports: $Exports<'aws-sdk/lib/services/cloudfront'>;1237}1238declare module 'aws-sdk/lib/services/cloudsearchdomain.js' {1239 declare module.exports: $Exports<'aws-sdk/lib/services/cloudsearchdomain'>;1240}1241declare module 'aws-sdk/lib/services/cognitoidentity.js' {1242 declare module.exports: $Exports<'aws-sdk/lib/services/cognitoidentity'>;1243}1244declare module 'aws-sdk/lib/services/dynamodb.js' {1245 declare module.exports: $Exports<'aws-sdk/lib/services/dynamodb'>;1246}1247declare module 'aws-sdk/lib/services/ec2.js' {1248 declare module.exports: $Exports<'aws-sdk/lib/services/ec2'>;1249}1250declare module 'aws-sdk/lib/services/glacier.js' {1251 declare module.exports: $Exports<'aws-sdk/lib/services/glacier'>;1252}1253declare module 'aws-sdk/lib/services/iotdata.js' {1254 declare module.exports: $Exports<'aws-sdk/lib/services/iotdata'>;1255}1256declare module 'aws-sdk/lib/services/lambda.js' {1257 declare module.exports: $Exports<'aws-sdk/lib/services/lambda'>;1258}1259declare module 'aws-sdk/lib/services/machinelearning.js' {1260 declare module.exports: $Exports<'aws-sdk/lib/services/machinelearning'>;1261}1262declare module 'aws-sdk/lib/services/polly.js' {1263 declare module.exports: $Exports<'aws-sdk/lib/services/polly'>;1264}1265declare module 'aws-sdk/lib/services/rds.js' {1266 declare module.exports: $Exports<'aws-sdk/lib/services/rds'>;1267}1268declare module 'aws-sdk/lib/services/route53.js' {1269 declare module.exports: $Exports<'aws-sdk/lib/services/route53'>;1270}1271declare module 'aws-sdk/lib/services/s3.js' {1272 declare module.exports: $Exports<'aws-sdk/lib/services/s3'>;1273}1274declare module 'aws-sdk/lib/services/sqs.js' {1275 declare module.exports: $Exports<'aws-sdk/lib/services/sqs'>;1276}1277declare module 'aws-sdk/lib/services/sts.js' {1278 declare module.exports: $Exports<'aws-sdk/lib/services/sts'>;1279}1280declare module 'aws-sdk/lib/services/swf.js' {1281 declare module.exports: $Exports<'aws-sdk/lib/services/swf'>;1282}1283declare module 'aws-sdk/lib/shared_ini.js' {1284 declare module.exports: $Exports<'aws-sdk/lib/shared_ini'>;1285}1286declare module 'aws-sdk/lib/signers/presign.js' {1287 declare module.exports: $Exports<'aws-sdk/lib/signers/presign'>;1288}1289declare module 'aws-sdk/lib/signers/request_signer.js' {1290 declare module.exports: $Exports<'aws-sdk/lib/signers/request_signer'>;1291}1292declare module 'aws-sdk/lib/signers/s3.js' {1293 declare module.exports: $Exports<'aws-sdk/lib/signers/s3'>;1294}1295declare module 'aws-sdk/lib/signers/v2.js' {1296 declare module.exports: $Exports<'aws-sdk/lib/signers/v2'>;1297}1298declare module 'aws-sdk/lib/signers/v3.js' {1299 declare module.exports: $Exports<'aws-sdk/lib/signers/v3'>;1300}1301declare module 'aws-sdk/lib/signers/v3https.js' {1302 declare module.exports: $Exports<'aws-sdk/lib/signers/v3https'>;1303}1304declare module 'aws-sdk/lib/signers/v4_credentials.js' {1305 declare module.exports: $Exports<'aws-sdk/lib/signers/v4_credentials'>;1306}1307declare module 'aws-sdk/lib/signers/v4.js' {1308 declare module.exports: $Exports<'aws-sdk/lib/signers/v4'>;1309}1310declare module 'aws-sdk/lib/state_machine.js' {1311 declare module.exports: $Exports<'aws-sdk/lib/state_machine'>;1312}1313declare module 'aws-sdk/lib/util.js' {1314 declare module.exports: $Exports<'aws-sdk/lib/util'>;1315}1316declare module 'aws-sdk/lib/xml/browser_parser.js' {1317 declare module.exports: $Exports<'aws-sdk/lib/xml/browser_parser'>;1318}1319declare module 'aws-sdk/lib/xml/builder.js' {1320 declare module.exports: $Exports<'aws-sdk/lib/xml/builder'>;1321}1322declare module 'aws-sdk/lib/xml/node_parser.js' {1323 declare module.exports: $Exports<'aws-sdk/lib/xml/node_parser'>;1324}1325declare module 'aws-sdk/react-native.js' {1326 declare module.exports: $Exports<'aws-sdk/react-native'>;1327}1328declare module 'aws-sdk/scripts/changelog/add-change.js' {1329 declare module.exports: $Exports<'aws-sdk/scripts/changelog/add-change'>;1330}1331declare module 'aws-sdk/scripts/changelog/change-creator.js' {1332 declare module.exports: $Exports<'aws-sdk/scripts/changelog/change-creator'>;1333}1334declare module 'aws-sdk/scripts/changelog/util.js' {1335 declare module.exports: $Exports<'aws-sdk/scripts/changelog/util'>;1336}1337declare module 'aws-sdk/scripts/lib/translator.js' {1338 declare module.exports: $Exports<'aws-sdk/scripts/lib/translator'>;1339}1340declare module 'aws-sdk/scripts/lib/ts-generator.js' {1341 declare module.exports: $Exports<'aws-sdk/scripts/lib/ts-generator'>;1342}1343declare module 'aws-sdk/scripts/services-table-generator.js' {1344 declare module.exports: $Exports<'aws-sdk/scripts/services-table-generator'>;1345}1346declare module 'aws-sdk/scripts/typings-generator.js' {1347 declare module.exports: $Exports<'aws-sdk/scripts/typings-generator'>;...
test_syncedtabs.js
Source:test_syncedtabs.js
1/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*-2 * vim:set ts=2 sw=2 sts=2 et:3 */4"use strict";5const { Weave } = ChromeUtils.import("resource://services-sync/main.js");6const { SyncedTabs } = ChromeUtils.import(7 "resource://services-sync/SyncedTabs.jsm"8);9const faviconService = Cc["@mozilla.org/browser/favicon-service;1"].getService(10 Ci.nsIFaviconService11);12Log.repository.getLogger("Sync.RemoteTabs").addAppender(new Log.DumpAppender());13// A mock "Tabs" engine which the SyncedTabs module will use instead of the real14// engine. We pass a constructor that Sync creates.15function MockTabsEngine() {16 this.clients = {}; // We'll set this dynamically17}18MockTabsEngine.prototype = {19 name: "tabs",20 enabled: true,21 getAllClients() {22 return this.clients;23 },24 getOpenURLs() {25 return new Set();26 },27};28let tabsEngine;29// A clients engine that doesn't need to be a constructor.30let MockClientsEngine = {31 clientSettings: null, // Set in `configureClients`.32 isMobile(guid) {33 if (!guid.endsWith("desktop") && !guid.endsWith("mobile")) {34 throw new Error(35 "this module expected guids to end with 'desktop' or 'mobile'"36 );37 }38 return guid.endsWith("mobile");39 },40 remoteClientExists(id) {41 return this.clientSettings[id] !== false;42 },43 getClientName(id) {44 if (this.clientSettings[id]) {45 return this.clientSettings[id];46 }47 return tabsEngine.clients[id].clientName;48 },49 getClientType(id) {50 return "desktop";51 },52};53function configureClients(clients, clientSettings = {}) {54 // each client record is expected to have an id.55 for (let [guid, client] of Object.entries(clients)) {56 client.id = guid;57 }58 tabsEngine.clients = clients;59 // Apply clients collection overrides.60 MockClientsEngine.clientSettings = clientSettings;61 // Send an observer that pretends the engine just finished a sync.62 Services.obs.notifyObservers(null, "weave:engine:sync:finish", "tabs");63}64add_task(async function setup() {65 await Weave.Service.promiseInitialized;66 // Configure Sync with our mock tabs engine and force it to become initialized.67 await Weave.Service.engineManager.unregister("tabs");68 await Weave.Service.engineManager.register(MockTabsEngine);69 Weave.Service.clientsEngine = MockClientsEngine;70 tabsEngine = Weave.Service.engineManager.get("tabs");71 // Tell the Sync XPCOM service it is initialized.72 let weaveXPCService = Cc["@mozilla.org/weave/service;1"].getService(73 Ci.nsISupports74 ).wrappedJSObject;75 weaveXPCService.ready = true;76});77// The tests.78add_task(async function test_noClients() {79 // no clients, can't be tabs.80 await configureClients({});81 let tabs = await SyncedTabs.getTabClients();82 equal(Object.keys(tabs).length, 0);83});84add_task(async function test_clientWithTabs() {85 await configureClients({86 guid_desktop: {87 clientName: "My Desktop",88 tabs: [89 {90 urlHistory: ["http://foo.com/"],91 icon: "http://foo.com/favicon",92 },93 ],94 },95 guid_mobile: {96 clientName: "My Phone",97 tabs: [],98 },99 });100 let clients = await SyncedTabs.getTabClients();101 equal(clients.length, 2);102 clients.sort((a, b) => {103 return a.name.localeCompare(b.name);104 });105 equal(clients[0].tabs.length, 1);106 equal(clients[0].tabs[0].url, "http://foo.com/");107 equal(clients[0].tabs[0].icon, "http://foo.com/favicon");108 // second client has no tabs.109 equal(clients[1].tabs.length, 0);110});111add_task(async function test_staleClientWithTabs() {112 await configureClients(113 {114 guid_desktop: {115 clientName: "My Desktop",116 tabs: [117 {118 urlHistory: ["http://foo.com/"],119 icon: "http://foo.com/favicon",120 },121 ],122 },123 guid_mobile: {124 clientName: "My Phone",125 tabs: [],126 },127 guid_stale_mobile: {128 clientName: "My Deleted Phone",129 tabs: [],130 },131 guid_stale_desktop: {132 clientName: "My Deleted Laptop",133 tabs: [134 {135 urlHistory: ["https://bar.com/"],136 icon: "https://bar.com/favicon",137 },138 ],139 },140 guid_stale_name_desktop: {141 clientName: "My Generic Device",142 tabs: [143 {144 urlHistory: ["https://example.edu/"],145 icon: "https://example.edu/favicon",146 },147 ],148 },149 },150 {151 guid_stale_mobile: false,152 guid_stale_desktop: false,153 // We should always use the device name from the clients collection, instead154 // of the possibly stale tabs collection.155 guid_stale_name_desktop: "My Laptop",156 }157 );158 let clients = await SyncedTabs.getTabClients();159 clients.sort((a, b) => {160 return a.name.localeCompare(b.name);161 });162 equal(clients.length, 3);163 equal(clients[0].name, "My Desktop");164 equal(clients[0].tabs.length, 1);165 equal(clients[0].tabs[0].url, "http://foo.com/");166 equal(clients[1].name, "My Laptop");167 equal(clients[1].tabs.length, 1);168 equal(clients[1].tabs[0].url, "https://example.edu/");169 equal(clients[2].name, "My Phone");170 equal(clients[2].tabs.length, 0);171});172add_task(async function test_clientWithTabsIconsDisabled() {173 Services.prefs.setBoolPref("services.sync.syncedTabs.showRemoteIcons", false);174 await configureClients({175 guid_desktop: {176 clientName: "My Desktop",177 tabs: [178 {179 urlHistory: ["http://foo.com/"],180 icon: "http://foo.com/favicon",181 },182 ],183 },184 });185 let clients = await SyncedTabs.getTabClients();186 equal(clients.length, 1);187 clients.sort((a, b) => {188 return a.name.localeCompare(b.name);189 });190 equal(clients[0].tabs.length, 1);191 equal(clients[0].tabs[0].url, "http://foo.com/");192 // Expect the default favicon due to the pref being false.193 equal(clients[0].tabs[0].icon, "page-icon:http://foo.com/");194 Services.prefs.clearUserPref("services.sync.syncedTabs.showRemoteIcons");195});196add_task(async function test_filter() {197 // Nothing matches.198 await configureClients({199 guid_desktop: {200 clientName: "My Desktop",201 tabs: [202 {203 urlHistory: ["http://foo.com/"],204 title: "A test page.",205 },206 {207 urlHistory: ["http://bar.com/"],208 title: "Another page.",209 },210 ],211 },212 });213 let clients = await SyncedTabs.getTabClients("foo");214 equal(clients.length, 1);215 equal(clients[0].tabs.length, 1);216 equal(clients[0].tabs[0].url, "http://foo.com/");217 // check it matches the title.218 clients = await SyncedTabs.getTabClients("test");219 equal(clients.length, 1);220 equal(clients[0].tabs.length, 1);221 equal(clients[0].tabs[0].url, "http://foo.com/");222});223add_task(async function test_duplicatesTabsAcrossClients() {224 await configureClients({225 guid_desktop: {226 clientName: "My Desktop",227 tabs: [228 {229 urlHistory: ["http://foo.com/"],230 title: "A test page.",231 },232 ],233 },234 guid_mobile: {235 clientName: "My Phone",236 tabs: [237 {238 urlHistory: ["http://foo.com/"],239 title: "A test page.",240 },241 ],242 },243 });244 let clients = await SyncedTabs.getTabClients();245 equal(clients.length, 2);246 equal(clients[0].tabs.length, 1);247 equal(clients[1].tabs.length, 1);248 equal(clients[0].tabs[0].url, "http://foo.com/");249 equal(clients[1].tabs[0].url, "http://foo.com/");...
clients.js
Source:clients.js
1const clientSchema = require('../validations/clientSchema');2const clientsModel = require('../models/clientsModel');3const messageError = require('../messages/errorToast');4const messageSuccess = require('../messages/successToast');5const registerClient = async (req, res) => {6 const { name, email, cpf, phone, zipcode, address, complement, district, city, state } = req.body;7 try {8 await clientSchema.registerClient.validate(req.body);9 const emailExists = await clientsModel.emailExists(email);10 if (emailExists) {11 return res.status(400).json(messageError.clientsEmailExists);12 }13 const cpfExists = await clientsModel.cpfExists(cpf.trim());14 if (cpfExists) {15 return res.status(400).json(messageError.clientsCpfExists);16 }17 const client = await clientsModel.insertClient(name, email, cpf, phone, zipcode, address, complement, district, city, state);18 if (!client.length) {19 return res.status(400).json(messageError.clientRegistrationFailed);20 }21 return res.status(201).json(messageSuccess.clientRegistrationSucceeded);22 } catch (error) {23 return res.status(500).json(error.message);24 }25}26const getClientsList = async (req, res) => {27 const { search } = req.query28 try {29 if (search) {30 const clients = await clientsModel.searchClients(search);31 if (!clients.length) {32 return res.status(404).json(messageError.noClientsToShow);33 }34 return res.status(200).json(clients);35 }36 const clients = await clientsModel.listClients();37 if (!clients.length) {38 return res.status(404).json(messageError.noClientsToShow);39 }40 return res.status(200).json(clients);41 } catch (error) {42 return res.status(500).json(error.message);43 }44}45const getClient = async (req, res) => {46 const { id } = req.params;47 try {48 const client = await clientsModel.getClientById(id)49 if (!client) {50 return res.status(404).json(messageError.noClientsToShow);51 }52 return res.status(200).json(client);53 } catch (error) {54 return res.status(500).json(error.message);55 }56}57const updateClient = async (req, res) => {58 const { name, email, cpf,59 phone, zipcode, address,60 complement, district, city, state } = req.body;61 const { id } = req.params;62 if (!id) {63 return res.status(404).json(messageError.clientNotFound);64 }65 if (name && name.trim() === "" || email && email.trim() === "" || cpf && cpf.trim() === "" || phone && phone.trim() === "") {66 return res.status(400).json(messageError.mandatoryInfo)67 }68 try {69 await clientSchema.editClient.validate(req.body)70 const clientExists = await clientsModel.getClientById(id)71 if (!clientExists) {72 return res.status(404).json(messageError.clientNotFound);73 }74 if (email && email !== clientExists.email) {75 const emailExists = await clientsModel.emailExists(email.trim());76 if (emailExists) {77 return res.status(404).json(messageError.clientsEmailExists)78 }79 }80 if (cpf && cpf !== clientExists.cpf) {81 const cpfExists = await clientsModel.cpfExists(cpf.trim());82 if (cpfExists) {83 return res.status(400).json(messageError.clientsCpfExists);84 }85 }86 const clientUpdated = await clientsModel.updateClient(id, name, email, cpf, phone, zipcode, address, complement, district, city, state);87 if (!clientUpdated) {88 return res.status(400).json(messageError.clientUpdate);89 }90 return res.status(200).json(messageSuccess.clientUpdate);91 } catch (error) {92 return res.status(500).json(error.message);93 }94}95const countClientsByStatus = async (req, res) => {96 const { status } = req.params;97 try {98 const count = await clientsModel.countClientsByStatus(status)99 return res.status(200).json(count)100 } catch (error) {101 return res.status(500).json(error.message);102 }103}104const countClients = async (req, res) => {105 try {106 const list = await clientsModel.countClients();107 return res.status(200).json(list);108 } catch (error) {109 return res.status(500).json(error.message);110 }111}112const listDefaulterClient = async (req, res) => {113 try {114 const clients = await clientsModel.listDefaulterClient();115 if (!clients.length) {116 return res.status(404).json(messageError.noClientsToShow);117 }118 return res.status(200).json(clients);119 } catch (error) {120 return res.status(500).json(error.message);121 }122}123const listDebtFreeClient = async (req, res) => {124 try {125 const clients = await clientsModel.listDebtFreeClient();126 if (!clients.length) {127 return res.status(404).json(messageError.noClientsToShow);128 }129 return res.status(200).json(clients);130 } catch (error) {131 return res.status(500).json(error.message);132 }133}134module.exports = {135 registerClient,136 getClientsList,137 updateClient,138 getClient,139 countClients,140 countClientsByStatus,141 listDefaulterClient,142 listDebtFreeClient...
Using AI Code Generation
1var wpt = require('webpagetest');2var client = wpt('www.webpagetest.org');3client.getLocations(function(err, data) {4 if (!err) {5 console.log(data);6 }7});8var wpt = require('webpagetest');9var api = wpt('www.webpagetest.org');10 if (!err) {11 console.log(data);12 }13});
Using AI Code Generation
1var wpt = require('webpagetest');2var test = wpt('www.webpagetest.org');3 if(err) {4 console.log(err);5 } else {6 console.log(data);7 }8});
Using AI Code Generation
1const wpt = require('wpt-api');2const client = new wpt('A.3c3a3bae3f7c8d2b1c4b1c4b1c4b1c4b');3client.getLocations((err, locations) => {4 console.log(locations);5});6client.getTests((err, tests) => {7 console.log(tests);8});9client.getTest('180410_7Z_8b6d5f6c14b6a5d6c1f6d1c6f1d6b1c6', (err, test) => {10 console.log(test);11});12client.getTestStatus('180410_7Z_8b6d5f6c14b6a5d6c1f6d1c6f1d6b1c6', (err, testStatus) => {13 console.log(testStatus);14});15client.getTestResults('180410_7Z_8b6d5f6c14b6a5d6c1f6d1c6f1d6b1c6', (err, testResults) => {16 console.log(testResults);17});18 console.log(testResults);19});20client.getTestResultsByLocation('Dulles:Chrome', (err, testResults) => {21 console.log(testResults);22});23client.getTestResultsByConnectivity('Cable', (err, testResults) => {24 console.log(testResults);25});26client.getTestResultsByLocationAndConnectivity('Dulles:Chrome', 'Cable', (err, testResults) => {27 console.log(testResults);28});29 console.log(testResults);30});31 console.log(testResults);32});33 console.log(testResults);34});
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!