@aws-sdk/client-amplify 3.296.0 → 3.298.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 (111) hide show
  1. package/dist-cjs/commands/CreateBackendEnvironmentCommand.js +2 -3
  2. package/dist-cjs/commands/CreateDeploymentCommand.js +2 -3
  3. package/dist-cjs/commands/CreateDomainAssociationCommand.js +2 -3
  4. package/dist-cjs/commands/CreateWebhookCommand.js +2 -3
  5. package/dist-cjs/commands/DeleteAppCommand.js +1 -1
  6. package/dist-cjs/commands/DeleteBackendEnvironmentCommand.js +2 -3
  7. package/dist-cjs/commands/DeleteBranchCommand.js +1 -1
  8. package/dist-cjs/commands/DeleteDomainAssociationCommand.js +2 -3
  9. package/dist-cjs/commands/DeleteJobCommand.js +2 -3
  10. package/dist-cjs/commands/DeleteWebhookCommand.js +2 -3
  11. package/dist-cjs/commands/GenerateAccessLogsCommand.js +2 -3
  12. package/dist-cjs/commands/GetAppCommand.js +1 -1
  13. package/dist-cjs/commands/GetArtifactUrlCommand.js +2 -3
  14. package/dist-cjs/commands/GetBackendEnvironmentCommand.js +2 -3
  15. package/dist-cjs/commands/GetBranchCommand.js +1 -1
  16. package/dist-cjs/commands/GetDomainAssociationCommand.js +2 -3
  17. package/dist-cjs/commands/GetJobCommand.js +2 -3
  18. package/dist-cjs/commands/GetWebhookCommand.js +2 -3
  19. package/dist-cjs/commands/ListAppsCommand.js +1 -1
  20. package/dist-cjs/commands/ListArtifactsCommand.js +2 -3
  21. package/dist-cjs/commands/ListBackendEnvironmentsCommand.js +2 -3
  22. package/dist-cjs/commands/ListBranchesCommand.js +1 -1
  23. package/dist-cjs/commands/ListDomainAssociationsCommand.js +2 -3
  24. package/dist-cjs/commands/ListJobsCommand.js +2 -3
  25. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
  26. package/dist-cjs/commands/ListWebhooksCommand.js +2 -3
  27. package/dist-cjs/commands/StartDeploymentCommand.js +2 -3
  28. package/dist-cjs/commands/StartJobCommand.js +2 -3
  29. package/dist-cjs/commands/StopJobCommand.js +2 -3
  30. package/dist-cjs/commands/TagResourceCommand.js +2 -3
  31. package/dist-cjs/commands/UntagResourceCommand.js +2 -3
  32. package/dist-cjs/commands/UpdateDomainAssociationCommand.js +2 -3
  33. package/dist-cjs/commands/UpdateWebhookCommand.js +2 -3
  34. package/dist-cjs/models/models_0.js +1 -287
  35. package/dist-es/commands/CreateBackendEnvironmentCommand.js +2 -3
  36. package/dist-es/commands/CreateDeploymentCommand.js +2 -3
  37. package/dist-es/commands/CreateDomainAssociationCommand.js +2 -3
  38. package/dist-es/commands/CreateWebhookCommand.js +2 -3
  39. package/dist-es/commands/DeleteAppCommand.js +2 -2
  40. package/dist-es/commands/DeleteBackendEnvironmentCommand.js +2 -3
  41. package/dist-es/commands/DeleteBranchCommand.js +2 -2
  42. package/dist-es/commands/DeleteDomainAssociationCommand.js +2 -3
  43. package/dist-es/commands/DeleteJobCommand.js +2 -3
  44. package/dist-es/commands/DeleteWebhookCommand.js +2 -3
  45. package/dist-es/commands/GenerateAccessLogsCommand.js +2 -3
  46. package/dist-es/commands/GetAppCommand.js +2 -2
  47. package/dist-es/commands/GetArtifactUrlCommand.js +2 -3
  48. package/dist-es/commands/GetBackendEnvironmentCommand.js +2 -3
  49. package/dist-es/commands/GetBranchCommand.js +2 -2
  50. package/dist-es/commands/GetDomainAssociationCommand.js +2 -3
  51. package/dist-es/commands/GetJobCommand.js +2 -3
  52. package/dist-es/commands/GetWebhookCommand.js +2 -3
  53. package/dist-es/commands/ListAppsCommand.js +2 -2
  54. package/dist-es/commands/ListArtifactsCommand.js +2 -3
  55. package/dist-es/commands/ListBackendEnvironmentsCommand.js +2 -3
  56. package/dist-es/commands/ListBranchesCommand.js +2 -2
  57. package/dist-es/commands/ListDomainAssociationsCommand.js +2 -3
  58. package/dist-es/commands/ListJobsCommand.js +2 -3
  59. package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
  60. package/dist-es/commands/ListWebhooksCommand.js +2 -3
  61. package/dist-es/commands/StartDeploymentCommand.js +2 -3
  62. package/dist-es/commands/StartJobCommand.js +2 -3
  63. package/dist-es/commands/StopJobCommand.js +2 -3
  64. package/dist-es/commands/TagResourceCommand.js +2 -3
  65. package/dist-es/commands/UntagResourceCommand.js +2 -3
  66. package/dist-es/commands/UpdateDomainAssociationCommand.js +2 -3
  67. package/dist-es/commands/UpdateWebhookCommand.js +2 -3
  68. package/dist-es/models/models_0.js +0 -213
  69. package/dist-types/Amplify.d.ts +38 -0
  70. package/dist-types/AmplifyClient.d.ts +24 -4
  71. package/dist-types/commands/CreateAppCommand.d.ts +16 -0
  72. package/dist-types/commands/CreateBackendEnvironmentCommand.d.ts +16 -0
  73. package/dist-types/commands/CreateBranchCommand.d.ts +16 -0
  74. package/dist-types/commands/CreateDeploymentCommand.d.ts +16 -0
  75. package/dist-types/commands/CreateDomainAssociationCommand.d.ts +16 -0
  76. package/dist-types/commands/CreateWebhookCommand.d.ts +16 -0
  77. package/dist-types/commands/DeleteAppCommand.d.ts +16 -0
  78. package/dist-types/commands/DeleteBackendEnvironmentCommand.d.ts +16 -0
  79. package/dist-types/commands/DeleteBranchCommand.d.ts +16 -0
  80. package/dist-types/commands/DeleteDomainAssociationCommand.d.ts +16 -0
  81. package/dist-types/commands/DeleteJobCommand.d.ts +16 -0
  82. package/dist-types/commands/DeleteWebhookCommand.d.ts +16 -0
  83. package/dist-types/commands/GenerateAccessLogsCommand.d.ts +16 -0
  84. package/dist-types/commands/GetAppCommand.d.ts +16 -0
  85. package/dist-types/commands/GetArtifactUrlCommand.d.ts +16 -0
  86. package/dist-types/commands/GetBackendEnvironmentCommand.d.ts +16 -0
  87. package/dist-types/commands/GetBranchCommand.d.ts +16 -0
  88. package/dist-types/commands/GetDomainAssociationCommand.d.ts +16 -0
  89. package/dist-types/commands/GetJobCommand.d.ts +16 -0
  90. package/dist-types/commands/GetWebhookCommand.d.ts +16 -0
  91. package/dist-types/commands/ListAppsCommand.d.ts +16 -0
  92. package/dist-types/commands/ListArtifactsCommand.d.ts +16 -0
  93. package/dist-types/commands/ListBackendEnvironmentsCommand.d.ts +16 -0
  94. package/dist-types/commands/ListBranchesCommand.d.ts +16 -0
  95. package/dist-types/commands/ListDomainAssociationsCommand.d.ts +16 -0
  96. package/dist-types/commands/ListJobsCommand.d.ts +16 -0
  97. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  98. package/dist-types/commands/ListWebhooksCommand.d.ts +16 -0
  99. package/dist-types/commands/StartDeploymentCommand.d.ts +16 -0
  100. package/dist-types/commands/StartJobCommand.d.ts +16 -0
  101. package/dist-types/commands/StopJobCommand.d.ts +16 -0
  102. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  103. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  104. package/dist-types/commands/UpdateAppCommand.d.ts +16 -0
  105. package/dist-types/commands/UpdateBranchCommand.d.ts +16 -0
  106. package/dist-types/commands/UpdateDomainAssociationCommand.d.ts +16 -0
  107. package/dist-types/commands/UpdateWebhookCommand.d.ts +16 -0
  108. package/dist-types/models/AmplifyServiceException.d.ts +2 -0
  109. package/dist-types/models/models_0.d.ts +123 -284
  110. package/dist-types/ts3.4/models/models_0.d.ts +0 -197
  111. package/package.json +4 -3
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyClient";
5
5
  import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UntagResourceCommand}.
