@aws-sdk/client-proton 3.262.0 → 3.265.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 (33) hide show
  1. package/README.md +45 -34
  2. package/dist-cjs/Proton.js +15 -0
  3. package/dist-cjs/commands/GetResourcesSummaryCommand.js +46 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/endpoint/ruleset.js +3 -3
  6. package/dist-cjs/models/models_0.js +19 -3
  7. package/dist-cjs/protocols/Aws_json1_0.js +93 -3
  8. package/dist-es/Proton.js +15 -0
  9. package/dist-es/commands/GetResourcesSummaryCommand.js +42 -0
  10. package/dist-es/commands/index.js +1 -0
  11. package/dist-es/endpoint/ruleset.js +3 -3
  12. package/dist-es/models/models_0.js +12 -0
  13. package/dist-es/protocols/Aws_json1_0.js +88 -1
  14. package/dist-types/Proton.d.ts +82 -51
  15. package/dist-types/ProtonClient.d.ts +48 -36
  16. package/dist-types/commands/CreateTemplateSyncConfigCommand.d.ts +6 -5
  17. package/dist-types/commands/GetResourcesSummaryCommand.d.ts +46 -0
  18. package/dist-types/commands/ListServiceInstancesCommand.d.ts +2 -1
  19. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  20. package/dist-types/commands/NotifyResourceDeploymentStatusChangeCommand.d.ts +2 -1
  21. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  22. package/dist-types/commands/UntagResourceCommand.d.ts +4 -3
  23. package/dist-types/commands/UpdateTemplateSyncConfigCommand.d.ts +3 -3
  24. package/dist-types/commands/index.d.ts +1 -0
  25. package/dist-types/models/models_0.d.ts +109 -17
  26. package/dist-types/protocols/Aws_json1_0.d.ts +3 -0
  27. package/dist-types/ts3.4/Proton.d.ts +17 -0
  28. package/dist-types/ts3.4/ProtonClient.d.ts +6 -0
  29. package/dist-types/ts3.4/commands/GetResourcesSummaryCommand.d.ts +38 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +32 -0
  32. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +12 -0
  33. package/package.json +4 -4
@@ -0,0 +1,46 @@
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 { GetResourcesSummaryInput, GetResourcesSummaryOutput } from "../models/models_0";
5
+ import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
6
+ export interface GetResourcesSummaryCommandInput extends GetResourcesSummaryInput {
7
+ }
8
+ export interface GetResourcesSummaryCommandOutput extends GetResourcesSummaryOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Get counts of Proton resources.</p>
12
+ * <p>For infrastructure-provisioning resources (environments, services, service instances, pipelines), the action
13
+ * returns staleness counts. A resource is stale when it's behind the recommended version of the Proton template that it
14
+ * uses and it needs an update to become current.</p>
15
+ * <p>The action returns staleness counts (counts of resources that are up-to-date, behind a template major version,
16
+ * or behind a template minor version), the total number of resources, and the number of resources that are in a failed
17
+ * state, grouped by resource type. Components, environments, and service templates are exceptions—see the
18
+ * <code>components</code>, <code>environments</code>, and <code>serviceTemplates</code> field descriptions.</p>
19
+ * <p>For context, the action also returns the total number of each type of Proton template in the Amazon Web Services account.</p>
20
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/monitoring-dashboard.html">Proton dashboard</a> in the <i>Proton User Guide</i>.</p>
21
+ * @example
22
+ * Use a bare-bones client and the command you need to make an API call.
23
+ * ```javascript
24
+ * import { ProtonClient, GetResourcesSummaryCommand } from "@aws-sdk/client-proton"; // ES Modules import
25
+ * // const { ProtonClient, GetResourcesSummaryCommand } = require("@aws-sdk/client-proton"); // CommonJS import
26
+ * const client = new ProtonClient(config);
27
+ * const command = new GetResourcesSummaryCommand(input);
28
+ * const response = await client.send(command);
29
+ * ```
30
+ *
31
+ * @see {@link GetResourcesSummaryCommandInput} for command's `input` shape.
32
+ * @see {@link GetResourcesSummaryCommandOutput} for command's `response` shape.
33
+ * @see {@link ProtonClientResolvedConfig | config} for ProtonClient's `config` shape.
34
+ *
35
+ */
36
+ export declare class GetResourcesSummaryCommand extends $Command<GetResourcesSummaryCommandInput, GetResourcesSummaryCommandOutput, ProtonClientResolvedConfig> {
37
+ readonly input: GetResourcesSummaryCommandInput;
38
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
39
+ constructor(input: GetResourcesSummaryCommandInput);
40
+ /**
41
+ * @internal
42
+ */
43
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ProtonClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetResourcesSummaryCommandInput, GetResourcesSummaryCommandOutput>;
44
+ private serialize;
45
+ private deserialize;
46
+ }
@@ -8,7 +8,8 @@ export interface ListServiceInstancesCommandInput extends ListServiceInstancesIn
8
8
  export interface ListServiceInstancesCommandOutput extends ListServiceInstancesOutput, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>List service instances with summary data. This action lists service instances of all services in the Amazon Web Services account.</p>
