@aws-sdk/client-amplify 3.321.1 → 3.326.0

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.
Files changed (38) hide show
  1. package/dist-types/commands/CreateAppCommand.d.ts +62 -0
  2. package/dist-types/commands/CreateBackendEnvironmentCommand.d.ts +13 -0
  3. package/dist-types/commands/CreateBranchCommand.d.ts +42 -0
  4. package/dist-types/commands/CreateDeploymentCommand.d.ts +10 -0
  5. package/dist-types/commands/CreateDomainAssociationCommand.d.ts +27 -0
  6. package/dist-types/commands/CreateWebhookCommand.d.ts +14 -0
  7. package/dist-types/commands/DeleteAppCommand.d.ts +62 -0
  8. package/dist-types/commands/DeleteBackendEnvironmentCommand.d.ts +13 -0
  9. package/dist-types/commands/DeleteBranchCommand.d.ts +42 -0
  10. package/dist-types/commands/DeleteDomainAssociationCommand.d.ts +27 -0
  11. package/dist-types/commands/DeleteJobCommand.d.ts +16 -0
  12. package/dist-types/commands/DeleteWebhookCommand.d.ts +14 -0
  13. package/dist-types/commands/GenerateAccessLogsCommand.d.ts +6 -0
  14. package/dist-types/commands/GetAppCommand.d.ts +62 -0
  15. package/dist-types/commands/GetArtifactUrlCommand.d.ts +7 -0
  16. package/dist-types/commands/GetBackendEnvironmentCommand.d.ts +13 -0
  17. package/dist-types/commands/GetBranchCommand.d.ts +42 -0
  18. package/dist-types/commands/GetDomainAssociationCommand.d.ts +27 -0
  19. package/dist-types/commands/GetJobCommand.d.ts +35 -0
  20. package/dist-types/commands/GetWebhookCommand.d.ts +14 -0
  21. package/dist-types/commands/ListAppsCommand.d.ts +65 -0
  22. package/dist-types/commands/ListArtifactsCommand.d.ts +12 -0
  23. package/dist-types/commands/ListBackendEnvironmentsCommand.d.ts +16 -0
  24. package/dist-types/commands/ListBranchesCommand.d.ts +45 -0
  25. package/dist-types/commands/ListDomainAssociationsCommand.d.ts +30 -0
  26. package/dist-types/commands/ListJobsCommand.d.ts +19 -0
  27. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
  28. package/dist-types/commands/ListWebhooksCommand.d.ts +17 -0
  29. package/dist-types/commands/StartDeploymentCommand.d.ts +16 -0
  30. package/dist-types/commands/StartJobCommand.d.ts +16 -0
  31. package/dist-types/commands/StopJobCommand.d.ts +16 -0
  32. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  33. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  34. package/dist-types/commands/UpdateAppCommand.d.ts +62 -0
  35. package/dist-types/commands/UpdateBranchCommand.d.ts +42 -0
  36. package/dist-types/commands/UpdateDomainAssociationCommand.d.ts +27 -0
  37. package/dist-types/commands/UpdateWebhookCommand.d.ts +14 -0
  38. package/package.json +16 -16
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -51,6 +53,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
51
53
  * @throws {@link ResourceNotFoundException} (client fault)
52
54
  * <p> An operation failed due to a non-existent resource. </p>
53
55
  *
56
+ * @throws {@link AmplifyServiceException}
57
+ * <p>Base exception class for all service exceptions from Amplify service.</p>
54
58
  *
55
59
  */
56
60
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, AmplifyClientResolvedConfig> {
@@ -73,6 +73,66 @@ export interface UpdateAppCommandOutput extends UpdateAppResult, __MetadataBeare
73
73
  * };
74
74
  * const command = new UpdateAppCommand(input);
75
75
  * const response = await client.send(command);
