@pulumi/aws 7.45.0 → 7.46.0-alpha.1789046493

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 (119) hide show
  1. package/accountaccess/application.d.ts +4 -2
  2. package/accountaccess/application.d.ts.map +1 -1
  3. package/accountaccess/application.js +4 -2
  4. package/accountaccess/application.js.map +1 -1
  5. package/accountaccess/entitlement.d.ts +208 -0
  6. package/accountaccess/entitlement.d.ts.map +1 -0
  7. package/accountaccess/entitlement.js +203 -0
  8. package/accountaccess/entitlement.js.map +1 -0
  9. package/accountaccess/getApplication.d.ts +129 -0
  10. package/accountaccess/getApplication.d.ts.map +1 -0
  11. package/accountaccess/getApplication.js +107 -0
  12. package/accountaccess/getApplication.js.map +1 -0
  13. package/accountaccess/getEntitlements.d.ts +138 -0
  14. package/accountaccess/getEntitlements.d.ts.map +1 -0
  15. package/accountaccess/getEntitlements.js +131 -0
  16. package/accountaccess/getEntitlements.js.map +1 -0
  17. package/accountaccess/index.d.ts +9 -0
  18. package/accountaccess/index.d.ts.map +1 -1
  19. package/accountaccess/index.js +12 -1
  20. package/accountaccess/index.js.map +1 -1
  21. package/agentregistry/getRegistry.d.ts +134 -0
  22. package/agentregistry/getRegistry.d.ts.map +1 -0
  23. package/agentregistry/getRegistry.js +101 -0
  24. package/agentregistry/getRegistry.js.map +1 -0
  25. package/agentregistry/index.d.ts +7 -0
  26. package/agentregistry/index.d.ts.map +1 -0
  27. package/agentregistry/index.js +48 -0
  28. package/agentregistry/index.js.map +1 -0
  29. package/agentregistry/registry.d.ts +261 -0
  30. package/agentregistry/registry.d.ts.map +1 -0
  31. package/agentregistry/registry.js +200 -0
  32. package/agentregistry/registry.js.map +1 -0
  33. package/appconfig/hostedConfigurationVersion.d.ts +12 -0
  34. package/appconfig/hostedConfigurationVersion.d.ts.map +1 -1
  35. package/appconfig/hostedConfigurationVersion.js +2 -0
  36. package/appconfig/hostedConfigurationVersion.js.map +1 -1
  37. package/bedrock/agentcoreHarness.d.ts +9 -9
  38. package/bedrock/agentcoreHarness.d.ts.map +1 -1
  39. package/bedrock/agentcoreHarness.js +3 -0
  40. package/bedrock/agentcoreHarness.js.map +1 -1
  41. package/bedrock/agentcoreOauth2CredentialProvider.d.ts +16 -2
  42. package/bedrock/agentcoreOauth2CredentialProvider.d.ts.map +1 -1
  43. package/bedrock/agentcoreOauth2CredentialProvider.js +15 -2
  44. package/bedrock/agentcoreOauth2CredentialProvider.js.map +1 -1
  45. package/bedrock/agentcoreRegistry.d.ts +96 -10
  46. package/bedrock/agentcoreRegistry.d.ts.map +1 -1
  47. package/bedrock/agentcoreRegistry.js +42 -7
  48. package/bedrock/agentcoreRegistry.js.map +1 -1
  49. package/bedrockmodel/index.d.ts +3 -0
  50. package/bedrockmodel/index.d.ts.map +1 -1
  51. package/bedrockmodel/index.js +6 -1
  52. package/bedrockmodel/index.js.map +1 -1
  53. package/bedrockmodel/invocationJob.d.ts +282 -0
  54. package/bedrockmodel/invocationJob.d.ts.map +1 -0
  55. package/bedrockmodel/invocationJob.js +171 -0
  56. package/bedrockmodel/invocationJob.js.map +1 -0
  57. package/cloudwatch/metricAlarm.d.ts +35 -0
  58. package/cloudwatch/metricAlarm.d.ts.map +1 -1
  59. package/cloudwatch/metricAlarm.js +25 -0
  60. package/cloudwatch/metricAlarm.js.map +1 -1
  61. package/dms/dataProvider.d.ts +224 -0
  62. package/dms/dataProvider.d.ts.map +1 -0
  63. package/dms/dataProvider.js +157 -0
  64. package/dms/dataProvider.js.map +1 -0
  65. package/dms/index.d.ts +6 -0
  66. package/dms/index.d.ts.map +1 -1
  67. package/dms/index.js +11 -1
  68. package/dms/index.js.map +1 -1
  69. package/dms/instanceProfile.d.ts +231 -0
  70. package/dms/instanceProfile.d.ts.map +1 -0
  71. package/dms/instanceProfile.js +142 -0
  72. package/dms/instanceProfile.js.map +1 -0
  73. package/fis/index.d.ts +3 -0
  74. package/fis/index.d.ts.map +1 -1
  75. package/fis/index.js +6 -1
  76. package/fis/index.js.map +1 -1
  77. package/fis/safetyLeverState.d.ts +114 -0
  78. package/fis/safetyLeverState.d.ts.map +1 -0
  79. package/fis/safetyLeverState.js +112 -0
  80. package/fis/safetyLeverState.js.map +1 -0
  81. package/index.d.ts +2 -1
  82. package/index.d.ts.map +1 -1
  83. package/index.js +8 -6
  84. package/index.js.map +1 -1
  85. package/lambda/alias.d.ts +14 -2
  86. package/lambda/alias.d.ts.map +1 -1
  87. package/lambda/alias.js +14 -2
  88. package/lambda/alias.js.map +1 -1
  89. package/msk/replicator.d.ts +123 -3
  90. package/msk/replicator.d.ts.map +1 -1
  91. package/msk/replicator.js +120 -0
  92. package/msk/replicator.js.map +1 -1
  93. package/package.json +2 -2
  94. package/rds/cluster.d.ts +15 -3
  95. package/rds/cluster.d.ts.map +1 -1
  96. package/rds/cluster.js +2 -0
  97. package/rds/cluster.js.map +1 -1
  98. package/rds/clusterInstance.d.ts +21 -9
  99. package/rds/clusterInstance.d.ts.map +1 -1
  100. package/rds/clusterInstance.js +2 -0
  101. package/rds/clusterInstance.js.map +1 -1
  102. package/rds/getEvents.d.ts +160 -0
  103. package/rds/getEvents.d.ts.map +1 -0
  104. package/rds/getEvents.js +123 -0
  105. package/rds/getEvents.js.map +1 -0
  106. package/rds/index.d.ts +3 -0
  107. package/rds/index.d.ts.map +1 -1
  108. package/rds/index.js +5 -2
  109. package/rds/index.js.map +1 -1
  110. package/rds/instance.d.ts +12 -0
  111. package/rds/instance.d.ts.map +1 -1
  112. package/rds/instance.js +2 -0
  113. package/rds/instance.js.map +1 -1
  114. package/types/input.d.ts +1002 -14
  115. package/types/input.d.ts.map +1 -1
  116. package/types/input.js.map +1 -1
  117. package/types/output.d.ts +1164 -14
  118. package/types/output.d.ts.map +1 -1
  119. package/types/output.js.map +1 -1
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getApplicationOutput = exports.getApplication = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Looks up an existing AWS Account Access Application. Lookup is by Application ARN or by IAM Identity Center instance ARN (one Application per instance).
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ### By Application ARN
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as aws from "@pulumi/aws";
41
+ *
42
+ * const example = aws.accountaccess.getApplication({
43
+ * arn: "arn:aws:account-access:us-east-1:123456789012:application/aam-0123456789abcdef",
44
+ * });
45
+ * ```
46
+ *
47
+ * ### By Identity Center Instance
48
+ *
49
+ * ```typescript
50
+ * import * as pulumi from "@pulumi/pulumi";
51
+ * import * as aws from "@pulumi/aws";
52
+ *
53
+ * const example = aws.ssoadmin.getInstances({});
54
+ * const exampleGetApplication = example.then(example => aws.accountaccess.getApplication({
55
+ * identityCenterInstanceArn: example.arns?.[0],
56
+ * }));
57
+ * ```
58
+ */
59
+ function getApplication(args, opts) {
60
+ args = args || {};
61
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
62
+ return pulumi.runtime.invoke("aws:accountaccess/getApplication:getApplication", {
63
+ "arn": args.arn,
64
+ "identityCenterInstanceArn": args.identityCenterInstanceArn,
65
+ "region": args.region,
66
+ }, opts);
67
+ }
68
+ exports.getApplication = getApplication;
69
+ /**
70
+ * Looks up an existing AWS Account Access Application. Lookup is by Application ARN or by IAM Identity Center instance ARN (one Application per instance).
71
+ *
72
+ * ## Example Usage
73
+ *
74
+ * ### By Application ARN
75
+ *
76
+ * ```typescript
77
+ * import * as pulumi from "@pulumi/pulumi";
78
+ * import * as aws from "@pulumi/aws";
79
+ *
80
+ * const example = aws.accountaccess.getApplication({
81
+ * arn: "arn:aws:account-access:us-east-1:123456789012:application/aam-0123456789abcdef",
82
+ * });
83
+ * ```
84
+ *
85
+ * ### By Identity Center Instance
86
+ *
87
+ * ```typescript
88
+ * import * as pulumi from "@pulumi/pulumi";
89
+ * import * as aws from "@pulumi/aws";
90
+ *
91
+ * const example = aws.ssoadmin.getInstances({});
92
+ * const exampleGetApplication = example.then(example => aws.accountaccess.getApplication({
93
+ * identityCenterInstanceArn: example.arns?.[0],
94
+ * }));
95
+ * ```
96
+ */
97
+ function getApplicationOutput(args, opts) {
98
+ args = args || {};
99
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
100
+ return pulumi.runtime.invokeOutput("aws:accountaccess/getApplication:getApplication", {
101
+ "arn": args.arn,
102
+ "identityCenterInstanceArn": args.identityCenterInstanceArn,
103
+ "region": args.region,
104
+ }, opts);
105
+ }
106
+ exports.getApplicationOutput = getApplicationOutput;
107
+ //# sourceMappingURL=getApplication.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getApplication.js","sourceRoot":"","sources":["../../accountaccess/getApplication.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,2BAA2B,EAAE,IAAI,CAAC,yBAAyB;QAC3D,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wCAQC;AAoDD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAAiC;IACnG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iDAAiD,EAAE;QAClF,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,2BAA2B,EAAE,IAAI,CAAC,yBAAyB;QAC3D,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oDAQC"}
@@ -0,0 +1,138 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Lists AWS Account Access Entitlements for a given Application.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ### Filter by Principal
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as aws from "@pulumi/aws";
14
+ *
15
+ * const example = aws.accountaccess.getEntitlements({
16
+ * filter: {
17
+ * principalRole: {
18
+ * principal: {
19
+ * identityCenter: {
20
+ * userId: "11111111-2222-3333-4444-555555555555",
21
+ * },
22
+ * },
23
+ * },
24
+ * },
25
+ * applicationArn: exampleAwsAccountaccessApplication.arn,
26
+ * });
27
+ * ```
28
+ *
29
+ * ### Filter by Target Account
30
+ *
31
+ * ```typescript
32
+ * import * as pulumi from "@pulumi/pulumi";
33
+ * import * as aws from "@pulumi/aws";
34
+ *
35
+ * const example = aws.accountaccess.getEntitlements({
36
+ * filter: {
37
+ * principalRole: {
38
+ * accountId: "123456789012",
39
+ * },
40
+ * },
41
+ * applicationArn: exampleAwsAccountaccessApplication.arn,
42
+ * });
43
+ * ```
44
+ */
45
+ export declare function getEntitlements(args: GetEntitlementsArgs, opts?: pulumi.InvokeOptions): Promise<GetEntitlementsResult>;
46
+ /**
47
+ * A collection of arguments for invoking getEntitlements.
48
+ */
49
+ export interface GetEntitlementsArgs {
50
+ /**
51
+ * ARN of the parent Application to list Entitlements within.
52
+ */
53
+ applicationArn: string;
54
+ /**
55
+ * Filter criteria to narrow the entitlements returned. You can filter by principal, IAM role, or account. See `filter` Block below.
56
+ *
57
+ * The following arguments are optional:
58
+ */
59
+ filter: inputs.accountaccess.GetEntitlementsFilter;
60
+ /**
61
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
62
+ */
63
+ region?: string;
64
+ }
65
+ /**
66
+ * A collection of values returned by getEntitlements.
67
+ */
68
+ export interface GetEntitlementsResult {
69
+ readonly applicationArn: string;
70
+ /**
71
+ * List of matching Entitlements. See `entitlements` Block below.
72
+ */
73
+ readonly entitlements: outputs.accountaccess.GetEntitlementsEntitlement[];
74
+ readonly filter: outputs.accountaccess.GetEntitlementsFilter;
75
+ readonly region: string;
76
+ }
77
+ /**
78
+ * Lists AWS Account Access Entitlements for a given Application.
79
+ *
80
+ * ## Example Usage
81
+ *
82
+ * ### Filter by Principal
83
+ *
84
+ * ```typescript
85
+ * import * as pulumi from "@pulumi/pulumi";
86
+ * import * as aws from "@pulumi/aws";
87
+ *
88
+ * const example = aws.accountaccess.getEntitlements({
89
+ * filter: {
90
+ * principalRole: {
91
+ * principal: {
92
+ * identityCenter: {
93
+ * userId: "11111111-2222-3333-4444-555555555555",
94
+ * },
95
+ * },
96
+ * },
97
+ * },
98
+ * applicationArn: exampleAwsAccountaccessApplication.arn,
99
+ * });
100
+ * ```
101
+ *
102
+ * ### Filter by Target Account
103
+ *
104
+ * ```typescript
105
+ * import * as pulumi from "@pulumi/pulumi";
106
+ * import * as aws from "@pulumi/aws";
107
+ *
108
+ * const example = aws.accountaccess.getEntitlements({
109
+ * filter: {
110
+ * principalRole: {
111
+ * accountId: "123456789012",
112
+ * },
113
+ * },
114
+ * applicationArn: exampleAwsAccountaccessApplication.arn,
115
+ * });
116
+ * ```
117
+ */
118
+ export declare function getEntitlementsOutput(args: GetEntitlementsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEntitlementsResult>;
119
+ /**
120
+ * A collection of arguments for invoking getEntitlements.
121
+ */
122
+ export interface GetEntitlementsOutputArgs {
123
+ /**
124
+ * ARN of the parent Application to list Entitlements within.
125
+ */
126
+ applicationArn: pulumi.Input<string>;
127
+ /**
128
+ * Filter criteria to narrow the entitlements returned. You can filter by principal, IAM role, or account. See `filter` Block below.
129
+ *
130
+ * The following arguments are optional:
131
+ */
132
+ filter: pulumi.Input<inputs.accountaccess.GetEntitlementsFilterArgs>;
133
+ /**
134
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
135
+ */
136
+ region?: pulumi.Input<string | undefined>;
137
+ }
138
+ //# sourceMappingURL=getEntitlements.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,CAAC;IACrC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,aAAa,CAAC,yBAAyB,CAAC,CAAC;IACrE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC7C"}
@@ -0,0 +1,131 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getEntitlementsOutput = exports.getEntitlements = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Lists AWS Account Access Entitlements for a given Application.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ### Filter by Principal
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as aws from "@pulumi/aws";
41
+ *
42
+ * const example = aws.accountaccess.getEntitlements({
43
+ * filter: {
44
+ * principalRole: {
45
+ * principal: {
46
+ * identityCenter: {
47
+ * userId: "11111111-2222-3333-4444-555555555555",
48
+ * },
49
+ * },
50
+ * },
51
+ * },
52
+ * applicationArn: exampleAwsAccountaccessApplication.arn,
53
+ * });
54
+ * ```
55
+ *
56
+ * ### Filter by Target Account
57
+ *
58
+ * ```typescript
59
+ * import * as pulumi from "@pulumi/pulumi";
60
+ * import * as aws from "@pulumi/aws";
61
+ *
62
+ * const example = aws.accountaccess.getEntitlements({
63
+ * filter: {
64
+ * principalRole: {
65
+ * accountId: "123456789012",
66
+ * },
67
+ * },
68
+ * applicationArn: exampleAwsAccountaccessApplication.arn,
69
+ * });
70
+ * ```
71
+ */
72
+ function getEntitlements(args, opts) {
73
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
74
+ return pulumi.runtime.invoke("aws:accountaccess/getEntitlements:getEntitlements", {
75
+ "applicationArn": args.applicationArn,
76
+ "filter": args.filter,
77
+ "region": args.region,
78
+ }, opts);
79
+ }
80
+ exports.getEntitlements = getEntitlements;
81
+ /**
82
+ * Lists AWS Account Access Entitlements for a given Application.
83
+ *
84
+ * ## Example Usage
85
+ *
86
+ * ### Filter by Principal
87
+ *
88
+ * ```typescript
89
+ * import * as pulumi from "@pulumi/pulumi";
90
+ * import * as aws from "@pulumi/aws";
91
+ *
92
+ * const example = aws.accountaccess.getEntitlements({
93
+ * filter: {
94
+ * principalRole: {
95
+ * principal: {
96
+ * identityCenter: {
97
+ * userId: "11111111-2222-3333-4444-555555555555",
98
+ * },
99
+ * },
100
+ * },
101
+ * },
102
+ * applicationArn: exampleAwsAccountaccessApplication.arn,
103
+ * });
104
+ * ```
105
+ *
106
+ * ### Filter by Target Account
107
+ *
108
+ * ```typescript
109
+ * import * as pulumi from "@pulumi/pulumi";
110
+ * import * as aws from "@pulumi/aws";
111
+ *
112
+ * const example = aws.accountaccess.getEntitlements({
113
+ * filter: {
114
+ * principalRole: {
115
+ * accountId: "123456789012",
116
+ * },
117
+ * },
118
+ * applicationArn: exampleAwsAccountaccessApplication.arn,
119
+ * });
120
+ * ```
121
+ */
122
+ function getEntitlementsOutput(args, opts) {
123
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
124
+ return pulumi.runtime.invokeOutput("aws:accountaccess/getEntitlements:getEntitlements", {
125
+ "applicationArn": args.applicationArn,
126
+ "filter": args.filter,
127
+ "region": args.region,
128
+ }, opts);
129
+ }
130
+ exports.getEntitlementsOutput = getEntitlementsOutput;
131
+ //# sourceMappingURL=getEntitlements.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getEntitlements.js","sourceRoot":"","sources":["../../accountaccess/getEntitlements.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0CAOC;AAkCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mDAAmD,EAAE;QACpF,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sDAOC"}
@@ -1,4 +1,13 @@
1
1
  export { ApplicationArgs, ApplicationState } from "./application";
2
2
  export type Application = import("./application").Application;
3
3
  export declare const Application: typeof import("./application").Application;
4
+ export { EntitlementArgs, EntitlementState } from "./entitlement";
5
+ export type Entitlement = import("./entitlement").Entitlement;
6
+ export declare const Entitlement: typeof import("./entitlement").Entitlement;
7
+ export { GetApplicationArgs, GetApplicationResult, GetApplicationOutputArgs } from "./getApplication";
8
+ export declare const getApplication: typeof import("./getApplication").getApplication;
9
+ export declare const getApplicationOutput: typeof import("./getApplication").getApplicationOutput;
10
+ export { GetEntitlementsArgs, GetEntitlementsResult, GetEntitlementsOutputArgs } from "./getEntitlements";
11
+ export declare const getEntitlements: typeof import("./getEntitlements").getEntitlements;
12
+ export declare const getEntitlementsOutput: typeof import("./getEntitlements").getEntitlementsOutput;
4
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../accountaccess/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAClE,MAAM,MAAM,WAAW,GAAG,OAAO,eAAe,EAAE,WAAW,CAAC;AAC9D,eAAO,MAAM,WAAW,EAAE,cAAc,eAAe,EAAE,WAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../accountaccess/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAClE,MAAM,MAAM,WAAW,GAAG,OAAO,eAAe,EAAE,WAAW,CAAC;AAC9D,eAAO,MAAM,WAAW,EAAE,cAAc,eAAe,EAAE,WAAyB,CAAC;AAGnF,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAClE,MAAM,MAAM,WAAW,GAAG,OAAO,eAAe,EAAE,WAAW,CAAC;AAC9D,eAAO,MAAM,WAAW,EAAE,cAAc,eAAe,EAAE,WAAyB,CAAC;AAGnF,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AACtG,eAAO,MAAM,cAAc,EAAE,cAAc,kBAAkB,EAAE,cAA4B,CAAC;AAC5F,eAAO,MAAM,oBAAoB,EAAE,cAAc,kBAAkB,EAAE,oBAAkC,CAAC;AAGxG,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAC1G,eAAO,MAAM,eAAe,EAAE,cAAc,mBAAmB,EAAE,eAA6B,CAAC;AAC/F,eAAO,MAAM,qBAAqB,EAAE,cAAc,mBAAmB,EAAE,qBAAmC,CAAC"}
@@ -25,21 +25,32 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  return result;
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.Application = void 0;
28
+ exports.getEntitlementsOutput = exports.getEntitlements = exports.getApplicationOutput = exports.getApplication = exports.Entitlement = exports.Application = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("../utilities"));
31
31
  exports.Application = null;
32
32
  utilities.lazyLoad(exports, ["Application"], () => require("./application"));
33
+ exports.Entitlement = null;
34
+ utilities.lazyLoad(exports, ["Entitlement"], () => require("./entitlement"));
35
+ exports.getApplication = null;
36
+ exports.getApplicationOutput = null;
37
+ utilities.lazyLoad(exports, ["getApplication", "getApplicationOutput"], () => require("./getApplication"));
38
+ exports.getEntitlements = null;
39
+ exports.getEntitlementsOutput = null;
40
+ utilities.lazyLoad(exports, ["getEntitlements", "getEntitlementsOutput"], () => require("./getEntitlements"));
33
41
  const _module = {
34
42
  version: utilities.getVersion(),
35
43
  construct: (name, type, urn) => {
36
44
  switch (type) {
37
45
  case "aws:accountaccess/application:Application":
38
46
  return new exports.Application(name, undefined, { urn });
47
+ case "aws:accountaccess/entitlement:Entitlement":
48
+ return new exports.Entitlement(name, undefined, { urn });
39
49
  default:
40
50
  throw new Error(`unknown resource type ${type}`);
41
51
  }
42
52
  },
43
53
  };
44
54
  pulumi.runtime.registerResourceModule("aws", "accountaccess/application", _module);
55
+ pulumi.runtime.registerResourceModule("aws", "accountaccess/entitlement", _module);
45
56
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../accountaccess/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAK7B,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAG7E,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,2CAA2C;gBAC5C,OAAO,IAAI,mBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,EA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AC5C,OAAO,IAAI,mBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,134 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Provides details about an AWS Agent Registry registry.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ### Basic Usage
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as aws from "@pulumi/aws";
13
+ *
14
+ * const example = aws.agentregistry.getRegistry({
15
+ * registryId: "registry-id-12345678",
16
+ * });
17
+ * ```
18
+ *
19
+ * ### Lookup by ARN
20
+ *
21
+ * ```typescript
22
+ * import * as pulumi from "@pulumi/pulumi";
23
+ * import * as aws from "@pulumi/aws";
24
+ *
25
+ * const example = aws.agentregistry.getRegistry({
26
+ * registryId: "arn:aws:agent-registry:us-west-2:123456789012:registry/registry-id-12345678",
27
+ * });
28
+ * ```
29
+ */
30
+ export declare function getRegistry(args: GetRegistryArgs, opts?: pulumi.InvokeOptions): Promise<GetRegistryResult>;
31
+ /**
32
+ * A collection of arguments for invoking getRegistry.
33
+ */
34
+ export interface GetRegistryArgs {
35
+ /**
36
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
37
+ */
38
+ region?: string;
39
+ /**
40
+ * Identifier of the registry to retrieve. Accepts a registry ID or ARN.
41
+ *
42
+ * The following arguments are optional:
43
+ */
44
+ registryId: string;
45
+ }
46
+ /**
47
+ * A collection of values returned by getRegistry.
48
+ */
49
+ export interface GetRegistryResult {
50
+ /**
51
+ * Approval configuration for registry records. See below.
52
+ */
53
+ readonly approvalConfigurations: outputs.agentregistry.GetRegistryApprovalConfiguration[];
54
+ /**
55
+ * Timestamp when the registry was created.
56
+ */
57
+ readonly createdAt: string;
58
+ /**
59
+ * Description of the registry.
60
+ */
61
+ readonly description: string;
62
+ /**
63
+ * Discovery configuration for the registry. See below.
64
+ */
65
+ readonly discoveryConfigurations: outputs.agentregistry.GetRegistryDiscoveryConfiguration[];
66
+ /**
67
+ * Name of the registry.
68
+ */
69
+ readonly name: string;
70
+ readonly region: string;
71
+ /**
72
+ * ARN of the registry.
73
+ */
74
+ readonly registryArn: string;
75
+ readonly registryId: string;
76
+ /**
77
+ * Current status of the registry. Valid values: `CREATING`, `READY`, `UPDATING`, `DELETING`, `CREATE_FAILED`, `UPDATE_FAILED`, `DELETE_FAILED`.
78
+ */
79
+ readonly status: string;
80
+ /**
81
+ * Map of tags assigned to the registry.
82
+ */
83
+ readonly tags: {
84
+ [key: string]: string;
85
+ };
86
+ /**
87
+ * Timestamp when the registry was last updated.
88
+ */
89
+ readonly updatedAt: string;
90
+ }
91
+ /**
92
+ * Provides details about an AWS Agent Registry registry.
93
+ *
94
+ * ## Example Usage
95
+ *
96
+ * ### Basic Usage
97
+ *
98
+ * ```typescript
99
+ * import * as pulumi from "@pulumi/pulumi";
100
+ * import * as aws from "@pulumi/aws";
101
+ *
102
+ * const example = aws.agentregistry.getRegistry({
103
+ * registryId: "registry-id-12345678",
104
+ * });
105
+ * ```
106
+ *
107
+ * ### Lookup by ARN
108
+ *
109
+ * ```typescript
110
+ * import * as pulumi from "@pulumi/pulumi";
111
+ * import * as aws from "@pulumi/aws";
112
+ *
113
+ * const example = aws.agentregistry.getRegistry({
114
+ * registryId: "arn:aws:agent-registry:us-west-2:123456789012:registry/registry-id-12345678",
115
+ * });
116
+ * ```
117
+ */
118
+ export declare function getRegistryOutput(args: GetRegistryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRegistryResult>;
119
+ /**
120
+ * A collection of arguments for invoking getRegistry.
121
+ */
122
+ export interface GetRegistryOutputArgs {
123
+ /**
124
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
125
+ */
126
+ region?: pulumi.Input<string | undefined>;
127
+ /**
128
+ * Identifier of the registry to retrieve. Accepts a registry ID or ARN.
129
+ *
130
+ * The following arguments are optional:
131
+ */
132
+ registryId: pulumi.Input<string>;
133
+ }
134
+ //# sourceMappingURL=getRegistry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRegistry.d.ts","sourceRoot":"","sources":["../../agentregistry/getRegistry.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAI3C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAM1G;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,QAAQ,CAAC,sBAAsB,EAAE,OAAO,CAAC,aAAa,CAAC,gCAAgC,EAAE,CAAC;IAC1F;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,uBAAuB,EAAE,OAAO,CAAC,aAAa,CAAC,iCAAi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