8
10
  */
9
11
  export interface UntagResourceCommandInput extends UntagResourceRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UntagResourceCommand}.
13
17
  */
14
18
  export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p> Untags a resource with a specified Amazon Resource Name (ARN). </p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
34
+ * @returns {@link UntagResourceCommandOutput}
28
35
  * @see {@link UntagResourceCommandInput} for command's `input` shape.
29
36
  * @see {@link UntagResourceCommandOutput} for command's `response` shape.
30
37
  * @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
@@ -43,11 +50,20 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
43
50
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, AmplifyClientResolvedConfig> {
44
51
  readonly input: UntagResourceCommandInput;
45
52
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
53
+ /**
54
+ * @public
55
+ */
46
56
  constructor(input: UntagResourceCommandInput);
47
57
  /**
48
58
  * @internal
49
59
  */
50
60
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
61
+ /**
62
+ * @internal
63
+ */
51
64
  private serialize;
65
+ /**
66
+ * @internal
67
+ */
52
68
  private deserialize;
53
69
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyClient";
5
5
  import { UpdateAppRequest, UpdateAppResult } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdateAppCommand}.
8
10
  */
9
11
  export interface UpdateAppCommandInput extends UpdateAppRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdateAppCommand}.
13
17
  */
14
18
  export interface UpdateAppCommandOutput extends UpdateAppResult, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p> Updates an existing Amplify app. </p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface UpdateAppCommandOutput extends UpdateAppResult, __MetadataBeare
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param UpdateAppCommandInput - {@link UpdateAppCommandInput}
34
+ * @returns {@link UpdateAppCommandOutput}
28
35
  * @see {@link UpdateAppCommandInput} for command's `input` shape.
