@aws-sdk/client-service-catalog-appregistry 3.28.0 → 3.32.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 (56) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +1 -1
  3. package/ServiceCatalogAppRegistry.ts +40 -2
  4. package/ServiceCatalogAppRegistryClient.ts +7 -1
  5. package/commands/GetAssociatedResourceCommand.ts +98 -0
  6. package/commands/SyncResourceCommand.ts +2 -1
  7. package/dist/cjs/ServiceCatalogAppRegistry.js +16 -1
  8. package/dist/cjs/ServiceCatalogAppRegistry.js.map +1 -1
  9. package/dist/cjs/ServiceCatalogAppRegistryClient.js +1 -1
  10. package/dist/cjs/ServiceCatalogAppRegistryClient.js.map +1 -1
  11. package/dist/cjs/commands/GetAssociatedResourceCommand.js +61 -0
  12. package/dist/cjs/commands/GetAssociatedResourceCommand.js.map +1 -0
  13. package/dist/cjs/commands/SyncResourceCommand.js +2 -1
  14. package/dist/cjs/commands/SyncResourceCommand.js.map +1 -1
  15. package/dist/cjs/index.js +1 -0
  16. package/dist/cjs/index.js.map +1 -1
  17. package/dist/cjs/models/models_0.js +65 -2
  18. package/dist/cjs/models/models_0.js.map +1 -1
  19. package/dist/cjs/package.json +31 -31
  20. package/dist/cjs/protocols/Aws_restJson1.js +188 -32
  21. package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
  22. package/dist/es/ServiceCatalogAppRegistry.js +16 -1
  23. package/dist/es/ServiceCatalogAppRegistry.js.map +1 -1
  24. package/dist/es/ServiceCatalogAppRegistryClient.js +1 -1
  25. package/dist/es/ServiceCatalogAppRegistryClient.js.map +1 -1
  26. package/dist/es/commands/GetAssociatedResourceCommand.js +65 -0
  27. package/dist/es/commands/GetAssociatedResourceCommand.js.map +1 -0
  28. package/dist/es/commands/SyncResourceCommand.js +2 -1
  29. package/dist/es/commands/SyncResourceCommand.js.map +1 -1
  30. package/dist/es/endpoints.js +1 -2
  31. package/dist/es/endpoints.js.map +1 -1
  32. package/dist/es/index.js +1 -0
  33. package/dist/es/index.js.map +1 -1
  34. package/dist/es/models/models_0.js +51 -0
  35. package/dist/es/models/models_0.js.map +1 -1
  36. package/dist/es/package.json +31 -31
  37. package/dist/es/protocols/Aws_restJson1.js +297 -86
  38. package/dist/es/protocols/Aws_restJson1.js.map +1 -1
  39. package/dist/types/ServiceCatalogAppRegistry.d.ts +10 -2
  40. package/dist/types/ServiceCatalogAppRegistryClient.d.ts +4 -3
  41. package/dist/types/commands/GetAssociatedResourceCommand.d.ts +35 -0
  42. package/dist/types/commands/SyncResourceCommand.d.ts +2 -1
  43. package/dist/types/index.d.ts +1 -0
  44. package/dist/types/models/models_0.d.ts +143 -6
  45. package/dist/types/protocols/Aws_restJson1.d.ts +3 -0
  46. package/dist/types/ts3.4/ServiceCatalogAppRegistry.d.ts +10 -2
  47. package/dist/types/ts3.4/ServiceCatalogAppRegistryClient.d.ts +4 -3
  48. package/dist/types/ts3.4/commands/GetAssociatedResourceCommand.d.ts +35 -0
  49. package/dist/types/ts3.4/commands/SyncResourceCommand.d.ts +2 -1
  50. package/dist/types/ts3.4/index.d.ts +1 -0
  51. package/dist/types/ts3.4/models/models_0.d.ts +143 -6
  52. package/dist/types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
  53. package/index.ts +1 -0
  54. package/models/models_0.ts +176 -6
  55. package/package.json +31 -31
  56. package/protocols/Aws_restJson1.ts +215 -32
@@ -1,6 +1,6 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
2
  /**
3
- * <p>Represents a Service Catalog AppRegistry application that is the top-level node in a hierarchy of related
3
+ * <p>Represents a Amazon Web Services Service Catalog AppRegistry application that is the top-level node in a hierarchy of related
4
4
  * cloud resource abstractions.</p>
5
5
  */