11
+ * <p>List service instances with summary data. This action lists service instances of all services in the
12
+ * Amazon Web Services account.</p>
12
13
  * @example
13
14
  * Use a bare-bones client and the command you need to make an API call.
14
15
  * ```javascript
@@ -8,8 +8,8 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceInpu
8
8
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <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
12
- * tagging</a> in the <i>Proton User Guide</i>.</p>
11
+ * <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
12
+ * Guide</i>.</p>
13
13
  * @example
14
14
  * Use a bare-bones client and the command you need to make an API call.
15
15
  * ```javascript
@@ -9,7 +9,8 @@ export interface NotifyResourceDeploymentStatusChangeCommandOutput extends Notif
9
9
  }
10
10
  /**
11
11
  * <p>Notify Proton of status changes to a provisioned resource when you use self-managed provisioning.</p>
12
- * <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 provisioning</a> in the <i>Proton User Guide</i>.</p>
12
+ * <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
13
+ * provisioning</a> in the <i>Proton User Guide</i>.</p>
13
14
  * @example
14
15
  * Use a bare-bones client and the command you need to make an API call.
15
16
  * ```javascript
@@ -9,8 +9,8 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
9
9
  }
10
10
  /**
11
11
  * <p>Tag a resource. A tag is a key-value pair of metadata that you associate with an Proton resource.</p>
12
- * <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton resources and tagging</a> in the
13
- * <i>Proton User Guide</i>.</p>
12
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton
13
+ * resources and tagging</a> in the <i>Proton User Guide</i>.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
16
16
  * ```javascript
@@ -8,9 +8,10 @@ export interface UntagResourceCommandInput extends UntagResourceInput {
8
8
  export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Remove a customer tag from a resource. A tag is a key-value pair of metadata associated with an Proton resource.</p>
12
- * <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton resources and tagging</a> in the
13
- * <i>Proton User Guide</i>.</p>
11
+ * <p>Remove a customer tag from a resource. A tag is a key-value pair of metadata associated with an Proton
12
+ * resource.</p>
13
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton
14
+ * resources and tagging</a> in the <i>Proton User Guide</i>.</p>
14
15
  * @example
15
16
  * Use a bare-bones client and the command you need to make an API call.
16
17
  * ```javascript
@@ -8,9 +8,9 @@ export interface UpdateTemplateSyncConfigCommandInput extends UpdateTemplateSync
8
8
  export interface UpdateTemplateSyncConfigCommandOutput extends UpdateTemplateSyncConfigOutput, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Update template sync configuration parameters, except for the <code>templateName</code> and <code>templateType</code>. Repository details (branch,
12
- * name, and provider) should be of a linked repository. A linked repository is a repository that has been registered with Proton. For more information,
13
- * see <a>CreateRepository</a>.</p>
11
+ * <p>Update template sync configuration parameters, except for the <code>templateName</code> and
12
+ * <code>templateType</code>. Repository details (branch, name, and provider) should be of a linked repository. A
13
+ * linked repository is a repository that has been registered with Proton. For more information, see <a>CreateRepository</a>.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
16
16
  * ```javascript
@@ -31,6 +31,7 @@ export * from "./GetEnvironmentTemplateCommand";
31
31
  export * from "./GetEnvironmentTemplateVersionCommand";
32
32
  export * from "./GetRepositoryCommand";
33
33
  export * from "./GetRepositorySyncStatusCommand";
34
+ export * from "./GetResourcesSummaryCommand";
34
35
  export * from "./GetServiceCommand";
35
36
  export * from "./GetServiceInstanceCommand";
36
37
  export * from "./GetServiceTemplateCommand";
@@ -216,26 +216,27 @@ export interface RepositoryBranchInput {
216
216
  }
217
217
  export interface UpdateAccountSettingsInput {
218
218
  /**
219
- * <p>The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton for Amazon Web Services-managed provisioning, and by
220
- * customer-owned automation for self-managed provisioning.</p>
219
+ * <p>The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton
220
+ * for Amazon Web Services-managed provisioning, and by customer-owned automation for self-managed provisioning.</p>
221
221
  * <p>To remove a previously configured ARN, specify an empty string.</p>
222
222
  */