76
+ * // { // UpdateAppResult
77
+ * // app: { // App
78
+ * // appId: "STRING_VALUE", // required
79
+ * // appArn: "STRING_VALUE", // required
80
+ * // name: "STRING_VALUE", // required
81
+ * // tags: { // TagMap
82
+ * // "<keys>": "STRING_VALUE",
83
+ * // },
84
+ * // description: "STRING_VALUE", // required
85
+ * // repository: "STRING_VALUE", // required
86
+ * // platform: "WEB" || "WEB_DYNAMIC" || "WEB_COMPUTE", // required
87
+ * // createTime: new Date("TIMESTAMP"), // required
88
+ * // updateTime: new Date("TIMESTAMP"), // required
89
+ * // iamServiceRoleArn: "STRING_VALUE",
90
+ * // environmentVariables: { // EnvironmentVariables // required
91
+ * // "<keys>": "STRING_VALUE",
92
+ * // },
93
+ * // defaultDomain: "STRING_VALUE", // required
94
+ * // enableBranchAutoBuild: true || false, // required
95
+ * // enableBranchAutoDeletion: true || false,
96
+ * // enableBasicAuth: true || false, // required
97
+ * // basicAuthCredentials: "STRING_VALUE",
98
+ * // customRules: [ // CustomRules
99
+ * // { // CustomRule
100
+ * // source: "STRING_VALUE", // required
101
+ * // target: "STRING_VALUE", // required
102
+ * // status: "STRING_VALUE",
103
+ * // condition: "STRING_VALUE",
104
+ * // },
105
+ * // ],
106
+ * // productionBranch: { // ProductionBranch
107
+ * // lastDeployTime: new Date("TIMESTAMP"),
108
+ * // status: "STRING_VALUE",
109
+ * // thumbnailUrl: "STRING_VALUE",
110
+ * // branchName: "STRING_VALUE",
111
+ * // },
112
+ * // buildSpec: "STRING_VALUE",
113
+ * // customHeaders: "STRING_VALUE",
114
+ * // enableAutoBranchCreation: true || false,
115
+ * // autoBranchCreationPatterns: [ // AutoBranchCreationPatterns
116
+ * // "STRING_VALUE",
117
+ * // ],
118
+ * // autoBranchCreationConfig: { // AutoBranchCreationConfig
119
+ * // stage: "PRODUCTION" || "BETA" || "DEVELOPMENT" || "EXPERIMENTAL" || "PULL_REQUEST",
120
+ * // framework: "STRING_VALUE",
121
+ * // enableAutoBuild: true || false,
122
+ * // environmentVariables: {
123
+ * // "<keys>": "STRING_VALUE",
124
+ * // },
125
+ * // basicAuthCredentials: "STRING_VALUE",
126
+ * // enableBasicAuth: true || false,
127
+ * // enablePerformanceMode: true || false,
128
+ * // buildSpec: "STRING_VALUE",
129
+ * // enablePullRequestPreview: true || false,
130
+ * // pullRequestEnvironmentName: "STRING_VALUE",
131
+ * // },
132
+ * // repositoryCloneMethod: "SSH" || "TOKEN" || "SIGV4",
133
+ * // },
134
+ * // };
135
+ *
76
136
  * ```
77
137
  *
78
138
  * @param UpdateAppCommandInput - {@link UpdateAppCommandInput}
@@ -93,6 +153,8 @@ export interface UpdateAppCommandOutput extends UpdateAppResult, __MetadataBeare
93
153
  * @throws {@link UnauthorizedException} (client fault)
94
154
  * <p> An operation failed due to a lack of access. </p>
95
155
  *
156
+ * @throws {@link AmplifyServiceException}
157
+ * <p>Base exception class for all service exceptions from Amplify service.</p>
96
158
  *
97
159
  */
98
160
  export declare class UpdateAppCommand extends $Command<UpdateAppCommandInput, UpdateAppCommandOutput, AmplifyClientResolvedConfig> {
@@ -49,6 +49,46 @@ export interface UpdateBranchCommandOutput extends UpdateBranchResult, __Metadat
49
49
  * };
50
50
  * const command = new UpdateBranchCommand(input);
51
51
  * const response = await client.send(command);
52
+ * // { // UpdateBranchResult
53
+ * // branch: { // Branch
54
+ * // branchArn: "STRING_VALUE", // required
55
+ * // branchName: "STRING_VALUE", // required
56
+ * // description: "STRING_VALUE", // required
57
+ * // tags: { // TagMap
58
+ * // "<keys>": "STRING_VALUE",
59
+ * // },
60
+ * // stage: "PRODUCTION" || "BETA" || "DEVELOPMENT" || "EXPERIMENTAL" || "PULL_REQUEST", // required
61
+ * // displayName: "STRING_VALUE", // required
62
+ * // enableNotification: true || false, // required
63
+ * // createTime: new Date("TIMESTAMP"), // required
64
+ * // updateTime: new Date("TIMESTAMP"), // required
65
+ * // environmentVariables: { // EnvironmentVariables // required
66
+ * // "<keys>": "STRING_VALUE",
67
+ * // },
68
+ * // enableAutoBuild: true || false, // required
69
+ * // customDomains: [ // CustomDomains // required
70
+ * // "STRING_VALUE",
71
+ * // ],
72
+ * // framework: "STRING_VALUE", // required
73
+ * // activeJobId: "STRING_VALUE", // required
74
+ * // totalNumberOfJobs: "STRING_VALUE", // required
75
+ * // enableBasicAuth: true || false, // required
76
+ * // enablePerformanceMode: true || false,
77
+ * // thumbnailUrl: "STRING_VALUE",
78
+ * // basicAuthCredentials: "STRING_VALUE",
79
+ * // buildSpec: "STRING_VALUE",
80
+ * // ttl: "STRING_VALUE", // required
81
+ * // associatedResources: [ // AssociatedResources
82
+ * // "STRING_VALUE",
83
+ * // ],
84
+ * // enablePullRequestPreview: true || false, // required
85
+ * // pullRequestEnvironmentName: "STRING_VALUE",
86
+ * // destinationBranch: "STRING_VALUE",
87
+ * // sourceBranch: "STRING_VALUE",
88
+ * // backendEnvironmentArn: "STRING_VALUE",
89
+ * // },
90
+ * // };
91
+ *
52
92
  * ```
