@aws-sdk/client-proton 3.303.0 → 3.308.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 (78) hide show
  1. package/README.md +64 -0
  2. package/dist-cjs/Proton.js +120 -0
  3. package/dist-cjs/commands/CreateServiceInstanceCommand.js +46 -0
  4. package/dist-cjs/commands/CreateServiceSyncConfigCommand.js +45 -0
  5. package/dist-cjs/commands/DeleteServiceSyncConfigCommand.js +45 -0
  6. package/dist-cjs/commands/GetServiceInstanceSyncStatusCommand.js +45 -0
  7. package/dist-cjs/commands/GetServiceSyncBlockerSummaryCommand.js +45 -0
  8. package/dist-cjs/commands/GetServiceSyncConfigCommand.js +45 -0
  9. package/dist-cjs/commands/UpdateServiceSyncBlockerCommand.js +45 -0
  10. package/dist-cjs/commands/UpdateServiceSyncConfigCommand.js +45 -0
  11. package/dist-cjs/commands/index.js +8 -0
  12. package/dist-cjs/endpoint/ruleset.js +3 -3
  13. package/dist-cjs/models/models_0.js +25 -7
  14. package/dist-cjs/protocols/Aws_json1_0.js +671 -27
  15. package/dist-es/Proton.js +120 -0
  16. package/dist-es/commands/CreateServiceInstanceCommand.js +42 -0
  17. package/dist-es/commands/CreateServiceSyncConfigCommand.js +41 -0
  18. package/dist-es/commands/DeleteServiceSyncConfigCommand.js +41 -0
  19. package/dist-es/commands/GetServiceInstanceSyncStatusCommand.js +41 -0
  20. package/dist-es/commands/GetServiceSyncBlockerSummaryCommand.js +41 -0
  21. package/dist-es/commands/GetServiceSyncConfigCommand.js +41 -0
  22. package/dist-es/commands/UpdateServiceSyncBlockerCommand.js +41 -0
  23. package/dist-es/commands/UpdateServiceSyncConfigCommand.js +41 -0
  24. package/dist-es/commands/index.js +8 -0
  25. package/dist-es/endpoint/ruleset.js +3 -3
  26. package/dist-es/models/models_0.js +20 -4
  27. package/dist-es/protocols/Aws_json1_0.js +651 -23
  28. package/dist-types/Proton.d.ts +172 -75
  29. package/dist-types/ProtonClient.d.ts +10 -2
  30. package/dist-types/commands/CancelServiceInstanceDeploymentCommand.d.ts +10 -7
  31. package/dist-types/commands/CancelServicePipelineDeploymentCommand.d.ts +10 -7
  32. package/dist-types/commands/CreateComponentCommand.d.ts +1 -0
  33. package/dist-types/commands/CreateServiceCommand.d.ts +4 -3
  34. package/dist-types/commands/CreateServiceInstanceCommand.d.ts +92 -0
  35. package/dist-types/commands/CreateServiceSyncConfigCommand.d.ts +86 -0
  36. package/dist-types/commands/CreateServiceTemplateCommand.d.ts +6 -5
  37. package/dist-types/commands/CreateServiceTemplateVersionCommand.d.ts +3 -2
  38. package/dist-types/commands/CreateTemplateSyncConfigCommand.d.ts +8 -6
  39. package/dist-types/commands/DeleteServiceCommand.d.ts +2 -1
  40. package/dist-types/commands/DeleteServiceSyncConfigCommand.d.ts +81 -0
  41. package/dist-types/commands/DeleteServiceTemplateCommand.d.ts +2 -1
  42. package/dist-types/commands/DeleteServiceTemplateVersionCommand.d.ts +9 -6
  43. package/dist-types/commands/GetResourcesSummaryCommand.d.ts +13 -9
  44. package/dist-types/commands/GetServiceInstanceCommand.d.ts +2 -1
  45. package/dist-types/commands/GetServiceInstanceSyncStatusCommand.d.ts +79 -0
  46. package/dist-types/commands/GetServiceSyncBlockerSummaryCommand.d.ts +79 -0
  47. package/dist-types/commands/GetServiceSyncConfigCommand.d.ts +78 -0
  48. package/dist-types/commands/ListServiceInstancesCommand.d.ts +2 -2
  49. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  50. package/dist-types/commands/NotifyResourceDeploymentStatusChangeCommand.d.ts +2 -1
  51. package/dist-types/commands/TagResourceCommand.d.ts +4 -3
  52. package/dist-types/commands/UntagResourceCommand.d.ts +4 -4
  53. package/dist-types/commands/UpdateComponentCommand.d.ts +1 -0
  54. package/dist-types/commands/UpdateServiceCommand.d.ts +4 -2
  55. package/dist-types/commands/UpdateServiceInstanceCommand.d.ts +5 -3
  56. package/dist-types/commands/UpdateServicePipelineCommand.d.ts +14 -8
  57. package/dist-types/commands/UpdateServiceSyncBlockerCommand.d.ts +82 -0
  58. package/dist-types/commands/UpdateServiceSyncConfigCommand.d.ts +85 -0
  59. package/dist-types/commands/UpdateTemplateSyncConfigCommand.d.ts +3 -2
  60. package/dist-types/commands/index.d.ts +8 -0
  61. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  62. package/dist-types/models/models_0.d.ts +623 -148
  63. package/dist-types/protocols/Aws_json1_0.d.ts +24 -0
  64. package/dist-types/ts3.4/Proton.d.ts +136 -0
  65. package/dist-types/ts3.4/ProtonClient.d.ts +48 -0
  66. package/dist-types/ts3.4/commands/CreateServiceInstanceCommand.d.ts +41 -0
  67. package/dist-types/ts3.4/commands/CreateServiceSyncConfigCommand.d.ts +41 -0
  68. package/dist-types/ts3.4/commands/DeleteServiceSyncConfigCommand.d.ts +41 -0
  69. package/dist-types/ts3.4/commands/GetServiceInstanceSyncStatusCommand.d.ts +41 -0
  70. package/dist-types/ts3.4/commands/GetServiceSyncBlockerSummaryCommand.d.ts +41 -0
  71. package/dist-types/ts3.4/commands/GetServiceSyncConfigCommand.d.ts +41 -0
  72. package/dist-types/ts3.4/commands/UpdateServiceSyncBlockerCommand.d.ts +41 -0
  73. package/dist-types/ts3.4/commands/UpdateServiceSyncConfigCommand.d.ts +41 -0
  74. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  75. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  76. package/dist-types/ts3.4/models/models_0.d.ts +126 -9
  77. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +96 -0
  78. package/package.json +30 -30