29
36
  * @see {@link UpdateAppCommandOutput} for command's `response` shape.
30
37
  * @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
@@ -46,11 +53,20 @@ export interface UpdateAppCommandOutput extends UpdateAppResult, __MetadataBeare
46
53
  export declare class UpdateAppCommand extends $Command<UpdateAppCommandInput, UpdateAppCommandOutput, AmplifyClientResolvedConfig> {
47
54
  readonly input: UpdateAppCommandInput;
48
55
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
56
+ /**
57
+ * @public
58
+ */
49
59
  constructor(input: UpdateAppCommandInput);
50
60
  /**
51
61
  * @internal
52
62
  */
53
63
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateAppCommandInput, UpdateAppCommandOutput>;
64
+ /**
65
+ * @internal
66
+ */
54
67
  private serialize;
68
+ /**
69
+ * @internal
70
+ */
55
71
  private deserialize;
56
72
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyClient";
5
5
  import { UpdateBranchRequest, UpdateBranchResult } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdateBranchCommand}.
8
10
  */
9
11
  export interface UpdateBranchCommandInput extends UpdateBranchRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdateBranchCommand}.
13
17
  */
14
18
  export interface UpdateBranchCommandOutput extends UpdateBranchResult, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p> Updates a branch for an Amplify app. </p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface UpdateBranchCommandOutput extends UpdateBranchResult, __Metadat
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param UpdateBranchCommandInput - {@link UpdateBranchCommandInput}
34
+ * @returns {@link UpdateBranchCommandOutput}
28
35
  * @see {@link UpdateBranchCommandInput} for command's `input` shape.
29
36
  * @see {@link UpdateBranchCommandOutput} for command's `response` shape.
30
37
  * @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