223
223
  pipelineServiceRoleArn?: string;
224
224
  /**
225
- * <p>A linked repository for pipeline provisioning. Specify it if you have environments configured for self-managed provisioning with services that include
226
- * pipelines. A linked repository is a repository that has been registered with Proton. For more information, see <a>CreateRepository</a>.</p>
227
- * <p>To remove a previously configured repository, set <code>deletePipelineProvisioningRepository</code> to <code>true</code>, and don't set
228
- * <code>pipelineProvisioningRepository</code>.</p>
225
+ * <p>A linked repository for pipeline provisioning. Specify it if you have environments configured for self-managed
226
+ * provisioning with services that include pipelines. A linked repository is a repository that has been registered with
227
+ * Proton. For more information, see <a>CreateRepository</a>.</p>
228
+ * <p>To remove a previously configured repository, set <code>deletePipelineProvisioningRepository</code> to
229
+ * <code>true</code>, and don't set <code>pipelineProvisioningRepository</code>.</p>
229
230
  */
230
231
  pipelineProvisioningRepository?: RepositoryBranchInput;
231
232
  /**
232
- * <p>Set to <code>true</code> to remove a configured pipeline repository from the account settings. Don't set this field if you are updating the configured
233
- * pipeline repository.</p>
233
+ * <p>Set to <code>true</code> to remove a configured pipeline repository from the account settings. Don't set this
234
+ * field if you are updating the configured pipeline repository.</p>
234
235
  */
235
236
  deletePipelineProvisioningRepository?: boolean;
236
237
  /**
237
- * <p>The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Proton assumes this role for CodeBuild-based
238
- * provisioning.</p>
238
+ * <p>The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Proton assumes
239
+ * this role for CodeBuild-based provisioning.</p>
239
240
  */
240
241
  pipelineCodebuildRoleArn?: string;
241
242
  }
@@ -1995,6 +1996,78 @@ export interface GetRepositorySyncStatusOutput {
1995
1996
  */
1996
1997
  latestSync?: RepositorySyncAttempt;
1997
1998
  }
