cdk-comprehend-s3olap 2.0.95 → 2.0.97
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 +3 -3
- package/lib/cdk-comprehend-s3olap.js +2 -2
- package/lib/comprehend-lambdas.js +2 -2
- package/lib/iam-roles.js +4 -4
- package/node_modules/aws-sdk/CHANGELOG.md +10 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.min.json +651 -18
- package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.paginators.json +11 -0
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1377 -1108
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +510 -494
- package/node_modules/aws-sdk/clients/amplifyuibuilder.d.ts +632 -0
- package/node_modules/aws-sdk/clients/dynamodb.d.ts +7 -7
- package/node_modules/aws-sdk/clients/ec2.d.ts +267 -3
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +32 -10
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +24 -11
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +51 -25
- package/node_modules/aws-sdk/dist/aws-sdk.js +1380 -1111
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +70 -70
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +3 -3
- package/node_modules/aws-sdk/package.json +1 -1
- package/node_modules/is-callable/.editorconfig +5 -0
- package/node_modules/is-callable/CHANGELOG.md +12 -0
- package/node_modules/is-callable/README.md +13 -0
- package/node_modules/is-callable/index.js +23 -10
- package/node_modules/is-callable/package.json +1 -1
- package/node_modules/is-callable/test/index.js +40 -4
- package/package.json +3 -3
@@ -19,6 +19,14 @@ declare class AmplifyUIBuilder extends Service {
|
|
19
19
|
* Creates a new component for an Amplify app.
|
20
20
|
*/
|
21
21
|
createComponent(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.CreateComponentResponse) => void): Request<AmplifyUIBuilder.Types.CreateComponentResponse, AWSError>;
|
22
|
+
/**
|
23
|
+
* Creates a new form for an Amplify app.
|
24
|
+
*/
|
25
|
+
createForm(params: AmplifyUIBuilder.Types.CreateFormRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.CreateFormResponse) => void): Request<AmplifyUIBuilder.Types.CreateFormResponse, AWSError>;
|
26
|
+
/**
|
27
|
+
* Creates a new form for an Amplify app.
|
28
|
+
*/
|
29
|
+
createForm(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.CreateFormResponse) => void): Request<AmplifyUIBuilder.Types.CreateFormResponse, AWSError>;
|
22
30
|
/**
|
23
31
|
* Creates a theme to apply to the components in an Amplify app.
|
24
32
|
*/
|
@@ -35,6 +43,14 @@ declare class AmplifyUIBuilder extends Service {
|
|
35
43
|
* Deletes a component from an Amplify app.
|
36
44
|
*/
|
37
45
|
deleteComponent(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
46
|
+
/**
|
47
|
+
* Deletes a form from an Amplify app.
|
48
|
+
*/
|
49
|
+
deleteForm(params: AmplifyUIBuilder.Types.DeleteFormRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
50
|
+
/**
|
51
|
+
* Deletes a form from an Amplify app.
|
52
|
+
*/
|
53
|
+
deleteForm(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
38
54
|
/**
|
39
55
|
* Deletes a theme from an Amplify app.
|
40
56
|
*/
|
@@ -59,6 +75,14 @@ declare class AmplifyUIBuilder extends Service {
|
|
59
75
|
* Exports component configurations to code that is ready to integrate into an Amplify app.
|
60
76
|
*/
|
61
77
|
exportComponents(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ExportComponentsResponse) => void): Request<AmplifyUIBuilder.Types.ExportComponentsResponse, AWSError>;
|
78
|
+
/**
|
79
|
+
* Exports form configurations to code that is ready to integrate into an Amplify app.
|
80
|
+
*/
|
81
|
+
exportForms(params: AmplifyUIBuilder.Types.ExportFormsRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ExportFormsResponse) => void): Request<AmplifyUIBuilder.Types.ExportFormsResponse, AWSError>;
|
82
|
+
/**
|
83
|
+
* Exports form configurations to code that is ready to integrate into an Amplify app.
|
84
|
+
*/
|
85
|
+
exportForms(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ExportFormsResponse) => void): Request<AmplifyUIBuilder.Types.ExportFormsResponse, AWSError>;
|
62
86
|
/**
|
63
87
|
* Exports theme configurations to code that is ready to integrate into an Amplify app.
|
64
88
|
*/
|
@@ -75,6 +99,22 @@ declare class AmplifyUIBuilder extends Service {
|
|
75
99
|
* Returns an existing component for an Amplify app.
|
76
100
|
*/
|
77
101
|
getComponent(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.GetComponentResponse) => void): Request<AmplifyUIBuilder.Types.GetComponentResponse, AWSError>;
|
102
|
+
/**
|
103
|
+
* Returns an existing form for an Amplify app.
|
104
|
+
*/
|
105
|
+
getForm(params: AmplifyUIBuilder.Types.GetFormRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.GetFormResponse) => void): Request<AmplifyUIBuilder.Types.GetFormResponse, AWSError>;
|
106
|
+
/**
|
107
|
+
* Returns an existing form for an Amplify app.
|
108
|
+
*/
|
109
|
+
getForm(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.GetFormResponse) => void): Request<AmplifyUIBuilder.Types.GetFormResponse, AWSError>;
|
110
|
+
/**
|
111
|
+
* Returns existing metadata for an Amplify app.
|
112
|
+
*/
|
113
|
+
getMetadata(params: AmplifyUIBuilder.Types.GetMetadataRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.GetMetadataResponse) => void): Request<AmplifyUIBuilder.Types.GetMetadataResponse, AWSError>;
|
114
|
+
/**
|
115
|
+
* Returns existing metadata for an Amplify app.
|
116
|
+
*/
|
117
|
+
getMetadata(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.GetMetadataResponse) => void): Request<AmplifyUIBuilder.Types.GetMetadataResponse, AWSError>;
|
78
118
|
/**
|
79
119
|
* Returns an existing theme for an Amplify app.
|
80
120
|
*/
|
@@ -91,6 +131,14 @@ declare class AmplifyUIBuilder extends Service {
|
|
91
131
|
* Retrieves a list of components for a specified Amplify app and backend environment.
|
92
132
|
*/
|
93
133
|
listComponents(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ListComponentsResponse) => void): Request<AmplifyUIBuilder.Types.ListComponentsResponse, AWSError>;
|
134
|
+
/**
|
135
|
+
* Retrieves a list of forms for a specified Amplify app and backend environment.
|
136
|
+
*/
|
137
|
+
listForms(params: AmplifyUIBuilder.Types.ListFormsRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ListFormsResponse) => void): Request<AmplifyUIBuilder.Types.ListFormsResponse, AWSError>;
|
138
|
+
/**
|
139
|
+
* Retrieves a list of forms for a specified Amplify app and backend environment.
|
140
|
+
*/
|
141
|
+
listForms(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ListFormsResponse) => void): Request<AmplifyUIBuilder.Types.ListFormsResponse, AWSError>;
|
94
142
|
/**
|
95
143
|
* Retrieves a list of themes for a specified Amplify app and backend environment.
|
96
144
|
*/
|
@@ -99,6 +147,14 @@ declare class AmplifyUIBuilder extends Service {
|
|
99
147
|
* Retrieves a list of themes for a specified Amplify app and backend environment.
|
100
148
|
*/
|
101
149
|
listThemes(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ListThemesResponse) => void): Request<AmplifyUIBuilder.Types.ListThemesResponse, AWSError>;
|
150
|
+
/**
|
151
|
+
* Stores the metadata information about a feature on a form or view.
|
152
|
+
*/
|
153
|
+
putMetadataFlag(params: AmplifyUIBuilder.Types.PutMetadataFlagRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
154
|
+
/**
|
155
|
+
* Stores the metadata information about a feature on a form or view.
|
156
|
+
*/
|
157
|
+
putMetadataFlag(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
102
158
|
/**
|
103
159
|
* Refreshes a previously issued access token that might have expired.
|
104
160
|
*/
|
@@ -115,6 +171,14 @@ declare class AmplifyUIBuilder extends Service {
|
|
115
171
|
* Updates an existing component.
|
116
172
|
*/
|
117
173
|
updateComponent(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.UpdateComponentResponse) => void): Request<AmplifyUIBuilder.Types.UpdateComponentResponse, AWSError>;
|
174
|
+
/**
|
175
|
+
* Updates an existing form.
|
176
|
+
*/
|
177
|
+
updateForm(params: AmplifyUIBuilder.Types.UpdateFormRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.UpdateFormResponse) => void): Request<AmplifyUIBuilder.Types.UpdateFormResponse, AWSError>;
|
178
|
+
/**
|
179
|
+
* Updates an existing form.
|
180
|
+
*/
|
181
|
+
updateForm(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.UpdateFormResponse) => void): Request<AmplifyUIBuilder.Types.UpdateFormResponse, AWSError>;
|
118
182
|
/**
|
119
183
|
* Updates an existing theme.
|
120
184
|
*/
|
@@ -274,6 +338,10 @@ declare namespace AmplifyUIBuilder {
|
|
274
338
|
* A list of predicates for binding a component's properties to data.
|
275
339
|
*/
|
276
340
|
predicates?: PredicateList;
|
341
|
+
/**
|
342
|
+
* The name of a component slot.
|
343
|
+
*/
|
344
|
+
slotName?: String;
|
277
345
|
/**
|
278
346
|
* An authenticated user attribute.
|
279
347
|
*/
|
@@ -558,6 +626,68 @@ declare namespace AmplifyUIBuilder {
|
|
558
626
|
*/
|
559
627
|
entity?: Component;
|
560
628
|
}
|
629
|
+
export interface CreateFormData {
|
630
|
+
/**
|
631
|
+
* The FormCTA object that stores the call to action configuration for the form.
|
632
|
+
*/
|
633
|
+
cta?: FormCTA;
|
634
|
+
/**
|
635
|
+
* The type of data source to use to create the form.
|
636
|
+
*/
|
637
|
+
dataType: FormDataTypeConfig;
|
638
|
+
/**
|
639
|
+
* The configuration information for the form's fields.
|
640
|
+
*/
|
641
|
+
fields: FieldsMap;
|
642
|
+
/**
|
643
|
+
* Specifies whether to perform a create or update action on the form.
|
644
|
+
*/
|
645
|
+
formActionType: FormActionType;
|
646
|
+
/**
|
647
|
+
* The name of the form.
|
648
|
+
*/
|
649
|
+
name: FormName;
|
650
|
+
/**
|
651
|
+
* The schema version of the form.
|
652
|
+
*/
|
653
|
+
schemaVersion: String;
|
654
|
+
/**
|
655
|
+
* The configuration information for the visual helper elements for the form. These elements are not associated with any data.
|
656
|
+
*/
|
657
|
+
sectionalElements: SectionalElementMap;
|
658
|
+
/**
|
659
|
+
* The configuration for the form's style.
|
660
|
+
*/
|
661
|
+
style: FormStyle;
|
662
|
+
/**
|
663
|
+
* One or more key-value pairs to use when tagging the form data.
|
664
|
+
*/
|
665
|
+
tags?: Tags;
|
666
|
+
}
|
667
|
+
export interface CreateFormRequest {
|
668
|
+
/**
|
669
|
+
* The unique ID of the Amplify app to associate with the form.
|
670
|
+
*/
|
671
|
+
appId: String;
|
672
|
+
/**
|
673
|
+
* The unique client token.
|
674
|
+
*/
|
675
|
+
clientToken?: String;
|
676
|
+
/**
|
677
|
+
* The name of the backend environment that is a part of the Amplify app.
|
678
|
+
*/
|
679
|
+
environmentName: String;
|
680
|
+
/**
|
681
|
+
* Represents the configuration of the form to create.
|
682
|
+
*/
|
683
|
+
formToCreate: CreateFormData;
|
684
|
+
}
|
685
|
+
export interface CreateFormResponse {
|
686
|
+
/**
|
687
|
+
* Describes the configuration of the new form.
|
688
|
+
*/
|
689
|
+
entity?: Form;
|
690
|
+
}
|
561
691
|
export interface CreateThemeData {
|
562
692
|
/**
|
563
693
|
* The name of the theme.
|
@@ -614,6 +744,20 @@ declare namespace AmplifyUIBuilder {
|
|
614
744
|
*/
|
615
745
|
id: Uuid;
|
616
746
|
}
|
747
|
+
export interface DeleteFormRequest {
|
748
|
+
/**
|
749
|
+
* The unique ID of the Amplify app associated with the form to delete.
|
750
|
+
*/
|
751
|
+
appId: String;
|
752
|
+
/**
|
753
|
+
* The name of the backend environment that is a part of the Amplify app.
|
754
|
+
*/
|
755
|
+
environmentName: String;
|
756
|
+
/**
|
757
|
+
* The unique ID of the form to delete.
|
758
|
+
*/
|
759
|
+
id: Uuid;
|
760
|
+
}
|
617
761
|
export interface DeleteThemeRequest {
|
618
762
|
/**
|
619
763
|
* The unique ID of the Amplify app associated with the theme to delete.
|
@@ -686,6 +830,30 @@ declare namespace AmplifyUIBuilder {
|
|
686
830
|
*/
|
687
831
|
nextToken?: String;
|
688
832
|
}
|
833
|
+
export interface ExportFormsRequest {
|
834
|
+
/**
|
835
|
+
* The unique ID of the Amplify app to export forms to.
|
836
|
+
*/
|
837
|
+
appId: String;
|
838
|
+
/**
|
839
|
+
* The name of the backend environment that is a part of the Amplify app.
|
840
|
+
*/
|
841
|
+
environmentName: String;
|
842
|
+
/**
|
843
|
+
* The token to request the next page of results.
|
844
|
+
*/
|
845
|
+
nextToken?: String;
|
846
|
+
}
|
847
|
+
export interface ExportFormsResponse {
|
848
|
+
/**
|
849
|
+
* Represents the configuration of the exported forms.
|
850
|
+
*/
|
851
|
+
entities: FormList;
|
852
|
+
/**
|
853
|
+
* The pagination token that's included if more results are available.
|
854
|
+
*/
|
855
|
+
nextToken?: String;
|
856
|
+
}
|
689
857
|
export interface ExportThemesRequest {
|
690
858
|
/**
|
691
859
|
* The unique ID of the Amplify app to export the themes to.
|
@@ -710,6 +878,173 @@ declare namespace AmplifyUIBuilder {
|
|
710
878
|
*/
|
711
879
|
nextToken?: String;
|
712
880
|
}
|
881
|
+
export type FeaturesMap = {[key: string]: String};
|
882
|
+
export interface FieldConfig {
|
883
|
+
/**
|
884
|
+
* Specifies whether to hide a field.
|
885
|
+
*/
|
886
|
+
excluded?: Boolean;
|
887
|
+
/**
|
888
|
+
* Describes the configuration for the default input value to display for a field.
|
889
|
+
*/
|
890
|
+
inputType?: FieldInputConfig;
|
891
|
+
/**
|
892
|
+
* The label for the field.
|
893
|
+
*/
|
894
|
+
label?: String;
|
895
|
+
/**
|
896
|
+
* Specifies the field position.
|
897
|
+
*/
|
898
|
+
position?: FieldPosition;
|
899
|
+
/**
|
900
|
+
* The validations to perform on the value in the field.
|
901
|
+
*/
|
902
|
+
validations?: ValidationsList;
|
903
|
+
}
|
904
|
+
export interface FieldInputConfig {
|
905
|
+
/**
|
906
|
+
* Specifies whether a field has a default value.
|
907
|
+
*/
|
908
|
+
defaultChecked?: Boolean;
|
909
|
+
/**
|
910
|
+
* The default country code for a phone number.
|
911
|
+
*/
|
912
|
+
defaultCountryCode?: String;
|
913
|
+
/**
|
914
|
+
* The default value for the field.
|
915
|
+
*/
|
916
|
+
defaultValue?: String;
|
917
|
+
/**
|
918
|
+
* The text to display to describe the field.
|
919
|
+
*/
|
920
|
+
descriptiveText?: String;
|
921
|
+
/**
|
922
|
+
* The maximum value to display for the field.
|
923
|
+
*/
|
924
|
+
maxValue?: Float;
|
925
|
+
/**
|
926
|
+
* The minimum value to display for the field.
|
927
|
+
*/
|
928
|
+
minValue?: Float;
|
929
|
+
/**
|
930
|
+
* The name of the field.
|
931
|
+
*/
|
932
|
+
name?: String;
|
933
|
+
/**
|
934
|
+
* The text to display as a placeholder for the field.
|
935
|
+
*/
|
936
|
+
placeholder?: String;
|
937
|
+
/**
|
938
|
+
* Specifies a read only field.
|
939
|
+
*/
|
940
|
+
readOnly?: Boolean;
|
941
|
+
/**
|
942
|
+
* Specifies a field that requires input.
|
943
|
+
*/
|
944
|
+
required?: Boolean;
|
945
|
+
/**
|
946
|
+
* The stepping increment for a numeric value in a field.
|
947
|
+
*/
|
948
|
+
step?: Float;
|
949
|
+
/**
|
950
|
+
* The input type for the field.
|
951
|
+
*/
|
952
|
+
type: String;
|
953
|
+
/**
|
954
|
+
* The value for the field.
|
955
|
+
*/
|
956
|
+
value?: String;
|
957
|
+
/**
|
958
|
+
* The information to use to customize the input fields with data at runtime.
|
959
|
+
*/
|
960
|
+
valueMappings?: ValueMappings;
|
961
|
+
}
|
962
|
+
export interface FieldPosition {
|
963
|
+
/**
|
964
|
+
* The field position is below the field specified by the string.
|
965
|
+
*/
|
966
|
+
below?: String;
|
967
|
+
/**
|
968
|
+
* The field position is fixed and doesn't change in relation to other fields.
|
969
|
+
*/
|
970
|
+
fixed?: FixedPosition;
|
971
|
+
/**
|
972
|
+
* The field position is to the right of the field specified by the string.
|
973
|
+
*/
|
974
|
+
rightOf?: String;
|
975
|
+
}
|
976
|
+
export interface FieldValidationConfiguration {
|
977
|
+
/**
|
978
|
+
* The validation to perform on a number value.
|
979
|
+
*/
|
980
|
+
numValues?: NumValues;
|
981
|
+
/**
|
982
|
+
* The validation to perform on a string value.
|
983
|
+
*/
|
984
|
+
strValues?: StrValues;
|
985
|
+
/**
|
986
|
+
* The validation to perform on an object type.
|
987
|
+
*/
|
988
|
+
type: String;
|
989
|
+
/**
|
990
|
+
* The validation message to display.
|
991
|
+
*/
|
992
|
+
validationMessage?: String;
|
993
|
+
}
|
994
|
+
export type FieldsMap = {[key: string]: FieldConfig};
|
995
|
+
export type FixedPosition = "first"|string;
|
996
|
+
export type Float = number;
|
997
|
+
export interface Form {
|
998
|
+
/**
|
999
|
+
* The unique ID of the Amplify app associated with the form.
|
1000
|
+
*/
|
1001
|
+
appId: String;
|
1002
|
+
/**
|
1003
|
+
* Stores the call to action configuration for the form.
|
1004
|
+
*/
|
1005
|
+
cta?: FormCTA;
|
1006
|
+
/**
|
1007
|
+
* The type of data source to use to create the form.
|
1008
|
+
*/
|
1009
|
+
dataType: FormDataTypeConfig;
|
1010
|
+
/**
|
1011
|
+
* The name of the backend environment that is a part of the Amplify app.
|
1012
|
+
*/
|
1013
|
+
environmentName: String;
|
1014
|
+
/**
|
1015
|
+
* Stores the information about the form's fields.
|
1016
|
+
*/
|
1017
|
+
fields: FieldsMap;
|
1018
|
+
/**
|
1019
|
+
* The operation to perform on the specified form.
|
1020
|
+
*/
|
1021
|
+
formActionType: FormActionType;
|
1022
|
+
/**
|
1023
|
+
* The unique ID of the form.
|
1024
|
+
*/
|
1025
|
+
id: Uuid;
|
1026
|
+
/**
|
1027
|
+
* The name of the form.
|
1028
|
+
*/
|
1029
|
+
name: FormName;
|
1030
|
+
/**
|
1031
|
+
* The schema version of the form when it was imported.
|
1032
|
+
*/
|
1033
|
+
schemaVersion: String;
|
1034
|
+
/**
|
1035
|
+
* Stores the visual helper elements for the form that are not associated with any data.
|
1036
|
+
*/
|
1037
|
+
sectionalElements: SectionalElementMap;
|
1038
|
+
/**
|
1039
|
+
* Stores the configuration for the form's style.
|
1040
|
+
*/
|
1041
|
+
style: FormStyle;
|
1042
|
+
/**
|
1043
|
+
* One or more key-value pairs to use when tagging the form.
|
1044
|
+
*/
|
1045
|
+
tags?: Tags;
|
1046
|
+
}
|
1047
|
+
export type FormActionType = "create"|"update"|string;
|
713
1048
|
export interface FormBindingElement {
|
714
1049
|
/**
|
715
1050
|
* The name of the component to retrieve a value from.
|
@@ -721,6 +1056,109 @@ declare namespace AmplifyUIBuilder {
|
|
721
1056
|
property: String;
|
722
1057
|
}
|
723
1058
|
export type FormBindings = {[key: string]: FormBindingElement};
|
1059
|
+
export interface FormButton {
|
1060
|
+
/**
|
1061
|
+
* Describes the button's properties.
|
1062
|
+
*/
|
1063
|
+
children?: String;
|
1064
|
+
/**
|
1065
|
+
* Specifies whether the button is visible on the form.
|
1066
|
+
*/
|
1067
|
+
excluded?: Boolean;
|
1068
|
+
/**
|
1069
|
+
* The position of the button.
|
1070
|
+
*/
|
1071
|
+
position?: FieldPosition;
|
1072
|
+
}
|
1073
|
+
export type FormButtonsPosition = "top"|"bottom"|"top_and_bottom"|string;
|
1074
|
+
export interface FormCTA {
|
1075
|
+
/**
|
1076
|
+
* Displays a cancel button.
|
1077
|
+
*/
|
1078
|
+
cancel?: FormButton;
|
1079
|
+
/**
|
1080
|
+
* Displays a clear button.
|
1081
|
+
*/
|
1082
|
+
clear?: FormButton;
|
1083
|
+
/**
|
1084
|
+
* The position of the button.
|
1085
|
+
*/
|
1086
|
+
position?: FormButtonsPosition;
|
1087
|
+
/**
|
1088
|
+
* Displays a submit button.
|
1089
|
+
*/
|
1090
|
+
submit?: FormButton;
|
1091
|
+
}
|
1092
|
+
export type FormDataSourceType = "DataStore"|"Custom"|string;
|
1093
|
+
export interface FormDataTypeConfig {
|
1094
|
+
/**
|
1095
|
+
* The data source type, either an Amplify DataStore model or a custom data type.
|
1096
|
+
*/
|
1097
|
+
dataSourceType: FormDataSourceType;
|
1098
|
+
/**
|
1099
|
+
* The unique name of the data type you are using as the data source for the form.
|
1100
|
+
*/
|
1101
|
+
dataTypeName: String;
|
1102
|
+
}
|
1103
|
+
export interface FormInputValueProperty {
|
1104
|
+
/**
|
1105
|
+
* The value to assign to the input field.
|
1106
|
+
*/
|
1107
|
+
value?: String;
|
1108
|
+
}
|
1109
|
+
export type FormList = Form[];
|
1110
|
+
export type FormName = string;
|
1111
|
+
export interface FormStyle {
|
1112
|
+
/**
|
1113
|
+
* The spacing for the horizontal gap.
|
1114
|
+
*/
|
1115
|
+
horizontalGap?: FormStyleConfig;
|
1116
|
+
/**
|
1117
|
+
* The size of the outer padding for the form.
|
1118
|
+
*/
|
1119
|
+
outerPadding?: FormStyleConfig;
|
1120
|
+
/**
|
1121
|
+
* The spacing for the vertical gap.
|
1122
|
+
*/
|
1123
|
+
verticalGap?: FormStyleConfig;
|
1124
|
+
}
|
1125
|
+
export interface FormStyleConfig {
|
1126
|
+
/**
|
1127
|
+
* A reference to a design token to use to bind the form's style properties to an existing theme.
|
1128
|
+
*/
|
1129
|
+
tokenReference?: String;
|
1130
|
+
/**
|
1131
|
+
* The value of the style setting.
|
1132
|
+
*/
|
1133
|
+
value?: String;
|
1134
|
+
}
|
1135
|
+
export interface FormSummary {
|
1136
|
+
/**
|
1137
|
+
* The unique ID for the app associated with the form summary.
|
1138
|
+
*/
|
1139
|
+
appId: String;
|
1140
|
+
/**
|
1141
|
+
* The form's data source type.
|
1142
|
+
*/
|
1143
|
+
dataType: FormDataTypeConfig;
|
1144
|
+
/**
|
1145
|
+
* The name of the backend environment that is part of the Amplify app.
|
1146
|
+
*/
|
1147
|
+
environmentName: String;
|
1148
|
+
/**
|
1149
|
+
* The type of operation to perform on the form.
|
1150
|
+
*/
|
1151
|
+
formActionType: FormActionType;
|
1152
|
+
/**
|
1153
|
+
* The ID of the form.
|
1154
|
+
*/
|
1155
|
+
id: Uuid;
|
1156
|
+
/**
|
1157
|
+
* The name of the form.
|
1158
|
+
*/
|
1159
|
+
name: FormName;
|
1160
|
+
}
|
1161
|
+
export type FormSummaryList = FormSummary[];
|
724
1162
|
export interface GetComponentRequest {
|
725
1163
|
/**
|
726
1164
|
* The unique ID of the Amplify app.
|
@@ -741,6 +1179,42 @@ declare namespace AmplifyUIBuilder {
|
|
741
1179
|
*/
|
742
1180
|
component?: Component;
|
743
1181
|
}
|
1182
|
+
export interface GetFormRequest {
|
1183
|
+
/**
|
1184
|
+
* The unique ID of the Amplify app.
|
1185
|
+
*/
|
1186
|
+
appId: String;
|
1187
|
+
/**
|
1188
|
+
* The name of the backend environment that is part of the Amplify app.
|
1189
|
+
*/
|
1190
|
+
environmentName: String;
|
1191
|
+
/**
|
1192
|
+
* The unique ID of the form.
|
1193
|
+
*/
|
1194
|
+
id: Uuid;
|
1195
|
+
}
|
1196
|
+
export interface GetFormResponse {
|
1197
|
+
/**
|
1198
|
+
* Represents the configuration settings for the form.
|
1199
|
+
*/
|
1200
|
+
form?: Form;
|
1201
|
+
}
|
1202
|
+
export interface GetMetadataRequest {
|
1203
|
+
/**
|
1204
|
+
* The unique ID of the Amplify app.
|
1205
|
+
*/
|
1206
|
+
appId: String;
|
1207
|
+
/**
|
1208
|
+
* The name of the backend environment that is part of the Amplify app.
|
1209
|
+
*/
|
1210
|
+
environmentName: String;
|
1211
|
+
}
|
1212
|
+
export interface GetMetadataResponse {
|
1213
|
+
/**
|
1214
|
+
* Represents the configuration settings for the features metadata.
|
1215
|
+
*/
|
1216
|
+
features: FeaturesMap;
|
1217
|
+
}
|
744
1218
|
export interface GetThemeRequest {
|
745
1219
|
/**
|
746
1220
|
* The unique ID of the Amplify app.
|
@@ -792,6 +1266,35 @@ declare namespace AmplifyUIBuilder {
|
|
792
1266
|
*/
|
793
1267
|
nextToken?: String;
|
794
1268
|
}
|
1269
|
+
export type ListFormsLimit = number;
|
1270
|
+
export interface ListFormsRequest {
|
1271
|
+
/**
|
1272
|
+
* The unique ID for the Amplify app.
|
1273
|
+
*/
|
1274
|
+
appId: String;
|
1275
|
+
/**
|
1276
|
+
* The name of the backend environment that is a part of the Amplify app.
|
1277
|
+
*/
|
1278
|
+
environmentName: String;
|
1279
|
+
/**
|
1280
|
+
* The maximum number of forms to retrieve.
|
1281
|
+
*/
|
1282
|
+
maxResults?: ListFormsLimit;
|
1283
|
+
/**
|
1284
|
+
* The token to request the next page of results.
|
1285
|
+
*/
|
1286
|
+
nextToken?: String;
|
1287
|
+
}
|
1288
|
+
export interface ListFormsResponse {
|
1289
|
+
/**
|
1290
|
+
* The list of forms for the Amplify app.
|
1291
|
+
*/
|
1292
|
+
entities: FormSummaryList;
|
1293
|
+
/**
|
1294
|
+
* The pagination token that's included if more results are available.
|
1295
|
+
*/
|
1296
|
+
nextToken?: String;
|
1297
|
+
}
|
795
1298
|
export type ListThemesLimit = number;
|
796
1299
|
export interface ListThemesRequest {
|
797
1300
|
/**
|
@@ -835,6 +1338,7 @@ declare namespace AmplifyUIBuilder {
|
|
835
1338
|
*/
|
836
1339
|
set: ComponentProperty;
|
837
1340
|
}
|
1341
|
+
export type NumValues = Integer[];
|
838
1342
|
export interface Predicate {
|
839
1343
|
/**
|
840
1344
|
* A list of predicates to combine logically.
|
@@ -858,6 +1362,30 @@ declare namespace AmplifyUIBuilder {
|
|
858
1362
|
or?: PredicateList;
|
859
1363
|
}
|
860
1364
|
export type PredicateList = Predicate[];
|
1365
|
+
export interface PutMetadataFlagBody {
|
1366
|
+
/**
|
1367
|
+
* The new information to store.
|
1368
|
+
*/
|
1369
|
+
newValue: String;
|
1370
|
+
}
|
1371
|
+
export interface PutMetadataFlagRequest {
|
1372
|
+
/**
|
1373
|
+
* The unique ID for the Amplify app.
|
1374
|
+
*/
|
1375
|
+
appId: String;
|
1376
|
+
/**
|
1377
|
+
* The metadata information to store.
|
1378
|
+
*/
|
1379
|
+
body: PutMetadataFlagBody;
|
1380
|
+
/**
|
1381
|
+
* The name of the backend environment that is part of the Amplify app.
|
1382
|
+
*/
|
1383
|
+
environmentName: String;
|
1384
|
+
/**
|
1385
|
+
* The name of the feature associated with the metadata.
|
1386
|
+
*/
|
1387
|
+
featureName: String;
|
1388
|
+
}
|
861
1389
|
export interface RefreshTokenRequest {
|
862
1390
|
/**
|
863
1391
|
* The third-party provider for the token. The only valid value is figma.
|
@@ -884,6 +1412,29 @@ declare namespace AmplifyUIBuilder {
|
|
884
1412
|
*/
|
885
1413
|
expiresIn: Integer;
|
886
1414
|
}
|
1415
|
+
export interface SectionalElement {
|
1416
|
+
/**
|
1417
|
+
* Specifies the size of the font for a Heading sectional element. Valid values are 1 | 2 | 3 | 4 | 5 | 6.
|
1418
|
+
*/
|
1419
|
+
level?: Integer;
|
1420
|
+
/**
|
1421
|
+
* Specifies the orientation for a Divider sectional element. Valid values are horizontal or vertical.
|
1422
|
+
*/
|
1423
|
+
orientation?: String;
|
1424
|
+
/**
|
1425
|
+
* Specifies the position of the text in a field for a Text sectional element.
|
1426
|
+
*/
|
1427
|
+
position?: FieldPosition;
|
1428
|
+
/**
|
1429
|
+
* The text for a Text sectional element.
|
1430
|
+
*/
|
1431
|
+
text?: String;
|
1432
|
+
/**
|
1433
|
+
* The type of sectional element. Valid values are Heading, Text, and Divider.
|
1434
|
+
*/
|
1435
|
+
type: String;
|
1436
|
+
}
|
1437
|
+
export type SectionalElementMap = {[key: string]: SectionalElement};
|
887
1438
|
export type SensitiveString = string;
|
888
1439
|
export type SortDirection = "ASC"|"DESC"|string;
|
889
1440
|
export interface SortProperty {
|
@@ -897,6 +1448,7 @@ declare namespace AmplifyUIBuilder {
|
|
897
1448
|
field: String;
|
898
1449
|
}
|
899
1450
|
export type SortPropertyList = SortProperty[];
|
1451
|
+
export type StrValues = String[];
|
900
1452
|
export type String = string;
|
901
1453
|
export type SyntheticTimestamp_date_time = Date;
|
902
1454
|
export type TagKey = string;
|
@@ -1061,6 +1613,68 @@ declare namespace AmplifyUIBuilder {
|
|
1061
1613
|
*/
|
1062
1614
|
entity?: Component;
|
1063
1615
|
}
|
1616
|
+
export interface UpdateFormData {
|
1617
|
+
/**
|
1618
|
+
* The FormCTA object that stores the call to action configuration for the form.
|
1619
|
+
*/
|
1620
|
+
cta?: FormCTA;
|
1621
|
+
/**
|
1622
|
+
* The type of data source to use to create the form.
|
1623
|
+
*/
|
1624
|
+
dataType?: FormDataTypeConfig;
|
1625
|
+
/**
|
1626
|
+
* The configuration information for the form's fields.
|
1627
|
+
*/
|
1628
|
+
fields?: FieldsMap;
|
1629
|
+
/**
|
1630
|
+
* Specifies whether to perform a create or update action on the form.
|
1631
|
+
*/
|
1632
|
+
formActionType?: FormActionType;
|
1633
|
+
/**
|
1634
|
+
* The name of the form.
|
1635
|
+
*/
|
1636
|
+
name?: FormName;
|
1637
|
+
/**
|
1638
|
+
* The schema version of the form.
|
1639
|
+
*/
|
1640
|
+
schemaVersion?: String;
|
1641
|
+
/**
|
1642
|
+
* The configuration information for the visual helper elements for the form. These elements are not associated with any data.
|
1643
|
+
*/
|
1644
|
+
sectionalElements?: SectionalElementMap;
|
1645
|
+
/**
|
1646
|
+
* The configuration for the form's style.
|
1647
|
+
*/
|
1648
|
+
style?: FormStyle;
|
1649
|
+
}
|
1650
|
+
export interface UpdateFormRequest {
|
1651
|
+
/**
|
1652
|
+
* The unique ID for the Amplify app.
|
1653
|
+
*/
|
1654
|
+
appId: String;
|
1655
|
+
/**
|
1656
|
+
* The unique client token.
|
1657
|
+
*/
|
1658
|
+
clientToken?: String;
|
1659
|
+
/**
|
1660
|
+
* The name of the backend environment that is part of the Amplify app.
|
1661
|
+
*/
|
1662
|
+
environmentName: String;
|
1663
|
+
/**
|
1664
|
+
* The unique ID for the form.
|
1665
|
+
*/
|
1666
|
+
id: Uuid;
|
1667
|
+
/**
|
1668
|
+
* The request accepts the following data in JSON format.
|
1669
|
+
*/
|
1670
|
+
updatedForm: UpdateFormData;
|
1671
|
+
}
|
1672
|
+
export interface UpdateFormResponse {
|
1673
|
+
/**
|
1674
|
+
* Describes the configuration of the updated form.
|
1675
|
+
*/
|
1676
|
+
entity?: Form;
|
1677
|
+
}
|
1064
1678
|
export interface UpdateThemeData {
|
1065
1679
|
/**
|
1066
1680
|
* The unique ID of the theme to update.
|
@@ -1108,6 +1722,24 @@ declare namespace AmplifyUIBuilder {
|
|
1108
1722
|
entity?: Theme;
|
1109
1723
|
}
|
1110
1724
|
export type Uuid = string;
|
1725
|
+
export type ValidationsList = FieldValidationConfiguration[];
|
1726
|
+
export interface ValueMapping {
|
1727
|
+
/**
|
1728
|
+
* The value to display for the complex object.
|
1729
|
+
*/
|
1730
|
+
displayValue?: FormInputValueProperty;
|
1731
|
+
/**
|
1732
|
+
* The complex object.
|
1733
|
+
*/
|
1734
|
+
value: FormInputValueProperty;
|
1735
|
+
}
|
1736
|
+
export type ValueMappingList = ValueMapping[];
|
1737
|
+
export interface ValueMappings {
|
1738
|
+
/**
|
1739
|
+
* The value and display value pairs.
|
1740
|
+
*/
|
1741
|
+
values: ValueMappingList;
|
1742
|
+
}
|
1111
1743
|
/**
|
1112
1744
|
* 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.
|
1113
1745
|
*/
|