53
93
  *
54
94
  * @param UpdateBranchCommandInput - {@link UpdateBranchCommandInput}
@@ -72,6 +112,8 @@ export interface UpdateBranchCommandOutput extends UpdateBranchResult, __Metadat
72
112
  * @throws {@link UnauthorizedException} (client fault)
73
113
  * <p> An operation failed due to a lack of access. </p>
74
114
  *
115
+ * @throws {@link AmplifyServiceException}
116
+ * <p>Base exception class for all service exceptions from Amplify service.</p>
75
117
  *
76
118
  */
77
119
  export declare class UpdateBranchCommand extends $Command<UpdateBranchCommandInput, UpdateBranchCommandOutput, AmplifyClientResolvedConfig> {
@@ -43,6 +43,31 @@ export interface UpdateDomainAssociationCommandOutput extends UpdateDomainAssoci
43
43
  * };
44
44
  * const command = new UpdateDomainAssociationCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // UpdateDomainAssociationResult
47
+ * // domainAssociation: { // DomainAssociation
48
+ * // domainAssociationArn: "STRING_VALUE", // required
49
+ * // domainName: "STRING_VALUE", // required
50
+ * // enableAutoSubDomain: true || false, // required
51
+ * // autoSubDomainCreationPatterns: [ // AutoSubDomainCreationPatterns
52
+ * // "STRING_VALUE",
53
+ * // ],
54
+ * // autoSubDomainIAMRole: "STRING_VALUE",
55
+ * // domainStatus: "PENDING_VERIFICATION" || "IN_PROGRESS" || "AVAILABLE" || "PENDING_DEPLOYMENT" || "FAILED" || "CREATING" || "REQUESTING_CERTIFICATE" || "UPDATING", // required
56
+ * // statusReason: "STRING_VALUE", // required
57
+ * // certificateVerificationDNSRecord: "STRING_VALUE",
58
+ * // subDomains: [ // SubDomains // required
59
+ * // { // SubDomain
60
+ * // subDomainSetting: { // SubDomainSetting
61
+ * // prefix: "STRING_VALUE", // required
62
+ * // branchName: "STRING_VALUE", // required
63
+ * // },
64
+ * // verified: true || false, // required
65
+ * // dnsRecord: "STRING_VALUE", // required
66
+ * // },
67
+ * // ],
68
+ * // },
69
+ * // };
70
+ *
46
71
  * ```
47
72
  *
48
73
  * @param UpdateDomainAssociationCommandInput - {@link UpdateDomainAssociationCommandInput}
@@ -66,6 +91,8 @@ export interface UpdateDomainAssociationCommandOutput extends UpdateDomainAssoci
66
91
  * @throws {@link UnauthorizedException} (client fault)
67
92
  * <p> An operation failed due to a lack of access. </p>
68
93
  *
94
+ * @throws {@link AmplifyServiceException}
95
+ * <p>Base exception class for all service exceptions from Amplify service.</p>
69
96
  *
70
97
  */
71
98
  export declare class UpdateDomainAssociationCommand extends $Command<UpdateDomainAssociationCommandInput, UpdateDomainAssociationCommandOutput, AmplifyClientResolvedConfig> {
@@ -33,6 +33,18 @@ export interface UpdateWebhookCommandOutput extends UpdateWebhookResult, __Metad
33
33
  * };
34
34
  * const command = new UpdateWebhookCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // UpdateWebhookResult
37
+ * // webhook: { // Webhook
38
+ * // webhookArn: "STRING_VALUE", // required
39
+ * // webhookId: "STRING_VALUE", // required
40
+ * // webhookUrl: "STRING_VALUE", // required
41
+ * // branchName: "STRING_VALUE", // required
42
+ * // description: "STRING_VALUE", // required
43
+ * // createTime: new Date("TIMESTAMP"), // required
44
+ * // updateTime: new Date("TIMESTAMP"), // required
45
+ * // },
46
+ * // };
47
+ *
36
48
  * ```