@@ -0,0 +1,78 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { GetServiceSyncConfigInput, GetServiceSyncConfigOutput } from "../models/models_0";
5
+ import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link GetServiceSyncConfigCommand}.
10
+ */
11
+ export interface GetServiceSyncConfigCommandInput extends GetServiceSyncConfigInput {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link GetServiceSyncConfigCommand}.
17
+ */
18
+ export interface GetServiceSyncConfigCommandOutput extends GetServiceSyncConfigOutput, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Get detailed information for the service sync configuration.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { ProtonClient, GetServiceSyncConfigCommand } from "@aws-sdk/client-proton"; // ES Modules import
27
+ * // const { ProtonClient, GetServiceSyncConfigCommand } = require("@aws-sdk/client-proton"); // CommonJS import
28
+ * const client = new ProtonClient(config);
29
+ * const input = { // GetServiceSyncConfigInput
30
+ * serviceName: "STRING_VALUE", // required
31
+ * };
32
+ * const command = new GetServiceSyncConfigCommand(input);
33
+ * const response = await client.send(command);
34
+ * ```
35
+ *
36
+ * @param GetServiceSyncConfigCommandInput - {@link GetServiceSyncConfigCommandInput}
37
+ * @returns {@link GetServiceSyncConfigCommandOutput}
38
+ * @see {@link GetServiceSyncConfigCommandInput} for command's `input` shape.
39
+ * @see {@link GetServiceSyncConfigCommandOutput} for command's `response` shape.
40
+ * @see {@link ProtonClientResolvedConfig | config} for ProtonClient's `config` shape.
41
+ *
42
+ * @throws {@link AccessDeniedException} (client fault)
43
+ * <p>There <i>isn't</i> sufficient access for performing this action.</p>
44
+ *
45
+ * @throws {@link InternalServerException} (server fault)
46
+ * <p>The request failed to register with the service.</p>
47
+ *
48
+ * @throws {@link ResourceNotFoundException} (client fault)
49
+ * <p>The requested resource <i>wasn't</i> found.</p>
50
+ *
51
+ * @throws {@link ThrottlingException} (client fault)
52
+ * <p>The request was denied due to request throttling.</p>
53
+ *
54
+ * @throws {@link ValidationException} (client fault)
55
+ * <p>The input is invalid or an out-of-range value was supplied for the input parameter.</p>
56
+ *
57
+ *
58
+ */
59
+ export declare class GetServiceSyncConfigCommand extends $Command<GetServiceSyncConfigCommandInput, GetServiceSyncConfigCommandOutput, ProtonClientResolvedConfig> {
60
+ readonly input: GetServiceSyncConfigCommandInput;
61
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
62
+ /**
63
+ * @public
64
+ */
65
+ constructor(input: GetServiceSyncConfigCommandInput);
66
+ /**
67
+ * @internal
68
+ */
69
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ProtonClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetServiceSyncConfigCommandInput, GetServiceSyncConfigCommandOutput>;
70
+ /**
71
+ * @internal
72
+ */
73
+ private serialize;
74
+ /**
75
+ * @internal
76
+ */
77
+ private deserialize;
78
+ }
@@ -19,8 +19,8 @@ export interface ListServiceInstancesCommandOutput extends ListServiceInstancesO
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>List service instances with summary data. This action lists service instances of all services in the
23
- * Amazon Web Services account.</p>
22
+ * <p>List service instances with summary data. This action lists service instances of all
23
+ * services in the Amazon Web Services account.</p>
24
24
  * @example
25
25
  * Use a bare-bones client and the command you need to make an API call.
26
26
  * ```javascript
