@pgarbe/cdk-ecr-sync 0.5.21 → 0.5.22
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/.gitattributes +19 -18
- package/.jsii +7 -1468
- package/.projenrc.ts +51 -0
- package/API.md +177 -46
- package/lib/ecr-sync.js +1 -1
- package/node_modules/aws-sdk/CHANGELOG.md +167 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.min.json +5 -4
- package/node_modules/aws-sdk/apis/amplifybackend-2020-08-11.min.json +344 -3
- package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.examples.json +5 -0
- package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.min.json +1036 -0
- package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.paginators.json +16 -0
- package/node_modules/aws-sdk/apis/appconfig-2019-10-09.examples.json +715 -0
- package/node_modules/aws-sdk/apis/appconfig-2019-10-09.min.json +48 -38
- package/node_modules/aws-sdk/apis/appconfigdata-2021-11-11.examples.json +5 -0
- package/node_modules/aws-sdk/apis/appconfigdata-2021-11-11.min.json +87 -0
- package/node_modules/aws-sdk/apis/appconfigdata-2021-11-11.paginators.json +4 -0
- package/node_modules/aws-sdk/apis/appstream-2016-12-01.min.json +505 -141
- package/node_modules/aws-sdk/apis/auditmanager-2017-07-25.min.json +303 -7
- package/node_modules/aws-sdk/apis/auditmanager-2017-07-25.paginators.json +20 -0
- package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json +110 -32
- package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +32 -19
- package/node_modules/aws-sdk/apis/backup-gateway-2021-01-01.examples.json +5 -0
- package/node_modules/aws-sdk/apis/backup-gateway-2021-01-01.min.json +420 -0
- package/node_modules/aws-sdk/apis/backup-gateway-2021-01-01.paginators.json +22 -0
- package/node_modules/aws-sdk/apis/braket-2019-09-01.min.json +388 -11
- package/node_modules/aws-sdk/apis/braket-2019-09-01.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/chime-2018-05-01.min.json +11 -2
- package/node_modules/aws-sdk/apis/chime-sdk-meetings-2021-07-15.min.json +35 -6
- package/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +50 -27
- package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +242 -68
- package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +560 -102
- package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +11 -0
- package/node_modules/aws-sdk/apis/customer-profiles-2020-08-15.min.json +322 -50
- package/node_modules/aws-sdk/apis/databrew-2017-07-25.min.json +430 -110
- package/node_modules/aws-sdk/apis/databrew-2017-07-25.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/dataexchange-2017-07-25.min.json +142 -12
- package/node_modules/aws-sdk/apis/devops-guru-2020-12-01.min.json +676 -140
- package/node_modules/aws-sdk/apis/devops-guru-2020-12-01.paginators.json +31 -2
- package/node_modules/aws-sdk/apis/directconnect-2012-10-25.min.json +50 -37
- package/node_modules/aws-sdk/apis/dms-2016-01-01.min.json +117 -73
- package/node_modules/aws-sdk/apis/drs-2020-02-26.examples.json +5 -0
- package/node_modules/aws-sdk/apis/drs-2020-02-26.min.json +1347 -0
- package/node_modules/aws-sdk/apis/drs-2020-02-26.paginators.json +40 -0
- package/node_modules/aws-sdk/apis/dynamodb-2012-08-10.min.json +296 -261
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +3389 -1167
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +66 -0
- package/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json +393 -31
- package/node_modules/aws-sdk/apis/ecr-2015-09-21.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +3 -0
- package/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json +131 -124
- package/node_modules/aws-sdk/apis/es-2015-01-01.min.json +10 -0
- package/node_modules/aws-sdk/apis/evidently-2021-02-01.examples.json +5 -0
- package/node_modules/aws-sdk/apis/evidently-2021-02-01.min.json +1853 -0
- package/node_modules/aws-sdk/apis/evidently-2021-02-01.paginators.json +28 -0
- package/node_modules/aws-sdk/apis/finspace-data-2020-07-13.min.json +602 -36
- package/node_modules/aws-sdk/apis/finspace-data-2020-07-13.paginators.json +18 -0
- package/node_modules/aws-sdk/apis/forecast-2018-06-26.min.json +507 -76
- package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +818 -142
- package/node_modules/aws-sdk/apis/fsx-2018-03-01.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +383 -367
- package/node_modules/aws-sdk/apis/imagebuilder-2019-12-02.min.json +81 -73
- package/node_modules/aws-sdk/apis/inspector2-2020-06-08.examples.json +5 -0
- package/node_modules/aws-sdk/apis/inspector2-2020-06-08.min.json +1993 -0
- package/node_modules/aws-sdk/apis/inspector2-2020-06-08.paginators.json +57 -0
- package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +322 -209
- package/node_modules/aws-sdk/apis/iotdeviceadvisor-2020-09-18.min.json +31 -3
- package/node_modules/aws-sdk/apis/iotsitewise-2019-12-02.min.json +360 -124
- package/node_modules/aws-sdk/apis/iotsitewise-2019-12-02.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/iottwinmaker-2021-11-29.examples.json +5 -0
- package/node_modules/aws-sdk/apis/iottwinmaker-2021-11-29.min.json +1675 -0
- package/node_modules/aws-sdk/apis/iottwinmaker-2021-11-29.paginators.json +29 -0
- package/node_modules/aws-sdk/apis/iottwinmaker-2021-11-29.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json +101 -15
- package/node_modules/aws-sdk/apis/ivs-2020-07-14.min.json +151 -0
- package/node_modules/aws-sdk/apis/ivs-2020-07-14.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json +459 -78
- package/node_modules/aws-sdk/apis/kafka-2018-11-14.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +664 -128
- package/node_modules/aws-sdk/apis/kendra-2019-02-03.paginators.json +14 -0
- package/node_modules/aws-sdk/apis/kinesis-2013-12-02.min.json +64 -24
- package/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json +858 -81
- package/node_modules/aws-sdk/apis/lakeformation-2017-03-31.paginators.json +50 -5
- package/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json +145 -122
- package/node_modules/aws-sdk/apis/location-2020-11-19.min.json +36 -7
- package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +167 -163
- package/node_modules/aws-sdk/apis/metadata.json +39 -0
- package/node_modules/aws-sdk/apis/mgn-2020-02-26.min.json +156 -43
- package/node_modules/aws-sdk/apis/mgn-2020-02-26.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/migration-hub-refactor-spaces-2021-10-26.examples.json +5 -0
- package/node_modules/aws-sdk/apis/migration-hub-refactor-spaces-2021-10-26.min.json +1230 -0
- package/node_modules/aws-sdk/apis/migration-hub-refactor-spaces-2021-10-26.paginators.json +34 -0
- package/node_modules/aws-sdk/apis/migrationhubstrategy-2020-02-19.examples.json +5 -0
- package/node_modules/aws-sdk/apis/migrationhubstrategy-2020-02-19.min.json +1032 -0
- package/node_modules/aws-sdk/apis/migrationhubstrategy-2020-02-19.paginators.json +34 -0
- package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +617 -145
- package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json +192 -128
- package/node_modules/aws-sdk/apis/networkmanager-2019-07-05.min.json +1931 -558
- package/node_modules/aws-sdk/apis/networkmanager-2019-07-05.paginators.json +36 -0
- package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +10 -0
- package/node_modules/aws-sdk/apis/outposts-2019-12-03.min.json +507 -49
- package/node_modules/aws-sdk/apis/outposts-2019-12-03.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json +338 -31
- package/node_modules/aws-sdk/apis/personalize-2018-05-22.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/personalize-runtime-2018-05-22.min.json +2 -4
- package/node_modules/aws-sdk/apis/pinpoint-2016-12-01.min.json +138 -24
- package/node_modules/aws-sdk/apis/proton-2020-07-20.min.json +752 -74
- package/node_modules/aws-sdk/apis/proton-2020-07-20.paginators.json +41 -0
- package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +140 -100
- package/node_modules/aws-sdk/apis/ram-2018-01-04.min.json +16 -11
- package/node_modules/aws-sdk/apis/rbin-2021-06-15.examples.json +5 -0
- package/node_modules/aws-sdk/apis/rbin-2021-06-15.min.json +325 -0
- package/node_modules/aws-sdk/apis/rbin-2021-06-15.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +122 -8
- package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +253 -148
- package/node_modules/aws-sdk/apis/redshift-2012-12-01.paginators.json +30 -0
- package/node_modules/aws-sdk/apis/redshift-data-2019-12-20.min.json +0 -6
- package/node_modules/aws-sdk/apis/rum-2018-05-10.examples.json +5 -0
- package/node_modules/aws-sdk/apis/rum-2018-05-10.min.json +458 -0
- package/node_modules/aws-sdk/apis/rum-2018-05-10.paginators.json +16 -0
- package/node_modules/aws-sdk/apis/runtime.lex.v2-2020-08-07.min.json +14 -13
- package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +68 -68
- package/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +193 -162
- package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +15 -7
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +1582 -785
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.paginators.json +23 -0
- package/node_modules/aws-sdk/apis/shield-2016-06-02.min.json +93 -14
- package/node_modules/aws-sdk/apis/snowball-2016-06-30.min.json +35 -25
- package/node_modules/aws-sdk/apis/sns-2010-03-31.min.json +90 -18
- package/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json +366 -346
- package/node_modules/aws-sdk/apis/storagegateway-2013-06-30.min.json +14 -11
- package/node_modules/aws-sdk/apis/textract-2018-06-27.min.json +85 -16
- package/node_modules/aws-sdk/apis/timestream-query-2018-11-01.min.json +623 -42
- package/node_modules/aws-sdk/apis/timestream-query-2018-11-01.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/timestream-write-2018-11-01.min.json +81 -13
- package/node_modules/aws-sdk/apis/transfer-2018-11-05.min.json +44 -43
- package/node_modules/aws-sdk/apis/translate-2017-07-01.min.json +62 -29
- package/node_modules/aws-sdk/apis/wellarchitected-2020-03-31.min.json +398 -59
- package/node_modules/aws-sdk/apis/wellarchitected-2020-03-31.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/workspaces-web-2020-07-08.examples.json +5 -0
- package/node_modules/aws-sdk/apis/workspaces-web-2020-07-08.min.json +1579 -0
- package/node_modules/aws-sdk/apis/workspaces-web-2020-07-08.paginators.json +39 -0
- package/node_modules/aws-sdk/clients/accessanalyzer.d.ts +6 -1
- package/node_modules/aws-sdk/clients/all.d.ts +12 -0
- package/node_modules/aws-sdk/clients/all.js +13 -1
- package/node_modules/aws-sdk/clients/amplifybackend.d.ts +309 -1
- package/node_modules/aws-sdk/clients/amplifyuibuilder.d.ts +1003 -0
- package/node_modules/aws-sdk/clients/amplifyuibuilder.js +18 -0
- package/node_modules/aws-sdk/clients/apigateway.d.ts +1 -1
- package/node_modules/aws-sdk/clients/appconfig.d.ts +86 -68
- package/node_modules/aws-sdk/clients/appconfigdata.d.ts +102 -0
- package/node_modules/aws-sdk/clients/appconfigdata.js +18 -0
- package/node_modules/aws-sdk/clients/applicationinsights.d.ts +1 -1
- package/node_modules/aws-sdk/clients/appstream.d.ts +482 -15
- package/node_modules/aws-sdk/clients/auditmanager.d.ts +341 -34
- package/node_modules/aws-sdk/clients/autoscaling.d.ts +114 -30
- package/node_modules/aws-sdk/clients/backup.d.ts +57 -24
- package/node_modules/aws-sdk/clients/backupgateway.d.ts +571 -0
- package/node_modules/aws-sdk/clients/backupgateway.js +18 -0
- package/node_modules/aws-sdk/clients/batch.d.ts +27 -27
- package/node_modules/aws-sdk/clients/braket.d.ts +409 -0
- package/node_modules/aws-sdk/clients/chime.d.ts +34 -0
- package/node_modules/aws-sdk/clients/chimesdkmeetings.d.ts +62 -2
- package/node_modules/aws-sdk/clients/cloudformation.d.ts +42 -10
- package/node_modules/aws-sdk/clients/cloudtrail.d.ts +3 -3
- package/node_modules/aws-sdk/clients/cloudwatch.d.ts +71 -17
- package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +249 -10
- package/node_modules/aws-sdk/clients/connect.d.ts +555 -22
- package/node_modules/aws-sdk/clients/customerprofiles.d.ts +322 -11
- package/node_modules/aws-sdk/clients/databrew.d.ts +358 -1
- package/node_modules/aws-sdk/clients/dataexchange.d.ts +194 -6
- package/node_modules/aws-sdk/clients/devopsguru.d.ts +707 -81
- package/node_modules/aws-sdk/clients/directconnect.d.ts +23 -1
- package/node_modules/aws-sdk/clients/dms.d.ts +103 -25
- package/node_modules/aws-sdk/clients/drs.d.ts +1737 -0
- package/node_modules/aws-sdk/clients/drs.js +18 -0
- package/node_modules/aws-sdk/clients/dynamodb.d.ts +113 -61
- package/node_modules/aws-sdk/clients/ec2.d.ts +2746 -223
- package/node_modules/aws-sdk/clients/ecr.d.ts +591 -6
- package/node_modules/aws-sdk/clients/ecs.d.ts +2 -2
- package/node_modules/aws-sdk/clients/eks.d.ts +26 -22
- package/node_modules/aws-sdk/clients/elasticache.d.ts +51 -30
- package/node_modules/aws-sdk/clients/elbv2.d.ts +4 -4
- package/node_modules/aws-sdk/clients/es.d.ts +21 -0
- package/node_modules/aws-sdk/clients/evidently.d.ts +1892 -0
- package/node_modules/aws-sdk/clients/evidently.js +18 -0
- package/node_modules/aws-sdk/clients/finspacedata.d.ts +741 -65
- package/node_modules/aws-sdk/clients/forecastservice.d.ts +561 -9
- package/node_modules/aws-sdk/clients/fsx.d.ts +892 -139
- package/node_modules/aws-sdk/clients/glue.d.ts +41 -0
- package/node_modules/aws-sdk/clients/imagebuilder.d.ts +15 -3
- package/node_modules/aws-sdk/clients/inspector2.d.ts +2448 -0
- package/node_modules/aws-sdk/clients/inspector2.js +18 -0
- package/node_modules/aws-sdk/clients/iot.d.ts +171 -13
- package/node_modules/aws-sdk/clients/iotdeviceadvisor.d.ts +90 -60
- package/node_modules/aws-sdk/clients/iotsitewise.d.ts +254 -12
- package/node_modules/aws-sdk/clients/iottwinmaker.d.ts +1672 -0
- package/node_modules/aws-sdk/clients/iottwinmaker.js +19 -0
- package/node_modules/aws-sdk/clients/iotwireless.d.ts +60 -0
- package/node_modules/aws-sdk/clients/ivs.d.ts +204 -0
- package/node_modules/aws-sdk/clients/kafka.d.ts +503 -18
- package/node_modules/aws-sdk/clients/kendra.d.ts +734 -45
- package/node_modules/aws-sdk/clients/kinesis.d.ts +114 -46
- package/node_modules/aws-sdk/clients/lakeformation.d.ts +935 -97
- package/node_modules/aws-sdk/clients/lambda.d.ts +47 -21
- package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +577 -14
- package/node_modules/aws-sdk/clients/lexruntimev2.d.ts +5 -0
- package/node_modules/aws-sdk/clients/location.d.ts +94 -43
- package/node_modules/aws-sdk/clients/macie2.d.ts +39 -39
- package/node_modules/aws-sdk/clients/mediaconvert.d.ts +16 -16
- package/node_modules/aws-sdk/clients/medialive.d.ts +5 -0
- package/node_modules/aws-sdk/clients/mgn.d.ts +140 -3
- package/node_modules/aws-sdk/clients/migrationhubrefactorspaces.d.ts +1686 -0
- package/node_modules/aws-sdk/clients/migrationhubrefactorspaces.js +18 -0
- package/node_modules/aws-sdk/clients/migrationhubstrategy.d.ts +1335 -0
- package/node_modules/aws-sdk/clients/migrationhubstrategy.js +18 -0
- package/node_modules/aws-sdk/clients/networkmanager.d.ts +1856 -361
- package/node_modules/aws-sdk/clients/opensearch.d.ts +21 -0
- package/node_modules/aws-sdk/clients/outposts.d.ts +520 -12
- package/node_modules/aws-sdk/clients/personalize.d.ts +456 -9
- package/node_modules/aws-sdk/clients/personalizeruntime.d.ts +8 -4
- package/node_modules/aws-sdk/clients/pinpoint.d.ts +102 -0
- package/node_modules/aws-sdk/clients/proton.d.ts +984 -152
- package/node_modules/aws-sdk/clients/quicksight.d.ts +191 -144
- package/node_modules/aws-sdk/clients/ram.d.ts +234 -212
- package/node_modules/aws-sdk/clients/rbin.d.ts +355 -0
- package/node_modules/aws-sdk/clients/rbin.js +18 -0
- package/node_modules/aws-sdk/clients/rds.d.ts +404 -203
- package/node_modules/aws-sdk/clients/redshift.d.ts +170 -8
- package/node_modules/aws-sdk/clients/redshiftdata.d.ts +34 -34
- package/node_modules/aws-sdk/clients/rekognition.d.ts +5 -5
- package/node_modules/aws-sdk/clients/rum.d.ts +509 -0
- package/node_modules/aws-sdk/clients/rum.js +18 -0
- package/node_modules/aws-sdk/clients/s3.d.ts +80 -41
- package/node_modules/aws-sdk/clients/s3control.d.ts +11 -1
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +1103 -17
- package/node_modules/aws-sdk/clients/sagemakerruntime.d.ts +7 -7
- package/node_modules/aws-sdk/clients/shield.d.ts +125 -43
- package/node_modules/aws-sdk/clients/snowball.d.ts +73 -55
- package/node_modules/aws-sdk/clients/sns.d.ts +127 -34
- package/node_modules/aws-sdk/clients/sqs.d.ts +8 -8
- package/node_modules/aws-sdk/clients/ssm.d.ts +307 -266
- package/node_modules/aws-sdk/clients/storagegateway.d.ts +16 -3
- package/node_modules/aws-sdk/clients/sts.d.ts +18 -18
- package/node_modules/aws-sdk/clients/textract.d.ts +69 -2
- package/node_modules/aws-sdk/clients/timestreamquery.d.ts +661 -19
- package/node_modules/aws-sdk/clients/timestreamwrite.d.ts +135 -42
- package/node_modules/aws-sdk/clients/transfer.d.ts +9 -4
- package/node_modules/aws-sdk/clients/translate.d.ts +63 -11
- package/node_modules/aws-sdk/clients/wafv2.d.ts +4 -4
- package/node_modules/aws-sdk/clients/wellarchitected.d.ts +355 -13
- package/node_modules/aws-sdk/clients/workspaces.d.ts +2 -2
- package/node_modules/aws-sdk/clients/workspacesweb.d.ts +1520 -0
- package/node_modules/aws-sdk/clients/workspacesweb.js +18 -0
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +114 -82
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +719 -232
- package/node_modules/aws-sdk/dist/aws-sdk.js +8053 -3198
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +90 -88
- package/node_modules/aws-sdk/lib/config-base.d.ts +8 -0
- package/node_modules/aws-sdk/lib/config.js +14 -2
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +24 -0
- package/node_modules/aws-sdk/lib/config_use_dualstack.d.ts +3 -0
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +91 -39
- package/node_modules/aws-sdk/lib/metadata_service/get_endpoint.js +8 -0
- package/node_modules/aws-sdk/lib/metadata_service/get_endpoint_config_options.js +12 -0
- package/node_modules/aws-sdk/lib/metadata_service/get_endpoint_mode.js +8 -0
- package/node_modules/aws-sdk/lib/metadata_service/get_endpoint_mode_config_options.js +14 -0
- package/node_modules/aws-sdk/lib/metadata_service/get_metadata_service_endpoint.js +4 -4
- package/node_modules/aws-sdk/lib/node_loader.js +63 -21
- package/node_modules/aws-sdk/lib/region/utils.js +21 -0
- package/node_modules/aws-sdk/lib/region_config.js +10 -36
- package/node_modules/aws-sdk/lib/region_config_data.json +70 -10
- package/node_modules/aws-sdk/lib/service.js +20 -1
- package/node_modules/aws-sdk/lib/services/s3.js +16 -5
- package/node_modules/aws-sdk/lib/services/s3control.js +12 -3
- package/node_modules/aws-sdk/lib/services/s3util.js +17 -7
- package/node_modules/aws-sdk/package.json +1 -1
- package/node_modules/aws-sdk/scripts/region-checker/allowlist.js +15 -15
- package/node_modules/{aws-sdk/node_modules/uuid → uuid}/.eslintrc.json +0 -0
- package/node_modules/{aws-sdk/node_modules/uuid → uuid}/AUTHORS +0 -0
- package/node_modules/{aws-sdk/node_modules/uuid → uuid}/CHANGELOG.md +0 -0
- package/node_modules/{aws-sdk/node_modules/uuid → uuid}/LICENSE.md +0 -0
- package/node_modules/{aws-sdk/node_modules/uuid → uuid}/README.md +0 -0
- package/node_modules/{aws-sdk/node_modules/uuid → uuid}/README_js.md +0 -0
- package/node_modules/{aws-sdk/node_modules/uuid → uuid}/bin/uuid +0 -0
- package/node_modules/{aws-sdk/node_modules/uuid → uuid}/index.js +0 -0
- package/node_modules/{aws-sdk/node_modules/uuid → uuid}/lib/bytesToUuid.js +0 -0
- package/node_modules/{aws-sdk/node_modules/uuid → uuid}/lib/md5-browser.js +0 -0
- package/node_modules/{aws-sdk/node_modules/uuid → uuid}/lib/md5.js +0 -0
- package/node_modules/{aws-sdk/node_modules/uuid → uuid}/lib/rng-browser.js +0 -0
- package/node_modules/{aws-sdk/node_modules/uuid → uuid}/lib/rng.js +0 -0
- package/node_modules/{aws-sdk/node_modules/uuid → uuid}/lib/sha1-browser.js +0 -0
- package/node_modules/{aws-sdk/node_modules/uuid → uuid}/lib/sha1.js +0 -0
- package/node_modules/{aws-sdk/node_modules/uuid → uuid}/lib/v35.js +0 -0
- package/node_modules/{aws-sdk/node_modules/uuid → uuid}/package.json +0 -0
- package/node_modules/{aws-sdk/node_modules/uuid → uuid}/v1.js +0 -0
- package/node_modules/{aws-sdk/node_modules/uuid → uuid}/v3.js +0 -0
- package/node_modules/{aws-sdk/node_modules/uuid → uuid}/v4.js +0 -0
- package/node_modules/{aws-sdk/node_modules/uuid → uuid}/v5.js +0 -0
- package/package.json +26 -26
- package/node_modules/aws-sdk/lib/metadata_service/endpoint.js +0 -6
- package/node_modules/aws-sdk/lib/metadata_service/endpoint_config_options.js +0 -14
- package/node_modules/aws-sdk/lib/metadata_service/endpoint_mode.js +0 -6
- package/node_modules/aws-sdk/lib/metadata_service/endpoint_mode_config_options.js +0 -16
|
@@ -0,0 +1,1003 @@
|
|
|
1
|
+
import {Request} from '../lib/request';
|
|
2
|
+
import {Response} from '../lib/response';
|
|
3
|
+
import {AWSError} from '../lib/error';
|
|
4
|
+
import {Service} from '../lib/service';
|
|
5
|
+
import {ServiceConfigurationOptions} from '../lib/service';
|
|
6
|
+
import {ConfigBase as Config} from '../lib/config-base';
|
|
7
|
+
interface Blob {}
|
|
8
|
+
declare class AmplifyUIBuilder extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* Constructs a service object. This object has one method for each API operation.
|
|
11
|
+
*/
|
|
12
|
+
constructor(options?: AmplifyUIBuilder.Types.ClientConfiguration)
|
|
13
|
+
config: Config & AmplifyUIBuilder.Types.ClientConfiguration;
|
|
14
|
+
/**
|
|
15
|
+
* Creates a new component for an Amplify app.
|
|
16
|
+
*/
|
|
17
|
+
createComponent(params: AmplifyUIBuilder.Types.CreateComponentRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.CreateComponentResponse) => void): Request<AmplifyUIBuilder.Types.CreateComponentResponse, AWSError>;
|
|
18
|
+
/**
|
|
19
|
+
* Creates a new component for an Amplify app.
|
|
20
|
+
*/
|
|
21
|
+
createComponent(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.CreateComponentResponse) => void): Request<AmplifyUIBuilder.Types.CreateComponentResponse, AWSError>;
|
|
22
|
+
/**
|
|
23
|
+
* Creates a theme to apply to the components in an Amplify app.
|
|
24
|
+
*/
|
|
25
|
+
createTheme(params: AmplifyUIBuilder.Types.CreateThemeRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.CreateThemeResponse) => void): Request<AmplifyUIBuilder.Types.CreateThemeResponse, AWSError>;
|
|
26
|
+
/**
|
|
27
|
+
* Creates a theme to apply to the components in an Amplify app.
|
|
28
|
+
*/
|
|
29
|
+
createTheme(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.CreateThemeResponse) => void): Request<AmplifyUIBuilder.Types.CreateThemeResponse, AWSError>;
|
|
30
|
+
/**
|
|
31
|
+
* Deletes a component from an Amplify app.
|
|
32
|
+
*/
|
|
33
|
+
deleteComponent(params: AmplifyUIBuilder.Types.DeleteComponentRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
34
|
+
/**
|
|
35
|
+
* Deletes a component from an Amplify app.
|
|
36
|
+
*/
|
|
37
|
+
deleteComponent(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
38
|
+
/**
|
|
39
|
+
* Deletes a theme from an Amplify app.
|
|
40
|
+
*/
|
|
41
|
+
deleteTheme(params: AmplifyUIBuilder.Types.DeleteThemeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
42
|
+
/**
|
|
43
|
+
* Deletes a theme from an Amplify app.
|
|
44
|
+
*/
|
|
45
|
+
deleteTheme(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
46
|
+
/**
|
|
47
|
+
* Exchanges an access code for a token.
|
|
48
|
+
*/
|
|
49
|
+
exchangeCodeForToken(params: AmplifyUIBuilder.Types.ExchangeCodeForTokenRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ExchangeCodeForTokenResponse) => void): Request<AmplifyUIBuilder.Types.ExchangeCodeForTokenResponse, AWSError>;
|
|
50
|
+
/**
|
|
51
|
+
* Exchanges an access code for a token.
|
|
52
|
+
*/
|
|
53
|
+
exchangeCodeForToken(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ExchangeCodeForTokenResponse) => void): Request<AmplifyUIBuilder.Types.ExchangeCodeForTokenResponse, AWSError>;
|
|
54
|
+
/**
|
|
55
|
+
* Exports component configurations to code that is ready to integrate into an Amplify app.
|
|
56
|
+
*/
|
|
57
|
+
exportComponents(params: AmplifyUIBuilder.Types.ExportComponentsRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ExportComponentsResponse) => void): Request<AmplifyUIBuilder.Types.ExportComponentsResponse, AWSError>;
|
|
58
|
+
/**
|
|
59
|
+
* Exports component configurations to code that is ready to integrate into an Amplify app.
|
|
60
|
+
*/
|
|
61
|
+
exportComponents(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ExportComponentsResponse) => void): Request<AmplifyUIBuilder.Types.ExportComponentsResponse, AWSError>;
|
|
62
|
+
/**
|
|
63
|
+
* Exports theme configurations to code that is ready to integrate into an Amplify app.
|
|
64
|
+
*/
|
|
65
|
+
exportThemes(params: AmplifyUIBuilder.Types.ExportThemesRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ExportThemesResponse) => void): Request<AmplifyUIBuilder.Types.ExportThemesResponse, AWSError>;
|
|
66
|
+
/**
|
|
67
|
+
* Exports theme configurations to code that is ready to integrate into an Amplify app.
|
|
68
|
+
*/
|
|
69
|
+
exportThemes(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ExportThemesResponse) => void): Request<AmplifyUIBuilder.Types.ExportThemesResponse, AWSError>;
|
|
70
|
+
/**
|
|
71
|
+
* Returns an existing component for an Amplify app.
|
|
72
|
+
*/
|
|
73
|
+
getComponent(params: AmplifyUIBuilder.Types.GetComponentRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.GetComponentResponse) => void): Request<AmplifyUIBuilder.Types.GetComponentResponse, AWSError>;
|
|
74
|
+
/**
|
|
75
|
+
* Returns an existing component for an Amplify app.
|
|
76
|
+
*/
|
|
77
|
+
getComponent(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.GetComponentResponse) => void): Request<AmplifyUIBuilder.Types.GetComponentResponse, AWSError>;
|
|
78
|
+
/**
|
|
79
|
+
* Returns an existing theme for an Amplify app.
|
|
80
|
+
*/
|
|
81
|
+
getTheme(params: AmplifyUIBuilder.Types.GetThemeRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.GetThemeResponse) => void): Request<AmplifyUIBuilder.Types.GetThemeResponse, AWSError>;
|
|
82
|
+
/**
|
|
83
|
+
* Returns an existing theme for an Amplify app.
|
|
84
|
+
*/
|
|
85
|
+
getTheme(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.GetThemeResponse) => void): Request<AmplifyUIBuilder.Types.GetThemeResponse, AWSError>;
|
|
86
|
+
/**
|
|
87
|
+
* Retrieves a list of components for a specified Amplify app and backend environment.
|
|
88
|
+
*/
|
|
89
|
+
listComponents(params: AmplifyUIBuilder.Types.ListComponentsRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ListComponentsResponse) => void): Request<AmplifyUIBuilder.Types.ListComponentsResponse, AWSError>;
|
|
90
|
+
/**
|
|
91
|
+
* Retrieves a list of components for a specified Amplify app and backend environment.
|
|
92
|
+
*/
|
|
93
|
+
listComponents(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ListComponentsResponse) => void): Request<AmplifyUIBuilder.Types.ListComponentsResponse, AWSError>;
|
|
94
|
+
/**
|
|
95
|
+
* Retrieves a list of themes for a specified Amplify app and backend environment.
|
|
96
|
+
*/
|
|
97
|
+
listThemes(params: AmplifyUIBuilder.Types.ListThemesRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ListThemesResponse) => void): Request<AmplifyUIBuilder.Types.ListThemesResponse, AWSError>;
|
|
98
|
+
/**
|
|
99
|
+
* Retrieves a list of themes for a specified Amplify app and backend environment.
|
|
100
|
+
*/
|
|
101
|
+
listThemes(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ListThemesResponse) => void): Request<AmplifyUIBuilder.Types.ListThemesResponse, AWSError>;
|
|
102
|
+
/**
|
|
103
|
+
* Refreshes a previously issued access token that might have expired.
|
|
104
|
+
*/
|
|
105
|
+
refreshToken(params: AmplifyUIBuilder.Types.RefreshTokenRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.RefreshTokenResponse) => void): Request<AmplifyUIBuilder.Types.RefreshTokenResponse, AWSError>;
|
|
106
|
+
/**
|
|
107
|
+
* Refreshes a previously issued access token that might have expired.
|
|
108
|
+
*/
|
|
109
|
+
refreshToken(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.RefreshTokenResponse) => void): Request<AmplifyUIBuilder.Types.RefreshTokenResponse, AWSError>;
|
|
110
|
+
/**
|
|
111
|
+
* Updates an existing component.
|
|
112
|
+
*/
|
|
113
|
+
updateComponent(params: AmplifyUIBuilder.Types.UpdateComponentRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.UpdateComponentResponse) => void): Request<AmplifyUIBuilder.Types.UpdateComponentResponse, AWSError>;
|
|
114
|
+
/**
|
|
115
|
+
* Updates an existing component.
|
|
116
|
+
*/
|
|
117
|
+
updateComponent(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.UpdateComponentResponse) => void): Request<AmplifyUIBuilder.Types.UpdateComponentResponse, AWSError>;
|
|
118
|
+
/**
|
|
119
|
+
* Updates an existing theme.
|
|
120
|
+
*/
|
|
121
|
+
updateTheme(params: AmplifyUIBuilder.Types.UpdateThemeRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.UpdateThemeResponse) => void): Request<AmplifyUIBuilder.Types.UpdateThemeResponse, AWSError>;
|
|
122
|
+
/**
|
|
123
|
+
* Updates an existing theme.
|
|
124
|
+
*/
|
|
125
|
+
updateTheme(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.UpdateThemeResponse) => void): Request<AmplifyUIBuilder.Types.UpdateThemeResponse, AWSError>;
|
|
126
|
+
}
|
|
127
|
+
declare namespace AmplifyUIBuilder {
|
|
128
|
+
export type Boolean = boolean;
|
|
129
|
+
export interface Component {
|
|
130
|
+
/**
|
|
131
|
+
* The unique ID of the Amplify app associated with the component.
|
|
132
|
+
*/
|
|
133
|
+
appId: String;
|
|
134
|
+
/**
|
|
135
|
+
* The information to connect a component's properties to data at runtime.
|
|
136
|
+
*/
|
|
137
|
+
bindingProperties: ComponentBindingProperties;
|
|
138
|
+
/**
|
|
139
|
+
* A list of the component's ComponentChild instances.
|
|
140
|
+
*/
|
|
141
|
+
children?: ComponentChildList;
|
|
142
|
+
/**
|
|
143
|
+
* The data binding configuration for the component's properties. Use this for a collection component.
|
|
144
|
+
*/
|
|
145
|
+
collectionProperties?: ComponentCollectionProperties;
|
|
146
|
+
/**
|
|
147
|
+
* The type of the component. This can be an Amplify custom UI component or another custom component.
|
|
148
|
+
*/
|
|
149
|
+
componentType: ComponentType;
|
|
150
|
+
/**
|
|
151
|
+
* The time that the component was created.
|
|
152
|
+
*/
|
|
153
|
+
createdAt: SyntheticTimestamp_date_time;
|
|
154
|
+
/**
|
|
155
|
+
* The name of the backend environment that is a part of the Amplify app.
|
|
156
|
+
*/
|
|
157
|
+
environmentName: String;
|
|
158
|
+
/**
|
|
159
|
+
* The unique ID of the component.
|
|
160
|
+
*/
|
|
161
|
+
id: Uuid;
|
|
162
|
+
/**
|
|
163
|
+
* The time that the component was modified.
|
|
164
|
+
*/
|
|
165
|
+
modifiedAt?: SyntheticTimestamp_date_time;
|
|
166
|
+
/**
|
|
167
|
+
* The name of the component.
|
|
168
|
+
*/
|
|
169
|
+
name: ComponentName;
|
|
170
|
+
/**
|
|
171
|
+
* Describes the component's properties that can be overriden in a customized instance of the component.
|
|
172
|
+
*/
|
|
173
|
+
overrides: ComponentOverrides;
|
|
174
|
+
/**
|
|
175
|
+
* Describes the component's properties.
|
|
176
|
+
*/
|
|
177
|
+
properties: ComponentProperties;
|
|
178
|
+
/**
|
|
179
|
+
* The unique ID of the component in its original source system, such as Figma.
|
|
180
|
+
*/
|
|
181
|
+
sourceId?: String;
|
|
182
|
+
/**
|
|
183
|
+
* One or more key-value pairs to use when tagging the component.
|
|
184
|
+
*/
|
|
185
|
+
tags?: Tags;
|
|
186
|
+
/**
|
|
187
|
+
* A list of the component's variants. A variant is a unique style configuration of a main component.
|
|
188
|
+
*/
|
|
189
|
+
variants: ComponentVariants;
|
|
190
|
+
}
|
|
191
|
+
export type ComponentBindingProperties = {[key: string]: ComponentBindingPropertiesValue};
|
|
192
|
+
export interface ComponentBindingPropertiesValue {
|
|
193
|
+
/**
|
|
194
|
+
* Describes the properties to customize with data at runtime.
|
|
195
|
+
*/
|
|
196
|
+
bindingProperties?: ComponentBindingPropertiesValueProperties;
|
|
197
|
+
/**
|
|
198
|
+
* The default value of the property.
|
|
199
|
+
*/
|
|
200
|
+
defaultValue?: String;
|
|
201
|
+
/**
|
|
202
|
+
* The property type.
|
|
203
|
+
*/
|
|
204
|
+
type?: String;
|
|
205
|
+
}
|
|
206
|
+
export interface ComponentBindingPropertiesValueProperties {
|
|
207
|
+
/**
|
|
208
|
+
* An Amazon S3 bucket.
|
|
209
|
+
*/
|
|
210
|
+
bucket?: String;
|
|
211
|
+
/**
|
|
212
|
+
* The default value to assign to the property.
|
|
213
|
+
*/
|
|
214
|
+
defaultValue?: String;
|
|
215
|
+
/**
|
|
216
|
+
* The field to bind the data to.
|
|
217
|
+
*/
|
|
218
|
+
field?: String;
|
|
219
|
+
/**
|
|
220
|
+
* The storage key for an Amazon S3 bucket.
|
|
221
|
+
*/
|
|
222
|
+
key?: String;
|
|
223
|
+
/**
|
|
224
|
+
* An Amplify DataStore model.
|
|
225
|
+
*/
|
|
226
|
+
model?: String;
|
|
227
|
+
/**
|
|
228
|
+
* A list of predicates for binding a component's properties to data.
|
|
229
|
+
*/
|
|
230
|
+
predicates?: PredicateList;
|
|
231
|
+
/**
|
|
232
|
+
* An authenticated user attribute.
|
|
233
|
+
*/
|
|
234
|
+
userAttribute?: String;
|
|
235
|
+
}
|
|
236
|
+
export interface ComponentChild {
|
|
237
|
+
/**
|
|
238
|
+
* The list of ComponentChild instances for this component.
|
|
239
|
+
*/
|
|
240
|
+
children?: ComponentChildList;
|
|
241
|
+
/**
|
|
242
|
+
* The type of the child component.
|
|
243
|
+
*/
|
|
244
|
+
componentType: String;
|
|
245
|
+
/**
|
|
246
|
+
* The name of the child component.
|
|
247
|
+
*/
|
|
248
|
+
name: String;
|
|
249
|
+
/**
|
|
250
|
+
* Describes the properties of the child component.
|
|
251
|
+
*/
|
|
252
|
+
properties: ComponentProperties;
|
|
253
|
+
}
|
|
254
|
+
export type ComponentChildList = ComponentChild[];
|
|
255
|
+
export type ComponentCollectionProperties = {[key: string]: ComponentDataConfiguration};
|
|
256
|
+
export interface ComponentConditionProperty {
|
|
257
|
+
/**
|
|
258
|
+
* The value to assign to the property if the condition is not met.
|
|
259
|
+
*/
|
|
260
|
+
else?: ComponentProperty;
|
|
261
|
+
/**
|
|
262
|
+
* The name of a field. Specify this when the property is a data model.
|
|
263
|
+
*/
|
|
264
|
+
field?: String;
|
|
265
|
+
/**
|
|
266
|
+
* The value of the property to evaluate.
|
|
267
|
+
*/
|
|
268
|
+
operand?: String;
|
|
269
|
+
/**
|
|
270
|
+
* The operator to use to perform the evaluation, such as eq to represent equals.
|
|
271
|
+
*/
|
|
272
|
+
operator?: String;
|
|
273
|
+
/**
|
|
274
|
+
* The name of the conditional property.
|
|
275
|
+
*/
|
|
276
|
+
property?: String;
|
|
277
|
+
/**
|
|
278
|
+
* The value to assign to the property if the condition is met.
|
|
279
|
+
*/
|
|
280
|
+
then?: ComponentProperty;
|
|
281
|
+
}
|
|
282
|
+
export interface ComponentDataConfiguration {
|
|
283
|
+
/**
|
|
284
|
+
* A list of IDs to use to bind data to a component. Use this property to bind specifically chosen data, rather than data retrieved from a query.
|
|
285
|
+
*/
|
|
286
|
+
identifiers?: IdentifierList;
|
|
287
|
+
/**
|
|
288
|
+
* The name of the data model to use to bind data to a component.
|
|
289
|
+
*/
|
|
290
|
+
model: String;
|
|
291
|
+
/**
|
|
292
|
+
* Represents the conditional logic to use when binding data to a component. Use this property to retrieve only a subset of the data in a collection.
|
|
293
|
+
*/
|
|
294
|
+
predicate?: Predicate;
|
|
295
|
+
/**
|
|
296
|
+
* Describes how to sort the component's properties.
|
|
297
|
+
*/
|
|
298
|
+
sort?: SortPropertyList;
|
|
299
|
+
}
|
|
300
|
+
export type ComponentList = Component[];
|
|
301
|
+
export type ComponentName = string;
|
|
302
|
+
export type ComponentOverrides = {[key: string]: ComponentOverridesValue};
|
|
303
|
+
export type ComponentOverridesValue = {[key: string]: String};
|
|
304
|
+
export type ComponentProperties = {[key: string]: ComponentProperty};
|
|
305
|
+
export interface ComponentProperty {
|
|
306
|
+
/**
|
|
307
|
+
* The information to bind the component property to data at runtime.
|
|
308
|
+
*/
|
|
309
|
+
bindingProperties?: ComponentPropertyBindingProperties;
|
|
310
|
+
/**
|
|
311
|
+
* The information to bind the component property to form data.
|
|
312
|
+
*/
|
|
313
|
+
bindings?: FormBindings;
|
|
314
|
+
/**
|
|
315
|
+
* The information to bind the component property to data at runtime. Use this for collection components.
|
|
316
|
+
*/
|
|
317
|
+
collectionBindingProperties?: ComponentPropertyBindingProperties;
|
|
318
|
+
/**
|
|
319
|
+
* A list of component properties to concatenate to create the value to assign to this component property.
|
|
320
|
+
*/
|
|
321
|
+
concat?: ComponentPropertyList;
|
|
322
|
+
/**
|
|
323
|
+
* The conditional expression to use to assign a value to the component property..
|
|
324
|
+
*/
|
|
325
|
+
condition?: ComponentConditionProperty;
|
|
326
|
+
/**
|
|
327
|
+
* Specifies whether the user configured the property in Amplify Studio after importing it.
|
|
328
|
+
*/
|
|
329
|
+
configured?: Boolean;
|
|
330
|
+
/**
|
|
331
|
+
* The default value to assign to the component property.
|
|
332
|
+
*/
|
|
333
|
+
defaultValue?: String;
|
|
334
|
+
/**
|
|
335
|
+
* An event that occurs in your app. Use this for workflow data binding.
|
|
336
|
+
*/
|
|
337
|
+
event?: String;
|
|
338
|
+
/**
|
|
339
|
+
* The default value assigned to property when the component is imported into an app.
|
|
340
|
+
*/
|
|
341
|
+
importedValue?: String;
|
|
342
|
+
/**
|
|
343
|
+
* The data model to use to assign a value to the component property.
|
|
344
|
+
*/
|
|
345
|
+
model?: String;
|
|
346
|
+
/**
|
|
347
|
+
* The component type.
|
|
348
|
+
*/
|
|
349
|
+
type?: String;
|
|
350
|
+
/**
|
|
351
|
+
* An authenticated user attribute to use to assign a value to the component property.
|
|
352
|
+
*/
|
|
353
|
+
userAttribute?: String;
|
|
354
|
+
/**
|
|
355
|
+
* The value to assign to the component property.
|
|
356
|
+
*/
|
|
357
|
+
value?: String;
|
|
358
|
+
}
|
|
359
|
+
export interface ComponentPropertyBindingProperties {
|
|
360
|
+
/**
|
|
361
|
+
* The data field to bind the property to.
|
|
362
|
+
*/
|
|
363
|
+
field?: String;
|
|
364
|
+
/**
|
|
365
|
+
* The component property to bind to the data field.
|
|
366
|
+
*/
|
|
367
|
+
property: String;
|
|
368
|
+
}
|
|
369
|
+
export type ComponentPropertyList = ComponentProperty[];
|
|
370
|
+
export interface ComponentSummary {
|
|
371
|
+
/**
|
|
372
|
+
* The unique ID of the Amplify app associated with the component.
|
|
373
|
+
*/
|
|
374
|
+
appId: String;
|
|
375
|
+
/**
|
|
376
|
+
* The component type.
|
|
377
|
+
*/
|
|
378
|
+
componentType: ComponentType;
|
|
379
|
+
/**
|
|
380
|
+
* The name of the backend environment that is a part of the Amplify app.
|
|
381
|
+
*/
|
|
382
|
+
environmentName: String;
|
|
383
|
+
/**
|
|
384
|
+
* The unique ID of the component.
|
|
385
|
+
*/
|
|
386
|
+
id: Uuid;
|
|
387
|
+
/**
|
|
388
|
+
* The name of the component.
|
|
389
|
+
*/
|
|
390
|
+
name: ComponentName;
|
|
391
|
+
}
|
|
392
|
+
export type ComponentSummaryList = ComponentSummary[];
|
|
393
|
+
export type ComponentType = string;
|
|
394
|
+
export interface ComponentVariant {
|
|
395
|
+
/**
|
|
396
|
+
* The properties of the component variant that can be overriden when customizing an instance of the component.
|
|
397
|
+
*/
|
|
398
|
+
overrides?: ComponentOverrides;
|
|
399
|
+
/**
|
|
400
|
+
* The combination of variants that comprise this variant.
|
|
401
|
+
*/
|
|
402
|
+
variantValues?: ComponentVariantValues;
|
|
403
|
+
}
|
|
404
|
+
export type ComponentVariantValues = {[key: string]: String};
|
|
405
|
+
export type ComponentVariants = ComponentVariant[];
|
|
406
|
+
export interface CreateComponentData {
|
|
407
|
+
/**
|
|
408
|
+
* The data binding information for the component's properties.
|
|
409
|
+
*/
|
|
410
|
+
bindingProperties: ComponentBindingProperties;
|
|
411
|
+
/**
|
|
412
|
+
* A list of child components that are instances of the main component.
|
|
413
|
+
*/
|
|
414
|
+
children?: ComponentChildList;
|
|
415
|
+
/**
|
|
416
|
+
* The data binding configuration for customizing a component's properties. Use this for a collection component.
|
|
417
|
+
*/
|
|
418
|
+
collectionProperties?: ComponentCollectionProperties;
|
|
419
|
+
/**
|
|
420
|
+
* The component type. This can be an Amplify custom UI component or another custom component.
|
|
421
|
+
*/
|
|
422
|
+
componentType: ComponentType;
|
|
423
|
+
/**
|
|
424
|
+
* The name of the component
|
|
425
|
+
*/
|
|
426
|
+
name: ComponentName;
|
|
427
|
+
/**
|
|
428
|
+
* Describes the component properties that can be overriden to customize an instance of the component.
|
|
429
|
+
*/
|
|
430
|
+
overrides: ComponentOverrides;
|
|
431
|
+
/**
|
|
432
|
+
* Describes the component's properties.
|
|
433
|
+
*/
|
|
434
|
+
properties: ComponentProperties;
|
|
435
|
+
/**
|
|
436
|
+
* The unique ID of the component in its original source system, such as Figma.
|
|
437
|
+
*/
|
|
438
|
+
sourceId?: String;
|
|
439
|
+
/**
|
|
440
|
+
* One or more key-value pairs to use when tagging the component data.
|
|
441
|
+
*/
|
|
442
|
+
tags?: Tags;
|
|
443
|
+
/**
|
|
444
|
+
* A list of the unique variants of this component.
|
|
445
|
+
*/
|
|
446
|
+
variants: ComponentVariants;
|
|
447
|
+
}
|
|
448
|
+
export interface CreateComponentRequest {
|
|
449
|
+
/**
|
|
450
|
+
* The unique ID of the Amplify app to associate with the component.
|
|
451
|
+
*/
|
|
452
|
+
appId: String;
|
|
453
|
+
/**
|
|
454
|
+
* The unique client token.
|
|
455
|
+
*/
|
|
456
|
+
clientToken?: String;
|
|
457
|
+
/**
|
|
458
|
+
* Represents the configuration of the component to create.
|
|
459
|
+
*/
|
|
460
|
+
componentToCreate: CreateComponentData;
|
|
461
|
+
/**
|
|
462
|
+
* The name of the backend environment that is a part of the Amplify app.
|
|
463
|
+
*/
|
|
464
|
+
environmentName: String;
|
|
465
|
+
}
|
|
466
|
+
export interface CreateComponentResponse {
|
|
467
|
+
/**
|
|
468
|
+
* Describes the configuration of the new component.
|
|
469
|
+
*/
|
|
470
|
+
entity?: Component;
|
|
471
|
+
}
|
|
472
|
+
export interface CreateThemeData {
|
|
473
|
+
/**
|
|
474
|
+
* The name of the theme.
|
|
475
|
+
*/
|
|
476
|
+
name: ThemeName;
|
|
477
|
+
/**
|
|
478
|
+
* Describes the properties that can be overriden to customize an instance of the theme.
|
|
479
|
+
*/
|
|
480
|
+
overrides?: ThemeValuesList;
|
|
481
|
+
/**
|
|
482
|
+
* One or more key-value pairs to use when tagging the theme data.
|
|
483
|
+
*/
|
|
484
|
+
tags?: Tags;
|
|
485
|
+
/**
|
|
486
|
+
* A list of key-value pairs that defines the properties of the theme.
|
|
487
|
+
*/
|
|
488
|
+
values: ThemeValuesList;
|
|
489
|
+
}
|
|
490
|
+
export interface CreateThemeRequest {
|
|
491
|
+
/**
|
|
492
|
+
* The unique ID of the Amplify app associated with the theme.
|
|
493
|
+
*/
|
|
494
|
+
appId: String;
|
|
495
|
+
/**
|
|
496
|
+
* The unique client token.
|
|
497
|
+
*/
|
|
498
|
+
clientToken?: String;
|
|
499
|
+
/**
|
|
500
|
+
* The name of the backend environment that is a part of the Amplify app.
|
|
501
|
+
*/
|
|
502
|
+
environmentName: String;
|
|
503
|
+
/**
|
|
504
|
+
* Represents the configuration of the theme to create.
|
|
505
|
+
*/
|
|
506
|
+
themeToCreate: CreateThemeData;
|
|
507
|
+
}
|
|
508
|
+
export interface CreateThemeResponse {
|
|
509
|
+
/**
|
|
510
|
+
* Describes the configuration of the new theme.
|
|
511
|
+
*/
|
|
512
|
+
entity?: Theme;
|
|
513
|
+
}
|
|
514
|
+
export interface DeleteComponentRequest {
|
|
515
|
+
/**
|
|
516
|
+
* The unique ID of the Amplify app associated with the component to delete.
|
|
517
|
+
*/
|
|
518
|
+
appId: String;
|
|
519
|
+
/**
|
|
520
|
+
* The name of the backend environment that is a part of the Amplify app.
|
|
521
|
+
*/
|
|
522
|
+
environmentName: String;
|
|
523
|
+
/**
|
|
524
|
+
* The unique ID of the component to delete.
|
|
525
|
+
*/
|
|
526
|
+
id: Uuid;
|
|
527
|
+
}
|
|
528
|
+
export interface DeleteThemeRequest {
|
|
529
|
+
/**
|
|
530
|
+
* The unique ID of the Amplify app associated with the theme to delete.
|
|
531
|
+
*/
|
|
532
|
+
appId: String;
|
|
533
|
+
/**
|
|
534
|
+
* The name of the backend environment that is a part of the Amplify app.
|
|
535
|
+
*/
|
|
536
|
+
environmentName: String;
|
|
537
|
+
/**
|
|
538
|
+
* The unique ID of the theme to delete.
|
|
539
|
+
*/
|
|
540
|
+
id: Uuid;
|
|
541
|
+
}
|
|
542
|
+
export interface ExchangeCodeForTokenRequest {
|
|
543
|
+
/**
|
|
544
|
+
* The third-party provider for the token. The only valid value is figma.
|
|
545
|
+
*/
|
|
546
|
+
provider: TokenProviders;
|
|
547
|
+
/**
|
|
548
|
+
* Describes the configuration of the request.
|
|
549
|
+
*/
|
|
550
|
+
request: ExchangeCodeForTokenRequestBody;
|
|
551
|
+
}
|
|
552
|
+
export interface ExchangeCodeForTokenRequestBody {
|
|
553
|
+
/**
|
|
554
|
+
* The access code to send in the request.
|
|
555
|
+
*/
|
|
556
|
+
code: SyntheticExchangeCodeForTokenRequestBodyString;
|
|
557
|
+
/**
|
|
558
|
+
* The location of the application that will receive the access code.
|
|
559
|
+
*/
|
|
560
|
+
redirectUri: String;
|
|
561
|
+
}
|
|
562
|
+
export interface ExchangeCodeForTokenResponse {
|
|
563
|
+
/**
|
|
564
|
+
* The access token.
|
|
565
|
+
*/
|
|
566
|
+
accessToken: SyntheticExchangeCodeForTokenResponseString;
|
|
567
|
+
/**
|
|
568
|
+
* The date and time when the new access token expires.
|
|
569
|
+
*/
|
|
570
|
+
expiresIn: Integer;
|
|
571
|
+
/**
|
|
572
|
+
* The token to use to refresh a previously issued access token that might have expired.
|
|
573
|
+
*/
|
|
574
|
+
refreshToken: SyntheticExchangeCodeForTokenResponseString;
|
|
575
|
+
}
|
|
576
|
+
export interface ExportComponentsRequest {
|
|
577
|
+
/**
|
|
578
|
+
* The unique ID of the Amplify app to export components to.
|
|
579
|
+
*/
|
|
580
|
+
appId: String;
|
|
581
|
+
/**
|
|
582
|
+
* The name of the backend environment that is a part of the Amplify app.
|
|
583
|
+
*/
|
|
584
|
+
environmentName: String;
|
|
585
|
+
}
|
|
586
|
+
export interface ExportComponentsResponse {
|
|
587
|
+
/**
|
|
588
|
+
* Represents the configuration of the exported components.
|
|
589
|
+
*/
|
|
590
|
+
entities: ComponentList;
|
|
591
|
+
}
|
|
592
|
+
export interface ExportThemesRequest {
|
|
593
|
+
/**
|
|
594
|
+
* The unique ID of the Amplify app to export the themes to.
|
|
595
|
+
*/
|
|
596
|
+
appId: String;
|
|
597
|
+
/**
|
|
598
|
+
* The name of the backend environment that is part of the Amplify app.
|
|
599
|
+
*/
|
|
600
|
+
environmentName: String;
|
|
601
|
+
}
|
|
602
|
+
export interface ExportThemesResponse {
|
|
603
|
+
/**
|
|
604
|
+
* Represents the configuration of the exported themes.
|
|
605
|
+
*/
|
|
606
|
+
entities: ThemeList;
|
|
607
|
+
}
|
|
608
|
+
export interface FormBindingElement {
|
|
609
|
+
/**
|
|
610
|
+
* The name of the component to retrieve a value from.
|
|
611
|
+
*/
|
|
612
|
+
element: String;
|
|
613
|
+
/**
|
|
614
|
+
* The property to retrieve a value from.
|
|
615
|
+
*/
|
|
616
|
+
property: String;
|
|
617
|
+
}
|
|
618
|
+
export type FormBindings = {[key: string]: FormBindingElement};
|
|
619
|
+
export interface GetComponentRequest {
|
|
620
|
+
/**
|
|
621
|
+
* The unique ID of the Amplify app.
|
|
622
|
+
*/
|
|
623
|
+
appId: String;
|
|
624
|
+
/**
|
|
625
|
+
* The name of the backend environment that is part of the Amplify app.
|
|
626
|
+
*/
|
|
627
|
+
environmentName: String;
|
|
628
|
+
/**
|
|
629
|
+
* The unique ID of the component.
|
|
630
|
+
*/
|
|
631
|
+
id: Uuid;
|
|
632
|
+
}
|
|
633
|
+
export interface GetComponentResponse {
|
|
634
|
+
/**
|
|
635
|
+
* Represents the configuration settings for the component.
|
|
636
|
+
*/
|
|
637
|
+
component?: Component;
|
|
638
|
+
}
|
|
639
|
+
export interface GetThemeRequest {
|
|
640
|
+
/**
|
|
641
|
+
* The unique ID of the Amplify app.
|
|
642
|
+
*/
|
|
643
|
+
appId: String;
|
|
644
|
+
/**
|
|
645
|
+
* The name of the backend environment that is part of the Amplify app.
|
|
646
|
+
*/
|
|
647
|
+
environmentName: String;
|
|
648
|
+
/**
|
|
649
|
+
* The unique ID for the theme.
|
|
650
|
+
*/
|
|
651
|
+
id: Uuid;
|
|
652
|
+
}
|
|
653
|
+
export interface GetThemeResponse {
|
|
654
|
+
/**
|
|
655
|
+
* Represents the configuration settings for the theme.
|
|
656
|
+
*/
|
|
657
|
+
theme?: Theme;
|
|
658
|
+
}
|
|
659
|
+
export type IdentifierList = String[];
|
|
660
|
+
export type Integer = number;
|
|
661
|
+
export type ListComponentsLimit = number;
|
|
662
|
+
export interface ListComponentsRequest {
|
|
663
|
+
/**
|
|
664
|
+
* The unique ID for the Amplify app.
|
|
665
|
+
*/
|
|
666
|
+
appId: String;
|
|
667
|
+
/**
|
|
668
|
+
* The name of the backend environment that is a part of the Amplify app.
|
|
669
|
+
*/
|
|
670
|
+
environmentName: String;
|
|
671
|
+
/**
|
|
672
|
+
* The maximum number of components to retrieve.
|
|
673
|
+
*/
|
|
674
|
+
maxResults?: ListComponentsLimit;
|
|
675
|
+
/**
|
|
676
|
+
* The token to request the next page of results.
|
|
677
|
+
*/
|
|
678
|
+
nextToken?: String;
|
|
679
|
+
}
|
|
680
|
+
export interface ListComponentsResponse {
|
|
681
|
+
/**
|
|
682
|
+
* The list of components for the Amplify app.
|
|
683
|
+
*/
|
|
684
|
+
entities: ComponentSummaryList;
|
|
685
|
+
/**
|
|
686
|
+
* The pagination token that's included if more results are available.
|
|
687
|
+
*/
|
|
688
|
+
nextToken?: String;
|
|
689
|
+
}
|
|
690
|
+
export type ListThemesLimit = number;
|
|
691
|
+
export interface ListThemesRequest {
|
|
692
|
+
/**
|
|
693
|
+
* The unique ID for the Amplify app.
|
|
694
|
+
*/
|
|
695
|
+
appId: String;
|
|
696
|
+
/**
|
|
697
|
+
* The name of the backend environment that is a part of the Amplify app.
|
|
698
|
+
*/
|
|
699
|
+
environmentName: String;
|
|
700
|
+
/**
|
|
701
|
+
* The maximum number of theme results to return in the response.
|
|
702
|
+
*/
|
|
703
|
+
maxResults?: ListThemesLimit;
|
|
704
|
+
/**
|
|
705
|
+
* The token to request the next page of results.
|
|
706
|
+
*/
|
|
707
|
+
nextToken?: String;
|
|
708
|
+
}
|
|
709
|
+
export interface ListThemesResponse {
|
|
710
|
+
/**
|
|
711
|
+
* The list of themes for the Amplify app.
|
|
712
|
+
*/
|
|
713
|
+
entities: ThemeSummaryList;
|
|
714
|
+
/**
|
|
715
|
+
* The pagination token that's returned if more results are available.
|
|
716
|
+
*/
|
|
717
|
+
nextToken?: String;
|
|
718
|
+
}
|
|
719
|
+
export interface Predicate {
|
|
720
|
+
/**
|
|
721
|
+
* A list of predicates to combine logically.
|
|
722
|
+
*/
|
|
723
|
+
and?: PredicateList;
|
|
724
|
+
/**
|
|
725
|
+
* The field to query.
|
|
726
|
+
*/
|
|
727
|
+
field?: String;
|
|
728
|
+
/**
|
|
729
|
+
* The value to use when performing the evaluation.
|
|
730
|
+
*/
|
|
731
|
+
operand?: String;
|
|
732
|
+
/**
|
|
733
|
+
* The operator to use to perform the evaluation.
|
|
734
|
+
*/
|
|
735
|
+
operator?: String;
|
|
736
|
+
/**
|
|
737
|
+
* A list of predicates to combine logically.
|
|
738
|
+
*/
|
|
739
|
+
or?: PredicateList;
|
|
740
|
+
}
|
|
741
|
+
export type PredicateList = Predicate[];
|
|
742
|
+
export interface RefreshTokenRequest {
|
|
743
|
+
/**
|
|
744
|
+
* The third-party provider for the token. The only valid value is figma.
|
|
745
|
+
*/
|
|
746
|
+
provider: TokenProviders;
|
|
747
|
+
/**
|
|
748
|
+
* Information about the refresh token request.
|
|
749
|
+
*/
|
|
750
|
+
refreshTokenBody: RefreshTokenRequestBody;
|
|
751
|
+
}
|
|
752
|
+
export interface RefreshTokenRequestBody {
|
|
753
|
+
/**
|
|
754
|
+
* The token to use to refresh a previously issued access token that might have expired.
|
|
755
|
+
*/
|
|
756
|
+
token: SyntheticRefreshTokenRequestBodyString;
|
|
757
|
+
}
|
|
758
|
+
export interface RefreshTokenResponse {
|
|
759
|
+
/**
|
|
760
|
+
* The access token.
|
|
761
|
+
*/
|
|
762
|
+
accessToken: SyntheticRefreshTokenResponseString;
|
|
763
|
+
/**
|
|
764
|
+
* The date and time when the new access token expires.
|
|
765
|
+
*/
|
|
766
|
+
expiresIn: Integer;
|
|
767
|
+
}
|
|
768
|
+
export type SortDirection = "ASC"|"DESC"|string;
|
|
769
|
+
export interface SortProperty {
|
|
770
|
+
/**
|
|
771
|
+
* The direction of the sort, either ascending or descending.
|
|
772
|
+
*/
|
|
773
|
+
direction: SortDirection;
|
|
774
|
+
/**
|
|
775
|
+
* The field to perform the sort on.
|
|
776
|
+
*/
|
|
777
|
+
field: String;
|
|
778
|
+
}
|
|
779
|
+
export type SortPropertyList = SortProperty[];
|
|
780
|
+
export type String = string;
|
|
781
|
+
export type SyntheticExchangeCodeForTokenRequestBodyString = string;
|
|
782
|
+
export type SyntheticExchangeCodeForTokenResponseString = string;
|
|
783
|
+
export type SyntheticRefreshTokenRequestBodyString = string;
|
|
784
|
+
export type SyntheticRefreshTokenResponseString = string;
|
|
785
|
+
export type SyntheticTimestamp_date_time = Date;
|
|
786
|
+
export type TagKey = string;
|
|
787
|
+
export type TagValue = string;
|
|
788
|
+
export type Tags = {[key: string]: TagValue};
|
|
789
|
+
export interface Theme {
|
|
790
|
+
/**
|
|
791
|
+
* The unique ID for the Amplify app associated with the theme.
|
|
792
|
+
*/
|
|
793
|
+
appId: String;
|
|
794
|
+
/**
|
|
795
|
+
* The time that the theme was created.
|
|
796
|
+
*/
|
|
797
|
+
createdAt: SyntheticTimestamp_date_time;
|
|
798
|
+
/**
|
|
799
|
+
* The name of the backend environment that is a part of the Amplify app.
|
|
800
|
+
*/
|
|
801
|
+
environmentName: String;
|
|
802
|
+
/**
|
|
803
|
+
* The ID for the theme.
|
|
804
|
+
*/
|
|
805
|
+
id: Uuid;
|
|
806
|
+
/**
|
|
807
|
+
* The time that the theme was modified.
|
|
808
|
+
*/
|
|
809
|
+
modifiedAt?: SyntheticTimestamp_date_time;
|
|
810
|
+
/**
|
|
811
|
+
* The name of the theme.
|
|
812
|
+
*/
|
|
813
|
+
name: ThemeName;
|
|
814
|
+
/**
|
|
815
|
+
* Describes the properties that can be overriden to customize a theme.
|
|
816
|
+
*/
|
|
817
|
+
overrides?: ThemeValuesList;
|
|
818
|
+
/**
|
|
819
|
+
* One or more key-value pairs to use when tagging the theme.
|
|
820
|
+
*/
|
|
821
|
+
tags?: Tags;
|
|
822
|
+
/**
|
|
823
|
+
* A list of key-value pairs that defines the properties of the theme.
|
|
824
|
+
*/
|
|
825
|
+
values: ThemeValuesList;
|
|
826
|
+
}
|
|
827
|
+
export type ThemeList = Theme[];
|
|
828
|
+
export type ThemeName = string;
|
|
829
|
+
export interface ThemeSummary {
|
|
830
|
+
/**
|
|
831
|
+
* The unique ID for the app associated with the theme summary.
|
|
832
|
+
*/
|
|
833
|
+
appId: String;
|
|
834
|
+
/**
|
|
835
|
+
* The name of the backend environment that is part of the Amplify app.
|
|
836
|
+
*/
|
|
837
|
+
environmentName: String;
|
|
838
|
+
/**
|
|
839
|
+
* The ID of the theme.
|
|
840
|
+
*/
|
|
841
|
+
id: Uuid;
|
|
842
|
+
/**
|
|
843
|
+
* The name of the theme.
|
|
844
|
+
*/
|
|
845
|
+
name: ThemeName;
|
|
846
|
+
}
|
|
847
|
+
export type ThemeSummaryList = ThemeSummary[];
|
|
848
|
+
export interface ThemeValue {
|
|
849
|
+
/**
|
|
850
|
+
* A list of key-value pairs that define the theme's properties.
|
|
851
|
+
*/
|
|
852
|
+
children?: ThemeValuesList;
|
|
853
|
+
/**
|
|
854
|
+
* The value of a theme property.
|
|
855
|
+
*/
|
|
856
|
+
value?: String;
|
|
857
|
+
}
|
|
858
|
+
export interface ThemeValues {
|
|
859
|
+
/**
|
|
860
|
+
* The name of the property.
|
|
861
|
+
*/
|
|
862
|
+
key?: String;
|
|
863
|
+
/**
|
|
864
|
+
* The value of the property.
|
|
865
|
+
*/
|
|
866
|
+
value?: ThemeValue;
|
|
867
|
+
}
|
|
868
|
+
export type ThemeValuesList = ThemeValues[];
|
|
869
|
+
export type TokenProviders = "figma"|string;
|
|
870
|
+
export interface UpdateComponentData {
|
|
871
|
+
/**
|
|
872
|
+
* The data binding information for the component's properties.
|
|
873
|
+
*/
|
|
874
|
+
bindingProperties?: ComponentBindingProperties;
|
|
875
|
+
/**
|
|
876
|
+
* The components that are instances of the main component.
|
|
877
|
+
*/
|
|
878
|
+
children?: ComponentChildList;
|
|
879
|
+
/**
|
|
880
|
+
* The configuration for binding a component's properties to a data model. Use this for a collection component.
|
|
881
|
+
*/
|
|
882
|
+
collectionProperties?: ComponentCollectionProperties;
|
|
883
|
+
/**
|
|
884
|
+
* The type of the component. This can be an Amplify custom UI component or another custom component.
|
|
885
|
+
*/
|
|
886
|
+
componentType?: ComponentType;
|
|
887
|
+
/**
|
|
888
|
+
* The unique ID of the component to update.
|
|
889
|
+
*/
|
|
890
|
+
id?: Uuid;
|
|
891
|
+
/**
|
|
892
|
+
* The name of the component to update.
|
|
893
|
+
*/
|
|
894
|
+
name?: ComponentName;
|
|
895
|
+
/**
|
|
896
|
+
* Describes the properties that can be overriden to customize the component.
|
|
897
|
+
*/
|
|
898
|
+
overrides?: ComponentOverrides;
|
|
899
|
+
/**
|
|
900
|
+
* Describes the component's properties.
|
|
901
|
+
*/
|
|
902
|
+
properties?: ComponentProperties;
|
|
903
|
+
/**
|
|
904
|
+
* The unique ID of the component in its original source system, such as Figma.
|
|
905
|
+
*/
|
|
906
|
+
sourceId?: String;
|
|
907
|
+
/**
|
|
908
|
+
* A list of the unique variants of the main component being updated.
|
|
909
|
+
*/
|
|
910
|
+
variants?: ComponentVariants;
|
|
911
|
+
}
|
|
912
|
+
export interface UpdateComponentRequest {
|
|
913
|
+
/**
|
|
914
|
+
* The unique ID for the Amplify app.
|
|
915
|
+
*/
|
|
916
|
+
appId: String;
|
|
917
|
+
/**
|
|
918
|
+
* The unique client token.
|
|
919
|
+
*/
|
|
920
|
+
clientToken?: String;
|
|
921
|
+
/**
|
|
922
|
+
* The name of the backend environment that is part of the Amplify app.
|
|
923
|
+
*/
|
|
924
|
+
environmentName: String;
|
|
925
|
+
/**
|
|
926
|
+
* The unique ID for the component.
|
|
927
|
+
*/
|
|
928
|
+
id: Uuid;
|
|
929
|
+
/**
|
|
930
|
+
* The configuration of the updated component.
|
|
931
|
+
*/
|
|
932
|
+
updatedComponent: UpdateComponentData;
|
|
933
|
+
}
|
|
934
|
+
export interface UpdateComponentResponse {
|
|
935
|
+
/**
|
|
936
|
+
* Describes the configuration of the updated component.
|
|
937
|
+
*/
|
|
938
|
+
entity?: Component;
|
|
939
|
+
}
|
|
940
|
+
export interface UpdateThemeData {
|
|
941
|
+
/**
|
|
942
|
+
* The unique ID of the theme to update.
|
|
943
|
+
*/
|
|
944
|
+
id?: Uuid;
|
|
945
|
+
/**
|
|
946
|
+
* The name of the theme to update.
|
|
947
|
+
*/
|
|
948
|
+
name?: ThemeName;
|
|
949
|
+
/**
|
|
950
|
+
* Describes the properties that can be overriden to customize the theme.
|
|
951
|
+
*/
|
|
952
|
+
overrides?: ThemeValuesList;
|
|
953
|
+
/**
|
|
954
|
+
* A list of key-value pairs that define the theme's properties.
|
|
955
|
+
*/
|
|
956
|
+
values: ThemeValuesList;
|
|
957
|
+
}
|
|
958
|
+
export interface UpdateThemeRequest {
|
|
959
|
+
/**
|
|
960
|
+
* The unique ID for the Amplify app.
|
|
961
|
+
*/
|
|
962
|
+
appId: String;
|
|
963
|
+
/**
|
|
964
|
+
* The unique client token.
|
|
965
|
+
*/
|
|
966
|
+
clientToken?: String;
|
|
967
|
+
/**
|
|
968
|
+
* The name of the backend environment that is part of the Amplify app.
|
|
969
|
+
*/
|
|
970
|
+
environmentName: String;
|
|
971
|
+
/**
|
|
972
|
+
* The unique ID for the theme.
|
|
973
|
+
*/
|
|
974
|
+
id: Uuid;
|
|
975
|
+
/**
|
|
976
|
+
* The configuration of the updated theme.
|
|
977
|
+
*/
|
|
978
|
+
updatedTheme: UpdateThemeData;
|
|
979
|
+
}
|
|
980
|
+
export interface UpdateThemeResponse {
|
|
981
|
+
/**
|
|
982
|
+
* Describes the configuration of the updated theme.
|
|
983
|
+
*/
|
|
984
|
+
entity?: Theme;
|
|
985
|
+
}
|
|
986
|
+
export type Uuid = string;
|
|
987
|
+
/**
|
|
988
|
+
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
|
989
|
+
*/
|
|
990
|
+
export type apiVersion = "2021-08-11"|"latest"|string;
|
|
991
|
+
export interface ClientApiVersions {
|
|
992
|
+
/**
|
|
993
|
+
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
|
994
|
+
*/
|
|
995
|
+
apiVersion?: apiVersion;
|
|
996
|
+
}
|
|
997
|
+
export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
|
998
|
+
/**
|
|
999
|
+
* Contains interfaces for use with the AmplifyUIBuilder client.
|
|
1000
|
+
*/
|
|
1001
|
+
export import Types = AmplifyUIBuilder;
|
|
1002
|
+
}
|
|
1003
|
+
export = AmplifyUIBuilder;
|