6
6
  export interface Application {
@@ -42,7 +42,7 @@ export declare namespace Application {
42
42
  const filterSensitiveLog: (obj: Application) => any;
43
43
  }
44
44
  /**
45
- * <p>Summary of a Service Catalog AppRegistry application.</p>
45
+ * <p>Summary of a Amazon Web Services Service Catalog AppRegistry application.</p>
46
46
  */
47
47
  export interface ApplicationSummary {
48
48
  /**
@@ -219,7 +219,7 @@ export declare namespace ConflictException {
219
219
  const filterSensitiveLog: (obj: ConflictException) => any;
220
220
  }
221
221
  /**
222
- * <p>Represents a Service Catalog AppRegistry attribute group that is rich metadata which describes an application and its components.</p>
222
+ * <p>Represents a Amazon Web Services Service Catalog AppRegistry attribute group that is rich metadata which describes an application and its components.</p>
223
223
  */
224
224
  export interface AttributeGroup {
225
225
  /**
@@ -260,7 +260,7 @@ export declare namespace AttributeGroup {
260
260
  const filterSensitiveLog: (obj: AttributeGroup) => any;
261
261
  }
262
262
  /**
263
- * <p>Summary of a Service Catalog AppRegistry attribute group.</p>
263
+ * <p>Summary of a Amazon Web Services Service Catalog AppRegistry attribute group.</p>
264
264
  */
265
265
  export interface AttributeGroupSummary {
266
266
  /**
@@ -508,6 +508,64 @@ export declare namespace GetApplicationRequest {
508
508
  */
509
509
  const filterSensitiveLog: (obj: GetApplicationRequest) => any;
510
510
  }
511
+ export declare enum ResourceGroupState {
512
+ CREATE_COMPLETE = "CREATE_COMPLETE",
513
+ CREATE_FAILED = "CREATE_FAILED",
514
+ CREATING = "CREATING",
515
+ UPDATE_COMPLETE = "UPDATE_COMPLETE",
516
+ UPDATE_FAILED = "UPDATE_FAILED",
517
+ UPDATING = "UPDATING"
518
+ }
519
+ /**
520
+ * <p>The information about the resource group integration.</p>
521
+ */
522
+ export interface ResourceGroup {
523
+ /**
524
+ * <p>The state of the propagation process for the resource group. The states includes:</p>
525
+ * <p>
526
+ * <code>CREATING </code>if the resource group is in the process of being created.</p>
527
+ * <p>
528
+ * <code>CREATE_COMPLETE</code> if the resource group was created successfully.</p>
529
+ * <p>
530
+ * <code>CREATE_FAILED</code> if the resource group failed to be created.</p>
531
+ * <p>
532
+ * <code>UPDATING</code> if the resource group is in the process of being updated.</p>
533
+ * <p>
534
+ * <code>UPDATE_COMPLETE</code> if the resource group updated successfully.</p>
535
+ * <p>
536
+ * <code>UPDATE_FAILED</code> if the resource group could not update successfully.</p>
537
+ */
538
+ state?: ResourceGroupState | string;
539
+ /**
540
+ * <p>The Amazon resource name (ARN) of the resource group.</p>
541
+ */
542
+ arn?: string;
543
+ /**
544
+ * <p>The error message that generates when the propagation process for the resource group fails.</p>
545
+ */
546
+ errorMessage?: string;
547
+ }
548
+ export declare namespace ResourceGroup {
549
+ /**
550
+ * @internal
551
+ */
552
+ const filterSensitiveLog: (obj: ResourceGroup) => any;
553
+ }
554
+ /**
555
+ * <p> The information about the service integration.</p>
556
+ */
557
+ export interface Integrations {
558
+ /**
559
+ * <p> The information about the resource group integration.</p>
560
+ */
561
+ resourceGroup?: ResourceGroup;
562
+ }
563
+ export declare namespace Integrations {
564
+ /**
565
+ * @internal
566
+ */
567
+ const filterSensitiveLog: (obj: Integrations) => any;
568
+ }
511
569
  export interface GetApplicationResponse {
512
570
  /**
513
571
  * <p>The identifier of the application.</p>
@@ -543,6 +601,10 @@ export interface GetApplicationResponse {
543
601
  tags?: {
544
602
  [key: string]: string;
545
603
  };
604
+ /**
605
+ * <p>The information about the integration of the application with other services, such as Resource Groups.</p>
606
+ */
607
+ integrations?: Integrations;
546
608
  }
547
609
  export declare namespace GetApplicationResponse {
548
610
  /**
@@ -550,6 +612,81 @@ export declare namespace GetApplicationResponse {
550
612
  */
551
613
  const filterSensitiveLog: (obj: GetApplicationResponse) => any;
552
614
  }
615
+ export interface GetAssociatedResourceRequest {
616
+ /**
617
+ * <p>The name or ID of the application.</p>
618
+ */
619
+ application: string | undefined;
620
+ /**
621
+ * <p>The type of resource associated with the application.</p>
622
+ */
623
+ resourceType: ResourceType | string | undefined;
624
+ /**
625
+ * <p>The name or ID of the resource associated with the application.</p>
626
+ */
627
+ resource: string | undefined;
628
+ }
629
+ export declare namespace GetAssociatedResourceRequest {
630
+ /**
631
+ * @internal
632
+ */
633
+ const filterSensitiveLog: (obj: GetAssociatedResourceRequest) => any;
634
+ }
635
+ /**
636
+ * <p>The service integration information about the resource.</p>
637
+ */
638
+ export interface ResourceIntegrations {
639
+ /**
640
+ * <p>The information about the integration of Resource Groups.</p>
641
+ */
642
+ resourceGroup?: ResourceGroup;
643
+ }
644
+ export declare namespace ResourceIntegrations {
645
+ /**
646
+ * @internal
647
+ */
648
+ const filterSensitiveLog: (obj: ResourceIntegrations) => any;
649
+ }
650
+ /**
651
+ * <p> The information about the resource.</p>
652
+ */
653
+ export interface Resource {
654
+ /**
655
+ * <p>The name of the resource.</p>
656
+ */
657
+ name?: string;
658
+ /**
659
+ * <p>The Amazon resource name (ARN) of the resource.</p>
660
+ */
661
+ arn?: string;
662
+ /**
663
+ * <p>The time the resource was associated with the application.</p>
664
+ */
665
+ associationTime?: Date;
666
+ /**
667
+ * <p>The service integration information about the resource.
668
+ * </p>
669
+ */
670
+ integrations?: ResourceIntegrations;
671
+ }
672
+ export declare namespace Resource {
673
+ /**
674
+ * @internal
675
+ */
676
+ const filterSensitiveLog: (obj: Resource) => any;
677
+ }
678
+ export interface GetAssociatedResourceResponse {
679
+ /**
680
+ * <p>The resource associated with the application.</p>
681
+ */
682
+ resource?: Resource;
683
+ }
684
+ export declare namespace GetAssociatedResourceResponse {
685
+ /**
686
+ * @internal
687
+ */
688
+ const filterSensitiveLog: (obj: GetAssociatedResourceResponse) => any;
689
+ }
553
690
  export interface GetAttributeGroupRequest {
554
691
  /**
555
692
  * <p>The name or ID of the attribute group that holds the attributes to describe the application.</p>
@@ -693,7 +830,7 @@ export declare namespace ListAssociatedResourcesRequest {
693
830
  const filterSensitiveLog: (obj: ListAssociatedResourcesRequest) => any;
694
831
  }
695
832
  /**
696
- * <p>Information about the resource.</p>
833
+ * <p>The information about the resource.</p>
697
834
  */
698
835
  export interface ResourceInfo {
699
836
  /**
@@ -791,7 +928,7 @@ export interface SyncResourceRequest {
791
928
  */
792
929
  resourceType: ResourceType | string | undefined;
793
930
  /**
794
- * <p>An entity you can work with and specify with a name or ID. Examples include an Amazon EC2 instance, an AWS CloudFormation stack, or an Amazon S3 bucket.</p>
931
+ * <p>An entity you can work with and specify with a name or ID. Examples include an Amazon EC2 instance, an Amazon Web Services CloudFormation stack, or an Amazon S3 bucket.</p>
795
932
  */
796
933
  resource: string | undefined;
797
934
  }
@@ -7,6 +7,7 @@ import { DeleteAttributeGroupCommandInput, DeleteAttributeGroupCommandOutput } f
7
7
  import { DisassociateAttributeGroupCommandInput, DisassociateAttributeGroupCommandOutput } from "../commands/DisassociateAttributeGroupCommand";
8
8
  import { DisassociateResourceCommandInput, DisassociateResourceCommandOutput } from "../commands/DisassociateResourceCommand";
9
9
  import { GetApplicationCommandInput, GetApplicationCommandOutput } from "../commands/GetApplicationCommand";
10
+ import { GetAssociatedResourceCommandInput, GetAssociatedResourceCommandOutput } from "../commands/GetAssociatedResourceCommand";
10
11
  import { GetAttributeGroupCommandInput, GetAttributeGroupCommandOutput } from "../commands/GetAttributeGroupCommand";
11
12
  import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "../commands/ListApplicationsCommand";
12
13
  import { ListAssociatedAttributeGroupsCommandInput, ListAssociatedAttributeGroupsCommandOutput } from "../commands/ListAssociatedAttributeGroupsCommand";
@@ -29,6 +30,7 @@ export declare const serializeAws_restJson1DeleteAttributeGroupCommand: (input:
29
30
  export declare const serializeAws_restJson1DisassociateAttributeGroupCommand: (input: DisassociateAttributeGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
30
31
  export declare const serializeAws_restJson1DisassociateResourceCommand: (input: DisassociateResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
31
32
  export declare const serializeAws_restJson1GetApplicationCommand: (input: GetApplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
+ export declare const serializeAws_restJson1GetAssociatedResourceCommand: (input: GetAssociatedResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
32
34
  export declare const serializeAws_restJson1GetAttributeGroupCommand: (input: GetAttributeGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
35
  export declare const serializeAws_restJson1ListApplicationsCommand: (input: ListApplicationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
34
36
  export declare const serializeAws_restJson1ListAssociatedAttributeGroupsCommand: (input: ListAssociatedAttributeGroupsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -49,6 +51,7 @@ export declare const deserializeAws_restJson1DeleteAttributeGroupCommand: (outpu
49
51
  export declare const deserializeAws_restJson1DisassociateAttributeGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateAttributeGroupCommandOutput>;
50
52
  export declare const deserializeAws_restJson1DisassociateResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateResourceCommandOutput>;
51
53
  export declare const deserializeAws_restJson1GetApplicationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetApplicationCommandOutput>;
54
+ export declare const deserializeAws_restJson1GetAssociatedResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAssociatedResourceCommandOutput>;
52
55
  export declare const deserializeAws_restJson1GetAttributeGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAttributeGroupCommandOutput>;
53
56
  export declare const deserializeAws_restJson1ListApplicationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListApplicationsCommandOutput>;
54
57
  export declare const deserializeAws_restJson1ListAssociatedAttributeGroupsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssociatedAttributeGroupsCommandOutput>;
@@ -8,6 +8,7 @@ import { DeleteAttributeGroupCommandInput, DeleteAttributeGroupCommandOutput } f
8
8
  import { DisassociateAttributeGroupCommandInput, DisassociateAttributeGroupCommandOutput } from "./commands/DisassociateAttributeGroupCommand";
9
9
  import { DisassociateResourceCommandInput, DisassociateResourceCommandOutput } from "./commands/DisassociateResourceCommand";
10
10
  import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
11
+ import { GetAssociatedResourceCommandInput, GetAssociatedResourceCommandOutput } from "./commands/GetAssociatedResourceCommand";
11
12
  import { GetAttributeGroupCommandInput, GetAttributeGroupCommandOutput } from "./commands/GetAttributeGroupCommand";
12
13
  import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
13
14
  import { ListAssociatedAttributeGroupsCommandInput, ListAssociatedAttributeGroupsCommandOutput } from "./commands/ListAssociatedAttributeGroupsCommand";
@@ -21,7 +22,7 @@ import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from ".
21
22
  import { UpdateAttributeGroupCommandInput, UpdateAttributeGroupCommandOutput } from "./commands/UpdateAttributeGroupCommand";
22
23
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
23
24
  /**
24
- * <p> AWS Service Catalog AppRegistry enables organizations to understand the application context of their AWS resources. AppRegistry provides a repository of your applications, their resources, and the application metadata that you use within your enterprise.</p>
25
+ * <p> Amazon Web Services Service Catalog AppRegistry enables organizations to understand the application context of their Amazon Web Services resources. AppRegistry provides a repository of your applications, their resources, and the application metadata that you use within your enterprise.</p>
25
26
  */
26
27
  export declare class ServiceCatalogAppRegistry extends ServiceCatalogAppRegistryClient {
27
28
  /**
@@ -83,6 +84,12 @@ export declare class ServiceCatalogAppRegistry extends ServiceCatalogAppRegistry
83
84
  getApplication(args: GetApplicationCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationCommandOutput>;
84
85
  getApplication(args: GetApplicationCommandInput, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
85
86
  getApplication(args: GetApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
87
+ /**
88
+ * <p>Gets the resource associated with the application.</p>
89
+ */
90
+ getAssociatedResource(args: GetAssociatedResourceCommandInput, options?: __HttpHandlerOptions): Promise<GetAssociatedResourceCommandOutput>;
91
+ getAssociatedResource(args: GetAssociatedResourceCommandInput, cb: (err: any, data?: GetAssociatedResourceCommandOutput) => void): void;
92
+ getAssociatedResource(args: GetAssociatedResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssociatedResourceCommandOutput) => void): void;
86
93
  /**
87
94
  * <p>Retrieves an attribute group, either by its name or its ID. The attribute group can be specified either by its unique ID or by its name.</p>
88
95
  */
@@ -120,7 +127,8 @@ export declare class ServiceCatalogAppRegistry extends ServiceCatalogAppRegistry
120
127
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
121
128
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
122
129
  /**
123
- * <p>Syncs the resource with what is currently recorded in App registry. Specifically, the resource’s App registry system tags are synced with its associated application. The resource is removed if it is not associated with the application. The caller must have permissions to read and update the resource.</p>
130
+ * <p>Syncs the resource with current AppRegistry records.</p>
131
+ * <p>Specifically, the resource’s AppRegistry system tags sync with its associated application. We remove the resource's AppRegistry system tags if it does not associate with the application. The caller must have permissions to read and update the resource.</p>
124
132
  */
125
133
  syncResource(args: SyncResourceCommandInput, options?: __HttpHandlerOptions): Promise<SyncResourceCommandOutput>;
126
134
  syncResource(args: SyncResourceCommandInput, cb: (err: any, data?: SyncResourceCommandOutput) => void): void;
@@ -7,6 +7,7 @@ import { DeleteAttributeGroupCommandInput, DeleteAttributeGroupCommandOutput } f
7
7
  import { DisassociateAttributeGroupCommandInput, DisassociateAttributeGroupCommandOutput } from "./commands/DisassociateAttributeGroupCommand";
8
8
  import { DisassociateResourceCommandInput, DisassociateResourceCommandOutput } from "./commands/DisassociateResourceCommand";
9
9
  import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
10
+ import { GetAssociatedResourceCommandInput, GetAssociatedResourceCommandOutput } from "./commands/GetAssociatedResourceCommand";
10
11
  import { GetAttributeGroupCommandInput, GetAttributeGroupCommandOutput } from "./commands/GetAttributeGroupCommand";
11
12
  import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
12
13
  import { ListAssociatedAttributeGroupsCommandInput, ListAssociatedAttributeGroupsCommandOutput } from "./commands/ListAssociatedAttributeGroupsCommand";
@@ -26,8 +27,8 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
26
27
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
27
28
  import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
28
29
  import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
29
- export declare type ServiceInputTypes = AssociateAttributeGroupCommandInput | AssociateResourceCommandInput | CreateApplicationCommandInput | CreateAttributeGroupCommandInput | DeleteApplicationCommandInput | DeleteAttributeGroupCommandInput | DisassociateAttributeGroupCommandInput | DisassociateResourceCommandInput | GetApplicationCommandInput | GetAttributeGroupCommandInput | ListApplicationsCommandInput | ListAssociatedAttributeGroupsCommandInput | ListAssociatedResourcesCommandInput | ListAttributeGroupsCommandInput | ListTagsForResourceCommandInput | SyncResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateAttributeGroupCommandInput;
30
- export declare type ServiceOutputTypes = AssociateAttributeGroupCommandOutput | AssociateResourceCommandOutput | CreateApplicationCommandOutput | CreateAttributeGroupCommandOutput | DeleteApplicationCommandOutput | DeleteAttributeGroupCommandOutput | DisassociateAttributeGroupCommandOutput | DisassociateResourceCommandOutput | GetApplicationCommandOutput | GetAttributeGroupCommandOutput | ListApplicationsCommandOutput | ListAssociatedAttributeGroupsCommandOutput | ListAssociatedResourcesCommandOutput | ListAttributeGroupsCommandOutput | ListTagsForResourceCommandOutput | SyncResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateAttributeGroupCommandOutput;
30
+ export declare type ServiceInputTypes = AssociateAttributeGroupCommandInput | AssociateResourceCommandInput | CreateApplicationCommandInput | CreateAttributeGroupCommandInput | DeleteApplicationCommandInput | DeleteAttributeGroupCommandInput | DisassociateAttributeGroupCommandInput | DisassociateResourceCommandInput | GetApplicationCommandInput | GetAssociatedResourceCommandInput | GetAttributeGroupCommandInput | ListApplicationsCommandInput | ListAssociatedAttributeGroupsCommandInput | ListAssociatedResourcesCommandInput | ListAttributeGroupsCommandInput | ListTagsForResourceCommandInput | SyncResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateAttributeGroupCommandInput;
31
+ export declare type ServiceOutputTypes = AssociateAttributeGroupCommandOutput | AssociateResourceCommandOutput | CreateApplicationCommandOutput | CreateAttributeGroupCommandOutput | DeleteApplicationCommandOutput | DeleteAttributeGroupCommandOutput | DisassociateAttributeGroupCommandOutput | DisassociateResourceCommandOutput | GetApplicationCommandOutput | GetAssociatedResourceCommandOutput | GetAttributeGroupCommandOutput | ListApplicationsCommandOutput | ListAssociatedAttributeGroupsCommandOutput | ListAssociatedResourcesCommandOutput | ListAttributeGroupsCommandOutput | ListTagsForResourceCommandOutput | SyncResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateAttributeGroupCommandOutput;
31
32
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
32
33
  /**
33
34
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -134,7 +135,7 @@ declare type ServiceCatalogAppRegistryClientResolvedConfigType = __SmithyResolve
134
135
  export interface ServiceCatalogAppRegistryClientResolvedConfig extends ServiceCatalogAppRegistryClientResolvedConfigType {
135
136
  }
136
137
  /**
137
- * <p> AWS Service Catalog AppRegistry enables organizations to understand the application context of their AWS resources. AppRegistry provides a repository of your applications, their resources, and the application metadata that you use within your enterprise.</p>
138
+ * <p> Amazon Web Services Service Catalog AppRegistry enables organizations to understand the application context of their Amazon Web Services resources. AppRegistry provides a repository of your applications, their resources, and the application metadata that you use within your enterprise.</p>
138
139
  */
139
140
  export declare class ServiceCatalogAppRegistryClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ServiceCatalogAppRegistryClientResolvedConfig> {
140
141
  /**
@@ -0,0 +1,35 @@
1
+ import { ServiceCatalogAppRegistryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceCatalogAppRegistryClient";
2
+ import { GetAssociatedResourceRequest, GetAssociatedResourceResponse } from "../models/models_0";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
+ export interface GetAssociatedResourceCommandInput extends GetAssociatedResourceRequest {
6
+ }
7
+ export interface GetAssociatedResourceCommandOutput extends GetAssociatedResourceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Gets the resource associated with the application.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { ServiceCatalogAppRegistryClient, GetAssociatedResourceCommand } from "@aws-sdk/client-service-catalog-appregistry"; // ES Modules import
15
+ * // const { ServiceCatalogAppRegistryClient, GetAssociatedResourceCommand } = require("@aws-sdk/client-service-catalog-appregistry"); // CommonJS import
16
+ * const client = new ServiceCatalogAppRegistryClient(config);
17
+ * const command = new GetAssociatedResourceCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetAssociatedResourceCommandInput} for command's `input` shape.
22
+ * @see {@link GetAssociatedResourceCommandOutput} for command's `response` shape.
23
+ * @see {@link ServiceCatalogAppRegistryClientResolvedConfig | config} for command's `input` shape.
24
+ *
25
+ */
26
+ export declare class GetAssociatedResourceCommand extends $Command<GetAssociatedResourceCommandInput, GetAssociatedResourceCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig> {
27
+ readonly input: GetAssociatedResourceCommandInput;
28
+ constructor(input: GetAssociatedResourceCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAssociatedResourceCommandInput, GetAssociatedResourceCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -7,7 +7,8 @@ export interface SyncResourceCommandInput extends SyncResourceRequest {
7
7
  export interface SyncResourceCommandOutput extends SyncResourceResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Syncs the resource with what is currently recorded in App registry. Specifically, the resource’s App registry system tags are synced with its associated application. The resource is removed if it is not associated with the application. The caller must have permissions to read and update the resource.</p>
10
+ * <p>Syncs the resource with current AppRegistry records.</p>
11
+ * <p>Specifically, the resource’s AppRegistry system tags sync with its associated application. We remove the resource's AppRegistry system tags if it does not associate with the application. The caller must have permissions to read and update the resource.</p>
11
12
  * @example
12
13
  * Use a bare-bones client and the command you need to make an API call.
13
14
  * ```javascript
@@ -9,6 +9,7 @@ export * from "./commands/DeleteAttributeGroupCommand";
9
9
  export * from "./commands/DisassociateAttributeGroupCommand";
10
10
  export * from "./commands/DisassociateResourceCommand";
11
11
  export * from "./commands/GetApplicationCommand";
12
+ export * from "./commands/GetAssociatedResourceCommand";
12
13
  export * from "./commands/GetAttributeGroupCommand";
13
14
  export * from "./commands/ListApplicationsCommand";
14
15
  export * from "./pagination/ListApplicationsPaginator";
@@ -1,6 +1,6 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
2
  /**
3
- * <p>Represents a Service Catalog AppRegistry application that is the top-level node in a hierarchy of related
3
+ * <p>Represents a Amazon Web Services Service Catalog AppRegistry application that is the top-level node in a hierarchy of related
4
4
  * cloud resource abstractions.</p>
5
5
  */
6
6
  export interface Application {
@@ -42,7 +42,7 @@ export declare namespace Application {
42
42
  const filterSensitiveLog: (obj: Application) => any;
43
43
  }
44
44
  /**
45
- * <p>Summary of a Service Catalog AppRegistry application.</p>
45
+ * <p>Summary of a Amazon Web Services Service Catalog AppRegistry application.</p>
46
46
  */
47
47
  export interface ApplicationSummary {
48
48
  /**
@@ -219,7 +219,7 @@ export declare namespace ConflictException {
219
219
  const filterSensitiveLog: (obj: ConflictException) => any;
220
220
  }
221
221
  /**
222
- * <p>Represents a Service Catalog AppRegistry attribute group that is rich metadata which describes an application and its components.</p>
222
+ * <p>Represents a Amazon Web Services Service Catalog AppRegistry attribute group that is rich metadata which describes an application and its components.</p>
223
223
  */
224
224
  export interface AttributeGroup {
225
225
  /**
@@ -260,7 +260,7 @@ export declare namespace AttributeGroup {
260
260
  const filterSensitiveLog: (obj: AttributeGroup) => any;
261
261
  }
262
262
  /**
263
- * <p>Summary of a Service Catalog AppRegistry attribute group.</p>
263
+ * <p>Summary of a Amazon Web Services Service Catalog AppRegistry attribute group.</p>
264
264
  */
265
265
  export interface AttributeGroupSummary {
266
266
  /**
@@ -508,6 +508,64 @@ export declare namespace GetApplicationRequest {
508
508
  */
509
509
  const filterSensitiveLog: (obj: GetApplicationRequest) => any;
510
510
  }
511
+ export declare enum ResourceGroupState {
512
+ CREATE_COMPLETE = "CREATE_COMPLETE",
513
+ CREATE_FAILED = "CREATE_FAILED",
514
+ CREATING = "CREATING",
515
+ UPDATE_COMPLETE = "UPDATE_COMPLETE",
516
+ UPDATE_FAILED = "UPDATE_FAILED",
517
+ UPDATING = "UPDATING"
518
+ }
519
+ /**
520
+ * <p>The information about the resource group integration.</p>
521
+ */
522
+ export interface ResourceGroup {
523
+ /**
524
+ * <p>The state of the propagation process for the resource group. The states includes:</p>
525
+ * <p>
526
+ * <code>CREATING </code>if the resource group is in the process of being created.</p>
527
+ * <p>
528
+ * <code>CREATE_COMPLETE</code> if the resource group was created successfully.</p>
529
+ * <p>
530
+ * <code>CREATE_FAILED</code> if the resource group failed to be created.</p>
531
+ * <p>
532
+ * <code>UPDATING</code> if the resource group is in the process of being updated.</p>
533
+ * <p>
534
+ * <code>UPDATE_COMPLETE</code> if the resource group updated successfully.</p>
535
+ * <p>
536
+ * <code>UPDATE_FAILED</code> if the resource group could not update successfully.</p>
537
+ */
538
+ state?: ResourceGroupState | string;
539
+ /**
540
+ * <p>The Amazon resource name (ARN) of the resource group.</p>
541
+ */
542
+ arn?: string;
543
+ /**
544
+ * <p>The error message that generates when the propagation process for the resource group fails.</p>
545
+ */
546
+ errorMessage?: string;
547
+ }
548
+ export declare namespace ResourceGroup {
549
+ /**
550
+ * @internal
551
+ */
552
+ const filterSensitiveLog: (obj: ResourceGroup) => any;
553
+ }
554
+ /**
555
+ * <p> The information about the service integration.</p>
556
+ */
557
+ export interface Integrations {
558
+ /**
559
+ * <p> The information about the resource group integration.</p>
560
+ */
561
+ resourceGroup?: ResourceGroup;
562
+ }
563
+ export declare namespace Integrations {
564
+ /**
565
+ * @internal
566
+ */
567
+ const filterSensitiveLog: (obj: Integrations) => any;
568
+ }
511
569
  export interface GetApplicationResponse {
512
570
  /**
513
571
  * <p>The identifier of the application.</p>
@@ -543,6 +601,10 @@ export interface GetApplicationResponse {
543
601
  tags?: {
544
602
  [key: string]: string;
545
603
  };
604
+ /**
605
+ * <p>The information about the integration of the application with other services, such as Resource Groups.</p>
606
+ */
607
+ integrations?: Integrations;
546
608
  }
547
609
  export declare namespace GetApplicationResponse {
548
610
  /**
@@ -550,6 +612,81 @@ export declare namespace GetApplicationResponse {
550
612
  */
551
613
  const filterSensitiveLog: (obj: GetApplicationResponse) => any;
552
614
  }
615
+ export interface GetAssociatedResourceRequest {
616
+ /**
617
+ * <p>The name or ID of the application.</p>
618
+ */
619
+ application: string | undefined;
620
+ /**
621
+ * <p>The type of resource associated with the application.</p>
622
+ */
623
+ resourceType: ResourceType | string | undefined;
624
+ /**
625
+ * <p>The name or ID of the resource associated with the application.</p>
626
+ */
627
+ resource: string | undefined;
628
+ }
629
+ export declare namespace GetAssociatedResourceRequest {
630
+ /**
631
+ * @internal
632
+ */
633
+ const filterSensitiveLog: (obj: GetAssociatedResourceRequest) => any;
634
+ }
635
+ /**
636
+ * <p>The service integration information about the resource.</p>
637
+ */
638
+ export interface ResourceIntegrations {
639
+ /**
640
+ * <p>The information about the integration of Resource Groups.</p>
641
+ */
642
+ resourceGroup?: ResourceGroup;
643
+ }
644
+ export declare namespace ResourceIntegrations {
645
+ /**
646
+ * @internal
647
+ */
648
+ const filterSensitiveLog: (obj: ResourceIntegrations) => any;
649
+ }
650
+ /**
651
+ * <p> The information about the resource.</p>
652
+ */
653
+ export interface Resource {
654
+ /**
655
+ * <p>The name of the resource.</p>
656
+ */
657
+ name?: string;
658
+ /**
659
+ * <p>The Amazon resource name (ARN) of the resource.</p>
660
+ */
661
+ arn?: string;
662
+ /**
663
+ * <p>The time the resource was associated with the application.</p>
664
+ */
665
+ associationTime?: Date;
666
+ /**
667
+ * <p>The service integration information about the resource.
668
+ * </p>
669
+ */
670
+ integrations?: ResourceIntegrations;
671
+ }
672
+ export declare namespace Resource {
673
+ /**
674
+ * @internal
675
+ */
676
+ const filterSensitiveLog: (obj: Resource) => any;
677
+ }
678
+ export interface GetAssociatedResourceResponse {
679
+ /**
680
+ * <p>The resource associated with the application.</p>
681
+ */
682
+ resource?: Resource;
683
+ }
684
+ export declare namespace GetAssociatedResourceResponse {
685
+ /**
686
+ * @internal
687
+ */
688
+ const filterSensitiveLog: (obj: GetAssociatedResourceResponse) => any;
689
+ }
553
690
  export interface GetAttributeGroupRequest {
554
691
  /**
555
692
  * <p>The name or ID of the attribute group that holds the attributes to describe the application.</p>
@@ -693,7 +830,7 @@ export declare namespace ListAssociatedResourcesRequest {
693
830
  const filterSensitiveLog: (obj: ListAssociatedResourcesRequest) => any;
694
831
  }
695
832
  /**
696
- * <p>Information about the resource.</p>
833
+ * <p>The information about the resource.</p>
697
834
  */
698
835
  export interface ResourceInfo {
699
836
  /**
@@ -791,7 +928,7 @@ export interface SyncResourceRequest {
791
928
  */
792
929
  resourceType: ResourceType | string | undefined;
793
930
  /**
794
- * <p>An entity you can work with and specify with a name or ID. Examples include an Amazon EC2 instance, an AWS CloudFormation stack, or an Amazon S3 bucket.</p>
931
+ * <p>An entity you can work with and specify with a name or ID. Examples include an Amazon EC2 instance, an Amazon Web Services CloudFormation stack, or an Amazon S3 bucket.</p>
795
932
  */
796
933
  resource: string | undefined;
797
934
  }
@@ -7,6 +7,7 @@ import { DeleteAttributeGroupCommandInput, DeleteAttributeGroupCommandOutput } f
7
7
  import { DisassociateAttributeGroupCommandInput, DisassociateAttributeGroupCommandOutput } from "../commands/DisassociateAttributeGroupCommand";
8
8
  import { DisassociateResourceCommandInput, DisassociateResourceCommandOutput } from "../commands/DisassociateResourceCommand";
9
9
  import { GetApplicationCommandInput, GetApplicationCommandOutput } from "../commands/GetApplicationCommand";
10
+ import { GetAssociatedResourceCommandInput, GetAssociatedResourceCommandOutput } from "../commands/GetAssociatedResourceCommand";
10
11
  import { GetAttributeGroupCommandInput, GetAttributeGroupCommandOutput } from "../commands/GetAttributeGroupCommand";
11
12
  import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "../commands/ListApplicationsCommand";
12
13
  import { ListAssociatedAttributeGroupsCommandInput, ListAssociatedAttributeGroupsCommandOutput } from "../commands/ListAssociatedAttributeGroupsCommand";
@@ -29,6 +30,7 @@ export declare const serializeAws_restJson1DeleteAttributeGroupCommand: (input:
29
30
  export declare const serializeAws_restJson1DisassociateAttributeGroupCommand: (input: DisassociateAttributeGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
30
31
  export declare const serializeAws_restJson1DisassociateResourceCommand: (input: DisassociateResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
31
32
  export declare const serializeAws_restJson1GetApplicationCommand: (input: GetApplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
+ export declare const serializeAws_restJson1GetAssociatedResourceCommand: (input: GetAssociatedResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
32
34
  export declare const serializeAws_restJson1GetAttributeGroupCommand: (input: GetAttributeGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
35
  export declare const serializeAws_restJson1ListApplicationsCommand: (input: ListApplicationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
34
36
  export declare const serializeAws_restJson1ListAssociatedAttributeGroupsCommand: (input: ListAssociatedAttributeGroupsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -49,6 +51,7 @@ export declare const deserializeAws_restJson1DeleteAttributeGroupCommand: (outpu
49
51
  export declare const deserializeAws_restJson1DisassociateAttributeGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateAttributeGroupCommandOutput>;
50
52
  export declare const deserializeAws_restJson1DisassociateResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateResourceCommandOutput>;
51
53
  export declare const deserializeAws_restJson1GetApplicationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetApplicationCommandOutput>;
54
+ export declare const deserializeAws_restJson1GetAssociatedResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAssociatedResourceCommandOutput>;
52
55
  export declare const deserializeAws_restJson1GetAttributeGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAttributeGroupCommandOutput>;
53
56
  export declare const deserializeAws_restJson1ListApplicationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListApplicationsCommandOutput>;
54
57
  export declare const deserializeAws_restJson1ListAssociatedAttributeGroupsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssociatedAttributeGroupsCommandOutput>;
package/index.ts CHANGED
@@ -9,6 +9,7 @@ export * from "./commands/DeleteAttributeGroupCommand";
9
9
  export * from "./commands/DisassociateAttributeGroupCommand";
10
10
  export * from "./commands/DisassociateResourceCommand";
11
11
  export * from "./commands/GetApplicationCommand";
12
+ export * from "./commands/GetAssociatedResourceCommand";
12
13
  export * from "./commands/GetAttributeGroupCommand";
13
14
  export * from "./commands/ListApplicationsCommand";
14
15
  export * from "./pagination/ListApplicationsPaginator";