cdk-lambda-subminute 2.0.442 → 2.0.444
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +96 -7
- package/README.md +4 -4
- package/lib/cdk-lambda-subminute.js +5 -5
- package/lib/demo/typescript/typescript-stack.js +2 -2
- package/lib/index.js +7 -3
- package/lib/resources/iterator/iterator_agent.js +3 -2
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.examples.json +196 -0
- package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.min.json +254 -111
- package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/account-2021-02-01.min.json +101 -19
- package/node_modules/aws-sdk/apis/acm-2015-12-08.min.json +7 -1
- package/node_modules/aws-sdk/apis/acm-pca-2017-08-22.min.json +20 -13
- package/node_modules/aws-sdk/apis/acm-pca-2017-08-22.paginators.json +4 -4
- package/node_modules/aws-sdk/apis/acm-pca-2017-08-22.waiters2.json +62 -59
- package/node_modules/aws-sdk/apis/amplify-2017-07-25.min.json +3 -0
- package/node_modules/aws-sdk/apis/apigateway-2015-07-09.min.json +7 -1
- package/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.min.json +7 -1
- package/node_modules/aws-sdk/apis/application-signals-2024-04-15.min.json +975 -0
- package/node_modules/aws-sdk/apis/application-signals-2024-04-15.paginators.json +34 -0
- package/node_modules/aws-sdk/apis/apptest-2022-12-06.min.json +1917 -0
- package/node_modules/aws-sdk/apis/apptest-2022-12-06.paginators.json +40 -0
- package/node_modules/aws-sdk/apis/apptest-2022-12-06.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.min.json +62 -10
- package/node_modules/aws-sdk/apis/artifact-2018-05-10.examples.json +113 -0
- package/node_modules/aws-sdk/apis/artifact-2018-05-10.min.json +47 -41
- package/node_modules/aws-sdk/apis/artifact-2018-05-10.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +7 -1
- package/node_modules/aws-sdk/apis/auditmanager-2017-07-25.min.json +57 -38
- package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json +7 -1
- package/node_modules/aws-sdk/apis/b2bi-2022-06-23.min.json +8 -1
- package/node_modules/aws-sdk/apis/batch-2016-08-10.min.json +115 -60
- package/node_modules/aws-sdk/apis/bedrock-2023-04-20.min.json +140 -86
- package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.min.json +2122 -231
- package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.paginators.json +24 -0
- package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.min.json +809 -190
- package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/bedrock-runtime-2023-09-30.min.json +898 -44
- package/node_modules/aws-sdk/apis/budgets-2016-10-20.min.json +102 -21
- package/node_modules/aws-sdk/apis/chatbot-2017-10-11.min.json +138 -24
- package/node_modules/aws-sdk/apis/chime-sdk-media-pipelines-2021-07-15.min.json +10 -1
- package/node_modules/aws-sdk/apis/chime-sdk-voice-2022-08-03.min.json +6 -2
- package/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +48 -43
- package/node_modules/aws-sdk/apis/cloudfront-2020-05-31.min.json +7 -1
- package/node_modules/aws-sdk/apis/cloudhsmv2-2017-04-28.min.json +79 -20
- package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +44 -24
- package/node_modules/aws-sdk/apis/codeartifact-2018-09-22.min.json +7 -1
- package/node_modules/aws-sdk/apis/codebuild-2016-10-06.min.json +80 -38
- package/node_modules/aws-sdk/apis/codedeploy-2014-10-06.min.json +7 -1
- package/node_modules/aws-sdk/apis/codeguru-security-2018-05-10.min.json +6 -0
- package/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json +4 -1
- package/node_modules/aws-sdk/apis/cognito-identity-2014-06-30.min.json +23 -5
- package/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.min.json +111 -27
- package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +447 -134
- package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +7 -1
- package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +1266 -499
- package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +24 -0
- package/node_modules/aws-sdk/apis/connectcases-2022-10-03.min.json +205 -63
- package/node_modules/aws-sdk/apis/controltower-2018-05-10.min.json +150 -5
- package/node_modules/aws-sdk/apis/controltower-2018-05-10.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.min.json +310 -262
- package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/cur-2017-01-06.min.json +7 -1
- package/node_modules/aws-sdk/apis/customer-profiles-2020-08-15.min.json +52 -25
- package/node_modules/aws-sdk/apis/datasync-2018-11-09.min.json +3 -0
- package/node_modules/aws-sdk/apis/datazone-2018-05-10.min.json +1064 -444
- package/node_modules/aws-sdk/apis/datazone-2018-05-10.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/devicefarm-2015-06-23.min.json +7 -1
- package/node_modules/aws-sdk/apis/directconnect-2012-10-25.min.json +7 -1
- package/node_modules/aws-sdk/apis/discovery-2015-11-01.min.json +3 -0
- package/node_modules/aws-sdk/apis/dms-2016-01-01.min.json +7 -1
- package/node_modules/aws-sdk/apis/docdb-2014-10-31.min.json +7 -1
- package/node_modules/aws-sdk/apis/ds-2015-04-16.min.json +7 -1
- package/node_modules/aws-sdk/apis/dynamodb-2011-12-05.min.json +7 -1
- package/node_modules/aws-sdk/apis/dynamodb-2012-08-10.min.json +256 -181
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +397 -283
- package/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json +7 -1
- package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +290 -256
- package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +151 -84
- package/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json +7 -1
- package/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.min.json +7 -1
- package/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json +7 -1
- package/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.min.json +3 -0
- package/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json +15 -3
- package/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.min.json +7 -1
- package/node_modules/aws-sdk/apis/email-2010-12-01.min.json +7 -1
- package/node_modules/aws-sdk/apis/emr-serverless-2021-07-13.min.json +172 -14
- package/node_modules/aws-sdk/apis/emr-serverless-2021-07-13.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/es-2015-01-01.min.json +7 -1
- package/node_modules/aws-sdk/apis/eventbridge-2015-10-07.min.json +87 -28
- package/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json +209 -160
- package/node_modules/aws-sdk/apis/fms-2018-01-01.min.json +63 -59
- package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +206 -164
- package/node_modules/aws-sdk/apis/gamelift-2015-10-01.min.json +7 -1
- package/node_modules/aws-sdk/apis/globalaccelerator-2018-08-08.min.json +13 -1
- package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +886 -574
- package/node_modules/aws-sdk/apis/glue-2017-03-31.paginators.json +22 -8
- package/node_modules/aws-sdk/apis/grafana-2020-08-18.min.json +317 -15
- package/node_modules/aws-sdk/apis/grafana-2020-08-18.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/greengrassv2-2020-11-30.min.json +17 -3
- package/node_modules/aws-sdk/apis/groundstation-2019-05-23.min.json +7 -1
- package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +429 -124
- package/node_modules/aws-sdk/apis/imagebuilder-2019-12-02.min.json +3 -0
- package/node_modules/aws-sdk/apis/inspector2-2020-06-08.min.json +122 -96
- package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.min.json +18 -10
- package/node_modules/aws-sdk/apis/iottwinmaker-2021-11-29.min.json +3 -1
- package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json +7 -1
- package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.min.json +396 -242
- package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json +36 -6
- package/node_modules/aws-sdk/apis/kinesisanalyticsv2-2018-05-23.min.json +266 -110
- package/node_modules/aws-sdk/apis/kinesisanalyticsv2-2018-05-23.paginators.json +24 -0
- package/node_modules/aws-sdk/apis/kms-2014-11-01.examples.json +31 -0
- package/node_modules/aws-sdk/apis/kms-2014-11-01.min.json +79 -23
- package/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json +43 -25
- package/node_modules/aws-sdk/apis/launch-wizard-2018-05-10.min.json +159 -0
- package/node_modules/aws-sdk/apis/license-manager-linux-subscriptions-2018-05-10.min.json +236 -16
- package/node_modules/aws-sdk/apis/license-manager-linux-subscriptions-2018-05-10.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/lightsail-2016-11-28.min.json +11 -2
- package/node_modules/aws-sdk/apis/location-2020-11-19.min.json +1036 -754
- package/node_modules/aws-sdk/apis/location-2020-11-19.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +254 -143
- package/node_modules/aws-sdk/apis/macie2-2020-01-01.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/mailmanager-2023-10-17.min.json +1836 -0
- package/node_modules/aws-sdk/apis/mailmanager-2023-10-17.paginators.json +58 -0
- package/node_modules/aws-sdk/apis/managedblockchain-2018-09-24.min.json +3 -0
- package/node_modules/aws-sdk/apis/mediaconnect-2018-11-14.min.json +106 -94
- package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +208 -131
- package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +367 -364
- package/node_modules/aws-sdk/apis/mediapackagev2-2022-12-25.examples.json +1271 -0
- package/node_modules/aws-sdk/apis/mediapackagev2-2022-12-25.min.json +108 -71
- package/node_modules/aws-sdk/apis/medical-imaging-2023-07-19.min.json +8 -5
- package/node_modules/aws-sdk/apis/metadata.json +20 -9
- package/node_modules/aws-sdk/apis/mq-2017-11-27.min.json +4 -4
- package/node_modules/aws-sdk/apis/mwaa-2020-07-01.min.json +178 -158
- package/node_modules/aws-sdk/apis/networkmanager-2019-07-05.min.json +320 -176
- package/node_modules/aws-sdk/apis/omics-2022-11-28.min.json +36 -22
- package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +190 -115
- package/node_modules/aws-sdk/apis/opsworks-2013-02-18.min.json +3 -0
- package/node_modules/aws-sdk/apis/organizations-2016-11-28.min.json +7 -1
- package/node_modules/aws-sdk/apis/osis-2022-01-01.min.json +77 -28
- package/node_modules/aws-sdk/apis/payment-cryptography-2021-09-14.min.json +10 -1
- package/node_modules/aws-sdk/apis/payment-cryptography-data-2022-02-03.min.json +544 -383
- package/node_modules/aws-sdk/apis/payment-cryptography-data-2022-02-03.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/pca-connector-scep-2018-05-10.examples.json +5 -0
- package/node_modules/aws-sdk/apis/pca-connector-scep-2018-05-10.min.json +456 -0
- package/node_modules/aws-sdk/apis/pca-connector-scep-2018-05-10.paginators.json +16 -0
- package/node_modules/aws-sdk/apis/pca-connector-scep-2018-05-10.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json +153 -44
- package/node_modules/aws-sdk/apis/personalize-runtime-2018-05-22.min.json +9 -1
- package/node_modules/aws-sdk/apis/pi-2018-02-27.min.json +28 -18
- package/node_modules/aws-sdk/apis/pinpoint-2016-12-01.min.json +403 -378
- package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.min.json +521 -99
- package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/pipes-2015-10-07.min.json +632 -555
- package/node_modules/aws-sdk/apis/pipes-2015-10-07.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/polly-2016-06-10.min.json +7 -1
- package/node_modules/aws-sdk/apis/qapps-2023-11-27.examples.json +583 -0
- package/node_modules/aws-sdk/apis/qapps-2023-11-27.min.json +1312 -0
- package/node_modules/aws-sdk/apis/qapps-2023-11-27.paginators.json +16 -0
- package/node_modules/aws-sdk/apis/qapps-2023-11-27.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.examples.json +2 -3
- package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.min.json +813 -689
- package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.paginators.json +1 -1
- package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/qconnect-2020-10-19.min.json +335 -108
- package/node_modules/aws-sdk/apis/qconnect-2020-10-19.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +2113 -1354
- package/node_modules/aws-sdk/apis/rds-2013-01-10.min.json +4 -1
- package/node_modules/aws-sdk/apis/rds-2013-02-12.min.json +4 -1
- package/node_modules/aws-sdk/apis/rds-2013-09-09.min.json +4 -1
- package/node_modules/aws-sdk/apis/rds-2014-09-01.min.json +4 -1
- package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +25 -10
- package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +7 -1
- package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.min.json +7 -1
- package/node_modules/aws-sdk/apis/rekognition-2016-06-27.min.json +15 -3
- package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.min.json +63 -14
- package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/route53domains-2014-05-15.min.json +7 -1
- package/node_modules/aws-sdk/apis/route53profiles-2018-05-10.min.json +3 -0
- package/node_modules/aws-sdk/apis/route53resolver-2018-04-01.min.json +62 -53
- package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +76 -76
- package/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +46 -5
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +1958 -1211
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.min.json +11 -1
- package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +7 -1
- package/node_modules/aws-sdk/apis/securitylake-2018-05-10.min.json +7 -1
- package/node_modules/aws-sdk/apis/sesv2-2019-09-27.min.json +148 -136
- package/node_modules/aws-sdk/apis/shield-2016-06-02.min.json +7 -1
- package/node_modules/aws-sdk/apis/signer-2017-08-25.min.json +3 -0
- package/node_modules/aws-sdk/apis/snowball-2016-06-30.min.json +7 -1
- package/node_modules/aws-sdk/apis/sns-2010-03-31.min.json +7 -1
- package/node_modules/aws-sdk/apis/sqs-2012-11-05.min.json +24 -14
- package/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json +14 -3
- package/node_modules/aws-sdk/apis/ssm-sap-2018-05-10.min.json +95 -0
- package/node_modules/aws-sdk/apis/ssm-sap-2018-05-10.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/sso-oidc-2019-06-10.examples.json +9 -0
- package/node_modules/aws-sdk/apis/sso-oidc-2019-06-10.min.json +32 -9
- package/node_modules/aws-sdk/apis/states-2016-11-23.min.json +4 -1
- package/node_modules/aws-sdk/apis/storagegateway-2013-06-30.min.json +30 -14
- package/node_modules/aws-sdk/apis/swf-2012-01-25.min.json +104 -68
- package/node_modules/aws-sdk/apis/taxsettings-2018-05-10.examples.json +5 -0
- package/node_modules/aws-sdk/apis/taxsettings-2018-05-10.min.json +658 -0
- package/node_modules/aws-sdk/apis/taxsettings-2018-05-10.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/timestream-query-2018-11-01.min.json +71 -23
- package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +101 -76
- package/node_modules/aws-sdk/apis/transfer-2018-11-05.min.json +19 -8
- package/node_modules/aws-sdk/apis/trustedadvisor-2022-09-15.min.json +107 -46
- package/node_modules/aws-sdk/apis/verifiedpermissions-2021-12-01.min.json +345 -83
- package/node_modules/aws-sdk/apis/waf-2015-08-24.min.json +7 -1
- package/node_modules/aws-sdk/apis/wafv2-2019-07-29.min.json +46 -33
- package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +513 -76
- package/node_modules/aws-sdk/apis/workspaces-thin-client-2023-08-22.min.json +30 -13
- package/node_modules/aws-sdk/apis/workspaces-web-2020-07-08.min.json +8 -1
- package/node_modules/aws-sdk/clients/accessanalyzer.d.ts +162 -3
- package/node_modules/aws-sdk/clients/account.d.ts +84 -9
- package/node_modules/aws-sdk/clients/acm.d.ts +8 -8
- package/node_modules/aws-sdk/clients/acmpca.d.ts +40 -40
- package/node_modules/aws-sdk/clients/all.d.ts +6 -3
- package/node_modules/aws-sdk/clients/all.js +7 -4
- package/node_modules/aws-sdk/clients/amplify.d.ts +15 -14
- package/node_modules/aws-sdk/clients/applicationautoscaling.d.ts +43 -43
- package/node_modules/aws-sdk/clients/applicationsignals.d.ts +955 -0
- package/node_modules/aws-sdk/clients/applicationsignals.js +18 -0
- package/node_modules/aws-sdk/clients/apptest.d.ts +2019 -0
- package/node_modules/aws-sdk/clients/apptest.js +19 -0
- package/node_modules/aws-sdk/clients/arczonalshift.d.ts +66 -29
- package/node_modules/aws-sdk/clients/artifact.d.ts +68 -64
- package/node_modules/aws-sdk/clients/artifact.js +1 -0
- package/node_modules/aws-sdk/clients/athena.d.ts +5 -5
- package/node_modules/aws-sdk/clients/auditmanager.d.ts +45 -33
- package/node_modules/aws-sdk/clients/autoscaling.d.ts +67 -67
- package/node_modules/aws-sdk/clients/b2bi.d.ts +8 -8
- package/node_modules/aws-sdk/clients/batch.d.ts +54 -1
- package/node_modules/aws-sdk/clients/bedrock.d.ts +63 -14
- package/node_modules/aws-sdk/clients/bedrockagent.d.ts +2327 -211
- package/node_modules/aws-sdk/clients/bedrockagentruntime.d.ts +666 -28
- package/node_modules/aws-sdk/clients/bedrockruntime.d.ts +849 -4
- package/node_modules/aws-sdk/clients/budgets.d.ts +84 -1
- package/node_modules/aws-sdk/clients/chatbot.d.ts +100 -0
- package/node_modules/aws-sdk/clients/chimesdkmediapipelines.d.ts +19 -15
- package/node_modules/aws-sdk/clients/chimesdkvoice.d.ts +9 -9
- package/node_modules/aws-sdk/clients/cloudformation.d.ts +11 -2
- package/node_modules/aws-sdk/clients/cloudfront.d.ts +7 -7
- package/node_modules/aws-sdk/clients/cloudhsmv2.d.ts +134 -34
- package/node_modules/aws-sdk/clients/cloudtrail.d.ts +29 -12
- package/node_modules/aws-sdk/clients/codeartifact.d.ts +28 -28
- package/node_modules/aws-sdk/clients/codebuild.d.ts +71 -24
- package/node_modules/aws-sdk/clients/codegurusecurity.d.ts +60 -55
- package/node_modules/aws-sdk/clients/codepipeline.d.ts +4 -4
- package/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts +1 -1
- package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +449 -47
- package/node_modules/aws-sdk/clients/connect.d.ts +935 -35
- package/node_modules/aws-sdk/clients/connectcases.d.ts +124 -1
- package/node_modules/aws-sdk/clients/controltower.d.ts +244 -44
- package/node_modules/aws-sdk/clients/costoptimizationhub.d.ts +380 -328
- package/node_modules/aws-sdk/clients/costoptimizationhub.js +1 -0
- package/node_modules/aws-sdk/clients/customerprofiles.d.ts +35 -5
- package/node_modules/aws-sdk/clients/datasync.d.ts +7 -7
- package/node_modules/aws-sdk/clients/datazone.d.ts +667 -5
- package/node_modules/aws-sdk/clients/directconnect.d.ts +40 -25
- package/node_modules/aws-sdk/clients/dynamodb.d.ts +114 -45
- package/node_modules/aws-sdk/clients/ec2.d.ts +423 -284
- package/node_modules/aws-sdk/clients/ecr.d.ts +2 -2
- package/node_modules/aws-sdk/clients/ecs.d.ts +47 -5
- package/node_modules/aws-sdk/clients/eks.d.ts +100 -20
- package/node_modules/aws-sdk/clients/elasticache.d.ts +6 -6
- package/node_modules/aws-sdk/clients/elbv2.d.ts +6 -6
- package/node_modules/aws-sdk/clients/emr.d.ts +12 -4
- package/node_modules/aws-sdk/clients/emrserverless.d.ts +191 -0
- package/node_modules/aws-sdk/clients/eventbridge.d.ts +111 -20
- package/node_modules/aws-sdk/clients/firehose.d.ts +73 -10
- package/node_modules/aws-sdk/clients/fms.d.ts +12 -7
- package/node_modules/aws-sdk/clients/fsx.d.ts +84 -36
- package/node_modules/aws-sdk/clients/globalaccelerator.d.ts +8 -0
- package/node_modules/aws-sdk/clients/glue.d.ts +504 -23
- package/node_modules/aws-sdk/clients/grafana.d.ts +297 -11
- package/node_modules/aws-sdk/clients/greengrassv2.d.ts +15 -5
- package/node_modules/aws-sdk/clients/guardduty.d.ts +277 -5
- package/node_modules/aws-sdk/clients/inspector2.d.ts +49 -3
- package/node_modules/aws-sdk/clients/iotfleetwise.d.ts +11 -1
- package/node_modules/aws-sdk/clients/iottwinmaker.d.ts +1 -1
- package/node_modules/aws-sdk/clients/iotwireless.d.ts +2 -2
- package/node_modules/aws-sdk/clients/ivsrealtime.d.ts +433 -235
- package/node_modules/aws-sdk/clients/ivsrealtime.js +1 -0
- package/node_modules/aws-sdk/clients/kafka.d.ts +35 -0
- package/node_modules/aws-sdk/clients/kinesisanalyticsv2.d.ts +147 -3
- package/node_modules/aws-sdk/clients/kms.d.ts +78 -12
- package/node_modules/aws-sdk/clients/lakeformation.d.ts +17 -0
- package/node_modules/aws-sdk/clients/launchwizard.d.ts +181 -8
- package/node_modules/aws-sdk/clients/licensemanagerlinuxsubscriptions.d.ts +249 -10
- package/node_modules/aws-sdk/clients/lightsail.d.ts +29 -25
- package/node_modules/aws-sdk/clients/location.d.ts +981 -677
- package/node_modules/aws-sdk/clients/macie2.d.ts +149 -44
- package/node_modules/aws-sdk/clients/mailmanager.d.ts +2320 -0
- package/node_modules/aws-sdk/clients/mailmanager.js +18 -0
- package/node_modules/aws-sdk/clients/managedblockchain.d.ts +4 -4
- package/node_modules/aws-sdk/clients/mediaconnect.d.ts +13 -0
- package/node_modules/aws-sdk/clients/mediaconvert.d.ts +77 -6
- package/node_modules/aws-sdk/clients/medialive.d.ts +8 -0
- package/node_modules/aws-sdk/clients/mediapackagev2.d.ts +57 -4
- package/node_modules/aws-sdk/clients/medicalimaging.d.ts +7 -2
- package/node_modules/aws-sdk/clients/mq.d.ts +15 -15
- package/node_modules/aws-sdk/clients/mwaa.d.ts +215 -189
- package/node_modules/aws-sdk/clients/networkmanager.d.ts +237 -11
- package/node_modules/aws-sdk/clients/omics.d.ts +89 -53
- package/node_modules/aws-sdk/clients/opensearch.d.ts +120 -3
- package/node_modules/aws-sdk/clients/opsworks.d.ts +117 -117
- package/node_modules/aws-sdk/clients/organizations.d.ts +2 -2
- package/node_modules/aws-sdk/clients/osis.d.ts +89 -5
- package/node_modules/aws-sdk/clients/paymentcryptography.d.ts +3 -3
- package/node_modules/aws-sdk/clients/paymentcryptographydata.d.ts +358 -311
- package/node_modules/aws-sdk/clients/paymentcryptographydata.js +1 -0
- package/node_modules/aws-sdk/clients/pcaconnectorscep.d.ts +486 -0
- package/node_modules/aws-sdk/clients/pcaconnectorscep.js +19 -0
- package/node_modules/aws-sdk/clients/personalize.d.ts +160 -1
- package/node_modules/aws-sdk/clients/personalizeruntime.d.ts +6 -0
- package/node_modules/aws-sdk/clients/pi.d.ts +17 -10
- package/node_modules/aws-sdk/clients/pinpoint.d.ts +27 -0
- package/node_modules/aws-sdk/clients/pinpointsmsvoicev2.d.ts +514 -8
- package/node_modules/aws-sdk/clients/pipes.d.ts +455 -348
- package/node_modules/aws-sdk/clients/pipes.js +1 -0
- package/node_modules/aws-sdk/clients/polly.d.ts +9 -9
- package/node_modules/aws-sdk/clients/qapps.d.ts +1442 -0
- package/node_modules/aws-sdk/clients/qapps.js +19 -0
- package/node_modules/aws-sdk/clients/qbusiness.d.ts +855 -699
- package/node_modules/aws-sdk/clients/qbusiness.js +1 -0
- package/node_modules/aws-sdk/clients/qconnect.d.ts +219 -1
- package/node_modules/aws-sdk/clients/quicksight.d.ts +901 -14
- package/node_modules/aws-sdk/clients/rds.d.ts +67 -19
- package/node_modules/aws-sdk/clients/redshift.d.ts +16 -16
- package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +17 -7
- package/node_modules/aws-sdk/clients/rekognition.d.ts +11 -3
- package/node_modules/aws-sdk/clients/resiliencehub.d.ts +80 -15
- package/node_modules/aws-sdk/clients/route53profiles.d.ts +4 -4
- package/node_modules/aws-sdk/clients/route53resolver.d.ts +18 -5
- package/node_modules/aws-sdk/clients/s3.d.ts +34 -10
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +1065 -59
- package/node_modules/aws-sdk/clients/secretsmanager.d.ts +20 -15
- package/node_modules/aws-sdk/clients/securityhub.d.ts +71 -71
- package/node_modules/aws-sdk/clients/securitylake.d.ts +3 -3
- package/node_modules/aws-sdk/clients/sesv2.d.ts +28 -10
- package/node_modules/aws-sdk/clients/signer.d.ts +3 -3
- package/node_modules/aws-sdk/clients/sns.d.ts +7 -7
- package/node_modules/aws-sdk/clients/sqs.d.ts +24 -19
- package/node_modules/aws-sdk/clients/ssmsap.d.ts +121 -1
- package/node_modules/aws-sdk/clients/ssooidc.d.ts +32 -4
- package/node_modules/aws-sdk/clients/storagegateway.d.ts +37 -22
- package/node_modules/aws-sdk/clients/swf.d.ts +38 -2
- package/node_modules/aws-sdk/clients/taxsettings.d.ts +809 -0
- package/node_modules/aws-sdk/clients/taxsettings.js +18 -0
- package/node_modules/aws-sdk/clients/timestreamquery.d.ts +54 -0
- package/node_modules/aws-sdk/clients/transcribeservice.d.ts +32 -0
- package/node_modules/aws-sdk/clients/transfer.d.ts +5 -5
- package/node_modules/aws-sdk/clients/trustedadvisor.d.ts +66 -2
- package/node_modules/aws-sdk/clients/verifiedpermissions.d.ts +300 -14
- package/node_modules/aws-sdk/clients/vpclattice.d.ts +81 -81
- package/node_modules/aws-sdk/clients/wafv2.d.ts +35 -5
- package/node_modules/aws-sdk/clients/workspaces.d.ts +598 -6
- package/node_modules/aws-sdk/clients/workspacesthinclient.d.ts +15 -0
- package/node_modules/aws-sdk/clients/workspacesweb.d.ts +21 -1
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +9 -5
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +2141 -1908
- package/node_modules/aws-sdk/dist/aws-sdk.js +4544 -2431
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +107 -106
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +12 -6
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/credentials/cognito_identity_credentials.js +9 -0
- package/node_modules/aws-sdk/lib/credentials/sso_credentials.js +1 -1
- package/node_modules/aws-sdk/lib/credentials/token_file_web_identity_credentials.d.ts +2 -2
- package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +86 -17
- package/node_modules/aws-sdk/lib/metadata_service.d.ts +4 -0
- package/node_modules/aws-sdk/lib/metadata_service.js +1 -2
- package/node_modules/aws-sdk/lib/protocol/rest_json.js +2 -1
- package/node_modules/aws-sdk/lib/query/query_param_serializer.js +3 -1
- package/node_modules/aws-sdk/lib/region_config.js +2 -1
- package/node_modules/aws-sdk/lib/services/s3.js +51 -6
- package/node_modules/aws-sdk/lib/shared-ini/ini-loader.d.ts +24 -1
- package/node_modules/aws-sdk/lib/shared-ini/ini-loader.js +0 -6
- package/node_modules/aws-sdk/package.json +1 -1
- package/node_modules/aws-sdk/scripts/region-checker/allowlist.js +10 -10
- package/node_modules/xml2js/node_modules/sax/LICENSE +2 -2
- package/node_modules/xml2js/node_modules/sax/README.md +3 -0
- package/node_modules/xml2js/node_modules/sax/lib/sax.js +33 -10
- package/node_modules/xml2js/node_modules/sax/package.json +1 -1
- package/package.json +17 -15
- package/node_modules/aws-sdk/apis/alexaforbusiness-2017-11-09.min.json +0 -2905
- package/node_modules/aws-sdk/apis/alexaforbusiness-2017-11-09.paginators.json +0 -94
- package/node_modules/aws-sdk/apis/backupstorage-2018-04-10.min.json +0 -522
- package/node_modules/aws-sdk/apis/backupstorage-2018-04-10.paginators.json +0 -14
- package/node_modules/aws-sdk/apis/honeycode-2020-03-01.min.json +0 -962
- package/node_modules/aws-sdk/apis/honeycode-2020-03-01.paginators.json +0 -27
- package/node_modules/aws-sdk/clients/alexaforbusiness.d.ts +0 -3862
- package/node_modules/aws-sdk/clients/alexaforbusiness.js +0 -18
- package/node_modules/aws-sdk/clients/backupstorage.d.ts +0 -469
- package/node_modules/aws-sdk/clients/backupstorage.js +0 -18
- package/node_modules/aws-sdk/clients/honeycode.d.ts +0 -910
- package/node_modules/aws-sdk/clients/honeycode.js +0 -18
- /package/node_modules/aws-sdk/apis/{alexaforbusiness-2017-11-09.examples.json → application-signals-2024-04-15.examples.json} +0 -0
- /package/node_modules/aws-sdk/apis/{backupstorage-2018-04-10.examples.json → apptest-2022-12-06.examples.json} +0 -0
- /package/node_modules/aws-sdk/apis/{honeycode-2020-03-01.examples.json → mailmanager-2023-10-17.examples.json} +0 -0
@@ -126,7 +126,6 @@ export abstract class ConfigurationServicePlaceholders {
|
|
126
126
|
sagemaker?: AWS.SageMaker.Types.ClientConfiguration;
|
127
127
|
translate?: AWS.Translate.Types.ClientConfiguration;
|
128
128
|
resourcegroups?: AWS.ResourceGroups.Types.ClientConfiguration;
|
129
|
-
alexaforbusiness?: AWS.AlexaForBusiness.Types.ClientConfiguration;
|
130
129
|
cloud9?: AWS.Cloud9.Types.ClientConfiguration;
|
131
130
|
serverlessapplicationrepository?: AWS.ServerlessApplicationRepository.Types.ClientConfiguration;
|
132
131
|
servicediscovery?: AWS.ServiceDiscovery.Types.ClientConfiguration;
|
@@ -223,7 +222,6 @@ export abstract class ConfigurationServicePlaceholders {
|
|
223
222
|
iotsitewise?: AWS.IoTSiteWise.Types.ClientConfiguration;
|
224
223
|
macie2?: AWS.Macie2.Types.ClientConfiguration;
|
225
224
|
codeartifact?: AWS.CodeArtifact.Types.ClientConfiguration;
|
226
|
-
honeycode?: AWS.Honeycode.Types.ClientConfiguration;
|
227
225
|
ivs?: AWS.IVS.Types.ClientConfiguration;
|
228
226
|
braket?: AWS.Braket.Types.ClientConfiguration;
|
229
227
|
identitystore?: AWS.IdentityStore.Types.ClientConfiguration;
|
@@ -310,7 +308,6 @@ export abstract class ConfigurationServicePlaceholders {
|
|
310
308
|
redshiftserverless?: AWS.RedshiftServerless.Types.ClientConfiguration;
|
311
309
|
rolesanywhere?: AWS.RolesAnywhere.Types.ClientConfiguration;
|
312
310
|
licensemanagerusersubscriptions?: AWS.LicenseManagerUserSubscriptions.Types.ClientConfiguration;
|
313
|
-
backupstorage?: AWS.BackupStorage.Types.ClientConfiguration;
|
314
311
|
privatenetworks?: AWS.PrivateNetworks.Types.ClientConfiguration;
|
315
312
|
supportapp?: AWS.SupportApp.Types.ClientConfiguration;
|
316
313
|
controltower?: AWS.ControlTower.Types.ClientConfiguration;
|
@@ -382,6 +379,12 @@ export abstract class ConfigurationServicePlaceholders {
|
|
382
379
|
deadline?: AWS.Deadline.Types.ClientConfiguration;
|
383
380
|
controlcatalog?: AWS.ControlCatalog.Types.ClientConfiguration;
|
384
381
|
route53profiles?: AWS.Route53Profiles.Types.ClientConfiguration;
|
382
|
+
mailmanager?: AWS.MailManager.Types.ClientConfiguration;
|
383
|
+
taxsettings?: AWS.TaxSettings.Types.ClientConfiguration;
|
384
|
+
applicationsignals?: AWS.ApplicationSignals.Types.ClientConfiguration;
|
385
|
+
pcaconnectorscep?: AWS.PcaConnectorScep.Types.ClientConfiguration;
|
386
|
+
apptest?: AWS.AppTest.Types.ClientConfiguration;
|
387
|
+
qapps?: AWS.QApps.Types.ClientConfiguration;
|
385
388
|
}
|
386
389
|
export interface ConfigurationServiceApiVersions {
|
387
390
|
acm?: AWS.ACM.Types.apiVersion;
|
@@ -510,7 +513,6 @@ export interface ConfigurationServiceApiVersions {
|
|
510
513
|
sagemaker?: AWS.SageMaker.Types.apiVersion;
|
511
514
|
translate?: AWS.Translate.Types.apiVersion;
|
512
515
|
resourcegroups?: AWS.ResourceGroups.Types.apiVersion;
|
513
|
-
alexaforbusiness?: AWS.AlexaForBusiness.Types.apiVersion;
|
514
516
|
cloud9?: AWS.Cloud9.Types.apiVersion;
|
515
517
|
serverlessapplicationrepository?: AWS.ServerlessApplicationRepository.Types.apiVersion;
|
516
518
|
servicediscovery?: AWS.ServiceDiscovery.Types.apiVersion;
|
@@ -607,7 +609,6 @@ export interface ConfigurationServiceApiVersions {
|
|
607
609
|
iotsitewise?: AWS.IoTSiteWise.Types.apiVersion;
|
608
610
|
macie2?: AWS.Macie2.Types.apiVersion;
|
609
611
|
codeartifact?: AWS.CodeArtifact.Types.apiVersion;
|
610
|
-
honeycode?: AWS.Honeycode.Types.apiVersion;
|
611
612
|
ivs?: AWS.IVS.Types.apiVersion;
|
612
613
|
braket?: AWS.Braket.Types.apiVersion;
|
613
614
|
identitystore?: AWS.IdentityStore.Types.apiVersion;
|
@@ -694,7 +695,6 @@ export interface ConfigurationServiceApiVersions {
|
|
694
695
|
redshiftserverless?: AWS.RedshiftServerless.Types.apiVersion;
|
695
696
|
rolesanywhere?: AWS.RolesAnywhere.Types.apiVersion;
|
696
697
|
licensemanagerusersubscriptions?: AWS.LicenseManagerUserSubscriptions.Types.apiVersion;
|
697
|
-
backupstorage?: AWS.BackupStorage.Types.apiVersion;
|
698
698
|
privatenetworks?: AWS.PrivateNetworks.Types.apiVersion;
|
699
699
|
supportapp?: AWS.SupportApp.Types.apiVersion;
|
700
700
|
controltower?: AWS.ControlTower.Types.apiVersion;
|
@@ -766,4 +766,10 @@ export interface ConfigurationServiceApiVersions {
|
|
766
766
|
deadline?: AWS.Deadline.Types.apiVersion;
|
767
767
|
controlcatalog?: AWS.ControlCatalog.Types.apiVersion;
|
768
768
|
route53profiles?: AWS.Route53Profiles.Types.apiVersion;
|
769
|
+
mailmanager?: AWS.MailManager.Types.apiVersion;
|
770
|
+
taxsettings?: AWS.TaxSettings.Types.apiVersion;
|
771
|
+
applicationsignals?: AWS.ApplicationSignals.Types.apiVersion;
|
772
|
+
pcaconnectorscep?: AWS.PcaConnectorScep.Types.apiVersion;
|
773
|
+
apptest?: AWS.AppTest.Types.apiVersion;
|
774
|
+
qapps?: AWS.QApps.Types.apiVersion;
|
769
775
|
}
|
@@ -23,6 +23,15 @@ var STS = require('../../clients/sts');
|
|
23
23
|
* identity providers. See {constructor} for an example on creating a credentials
|
24
24
|
* object with proper property values.
|
25
25
|
*
|
26
|
+
* DISCLAIMER: This convenience method leverages the Enhanced (simplified) Authflow. The underlying
|
27
|
+
* implementation calls Cognito's `getId()` and `GetCredentialsForIdentity()`.
|
28
|
+
* In this flow there is no way to explicitly set a session policy, resulting in
|
29
|
+
* STS attaching the default policy and limiting the permissions of the federated role.
|
30
|
+
* To be able to explicitly set a session policy, do not use this convenience method.
|
31
|
+
* Instead, you can use the Cognito client to call `getId()`, `GetOpenIdToken()` and then use
|
32
|
+
* that token with your desired session policy to call STS's `AssumeRoleWithWebIdentity()`
|
33
|
+
* For further reading refer to: https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html
|
34
|
+
*
|
26
35
|
* ## Refreshing Credentials from Identity Service
|
27
36
|
*
|
28
37
|
* In addition to AWS credentials expiring after a given amount of time, the
|
@@ -176,7 +176,7 @@ AWS.SsoCredentials = AWS.util.inherit(AWS.Credentials, {
|
|
176
176
|
var ssoTokenProvider = new AWS.SSOTokenProvider({
|
177
177
|
profile: profileName,
|
178
178
|
});
|
179
|
-
ssoTokenProvider.
|
179
|
+
ssoTokenProvider.get(function (err) {
|
180
180
|
if (err) {
|
181
181
|
return callback(err);
|
182
182
|
}
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import {Credentials} from '../credentials';
|
2
2
|
import {AWSError} from '../error';
|
3
|
-
import {
|
3
|
+
import {ClientConfiguration} from '../../clients/sts';
|
4
4
|
export class TokenFileWebIdentityCredentials extends Credentials {
|
5
5
|
/**
|
6
6
|
* Creates a new credentials object with optional configuraion.
|
7
7
|
* @param {Object} clientConfig - a map of configuration options to pass to the underlying STS client.
|
8
8
|
*/
|
9
|
-
constructor(clientConfig?:
|
9
|
+
constructor(clientConfig?: ClientConfiguration);
|
10
10
|
/**
|
11
11
|
* Refreshes credentials using AWS.STS.assumeRoleWithWebIdentity().
|
12
12
|
*/
|
@@ -655,6 +655,10 @@ export namespace DocumentClient {
|
|
655
655
|
* Represents the provisioned throughput settings for the specified global secondary index. For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
|
656
656
|
*/
|
657
657
|
ProvisionedThroughput?: ProvisionedThroughput;
|
658
|
+
/**
|
659
|
+
* The maximum number of read and write units for the global secondary index being created. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
|
660
|
+
*/
|
661
|
+
OnDemandThroughput?: OnDemandThroughput;
|
658
662
|
}
|
659
663
|
export interface CreateGlobalTableInput {
|
660
664
|
/**
|
@@ -691,6 +695,10 @@ export namespace DocumentClient {
|
|
691
695
|
* Replica-specific provisioned throughput. If not specified, uses the source table's provisioned throughput settings.
|
692
696
|
*/
|
693
697
|
ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
|
698
|
+
/**
|
699
|
+
* The maximum on-demand throughput settings for the specified replica table being created. You can only modify MaxReadRequestUnits, because you can't modify MaxWriteRequestUnits for individual replica tables.
|
700
|
+
*/
|
701
|
+
OnDemandThroughputOverride?: OnDemandThroughputOverride;
|
694
702
|
/**
|
695
703
|
* Replica-specific global secondary index settings.
|
696
704
|
*/
|
@@ -722,7 +730,7 @@ export namespace DocumentClient {
|
|
722
730
|
*/
|
723
731
|
GlobalSecondaryIndexes?: GlobalSecondaryIndexList;
|
724
732
|
/**
|
725
|
-
* Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later. PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned
|
733
|
+
* Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later. PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned capacity mode. PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-demand capacity mode.
|
726
734
|
*/
|
727
735
|
BillingMode?: BillingMode;
|
728
736
|
/**
|
@@ -750,9 +758,13 @@ export namespace DocumentClient {
|
|
750
758
|
*/
|
751
759
|
DeletionProtectionEnabled?: DeletionProtectionEnabled;
|
752
760
|
/**
|
753
|
-
* An Amazon Web Services resource-based policy document in JSON format that will be attached to the table. When you attach a resource-based policy while creating a table, the policy
|
761
|
+
* An Amazon Web Services resource-based policy document in JSON format that will be attached to the table. When you attach a resource-based policy while creating a table, the policy application is strongly consistent. The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that apply for resource-based policies, see Resource-based policy considerations. You need to specify the CreateTable and PutResourcePolicy IAM actions for authorizing a user to create a table with a resource-based policy.
|
754
762
|
*/
|
755
763
|
ResourcePolicy?: ResourcePolicy;
|
764
|
+
/**
|
765
|
+
* Sets the maximum number of read and write units for the specified table in on-demand capacity mode. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
|
766
|
+
*/
|
767
|
+
OnDemandThroughput?: OnDemandThroughput;
|
756
768
|
}
|
757
769
|
export interface CreateTableOutput {
|
758
770
|
/**
|
@@ -867,7 +879,7 @@ export namespace DocumentClient {
|
|
867
879
|
*/
|
868
880
|
Attributes?: AttributeMap;
|
869
881
|
/**
|
870
|
-
* The capacity units consumed by the DeleteItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Provisioned
|
882
|
+
* The capacity units consumed by the DeleteItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Provisioned capacity mode in the Amazon DynamoDB Developer Guide.
|
871
883
|
*/
|
872
884
|
ConsumedCapacity?: ConsumedCapacity;
|
873
885
|
/**
|
@@ -905,7 +917,7 @@ export namespace DocumentClient {
|
|
905
917
|
}
|
906
918
|
export interface DeleteResourcePolicyOutput {
|
907
919
|
/**
|
908
|
-
* A unique string that represents the revision ID of the policy. If you
|
920
|
+
* A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic. This value will be empty if you make a request against a resource without a policy.
|
909
921
|
*/
|
910
922
|
RevisionId?: PolicyRevisionId;
|
911
923
|
}
|
@@ -1454,7 +1466,7 @@ export namespace DocumentClient {
|
|
1454
1466
|
*/
|
1455
1467
|
Item?: AttributeMap;
|
1456
1468
|
/**
|
1457
|
-
* The capacity units consumed by the GetItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see
|
1469
|
+
* The capacity units consumed by the GetItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Capacity unit consumption for read operations in the Amazon DynamoDB Developer Guide.
|
1458
1470
|
*/
|
1459
1471
|
ConsumedCapacity?: ConsumedCapacity;
|
1460
1472
|
}
|
@@ -1470,7 +1482,7 @@ export namespace DocumentClient {
|
|
1470
1482
|
*/
|
1471
1483
|
Policy?: ResourcePolicy;
|
1472
1484
|
/**
|
1473
|
-
* A unique string that represents the revision ID of the policy. If you
|
1485
|
+
* A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic.
|
1474
1486
|
*/
|
1475
1487
|
RevisionId?: PolicyRevisionId;
|
1476
1488
|
}
|
@@ -1491,6 +1503,10 @@ export namespace DocumentClient {
|
|
1491
1503
|
* Represents the provisioned throughput settings for the specified global secondary index. For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
|
1492
1504
|
*/
|
1493
1505
|
ProvisionedThroughput?: ProvisionedThroughput;
|
1506
|
+
/**
|
1507
|
+
* The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
|
1508
|
+
*/
|
1509
|
+
OnDemandThroughput?: OnDemandThroughput;
|
1494
1510
|
}
|
1495
1511
|
export interface GlobalSecondaryIndexAutoScalingUpdate {
|
1496
1512
|
/**
|
@@ -1537,6 +1553,10 @@ export namespace DocumentClient {
|
|
1537
1553
|
* The Amazon Resource Name (ARN) that uniquely identifies the index.
|
1538
1554
|
*/
|
1539
1555
|
IndexArn?: String;
|
1556
|
+
/**
|
1557
|
+
* The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
|
1558
|
+
*/
|
1559
|
+
OnDemandThroughput?: OnDemandThroughput;
|
1540
1560
|
}
|
1541
1561
|
export type GlobalSecondaryIndexDescriptionList = GlobalSecondaryIndexDescription[];
|
1542
1562
|
export interface GlobalSecondaryIndexInfo {
|
@@ -1556,6 +1576,7 @@ export namespace DocumentClient {
|
|
1556
1576
|
* Represents the provisioned throughput settings for the specified global secondary index.
|
1557
1577
|
*/
|
1558
1578
|
ProvisionedThroughput?: ProvisionedThroughput;
|
1579
|
+
OnDemandThroughput?: OnDemandThroughput;
|
1559
1580
|
}
|
1560
1581
|
export type GlobalSecondaryIndexList = GlobalSecondaryIndex[];
|
1561
1582
|
export interface GlobalSecondaryIndexUpdate {
|
@@ -2162,6 +2183,22 @@ export namespace DocumentClient {
|
|
2162
2183
|
export type NullAttributeValue = boolean;
|
2163
2184
|
export type NumberAttributeValue = string;
|
2164
2185
|
export type NumberSetAttributeValue = NumberAttributeValue[];
|
2186
|
+
export interface OnDemandThroughput {
|
2187
|
+
/**
|
2188
|
+
* Maximum number of read request units for the specified table. To specify a maximum OnDemandThroughput on your table, set the value of MaxReadRequestUnits as greater than or equal to 1. To remove the maximum OnDemandThroughput that is currently set on your table, set the value of MaxReadRequestUnits to -1.
|
2189
|
+
*/
|
2190
|
+
MaxReadRequestUnits?: LongObject;
|
2191
|
+
/**
|
2192
|
+
* Maximum number of write request units for the specified table. To specify a maximum OnDemandThroughput on your table, set the value of MaxWriteRequestUnits as greater than or equal to 1. To remove the maximum OnDemandThroughput that is currently set on your table, set the value of MaxWriteRequestUnits to -1.
|
2193
|
+
*/
|
2194
|
+
MaxWriteRequestUnits?: LongObject;
|
2195
|
+
}
|
2196
|
+
export interface OnDemandThroughputOverride {
|
2197
|
+
/**
|
2198
|
+
* Maximum number of read request units for the specified replica table.
|
2199
|
+
*/
|
2200
|
+
MaxReadRequestUnits?: LongObject;
|
2201
|
+
}
|
2165
2202
|
export interface ParameterizedStatement {
|
2166
2203
|
/**
|
2167
2204
|
* A PartiQL statement that uses parameters.
|
@@ -2333,7 +2370,7 @@ export namespace DocumentClient {
|
|
2333
2370
|
*/
|
2334
2371
|
Attributes?: AttributeMap;
|
2335
2372
|
/**
|
2336
|
-
* The capacity units consumed by the PutItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see
|
2373
|
+
* The capacity units consumed by the PutItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Capacity unity consumption for write operations in the Amazon DynamoDB Developer Guide.
|
2337
2374
|
*/
|
2338
2375
|
ConsumedCapacity?: ConsumedCapacity;
|
2339
2376
|
/**
|
@@ -2353,11 +2390,11 @@ export namespace DocumentClient {
|
|
2353
2390
|
*/
|
2354
2391
|
ResourceArn: ResourceArnString;
|
2355
2392
|
/**
|
2356
|
-
* An Amazon Web Services resource-based policy document in JSON format.
|
2393
|
+
* An Amazon Web Services resource-based policy document in JSON format. The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. Within a resource-based policy, if the action for a DynamoDB service-linked role (SLR) to replicate data for a global table is denied, adding or deleting a replica will fail with an error. For a full list of all considerations that apply while attaching a resource-based policy, see Resource-based policy considerations.
|
2357
2394
|
*/
|
2358
2395
|
Policy: ResourcePolicy;
|
2359
2396
|
/**
|
2360
|
-
* A string value that you can use to conditionally update your policy. You can provide the revision ID of your existing policy to make mutating requests against that policy.
|
2397
|
+
* A string value that you can use to conditionally update your policy. You can provide the revision ID of your existing policy to make mutating requests against that policy. When you provide an expected revision ID, if the revision ID of the existing policy on the resource doesn't match or if there's no policy attached to the resource, your request will be rejected with a PolicyNotFoundException. To conditionally attach a policy when no policy exists for the resource, specify NO_POLICY for the revision ID.
|
2361
2398
|
*/
|
2362
2399
|
ExpectedRevisionId?: PolicyRevisionId;
|
2363
2400
|
/**
|
@@ -2367,7 +2404,7 @@ export namespace DocumentClient {
|
|
2367
2404
|
}
|
2368
2405
|
export interface PutResourcePolicyOutput {
|
2369
2406
|
/**
|
2370
|
-
* A unique string that represents the revision ID of the policy. If you
|
2407
|
+
* A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic.
|
2371
2408
|
*/
|
2372
2409
|
RevisionId?: PolicyRevisionId;
|
2373
2410
|
}
|
@@ -2456,7 +2493,7 @@ export namespace DocumentClient {
|
|
2456
2493
|
*/
|
2457
2494
|
LastEvaluatedKey?: Key;
|
2458
2495
|
/**
|
2459
|
-
* The capacity units consumed by the Query operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see
|
2496
|
+
* The capacity units consumed by the Query operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Capacity unit consumption for read operations in the Amazon DynamoDB Developer Guide.
|
2460
2497
|
*/
|
2461
2498
|
ConsumedCapacity?: ConsumedCapacity;
|
2462
2499
|
}
|
@@ -2521,6 +2558,10 @@ export namespace DocumentClient {
|
|
2521
2558
|
* Replica-specific provisioned throughput. If not described, uses the source table's provisioned throughput settings.
|
2522
2559
|
*/
|
2523
2560
|
ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
|
2561
|
+
/**
|
2562
|
+
* Overrides the maximum on-demand throughput settings for the specified replica table.
|
2563
|
+
*/
|
2564
|
+
OnDemandThroughputOverride?: OnDemandThroughputOverride;
|
2524
2565
|
/**
|
2525
2566
|
* Replica-specific global secondary index settings.
|
2526
2567
|
*/
|
@@ -2541,6 +2582,10 @@ export namespace DocumentClient {
|
|
2541
2582
|
* Replica table GSI-specific provisioned throughput. If not specified, uses the source table GSI's read capacity settings.
|
2542
2583
|
*/
|
2543
2584
|
ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
|
2585
|
+
/**
|
2586
|
+
* Overrides the maximum on-demand throughput settings for the specified global secondary index in the specified replica table.
|
2587
|
+
*/
|
2588
|
+
OnDemandThroughputOverride?: OnDemandThroughputOverride;
|
2544
2589
|
}
|
2545
2590
|
export interface ReplicaGlobalSecondaryIndexAutoScalingDescription {
|
2546
2591
|
/**
|
@@ -2572,6 +2617,10 @@ export namespace DocumentClient {
|
|
2572
2617
|
* If not described, uses the source table GSI's read capacity settings.
|
2573
2618
|
*/
|
2574
2619
|
ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
|
2620
|
+
/**
|
2621
|
+
* Overrides the maximum on-demand throughput for the specified global secondary index in the specified replica table.
|
2622
|
+
*/
|
2623
|
+
OnDemandThroughputOverride?: OnDemandThroughputOverride;
|
2575
2624
|
}
|
2576
2625
|
export type ReplicaGlobalSecondaryIndexDescriptionList = ReplicaGlobalSecondaryIndexDescription[];
|
2577
2626
|
export type ReplicaGlobalSecondaryIndexList = ReplicaGlobalSecondaryIndex[];
|
@@ -2752,6 +2801,7 @@ export namespace DocumentClient {
|
|
2752
2801
|
* Provisioned throughput settings for the restored table.
|
2753
2802
|
*/
|
2754
2803
|
ProvisionedThroughputOverride?: ProvisionedThroughput;
|
2804
|
+
OnDemandThroughputOverride?: OnDemandThroughput;
|
2755
2805
|
/**
|
2756
2806
|
* The new server-side encryption settings for the restored table.
|
2757
2807
|
*/
|
@@ -2800,6 +2850,7 @@ export namespace DocumentClient {
|
|
2800
2850
|
* Provisioned throughput settings for the restored table.
|
2801
2851
|
*/
|
2802
2852
|
ProvisionedThroughputOverride?: ProvisionedThroughput;
|
2853
|
+
OnDemandThroughputOverride?: OnDemandThroughput;
|
2803
2854
|
/**
|
2804
2855
|
* The new server-side encryption settings for the restored table.
|
2805
2856
|
*/
|
@@ -2951,7 +3002,7 @@ export namespace DocumentClient {
|
|
2951
3002
|
*/
|
2952
3003
|
LastEvaluatedKey?: Key;
|
2953
3004
|
/**
|
2954
|
-
* The capacity units consumed by the Scan operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see
|
3005
|
+
* The capacity units consumed by the Scan operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Capacity unit consumption for read operations in the Amazon DynamoDB Developer Guide.
|
2955
3006
|
*/
|
2956
3007
|
ConsumedCapacity?: ConsumedCapacity;
|
2957
3008
|
}
|
@@ -2988,6 +3039,7 @@ export namespace DocumentClient {
|
|
2988
3039
|
* Read IOPs and Write IOPS on the table when the backup was created.
|
2989
3040
|
*/
|
2990
3041
|
ProvisionedThroughput: ProvisionedThroughput;
|
3042
|
+
OnDemandThroughput?: OnDemandThroughput;
|
2991
3043
|
/**
|
2992
3044
|
* Number of items in the table. Note that this is an approximate value.
|
2993
3045
|
*/
|
@@ -3080,6 +3132,7 @@ export namespace DocumentClient {
|
|
3080
3132
|
*/
|
3081
3133
|
BillingMode?: BillingMode;
|
3082
3134
|
ProvisionedThroughput?: ProvisionedThroughput;
|
3135
|
+
OnDemandThroughput?: OnDemandThroughput;
|
3083
3136
|
SSESpecification?: SSESpecification;
|
3084
3137
|
/**
|
3085
3138
|
* The Global Secondary Indexes (GSI) of the table to be created as part of the import operation.
|
@@ -3179,6 +3232,10 @@ export namespace DocumentClient {
|
|
3179
3232
|
* Indicates whether deletion protection is enabled (true) or disabled (false) on the table.
|
3180
3233
|
*/
|
3181
3234
|
DeletionProtectionEnabled?: DeletionProtectionEnabled;
|
3235
|
+
/**
|
3236
|
+
* The maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
|
3237
|
+
*/
|
3238
|
+
OnDemandThroughput?: OnDemandThroughput;
|
3182
3239
|
}
|
3183
3240
|
export type TableId = string;
|
3184
3241
|
export type TableName = string;
|
@@ -3397,7 +3454,11 @@ export namespace DocumentClient {
|
|
3397
3454
|
/**
|
3398
3455
|
* Represents the provisioned throughput settings for the specified global secondary index. For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
|
3399
3456
|
*/
|
3400
|
-
ProvisionedThroughput
|
3457
|
+
ProvisionedThroughput?: ProvisionedThroughput;
|
3458
|
+
/**
|
3459
|
+
* Updates the maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
|
3460
|
+
*/
|
3461
|
+
OnDemandThroughput?: OnDemandThroughput;
|
3401
3462
|
}
|
3402
3463
|
export interface UpdateGlobalTableInput {
|
3403
3464
|
/**
|
@@ -3421,7 +3482,7 @@ export namespace DocumentClient {
|
|
3421
3482
|
*/
|
3422
3483
|
GlobalTableName: TableName;
|
3423
3484
|
/**
|
3424
|
-
* The billing mode of the global table. If GlobalTableBillingMode is not specified, the global table defaults to PROVISIONED capacity billing mode. PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned
|
3485
|
+
* The billing mode of the global table. If GlobalTableBillingMode is not specified, the global table defaults to PROVISIONED capacity billing mode. PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned capacity mode. PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-demand capacity mode.
|
3425
3486
|
*/
|
3426
3487
|
GlobalTableBillingMode?: BillingMode;
|
3427
3488
|
/**
|
@@ -3508,7 +3569,7 @@ export namespace DocumentClient {
|
|
3508
3569
|
*/
|
3509
3570
|
Attributes?: AttributeMap;
|
3510
3571
|
/**
|
3511
|
-
* The capacity units consumed by the UpdateItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see
|
3572
|
+
* The capacity units consumed by the UpdateItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Capacity unity consumption for write operations in the Amazon DynamoDB Developer Guide.
|
3512
3573
|
*/
|
3513
3574
|
ConsumedCapacity?: ConsumedCapacity;
|
3514
3575
|
/**
|
@@ -3567,6 +3628,10 @@ export namespace DocumentClient {
|
|
3567
3628
|
* Replica-specific provisioned throughput. If not specified, uses the source table's provisioned throughput settings.
|
3568
3629
|
*/
|
3569
3630
|
ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
|
3631
|
+
/**
|
3632
|
+
* Overrides the maximum on-demand throughput for the replica table.
|
3633
|
+
*/
|
3634
|
+
OnDemandThroughputOverride?: OnDemandThroughputOverride;
|
3570
3635
|
/**
|
3571
3636
|
* Replica-specific global secondary index settings.
|
3572
3637
|
*/
|
@@ -3586,7 +3651,7 @@ export namespace DocumentClient {
|
|
3586
3651
|
*/
|
3587
3652
|
TableName: TableArn;
|
3588
3653
|
/**
|
3589
|
-
* Controls how you are charged for read and write throughput and how you manage capacity. When switching from pay-per-request to provisioned capacity, initial provisioned capacity values must be set. The initial provisioned capacity values are estimated based on the consumed read and write capacity of your table and global secondary indexes over the past 30 minutes. PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned
|
3654
|
+
* Controls how you are charged for read and write throughput and how you manage capacity. When switching from pay-per-request to provisioned capacity, initial provisioned capacity values must be set. The initial provisioned capacity values are estimated based on the consumed read and write capacity of your table and global secondary indexes over the past 30 minutes. PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned capacity mode. PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-demand capacity mode.
|
3590
3655
|
*/
|
3591
3656
|
BillingMode?: BillingMode;
|
3592
3657
|
/**
|
@@ -3606,7 +3671,7 @@ export namespace DocumentClient {
|
|
3606
3671
|
*/
|
3607
3672
|
SSESpecification?: SSESpecification;
|
3608
3673
|
/**
|
3609
|
-
* A list of replica update actions (create, delete, or update) for the table.
|
3674
|
+
* A list of replica update actions (create, delete, or update) for the table. For global tables, this property only applies to global tables using Version 2019.11.21 (Current version).
|
3610
3675
|
*/
|
3611
3676
|
ReplicaUpdates?: ReplicationGroupUpdateList;
|
3612
3677
|
/**
|
@@ -3617,6 +3682,10 @@ export namespace DocumentClient {
|
|
3617
3682
|
* Indicates whether deletion protection is to be enabled (true) or disabled (false) on the table.
|
3618
3683
|
*/
|
3619
3684
|
DeletionProtectionEnabled?: DeletionProtectionEnabled;
|
3685
|
+
/**
|
3686
|
+
* Updates the maximum number of read and write units for the specified table in on-demand capacity mode. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
|
3687
|
+
*/
|
3688
|
+
OnDemandThroughput?: OnDemandThroughput;
|
3620
3689
|
}
|
3621
3690
|
export interface UpdateTableOutput {
|
3622
3691
|
/**
|
@@ -17,6 +17,10 @@ export class MetadataService {
|
|
17
17
|
options: {method?: string, headers?: {[key: string]: String} },
|
18
18
|
callback: (err: AWSError, data: string) => void
|
19
19
|
): void;
|
20
|
+
/**
|
21
|
+
* Fetches metadata token used for authenticating against the instance metadata service.
|
22
|
+
*/
|
23
|
+
fetchMetadataToken(callback: (err: AWSError, token: string) => void): void;
|
20
24
|
/**
|
21
25
|
* 169.254.169.254
|
22
26
|
*/
|
@@ -120,9 +120,8 @@ AWS.MetadataService = inherit({
|
|
120
120
|
loadCredentialsCallbacks: [],
|
121
121
|
|
122
122
|
/**
|
123
|
-
* Fetches metadata token used for
|
123
|
+
* Fetches metadata token used for authenticating against the instance metadata service.
|
124
124
|
*
|
125
|
-
* @api private
|
126
125
|
* @callback callback function(err, token)
|
127
126
|
* Called when token is loaded from the resource
|
128
127
|
*/
|
@@ -1,3 +1,4 @@
|
|
1
|
+
var AWS = require('../core');
|
1
2
|
var util = require('../util');
|
2
3
|
var Rest = require('./rest');
|
3
4
|
var Json = require('./json');
|
@@ -75,7 +76,7 @@ function extractData(resp) {
|
|
75
76
|
var body = resp.httpResponse.body;
|
76
77
|
if (payloadMember.isEventStream) {
|
77
78
|
parser = new JsonParser();
|
78
|
-
resp.data[payload] = util.createEventStream(
|
79
|
+
resp.data[rules.payload] = util.createEventStream(
|
79
80
|
AWS.HttpClient.streamsApiVersion === 2 ? resp.httpResponse.stream : body,
|
80
81
|
parser,
|
81
82
|
payloadMember
|
@@ -90,7 +90,8 @@ function getEndpointSuffix(region) {
|
|
90
90
|
'^cn\\-\\w+\\-\\d+$': 'amazonaws.com.cn',
|
91
91
|
'^us\\-gov\\-\\w+\\-\\d+$': 'amazonaws.com',
|
92
92
|
'^us\\-iso\\-\\w+\\-\\d+$': 'c2s.ic.gov',
|
93
|
-
'^us\\-isob\\-\\w+\\-\\d+$': 'sc2s.sgov.gov'
|
93
|
+
'^us\\-isob\\-\\w+\\-\\d+$': 'sc2s.sgov.gov',
|
94
|
+
'^eu\\-isoe\\-west\\-1$': 'cloud.adc-e.uk',
|
94
95
|
};
|
95
96
|
var defaultSuffix = 'amazonaws.com';
|
96
97
|
var regexes = Object.keys(regionRegexes);
|
@@ -531,17 +531,21 @@ AWS.util.update(AWS.S3.prototype, {
|
|
531
531
|
* @api private
|
532
532
|
*/
|
533
533
|
extractErrorFrom200Response: function extractErrorFrom200Response(resp) {
|
534
|
-
|
534
|
+
var service = this.service ? this.service : this;
|
535
|
+
if (!service.is200Error(resp) && !operationsWith200StatusCodeError[resp.request.operation]) {
|
536
|
+
return;
|
537
|
+
}
|
535
538
|
var httpResponse = resp.httpResponse;
|
536
|
-
|
539
|
+
var bodyString = httpResponse.body && httpResponse.body.toString() || '';
|
540
|
+
if (bodyString && bodyString.indexOf('</Error>') === bodyString.length - 8) {
|
537
541
|
// Response body with '<Error>...</Error>' indicates an exception.
|
538
542
|
// Get S3 client object. In ManagedUpload, this.service refers to
|
539
543
|
// S3 client object.
|
540
544
|
resp.data = null;
|
541
|
-
var service = this.service ? this.service : this;
|
542
545
|
service.extractError(resp);
|
546
|
+
resp.error.is200Error = true;
|
543
547
|
throw resp.error;
|
544
|
-
} else if (!httpResponse.body || !
|
548
|
+
} else if (!httpResponse.body || !bodyString.match(/<[\w_]/)) {
|
545
549
|
// When body is empty or incomplete, S3 might stop the request on detecting client
|
546
550
|
// side aborting the request.
|
547
551
|
resp.data = null;
|
@@ -552,13 +556,54 @@ AWS.util.update(AWS.S3.prototype, {
|
|
552
556
|
}
|
553
557
|
},
|
554
558
|
|
559
|
+
/**
|
560
|
+
* @api private
|
561
|
+
* @param resp - to evaluate.
|
562
|
+
* @return true if the response has status code 200 but is an error.
|
563
|
+
*/
|
564
|
+
is200Error: function is200Error(resp) {
|
565
|
+
var code = resp && resp.httpResponse && resp.httpResponse.statusCode;
|
566
|
+
if (code !== 200) {
|
567
|
+
return false;
|
568
|
+
}
|
569
|
+
try {
|
570
|
+
var req = resp.request;
|
571
|
+
var outputMembers = req.service.api.operations[req.operation].output.members;
|
572
|
+
var keys = Object.keys(outputMembers);
|
573
|
+
for (var i = 0; i < keys.length; ++i) {
|
574
|
+
var member = outputMembers[keys[i]];
|
575
|
+
if (member.type === 'binary' && member.isStreaming) {
|
576
|
+
return false;
|
577
|
+
}
|
578
|
+
}
|
579
|
+
|
580
|
+
var body = resp.httpResponse.body;
|
581
|
+
if (body && body.byteLength !== undefined) {
|
582
|
+
if (body.byteLength < 15 || body.byteLength > 3000) {
|
583
|
+
// body is too short or long to be an error message.
|
584
|
+
return false;
|
585
|
+
}
|
586
|
+
}
|
587
|
+
if (!body) {
|
588
|
+
return false;
|
589
|
+
}
|
590
|
+
var bodyString = body.toString();
|
591
|
+
if (bodyString.indexOf('</Error>') === bodyString.length - 8) {
|
592
|
+
return true;
|
593
|
+
}
|
594
|
+
} catch (e) {
|
595
|
+
return false;
|
596
|
+
}
|
597
|
+
return false;
|
598
|
+
},
|
599
|
+
|
555
600
|
/**
|
556
601
|
* @return [Boolean] whether the error can be retried
|
557
602
|
* @api private
|
558
603
|
*/
|
559
604
|
retryableError: function retryableError(error, request) {
|
560
|
-
if (
|
561
|
-
|
605
|
+
if (error.is200Error ||
|
606
|
+
(operationsWith200StatusCodeError[request.operation] && error.statusCode === 200)) {
|
562
607
|
return true;
|
563
608
|
} else if (request._requestRegionForBucket &&
|
564
609
|
request.service.bucketRegionCache[request._requestRegionForBucket]) {
|
@@ -24,7 +24,30 @@ export class IniLoader{
|
|
24
24
|
* Load configurations from config/credentials files and cache them
|
25
25
|
* for later use. If no file is specified it will try to load default
|
26
26
|
* files.
|
27
|
-
* @returns {
|
27
|
+
* @returns {Record<string, string>} object of all profile information in the file
|
28
28
|
*/
|
29
29
|
loadFrom(options: LoadFileOptions): IniFileContent;
|
30
|
+
|
31
|
+
/**
|
32
|
+
* Load sso sessions from config/credentials files and cache them
|
33
|
+
* for later use. If no file is specified it will try to load default
|
34
|
+
* files.
|
35
|
+
* @returns {Record<string, string>} object of all sso sessions information in the file
|
36
|
+
*/
|
37
|
+
loadSsoSessionsFrom(options: LoadFileOptions): IniFileContent;
|
38
|
+
|
39
|
+
/**
|
40
|
+
* Get default file path for config/credentials files.
|
41
|
+
*
|
42
|
+
* @param isConfig whether the file is a config file or a credentials file
|
43
|
+
* @returns {string} default file path
|
44
|
+
*/
|
45
|
+
getDefaultFilePath(isConfig: boolean): string;
|
46
|
+
|
47
|
+
/**
|
48
|
+
* Get Home directory of the current user.
|
49
|
+
*
|
50
|
+
* @returns {string} home directory path
|
51
|
+
* */
|
52
|
+
getHomeDir(): string;
|
30
53
|
}
|
@@ -103,9 +103,6 @@ AWS.IniLoader = AWS.util.inherit({
|
|
103
103
|
return this.resolvedSsoSessions[filename];
|
104
104
|
},
|
105
105
|
|
106
|
-
/**
|
107
|
-
* @api private
|
108
|
-
*/
|
109
106
|
getDefaultFilePath: function getDefaultFilePath(isConfig) {
|
110
107
|
return path.join(
|
111
108
|
this.getHomeDir(),
|
@@ -114,9 +111,6 @@ AWS.IniLoader = AWS.util.inherit({
|
|
114
111
|
);
|
115
112
|
},
|
116
113
|
|
117
|
-
/**
|
118
|
-
* @api private
|
119
|
-
*/
|
120
114
|
getHomeDir: function getHomeDir() {
|
121
115
|
var env = process.env;
|
122
116
|
var home = env.HOME ||
|