@@ -19,8 +19,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>List tags for a resource. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton resources and tagging</a> in the <i>Proton User
23
- * Guide</i>.</p>
22
+ * <p>List tags for a resource. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton resources and tagging</a> in the
23
+ * <i>Proton User Guide</i>.</p>
24
24
  * @example
25
25
  * Use a bare-bones client and the command you need to make an API call.
26
26
  * ```javascript
@@ -19,7 +19,8 @@ export interface NotifyResourceDeploymentStatusChangeCommandOutput extends Notif
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Notify Proton of status changes to a provisioned resource when you use self-managed provisioning.</p>
22
+ * <p>Notify Proton of status changes to a provisioned resource when you use self-managed
23
+ * provisioning.</p>
23
24
  * <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html#ag-works-prov-methods-self">Self-managed
24
25
  * provisioning</a> in the <i>Proton User Guide</i>.</p>
25
26
  * @example
@@ -19,9 +19,10 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Tag a resource. A tag is a key-value pair of metadata that you associate with an Proton resource.</p>
23
- * <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton
24
- * resources and tagging</a> in the <i>Proton User Guide</i>.</p>
22
+ * <p>Tag a resource. A tag is a key-value pair of metadata that you associate with an Proton
23
+ * resource.</p>
24
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton resources and tagging</a> in the
25
+ * <i>Proton User Guide</i>.</p>
25
26
  * @example
26
27
  * Use a bare-bones client and the command you need to make an API call.
27
28
  * ```javascript
@@ -19,10 +19,10 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Remove a customer tag from a resource. A tag is a key-value pair of metadata associated with an Proton
23
- * resource.</p>
24
- * <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton
25
- * resources and tagging</a> in the <i>Proton User Guide</i>.</p>
22
+ * <p>Remove a customer tag from a resource. A tag is a key-value pair of metadata associated with
23
+ * an Proton resource.</p>
24
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton resources and tagging</a> in the
25
+ * <i>Proton User Guide</i>.</p>
26
26
  * @example