@@ -49,11 +56,20 @@ export interface UpdateBranchCommandOutput extends UpdateBranchResult, __Metadat
49
56
  export declare class UpdateBranchCommand extends $Command<UpdateBranchCommandInput, UpdateBranchCommandOutput, AmplifyClientResolvedConfig> {
50
57
  readonly input: UpdateBranchCommandInput;
51
58
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
59
+ /**
60
+ * @public
61
+ */
52
62
  constructor(input: UpdateBranchCommandInput);
53
63
  /**
54
64
  * @internal
55
65
  */
56
66
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateBranchCommandInput, UpdateBranchCommandOutput>;
67
+ /**
68
+ * @internal
69
+ */
57
70
  private serialize;
71
+ /**
72
+ * @internal
73
+ */
58
74
  private deserialize;
59
75
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyClient";
5
5
  import { UpdateDomainAssociationRequest, UpdateDomainAssociationResult } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdateDomainAssociationCommand}.
8
10
  */
9
11
  export interface UpdateDomainAssociationCommandInput extends UpdateDomainAssociationRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdateDomainAssociationCommand}.
13
17
  */
14
18
  export interface UpdateDomainAssociationCommandOutput extends UpdateDomainAssociationResult, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p> Creates a new domain association for an Amplify app.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface UpdateDomainAssociationCommandOutput extends UpdateDomainAssoci
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param UpdateDomainAssociationCommandInput - {@link UpdateDomainAssociationCommandInput}
34
+ * @returns {@link UpdateDomainAssociationCommandOutput}
28
35
  * @see {@link UpdateDomainAssociationCommandInput} for command's `input` shape.
29
36
  * @see {@link UpdateDomainAssociationCommandOutput} for command's `response` shape.
30
37
  * @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
@@ -49,11 +56,20 @@ export interface UpdateDomainAssociationCommandOutput extends UpdateDomainAssoci
49
56
  export declare class UpdateDomainAssociationCommand extends $Command<UpdateDomainAssociationCommandInput, UpdateDomainAssociationCommandOutput, AmplifyClientResolvedConfig> {
50
57
  readonly input: UpdateDomainAssociationCommandInput;
51
58
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
59
+ /**
60
+ * @public
61
+ */
52
62
  constructor(input: UpdateDomainAssociationCommandInput);
53
63
  /**
54
64
  * @internal
55
65
  */
56
66
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateDomainAssociationCommandInput, UpdateDomainAssociationCommandOutput>;
67
+ /**
68
+ * @internal
69
+ */
57
70
  private serialize;
71
+ /**
72
+ * @internal
73
+ */
58
74
  private deserialize;
59
75
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyClient";
5
5
  import { UpdateWebhookRequest, UpdateWebhookResult } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdateWebhookCommand}.
8
10
  */
9
11
  export interface UpdateWebhookCommandInput extends UpdateWebhookRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdateWebhookCommand}.
13
17
  */
14
18
  export interface UpdateWebhookCommandOutput extends UpdateWebhookResult, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p> Updates a webhook. </p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface UpdateWebhookCommandOutput extends UpdateWebhookResult, __Metad
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param UpdateWebhookCommandInput - {@link UpdateWebhookCommandInput}
34
+ * @returns {@link UpdateWebhookCommandOutput}
28
35
  * @see {@link UpdateWebhookCommandInput} for command's `input` shape.
29
36
  * @see {@link UpdateWebhookCommandOutput} for command's `response` shape.
30
37
  * @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
@@ -49,11 +56,20 @@ export interface UpdateWebhookCommandOutput extends UpdateWebhookResult, __Metad
49
56
  export declare class UpdateWebhookCommand extends $Command<UpdateWebhookCommandInput, UpdateWebhookCommandOutput, AmplifyClientResolvedConfig> {
50
57
  readonly input: UpdateWebhookCommandInput;
51
58
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
59
+ /**
60
+ * @public
61
+ */
52
62
  constructor(input: UpdateWebhookCommandInput);
53
63
  /**
54
64
  * @internal
55
65
  */
56
66
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateWebhookCommandInput, UpdateWebhookCommandOutput>;
67
+ /**
68
+ * @internal
69
+ */
57
70
  private serialize;
71
+ /**
72
+ * @internal
73
+ */
58
74
  private deserialize;
59
75
  }
@@ -1,5 +1,7 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
2
  /**
3
+ * @public
4
+ *
3
5
  * Base exception class for all service exceptions from Amplify service.
4
6
  */
5
7
  export declare class AmplifyServiceException extends __ServiceException {