1999
+ export interface GetResourcesSummaryInput {
2000
+ }
2001
+ /**
2002
+ * <p>Summary counts of each Proton resource types.</p>
2003
+ */
2004
+ export interface ResourceCountsSummary {
2005
+ /**
2006
+ * <p>The total number of resources of this type in the Amazon Web Services account.</p>
2007
+ */
2008
+ total: number | undefined;
2009
+ /**
2010
+ * <p>The number of resources of this type in the Amazon Web Services account that failed to deploy.</p>
2011
+ */
2012
+ failed?: number;
2013
+ /**
2014
+ * <p>The number of resources of this type in the Amazon Web Services account that are up-to-date with their template.</p>
2015
+ */
2016
+ upToDate?: number;
2017
+ /**
2018
+ * <p>The number of resources of this type in the Amazon Web Services account that need a major template version update.</p>
2019
+ */
2020
+ behindMajor?: number;
2021
+ /**
2022
+ * <p>The number of resources of this type in the Amazon Web Services account that need a minor template version update.</p>
2023
+ */
2024
+ behindMinor?: number;
2025
+ }
2026
+ /**
2027
+ * <p>Summary counts of each Proton resource type.</p>
2028
+ */
2029
+ export interface CountsSummary {
2030
+ /**
2031
+ * <p>The total number of components in the Amazon Web Services account.</p>
2032
+ * <p>The semantics of the <code>components</code> field are different from the semantics of results for other
2033
+ * infrastructure-provisioning resources. That's because at this time components don't have associated templates,
2034
+ * therefore they don't have the concept of staleness. The <code>components</code> object will only contain
2035
+ * <code>total</code> and <code>failed</code> members.</p>
2036
+ */
2037
+ components?: ResourceCountsSummary;
2038
+ /**
2039
+ * <p>The staleness counts for Proton environments in the Amazon Web Services account. The <code>environments</code> object will only
2040
+ * contain <code>total</code> members.</p>
2041
+ */
2042
+ environments?: ResourceCountsSummary;
2043
+ /**
2044
+ * <p>The total number of environment templates in the Amazon Web Services account.</p>
2045
+ */
2046
+ environmentTemplates?: ResourceCountsSummary;
2047
+ /**
2048
+ * <p>The staleness counts for Proton service instances in the Amazon Web Services account.</p>
2049
+ */
2050
+ serviceInstances?: ResourceCountsSummary;
2051
+ /**
2052
+ * <p>The staleness counts for Proton services in the Amazon Web Services account.</p>
2053
+ */
2054
+ services?: ResourceCountsSummary;
2055
+ /**
2056
+ * <p>The total number of service templates in the Amazon Web Services account. The <code>serviceTemplates</code> object will only
2057
+ * contain <code>total</code> members.</p>
2058
+ */
2059
+ serviceTemplates?: ResourceCountsSummary;
2060
+ /**
2061
+ * <p>The staleness counts for Proton pipelines in the Amazon Web Services account.</p>
2062
+ */
2063
+ pipelines?: ResourceCountsSummary;
2064
+ }
2065
+ export interface GetResourcesSummaryOutput {
2066
+ /**
2067
+ * <p>Summary counts of each Proton resource type.</p>
2068
+ */
2069
+ counts: CountsSummary | undefined;
2070
+ }
1998
2071
  export declare enum TemplateType {
1999
2072
  ENVIRONMENT = "ENVIRONMENT",
2000
2073
  SERVICE = "SERVICE"
@@ -2181,8 +2254,8 @@ export interface ListTagsForResourceInput {
2181
2254
  */
2182
2255
  resourceArn: string | undefined;
2183
2256
  /**
2184
- * <p>A token that indicates the location of the next resource tag in the array of resource tags, after the list of resource tags that was previously
2185
- * requested.</p>
2257
+ * <p>A token that indicates the location of the next resource tag in the array of resource tags, after the list of
2258
+ * resource tags that was previously requested.</p>
2186
2259
  */
2187
2260
  nextToken?: string;
2188
2261
  /**
@@ -2196,7 +2269,8 @@ export interface ListTagsForResourceOutput {
2196
2269
  */
2197
2270
  tags: Tag[] | undefined;
2198
2271
  /**
2199
- * <p>A token that indicates the location of the next resource tag in the array of resource tags, after the current requested list of resource tags.</p>
2272
+ * <p>A token that indicates the location of the next resource tag in the array of resource tags, after the current
2273
+ * requested list of resource tags.</p>
2200
2274
  */
2201
2275
  nextToken?: string;
2202
2276
  }
@@ -2475,7 +2549,8 @@ export interface ListServiceInstancesInput {
2475
2549
  */
2476
2550
  maxResults?: number;
2477
2551
  /**
2478
- * <p>An array of filtering criteria that scope down the result list. By default, all service instances in the Amazon Web Services account are returned.</p>
2552
+ * <p>An array of filtering criteria that scope down the result list. By default, all service instances in the
2553
+ * Amazon Web Services account are returned.</p>
2479
2554
  */
2480
2555
  filters?: ListServiceInstancesFilter[];
2481
2556
  /**
@@ -3476,8 +3551,8 @@ export interface CreateTemplateSyncConfigInput {
3476
3551
  */
3477
3552
  branch: string | undefined;
3478
3553
  /**
3479
- * <p>A repository subdirectory path to your template bundle directory. When included, Proton limits the template bundle search to this repository
3480
- * directory.</p>
3554
+ * <p>A repository subdirectory path to your template bundle directory. When included, Proton limits the template
3555
+ * bundle search to this repository directory.</p>
3481
3556
  */
3482
3557
  subdirectory?: string;
3483
3558
  }
@@ -3570,7 +3645,8 @@ export interface UpdateTemplateSyncConfigInput {
3570
3645
  */
3571
3646
  branch: string | undefined;
3572
3647
  /**
3573
- * <p>A subdirectory path to your template bundle version. When included, limits the template bundle search to this repository directory.</p>
3648
+ * <p>A subdirectory path to your template bundle version. When included, limits the template bundle search to this
3649
+ * repository directory.</p>
3574
3650
  */
3575
3651
  subdirectory?: string;
3576
3652
  }
@@ -3988,6 +4064,22 @@ export declare const RepositorySyncAttemptFilterSensitiveLog: (obj: RepositorySy
3988
4064
  * @internal
3989
4065
  */
3990
4066
  export declare const GetRepositorySyncStatusOutputFilterSensitiveLog: (obj: GetRepositorySyncStatusOutput) => any;
4067
+ /**
4068
+ * @internal
4069
+ */
4070
+ export declare const GetResourcesSummaryInputFilterSensitiveLog: (obj: GetResourcesSummaryInput) => any;
4071
+ /**
4072
+ * @internal
4073
+ */
4074
+ export declare const ResourceCountsSummaryFilterSensitiveLog: (obj: ResourceCountsSummary) => any;
4075
+ /**
4076
+ * @internal
4077
+ */
4078
+ export declare const CountsSummaryFilterSensitiveLog: (obj: CountsSummary) => any;
4079
+ /**
4080
+ * @internal
4081
+ */
4082
+ export declare const GetResourcesSummaryOutputFilterSensitiveLog: (obj: GetResourcesSummaryOutput) => any;
3991
4083
  /**
3992
4084
  * @internal
3993
4085
  */
@@ -33,6 +33,7 @@ import { GetEnvironmentTemplateCommandInput, GetEnvironmentTemplateCommandOutput
33
33
  import { GetEnvironmentTemplateVersionCommandInput, GetEnvironmentTemplateVersionCommandOutput } from "../commands/GetEnvironmentTemplateVersionCommand";
34
34
  import { GetRepositoryCommandInput, GetRepositoryCommandOutput } from "../commands/GetRepositoryCommand";
35
35
  import { GetRepositorySyncStatusCommandInput, GetRepositorySyncStatusCommandOutput } from "../commands/GetRepositorySyncStatusCommand";
36
+ import { GetResourcesSummaryCommandInput, GetResourcesSummaryCommandOutput } from "../commands/GetResourcesSummaryCommand";
36
37
  import { GetServiceCommandInput, GetServiceCommandOutput } from "../commands/GetServiceCommand";
37
38
  import { GetServiceInstanceCommandInput, GetServiceInstanceCommandOutput } from "../commands/GetServiceInstanceCommand";
38
39
  import { GetServiceTemplateCommandInput, GetServiceTemplateCommandOutput } from "../commands/GetServiceTemplateCommand";
@@ -108,6 +109,7 @@ export declare const serializeAws_json1_0GetEnvironmentTemplateCommand: (input:
108
109
  export declare const serializeAws_json1_0GetEnvironmentTemplateVersionCommand: (input: GetEnvironmentTemplateVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
109
110
  export declare const serializeAws_json1_0GetRepositoryCommand: (input: GetRepositoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
110
111
  export declare const serializeAws_json1_0GetRepositorySyncStatusCommand: (input: GetRepositorySyncStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
112
+ export declare const serializeAws_json1_0GetResourcesSummaryCommand: (input: GetResourcesSummaryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
111
113
  export declare const serializeAws_json1_0GetServiceCommand: (input: GetServiceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
112
114
  export declare const serializeAws_json1_0GetServiceInstanceCommand: (input: GetServiceInstanceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
113
115
  export declare const serializeAws_json1_0GetServiceTemplateCommand: (input: GetServiceTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -183,6 +185,7 @@ export declare const deserializeAws_json1_0GetEnvironmentTemplateCommand: (outpu
183
185
  export declare const deserializeAws_json1_0GetEnvironmentTemplateVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEnvironmentTemplateVersionCommandOutput>;
184
186
  export declare const deserializeAws_json1_0GetRepositoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRepositoryCommandOutput>;
185
187
  export declare const deserializeAws_json1_0GetRepositorySyncStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRepositorySyncStatusCommandOutput>;
188
+ export declare const deserializeAws_json1_0GetResourcesSummaryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetResourcesSummaryCommandOutput>;
186
189
  export declare const deserializeAws_json1_0GetServiceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetServiceCommandOutput>;
187
190
  export declare const deserializeAws_json1_0GetServiceInstanceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetServiceInstanceCommandOutput>;
188
191
  export declare const deserializeAws_json1_0GetServiceTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetServiceTemplateCommandOutput>;
@@ -131,6 +131,10 @@ import {
131
131
  GetRepositorySyncStatusCommandInput,
132
132
  GetRepositorySyncStatusCommandOutput,
133
133
  } from "./commands/GetRepositorySyncStatusCommand";
134
+ import {
135
+ GetResourcesSummaryCommandInput,
136
+ GetResourcesSummaryCommandOutput,
137
+ } from "./commands/GetResourcesSummaryCommand";
134
138
  import {
135
139
  GetServiceCommandInput,
136
140
  GetServiceCommandOutput,
@@ -748,6 +752,19 @@ export declare class Proton extends ProtonClient {
748
752
  options: __HttpHandlerOptions,
749
753
  cb: (err: any, data?: GetRepositorySyncStatusCommandOutput) => void
750
754
  ): void;
755
+ getResourcesSummary(
756
+ args: GetResourcesSummaryCommandInput,
757
+ options?: __HttpHandlerOptions
758
+ ): Promise<GetResourcesSummaryCommandOutput>;
759
+ getResourcesSummary(
760
+ args: GetResourcesSummaryCommandInput,
761
+ cb: (err: any, data?: GetResourcesSummaryCommandOutput) => void
762
+ ): void;
763
+ getResourcesSummary(
764
+ args: GetResourcesSummaryCommandInput,
765
+ options: __HttpHandlerOptions,
766
+ cb: (err: any, data?: GetResourcesSummaryCommandOutput) => void
767
+ ): void;
751
768
  getService(
752
769
  args: GetServiceCommandInput,
753
770
  options?: __HttpHandlerOptions
@@ -176,6 +176,10 @@ import {
176
176
  GetRepositorySyncStatusCommandInput,
177
177
  GetRepositorySyncStatusCommandOutput,
178
178
  } from "./commands/GetRepositorySyncStatusCommand";
179
+ import {
180
+ GetResourcesSummaryCommandInput,
181
+ GetResourcesSummaryCommandOutput,
182
+ } from "./commands/GetResourcesSummaryCommand";
179
183
  import {
180
184
  GetServiceCommandInput,
181
185
  GetServiceCommandOutput,
@@ -383,6 +387,7 @@ export declare type ServiceInputTypes =
383
387
  | GetEnvironmentTemplateVersionCommandInput
384
388
  | GetRepositoryCommandInput
385
389
  | GetRepositorySyncStatusCommandInput
390
+ | GetResourcesSummaryCommandInput
386
391
  | GetServiceCommandInput
387
392
  | GetServiceInstanceCommandInput
388
393
  | GetServiceTemplateCommandInput
@@ -459,6 +464,7 @@ export declare type ServiceOutputTypes =
459
464
  | GetEnvironmentTemplateVersionCommandOutput
460
465
  | GetRepositoryCommandOutput
461
466
  | GetRepositorySyncStatusCommandOutput
467
+ | GetResourcesSummaryCommandOutput
462
468
  | GetServiceCommandOutput
463
469
  | GetServiceInstanceCommandOutput
464
470
  | GetServiceTemplateCommandOutput
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ GetResourcesSummaryInput,
11
+ GetResourcesSummaryOutput,
12
+ } from "../models/models_0";
13
+ import {
14
+ ProtonClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../ProtonClient";
18
+ export interface GetResourcesSummaryCommandInput
19
+ extends GetResourcesSummaryInput {}
20
+ export interface GetResourcesSummaryCommandOutput
21
+ extends GetResourcesSummaryOutput,
22
+ __MetadataBearer {}
23
+ export declare class GetResourcesSummaryCommand extends $Command<
24
+ GetResourcesSummaryCommandInput,
25
+ GetResourcesSummaryCommandOutput,
26
+ ProtonClientResolvedConfig
27
+ > {
28
+ readonly input: GetResourcesSummaryCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetResourcesSummaryCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: ProtonClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<GetResourcesSummaryCommandInput, GetResourcesSummaryCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -31,6 +31,7 @@ export * from "./GetEnvironmentTemplateCommand";
31
31
  export * from "./GetEnvironmentTemplateVersionCommand";
32
32
  export * from "./GetRepositoryCommand";
33
33
  export * from "./GetRepositorySyncStatusCommand";
34
+ export * from "./GetResourcesSummaryCommand";
34
35
  export * from "./GetServiceCommand";
35
36
  export * from "./GetServiceInstanceCommand";
36
37
  export * from "./GetServiceTemplateCommand";
@@ -668,6 +668,26 @@ export interface RepositorySyncAttempt {
668
668
  export interface GetRepositorySyncStatusOutput {
669
669
  latestSync?: RepositorySyncAttempt;
670
670
  }
671
+ export interface GetResourcesSummaryInput {}
672
+ export interface ResourceCountsSummary {
673
+ total: number | undefined;
674
+ failed?: number;
675
+ upToDate?: number;
676
+ behindMajor?: number;
677
+ behindMinor?: number;
678
+ }
679
+ export interface CountsSummary {
680
+ components?: ResourceCountsSummary;
681
+ environments?: ResourceCountsSummary;
682
+ environmentTemplates?: ResourceCountsSummary;
683
+ serviceInstances?: ResourceCountsSummary;
684
+ services?: ResourceCountsSummary;
685
+ serviceTemplates?: ResourceCountsSummary;
686
+ pipelines?: ResourceCountsSummary;
687
+ }
688
+ export interface GetResourcesSummaryOutput {
689
+ counts: CountsSummary | undefined;
690
+ }
671
691
  export declare enum TemplateType {
672
692
  ENVIRONMENT = "ENVIRONMENT",
673
693
  SERVICE = "SERVICE",
@@ -1495,6 +1515,18 @@ export declare const RepositorySyncAttemptFilterSensitiveLog: (
1495
1515
  export declare const GetRepositorySyncStatusOutputFilterSensitiveLog: (
1496
1516
  obj: GetRepositorySyncStatusOutput
1497
1517
  ) => any;
1518
+ export declare const GetResourcesSummaryInputFilterSensitiveLog: (
1519
+ obj: GetResourcesSummaryInput
1520
+ ) => any;
1521
+ export declare const ResourceCountsSummaryFilterSensitiveLog: (
1522
+ obj: ResourceCountsSummary
1523
+ ) => any;
1524
+ export declare const CountsSummaryFilterSensitiveLog: (
1525
+ obj: CountsSummary
1526
+ ) => any;
1527
+ export declare const GetResourcesSummaryOutputFilterSensitiveLog: (
1528
+ obj: GetResourcesSummaryOutput
1529
+ ) => any;
1498
1530
  export declare const GetTemplateSyncStatusInputFilterSensitiveLog: (
1499
1531
  obj: GetTemplateSyncStatusInput
1500
1532
  ) => any;
@@ -135,6 +135,10 @@ import {
135
135
  GetRepositorySyncStatusCommandInput,
136
136
  GetRepositorySyncStatusCommandOutput,
137
137
  } from "../commands/GetRepositorySyncStatusCommand";
138
+ import {
139
+ GetResourcesSummaryCommandInput,
140
+ GetResourcesSummaryCommandOutput,
141
+ } from "../commands/GetResourcesSummaryCommand";
138
142
  import {
139
143
  GetServiceCommandInput,
140
144
  GetServiceCommandOutput,
@@ -435,6 +439,10 @@ export declare const serializeAws_json1_0GetRepositorySyncStatusCommand: (
435
439
  input: GetRepositorySyncStatusCommandInput,
436
440
  context: __SerdeContext
437
441
  ) => Promise<__HttpRequest>;
442
+ export declare const serializeAws_json1_0GetResourcesSummaryCommand: (
443
+ input: GetResourcesSummaryCommandInput,
444
+ context: __SerdeContext
445
+ ) => Promise<__HttpRequest>;
438
446
  export declare const serializeAws_json1_0GetServiceCommand: (
439
447
  input: GetServiceCommandInput,
440
448
  context: __SerdeContext
@@ -735,6 +743,10 @@ export declare const deserializeAws_json1_0GetRepositorySyncStatusCommand: (
735
743
  output: __HttpResponse,
736
744
  context: __SerdeContext
737
745
  ) => Promise<GetRepositorySyncStatusCommandOutput>;
746
+ export declare const deserializeAws_json1_0GetResourcesSummaryCommand: (
747
+ output: __HttpResponse,
748
+ context: __SerdeContext
749
+ ) => Promise<GetResourcesSummaryCommandOutput>;
738
750
  export declare const deserializeAws_json1_0GetServiceCommand: (
739
751
  output: __HttpResponse,
740
752
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-proton",
3
3
  "description": "AWS SDK for JavaScript Proton Client for Node.js, Browser and React Native",
4
- "version": "3.262.0",
4
+ "version": "3.265.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",
@@ -20,14 +20,14 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.262.0",
23
+ "@aws-sdk/client-sts": "3.264.0",
24
24
  "@aws-sdk/config-resolver": "3.259.0",
25
- "@aws-sdk/credential-provider-node": "3.261.0",
25
+ "@aws-sdk/credential-provider-node": "3.264.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.257.0",
27
27
  "@aws-sdk/hash-node": "3.257.0",
28
28
  "@aws-sdk/invalid-dependency": "3.257.0",
29
29
  "@aws-sdk/middleware-content-length": "3.257.0",
30
- "@aws-sdk/middleware-endpoint": "3.257.0",
30
+ "@aws-sdk/middleware-endpoint": "3.264.0",
31
31
  "@aws-sdk/middleware-host-header": "3.257.0",
32
32
  "@aws-sdk/middleware-logger": "3.257.0",
33
33
  "@aws-sdk/middleware-recursion-detection": "3.257.0",