27
27
  * Use a bare-bones client and the command you need to make an API call.
28
28
  * ```javascript
@@ -42,6 +42,7 @@ export interface UpdateComponentCommandOutput extends UpdateComponentOutput, __M
42
42
  * serviceInstanceName: "STRING_VALUE",
43
43
  * serviceSpec: "STRING_VALUE",
44
44
  * templateFile: "STRING_VALUE",
45
+ * clientToken: "STRING_VALUE",
45
46
  * };
46
47
  * const command = new UpdateComponentCommand(input);
47
48
  * const response = await client.send(command);
@@ -21,12 +21,14 @@ export interface UpdateServiceCommandOutput extends UpdateServiceOutput, __Metad
21
21
  * @public
22
22
  * <p>Edit a service description or use a spec to add and delete service instances.</p>
23
23
  * <note>
24
- * <p>Existing service instances and the service pipeline <i>can't</i> be edited using this API. They can only be deleted.</p>
24
+ * <p>Existing service instances and the service pipeline <i>can't</i> be edited
25
+ * using this API. They can only be deleted.</p>
25
26
  * </note>
26
27
  * <p>Use the <code>description</code> parameter to modify the description.</p>
27
28
  * <p>Edit the <code>spec</code> parameter to add or delete instances.</p>
28
29
  * <note>
29
- * <p>You can't delete a service instance (remove it from the spec) if it has an attached component.</p>
30
+ * <p>You can't delete a service instance (remove it from the spec) if it has an attached
31
+ * component.</p>
30
32
  * <p>For more information about components, see
31
33
  * <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
32
34
  * <i>Proton User Guide</i>.</p>
@@ -20,10 +20,11 @@ export interface UpdateServiceInstanceCommandOutput extends UpdateServiceInstanc
20
20
  /**
21
21
  * @public
22
22
  * <p>Update a service instance.</p>
23
- * <p>There are a few modes for updating a service instance. The <code>deploymentType</code> field defines the mode.</p>
23
+ * <p>There are a few modes for updating a service instance. The <code>deploymentType</code>
24
+ * field defines the mode.</p>
24
25
  * <note>
25
- * <p>You can't update a service instance while its deployment status, or the deployment status of a component attached to it, is
26
- * <code>IN_PROGRESS</code>.</p>
26
+ * <p>You can't update a service instance while its deployment status, or the deployment
27
+ * status of a component attached to it, is <code>IN_PROGRESS</code>.</p>
27
28
  * <p>For more information about components, see
28
29
  * <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
29
30
  * <i>Proton User Guide</i>.</p>
@@ -41,6 +42,7 @@ export interface UpdateServiceInstanceCommandOutput extends UpdateServiceInstanc
41
42
  * spec: "STRING_VALUE",
42
43
  * templateMajorVersion: "STRING_VALUE",
43
44
  * templateMinorVersion: "STRING_VALUE",
45
+ * clientToken: "STRING_VALUE",
44
46
  * };
45
47
  * const command = new UpdateServiceInstanceCommand(input);
46
48
  * const response = await client.send(command);
@@ -20,38 +20,44 @@ export interface UpdateServicePipelineCommandOutput extends UpdateServicePipelin
20
20
  /**
21
21
  * @public
22
22
  * <p>Update the service pipeline.</p>
23
- * <p>There are four modes for updating a service pipeline. The <code>deploymentType</code> field defines the mode.</p>
23
+ * <p>There are four modes for updating a service pipeline. The <code>deploymentType</code>
24
+ * field defines the mode.</p>
24
25
  * <dl>
25
26
  * <dt/>
26
27
  * <dd>
27
28
  * <p>
28
29
  * <code>NONE</code>
29
30
  * </p>
30
- * <p>In this mode, a deployment <i>doesn't</i> occur. Only the requested metadata parameters are updated.</p>
31
+ * <p>In this mode, a deployment <i>doesn't</i> occur. Only the requested
32
+ * metadata parameters are updated.</p>
31
33
  * </dd>
32
34
  * <dt/>
33
35
  * <dd>
34
36
  * <p>
35
37
  * <code>CURRENT_VERSION</code>
36
38
  * </p>
37
- * <p>In this mode, the service pipeline is deployed and updated with the new spec that you provide. Only requested parameters are updated.
38
- * <i>Don’t</i> include major or minor version parameters when you use this <code>deployment-type</code>.</p>
39
+ * <p>In this mode, the service pipeline is deployed and updated with the new spec that
40
+ * you provide. Only requested parameters are updated. <i>Don’t</i> include
41
+ * major or minor version parameters when you use this <code>deployment-type</code>.</p>
39
42
  * </dd>
40
43
  * <dt/>
41
44
  * <dd>
42
45
  * <p>
43
46
  * <code>MINOR_VERSION</code>
44
47
  * </p>
45
- * <p>In this mode, the service pipeline is deployed and updated with the published, recommended (latest) minor version of the current major version
46
- * in use, by default. You can specify a different minor version of the current major version in use.</p>
48
+ * <p>In this mode, the service pipeline is deployed and updated with the published,
49
+ * recommended (latest) minor version of the current major version in use, by default. You
50
+ * can specify a different minor version of the current major version in use.</p>
47
51
  * </dd>
48
52
  * <dt/>
49
53
  * <dd>
50
54
  * <p>
51
55
  * <code>MAJOR_VERSION</code>
52
56
  * </p>
53
- * <p>In this mode, the service pipeline is deployed and updated with the published, recommended (latest) major and minor version of the current
54
- * template by default. You can specify a different major version that's higher than the major version in use and a minor version.</p>
57
+ * <p>In this mode, the service pipeline is deployed and updated with the published,
58
+ * recommended (latest) major and minor version of the current template by default. You can
59
+ * specify a different major version that's higher than the major version in use and a
60
+ * minor version.</p>
55
61
  * </dd>
56
62
  * </dl>
57
63
  * @example
@@ -0,0 +1,82 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { UpdateServiceSyncBlockerInput, UpdateServiceSyncBlockerOutput } from "../models/models_0";
5
+ import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link UpdateServiceSyncBlockerCommand}.
10
+ */
11
+ export interface UpdateServiceSyncBlockerCommandInput extends UpdateServiceSyncBlockerInput {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link UpdateServiceSyncBlockerCommand}.
17
+ */
18
+ export interface UpdateServiceSyncBlockerCommandOutput extends UpdateServiceSyncBlockerOutput, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Update the service sync blocker by resolving it.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { ProtonClient, UpdateServiceSyncBlockerCommand } from "@aws-sdk/client-proton"; // ES Modules import
27
+ * // const { ProtonClient, UpdateServiceSyncBlockerCommand } = require("@aws-sdk/client-proton"); // CommonJS import
28
+ * const client = new ProtonClient(config);
29
+ * const input = { // UpdateServiceSyncBlockerInput
30
+ * id: "STRING_VALUE", // required
31
+ * resolvedReason: "STRING_VALUE", // required
32
+ * };
33
+ * const command = new UpdateServiceSyncBlockerCommand(input);
34
+ * const response = await client.send(command);
35
+ * ```
36
+ *
37
+ * @param UpdateServiceSyncBlockerCommandInput - {@link UpdateServiceSyncBlockerCommandInput}
38
+ * @returns {@link UpdateServiceSyncBlockerCommandOutput}
39
+ * @see {@link UpdateServiceSyncBlockerCommandInput} for command's `input` shape.
40
+ * @see {@link UpdateServiceSyncBlockerCommandOutput} for command's `response` shape.
41
+ * @see {@link ProtonClientResolvedConfig | config} for ProtonClient's `config` shape.
42
+ *
43
+ * @throws {@link AccessDeniedException} (client fault)
44
+ * <p>There <i>isn't</i> sufficient access for performing this action.</p>
45
+ *
46
+ * @throws {@link ConflictException} (client fault)
47
+ * <p>The request <i>couldn't</i> be made due to a conflicting operation or resource.</p>
48
+ *
49
+ * @throws {@link InternalServerException} (server fault)
50
+ * <p>The request failed to register with the service.</p>
51
+ *
52
+ * @throws {@link ResourceNotFoundException} (client fault)
53
+ * <p>The requested resource <i>wasn't</i> found.</p>
54
+ *
55
+ * @throws {@link ThrottlingException} (client fault)
56
+ * <p>The request was denied due to request throttling.</p>
57
+ *
58
+ * @throws {@link ValidationException} (client fault)
59
+ * <p>The input is invalid or an out-of-range value was supplied for the input parameter.</p>
60
+ *
61
+ *
62
+ */
63
+ export declare class UpdateServiceSyncBlockerCommand extends $Command<UpdateServiceSyncBlockerCommandInput, UpdateServiceSyncBlockerCommandOutput, ProtonClientResolvedConfig> {
64
+ readonly input: UpdateServiceSyncBlockerCommandInput;
65
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
66
+ /**
67
+ * @public
68
+ */
69
+ constructor(input: UpdateServiceSyncBlockerCommandInput);
70
+ /**
71
+ * @internal
72
+ */
73
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ProtonClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateServiceSyncBlockerCommandInput, UpdateServiceSyncBlockerCommandOutput>;
74
+ /**
75
+ * @internal
76
+ */
77
+ private serialize;
78
+ /**
79
+ * @internal
80
+ */
81
+ private deserialize;
82
+ }
@@ -0,0 +1,85 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { UpdateServiceSyncConfigInput, UpdateServiceSyncConfigOutput } from "../models/models_0";
5
+ import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link UpdateServiceSyncConfigCommand}.
10
+ */
11
+ export interface UpdateServiceSyncConfigCommandInput extends UpdateServiceSyncConfigInput {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link UpdateServiceSyncConfigCommand}.
17
+ */
18
+ export interface UpdateServiceSyncConfigCommandOutput extends UpdateServiceSyncConfigOutput, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Update the Proton Ops config file.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { ProtonClient, UpdateServiceSyncConfigCommand } from "@aws-sdk/client-proton"; // ES Modules import
27
+ * // const { ProtonClient, UpdateServiceSyncConfigCommand } = require("@aws-sdk/client-proton"); // CommonJS import
28
+ * const client = new ProtonClient(config);
29
+ * const input = { // UpdateServiceSyncConfigInput
30
+ * serviceName: "STRING_VALUE", // required
31
+ * repositoryProvider: "STRING_VALUE", // required
32
+ * repositoryName: "STRING_VALUE", // required
33
+ * branch: "STRING_VALUE", // required
34
+ * filePath: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new UpdateServiceSyncConfigCommand(input);
37
+ * const response = await client.send(command);
38
+ * ```
39
+ *
40
+ * @param UpdateServiceSyncConfigCommandInput - {@link UpdateServiceSyncConfigCommandInput}
41
+ * @returns {@link UpdateServiceSyncConfigCommandOutput}
42
+ * @see {@link UpdateServiceSyncConfigCommandInput} for command's `input` shape.
43
+ * @see {@link UpdateServiceSyncConfigCommandOutput} for command's `response` shape.
44
+ * @see {@link ProtonClientResolvedConfig | config} for ProtonClient's `config` shape.
45
+ *
46
+ * @throws {@link AccessDeniedException} (client fault)
47
+ * <p>There <i>isn't</i> sufficient access for performing this action.</p>
48
+ *
49
+ * @throws {@link ConflictException} (client fault)
50
+ * <p>The request <i>couldn't</i> be made due to a conflicting operation or resource.</p>
51
+ *
52
+ * @throws {@link InternalServerException} (server fault)
53
+ * <p>The request failed to register with the service.</p>
54
+ *
55
+ * @throws {@link ResourceNotFoundException} (client fault)
56
+ * <p>The requested resource <i>wasn't</i> found.</p>
57
+ *
58
+ * @throws {@link ThrottlingException} (client fault)
59
+ * <p>The request was denied due to request throttling.</p>
60
+ *
61
+ * @throws {@link ValidationException} (client fault)
62
+ * <p>The input is invalid or an out-of-range value was supplied for the input parameter.</p>
63
+ *
64
+ *
65
+ */
66
+ export declare class UpdateServiceSyncConfigCommand extends $Command<UpdateServiceSyncConfigCommandInput, UpdateServiceSyncConfigCommandOutput, ProtonClientResolvedConfig> {
67
+ readonly input: UpdateServiceSyncConfigCommandInput;
68
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
69
+ /**
70
+ * @public
71
+ */
72
+ constructor(input: UpdateServiceSyncConfigCommandInput);
73
+ /**
74
+ * @internal
75
+ */
76
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ProtonClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateServiceSyncConfigCommandInput, UpdateServiceSyncConfigCommandOutput>;
77
+ /**
78
+ * @internal
79
+ */
80
+ private serialize;
81
+ /**
82
+ * @internal
83
+ */
84
+ private deserialize;
85
+ }
@@ -20,8 +20,9 @@ export interface UpdateTemplateSyncConfigCommandOutput extends UpdateTemplateSyn
20
20
  /**
21
21
  * @public
22
22
  * <p>Update template sync configuration parameters, except for the <code>templateName</code> and
23
- * <code>templateType</code>. Repository details (branch, name, and provider) should be of a linked repository. A
24
- * linked repository is a repository that has been registered with Proton. For more information, see <a>CreateRepository</a>.</p>
23
+ * <code>templateType</code>. Repository details (branch, name, and provider) should be of a linked
24
+ * repository. A linked repository is a repository that has been registered with Proton. For more
25
+ * information, see <a>CreateRepository</a>.</p>
25
26
  * @example
26
27
  * Use a bare-bones client and the command you need to make an API call.
27
28
  * ```javascript
@@ -10,6 +10,8 @@ export * from "./CreateEnvironmentTemplateCommand";
10
10
  export * from "./CreateEnvironmentTemplateVersionCommand";
11
11
  export * from "./CreateRepositoryCommand";
12
12
  export * from "./CreateServiceCommand";
13
+ export * from "./CreateServiceInstanceCommand";
14
+ export * from "./CreateServiceSyncConfigCommand";
13
15
  export * from "./CreateServiceTemplateCommand";
14
16
  export * from "./CreateServiceTemplateVersionCommand";
15
17
  export * from "./CreateTemplateSyncConfigCommand";
@@ -20,6 +22,7 @@ export * from "./DeleteEnvironmentTemplateCommand";
20
22
  export * from "./DeleteEnvironmentTemplateVersionCommand";
21
23
  export * from "./DeleteRepositoryCommand";
22
24
  export * from "./DeleteServiceCommand";
25
+ export * from "./DeleteServiceSyncConfigCommand";
23
26
  export * from "./DeleteServiceTemplateCommand";
24
27
  export * from "./DeleteServiceTemplateVersionCommand";
25
28
  export * from "./DeleteTemplateSyncConfigCommand";
@@ -34,6 +37,9 @@ export * from "./GetRepositorySyncStatusCommand";
34
37
  export * from "./GetResourcesSummaryCommand";
35
38
  export * from "./GetServiceCommand";
36
39
  export * from "./GetServiceInstanceCommand";
40
+ export * from "./GetServiceInstanceSyncStatusCommand";
41
+ export * from "./GetServiceSyncBlockerSummaryCommand";
42
+ export * from "./GetServiceSyncConfigCommand";
37
43
  export * from "./GetServiceTemplateCommand";
38
44
  export * from "./GetServiceTemplateVersionCommand";
39
45
  export * from "./GetTemplateSyncConfigCommand";
@@ -71,6 +77,8 @@ export * from "./UpdateEnvironmentTemplateVersionCommand";
71
77
  export * from "./UpdateServiceCommand";
72
78
  export * from "./UpdateServiceInstanceCommand";
73
79
  export * from "./UpdateServicePipelineCommand";
80
+ export * from "./UpdateServiceSyncBlockerCommand";
81
+ export * from "./UpdateServiceSyncConfigCommand";
74
82
  export * from "./UpdateServiceTemplateCommand";
75
83
  export * from "./UpdateServiceTemplateVersionCommand";
76
84
  export * from "./UpdateTemplateSyncConfigCommand";
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;