37
49
  *
38
50
  * @param UpdateWebhookCommandInput - {@link UpdateWebhookCommandInput}
@@ -56,6 +68,8 @@ export interface UpdateWebhookCommandOutput extends UpdateWebhookResult, __Metad
56
68
  * @throws {@link UnauthorizedException} (client fault)
57
69
  * <p> An operation failed due to a lack of access. </p>
58
70
  *
71
+ * @throws {@link AmplifyServiceException}
72
+ * <p>Base exception class for all service exceptions from Amplify service.</p>
59
73
  *
60
74
  */
61
75
  export declare class UpdateWebhookCommand extends $Command<UpdateWebhookCommandInput, UpdateWebhookCommandOutput, AmplifyClientResolvedConfig> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-amplify",
3
3
  "description": "AWS SDK for JavaScript Amplify Client for Node.js, Browser and React Native",
4
- "version": "3.321.1",
4
+ "version": "3.326.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,33 +21,33 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.321.1",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
30
- "@aws-sdk/middleware-content-length": "3.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-serde": "3.310.0",
37
- "@aws-sdk/middleware-signing": "3.310.0",
38
- "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.319.0",
30
+ "@aws-sdk/middleware-content-length": "3.325.0",
31
+ "@aws-sdk/middleware-endpoint": "3.325.0",
32
+ "@aws-sdk/middleware-host-header": "3.325.0",
33
+ "@aws-sdk/middleware-logger": "3.325.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-serde": "3.325.0",
37
+ "@aws-sdk/middleware-signing": "3.325.0",
38
+ "@aws-sdk/middleware-stack": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.325.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.316.0",
43
+ "@aws-sdk/smithy-client": "3.325.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
51
  "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",