@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,7 +1,7 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
2
 
3
3
  /**
4
- * <p>Represents a Service Catalog AppRegistry application that is the top-level node in a hierarchy of related
4
+ * <p>Represents a Amazon Web Services Service Catalog AppRegistry application that is the top-level node in a hierarchy of related
5
5
  * cloud resource abstractions.</p>
6
6
  */
7
7
  export interface Application {
@@ -51,7 +51,7 @@ export namespace Application {
51
51
  }
52
52
 
53
53
  /**
54
- * <p>Summary of a Service Catalog AppRegistry application.</p>
54
+ * <p>Summary of a Amazon Web Services Service Catalog AppRegistry application.</p>
55
55
  */
56
56
  export interface ApplicationSummary {
57
57
  /**
@@ -279,7 +279,7 @@ export namespace ConflictException {
279
279
  }
280
280
 
281
281
  /**
282
- * <p>Represents a Service Catalog AppRegistry attribute group that is rich metadata which describes an application and its components.</p>
282
+ * <p>Represents a Amazon Web Services Service Catalog AppRegistry attribute group that is rich metadata which describes an application and its components.</p>
283
283
  */
284
284
  export interface AttributeGroup {
285
285
  /**
@@ -328,7 +328,7 @@ export namespace AttributeGroup {
328
328
  }
329
329
 
330
330
  /**
331
- * <p>Summary of a Service Catalog AppRegistry attribute group.</p>
331
+ * <p>Summary of a Amazon Web Services Service Catalog AppRegistry attribute group.</p>
332
332
  */
333
333
  export interface AttributeGroupSummary {
334
334
  /**
@@ -645,6 +645,75 @@ export namespace GetApplicationRequest {
645
645
  });
646
646
  }
647
647
 
648
+ export enum ResourceGroupState {
649
+ CREATE_COMPLETE = "CREATE_COMPLETE",
650
+ CREATE_FAILED = "CREATE_FAILED",
651
+ CREATING = "CREATING",
652
+ UPDATE_COMPLETE = "UPDATE_COMPLETE",
653
+ UPDATE_FAILED = "UPDATE_FAILED",
654
+ UPDATING = "UPDATING",
655
+ }
656
+
657
+ /**
658
+ * <p>The information about the resource group integration.</p>
659
+ */
660
+ export interface ResourceGroup {
661
+ /**
662
+ * <p>The state of the propagation process for the resource group. The states includes:</p>
663
+ * <p>
664
+ * <code>CREATING </code>if the resource group is in the process of being created.</p>
665
+ * <p>
666
+ * <code>CREATE_COMPLETE</code> if the resource group was created successfully.</p>
667
+ * <p>
668
+ * <code>CREATE_FAILED</code> if the resource group failed to be created.</p>
669
+ * <p>
670
+ * <code>UPDATING</code> if the resource group is in the process of being updated.</p>
671
+ * <p>
672
+ * <code>UPDATE_COMPLETE</code> if the resource group updated successfully.</p>
673
+ * <p>
674
+ * <code>UPDATE_FAILED</code> if the resource group could not update successfully.</p>
675
+ */
676
+ state?: ResourceGroupState | string;
677
+
678
+ /**
679
+ * <p>The Amazon resource name (ARN) of the resource group.</p>
680
+ */
681
+ arn?: string;
682
+
683
+ /**
684
+ * <p>The error message that generates when the propagation process for the resource group fails.</p>
685
+ */
686
+ errorMessage?: string;
687
+ }
688
+
689
+ export namespace ResourceGroup {
690
+ /**
691
+ * @internal
692
+ */
693
+ export const filterSensitiveLog = (obj: ResourceGroup): any => ({
694
+ ...obj,
695
+ });
696
+ }
697
+
698
+ /**
699
+ * <p> The information about the service integration.</p>
700
+ */
701
+ export interface Integrations {
702
+ /**
703
+ * <p> The information about the resource group integration.</p>
704
+ */
705
+ resourceGroup?: ResourceGroup;
706
+ }
707
+
708
+ export namespace Integrations {
709
+ /**
710
+ * @internal
711
+ */
712
+ export const filterSensitiveLog = (obj: Integrations): any => ({
713
+ ...obj,
714
+ });
715
+ }
716
+
648
717
  export interface GetApplicationResponse {
649
718
  /**
650
719
  * <p>The identifier of the application.</p>
@@ -685,6 +754,11 @@ export interface GetApplicationResponse {
685
754
  * <p>Key-value pairs associated with the application.</p>
686
755
  */
687
756
  tags?: { [key: string]: string };
757
+
758
+ /**
759
+ * <p>The information about the integration of the application with other services, such as Resource Groups.</p>
760
+ */
761
+ integrations?: Integrations;
688
762
  }
689
763
 
690
764
  export namespace GetApplicationResponse {
@@ -696,6 +770,102 @@ export namespace GetApplicationResponse {
696
770
  });
697
771
  }
698
772
 
773
+ export interface GetAssociatedResourceRequest {
774
+ /**
775
+ * <p>The name or ID of the application.</p>
776
+ */
777
+ application: string | undefined;
778
+
779
+ /**
780
+ * <p>The type of resource associated with the application.</p>
781
+ */
782
+ resourceType: ResourceType | string | undefined;
783
+
784
+ /**
785
+ * <p>The name or ID of the resource associated with the application.</p>
786
+ */
787
+ resource: string | undefined;
788
+ }
789
+
790
+ export namespace GetAssociatedResourceRequest {
791
+ /**
792
+ * @internal
793
+ */
794
+ export const filterSensitiveLog = (obj: GetAssociatedResourceRequest): any => ({
795
+ ...obj,
796
+ });
797
+ }
798
+
799
+ /**
800
+ * <p>The service integration information about the resource.</p>
801
+ */
802
+ export interface ResourceIntegrations {
803
+ /**
804
+ * <p>The information about the integration of Resource Groups.</p>
805
+ */
806
+ resourceGroup?: ResourceGroup;
807
+ }
808
+
809
+ export namespace ResourceIntegrations {
810
+ /**
811
+ * @internal
812
+ */
813
+ export const filterSensitiveLog = (obj: ResourceIntegrations): any => ({
814
+ ...obj,
815
+ });
816
+ }
817
+
818
+ /**
819
+ * <p> The information about the resource.</p>
820
+ */
821
+ export interface Resource {
822
+ /**
823
+ * <p>The name of the resource.</p>
824
+ */
825
+ name?: string;
826
+
827
+ /**
828
+ * <p>The Amazon resource name (ARN) of the resource.</p>
829
+ */
830
+ arn?: string;
831
+
832
+ /**
833
+ * <p>The time the resource was associated with the application.</p>
834
+ */
835
+ associationTime?: Date;
836
+
837
+ /**
838
+ * <p>The service integration information about the resource.
839
+ * </p>
840
+ */
841
+ integrations?: ResourceIntegrations;
842
+ }
843
+
844
+ export namespace Resource {
845
+ /**
846
+ * @internal
847
+ */
848
+ export const filterSensitiveLog = (obj: Resource): any => ({
849
+ ...obj,
850
+ });
851
+ }
852
+
853
+ export interface GetAssociatedResourceResponse {
854
+ /**
855
+ * <p>The resource associated with the application.</p>
856
+ */
857
+ resource?: Resource;
858
+ }
859
+
860
+ export namespace GetAssociatedResourceResponse {
861
+ /**
862
+ * @internal
863
+ */
864
+ export const filterSensitiveLog = (obj: GetAssociatedResourceResponse): any => ({
865
+ ...obj,
866
+ });
867
+ }
868
+
699
869
  export interface GetAttributeGroupRequest {
700
870
  /**
701
871
  * <p>The name or ID of the attribute group that holds the attributes to describe the application.</p>
@@ -879,7 +1049,7 @@ export namespace ListAssociatedResourcesRequest {
879
1049
  }
880
1050
 
881
1051
  /**
882
- * <p>Information about the resource.</p>
1052
+ * <p>The information about the resource.</p>
883
1053
  */
884
1054
  export interface ResourceInfo {
885
1055
  /**
@@ -1004,7 +1174,7 @@ export interface SyncResourceRequest {
1004
1174
  resourceType: ResourceType | string | undefined;
1005
1175
 
1006
1176
  /**
1007
- * <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>
1177
+ * <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>
1008
1178
  */
1009
1179
  resource: string | undefined;
1010
1180
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-service-catalog-appregistry",
3
3
  "description": "AWS SDK for JavaScript Service Catalog Appregistry Client for Node.js, Browser and React Native",
4
- "version": "3.28.0",
4
+ "version": "3.32.0",
5
5
  "scripts": {
6
6
  "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7
7
  "build-documentation": "yarn remove-documentation && typedoc ./",
@@ -27,39 +27,39 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "^1.0.0",
29
29
  "@aws-crypto/sha256-js": "^1.0.0",
30
- "@aws-sdk/client-sts": "3.28.0",
31
- "@aws-sdk/config-resolver": "3.28.0",
32
- "@aws-sdk/credential-provider-node": "3.28.0",
33
- "@aws-sdk/fetch-http-handler": "3.25.0",
34
- "@aws-sdk/hash-node": "3.25.0",
35
- "@aws-sdk/invalid-dependency": "3.25.0",
36
- "@aws-sdk/middleware-content-length": "3.25.0",
37
- "@aws-sdk/middleware-host-header": "3.25.0",
38
- "@aws-sdk/middleware-logger": "3.25.0",
39
- "@aws-sdk/middleware-retry": "3.28.0",
40
- "@aws-sdk/middleware-serde": "3.25.0",
41
- "@aws-sdk/middleware-signing": "3.28.0",
42
- "@aws-sdk/middleware-stack": "3.25.0",
43
- "@aws-sdk/middleware-user-agent": "3.25.0",
44
- "@aws-sdk/node-config-provider": "3.28.0",
45
- "@aws-sdk/node-http-handler": "3.25.0",
46
- "@aws-sdk/protocol-http": "3.25.0",
47
- "@aws-sdk/smithy-client": "3.28.0",
48
- "@aws-sdk/types": "3.25.0",
49
- "@aws-sdk/url-parser": "3.25.0",
50
- "@aws-sdk/util-base64-browser": "3.23.0",
51
- "@aws-sdk/util-base64-node": "3.23.0",
52
- "@aws-sdk/util-body-length-browser": "3.23.0",
53
- "@aws-sdk/util-body-length-node": "3.23.0",
54
- "@aws-sdk/util-user-agent-browser": "3.25.0",
55
- "@aws-sdk/util-user-agent-node": "3.28.0",
56
- "@aws-sdk/util-utf8-browser": "3.23.0",
57
- "@aws-sdk/util-utf8-node": "3.23.0",
30
+ "@aws-sdk/client-sts": "3.32.0",
31
+ "@aws-sdk/config-resolver": "3.32.0",
32
+ "@aws-sdk/credential-provider-node": "3.32.0",
33
+ "@aws-sdk/fetch-http-handler": "3.32.0",
34
+ "@aws-sdk/hash-node": "3.32.0",
35
+ "@aws-sdk/invalid-dependency": "3.32.0",
36
+ "@aws-sdk/middleware-content-length": "3.32.0",
37
+ "@aws-sdk/middleware-host-header": "3.32.0",
38
+ "@aws-sdk/middleware-logger": "3.32.0",
39
+ "@aws-sdk/middleware-retry": "3.32.0",
40
+ "@aws-sdk/middleware-serde": "3.32.0",
41
+ "@aws-sdk/middleware-signing": "3.32.0",
42
+ "@aws-sdk/middleware-stack": "3.32.0",
43
+ "@aws-sdk/middleware-user-agent": "3.32.0",
44
+ "@aws-sdk/node-config-provider": "3.32.0",
45
+ "@aws-sdk/node-http-handler": "3.32.0",
46
+ "@aws-sdk/protocol-http": "3.32.0",
47
+ "@aws-sdk/smithy-client": "3.32.0",
48
+ "@aws-sdk/types": "3.32.0",
49
+ "@aws-sdk/url-parser": "3.32.0",
50
+ "@aws-sdk/util-base64-browser": "3.32.0",
51
+ "@aws-sdk/util-base64-node": "3.32.0",
52
+ "@aws-sdk/util-body-length-browser": "3.32.0",
53
+ "@aws-sdk/util-body-length-node": "3.32.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.32.0",
55
+ "@aws-sdk/util-user-agent-node": "3.32.0",
56
+ "@aws-sdk/util-utf8-browser": "3.32.0",
57
+ "@aws-sdk/util-utf8-node": "3.32.0",
58
58
  "tslib": "^2.3.0",
59
59
  "uuid": "^8.3.2"
60
60
  },
61
61
  "devDependencies": {
62
- "@aws-sdk/client-documentation-generator": "3.23.0",
62
+ "@aws-sdk/client-documentation-generator": "3.32.0",
63
63
  "@types/node": "^12.7.5",
64
64
  "@types/uuid": "^8.3.0",
65
65
  "downlevel-dts": "0.7.0",
@@ -67,7 +67,7 @@
67
67
  "rimraf": "^3.0.0",
68
68
  "ts-jest": "^26.4.1",
69
69
  "typedoc": "^0.19.2",
70
- "typescript": "~4.3.2"
70
+ "typescript": "~4.3.5"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=10.0.0"