@pulumi/aws-native 0.112.0-alpha.1721397480 → 0.112.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.
- package/applicationautoscaling/getScalingPolicy.d.ts +56 -11
- package/applicationautoscaling/getScalingPolicy.js +4 -2
- package/applicationautoscaling/getScalingPolicy.js.map +1 -1
- package/applicationautoscaling/scalingPolicy.d.ts +101 -22
- package/applicationautoscaling/scalingPolicy.js +2 -1
- package/applicationautoscaling/scalingPolicy.js.map +1 -1
- package/backup/backupVault.d.ts +2 -2
- package/backup/getBackupVault.d.ts +2 -2
- package/bedrock/flow.d.ts +133 -0
- package/bedrock/flow.js +89 -0
- package/bedrock/flow.js.map +1 -0
- package/bedrock/flowAlias.d.ts +93 -0
- package/bedrock/flowAlias.js +82 -0
- package/bedrock/flowAlias.js.map +1 -0
- package/bedrock/flowVersion.d.ts +76 -0
- package/bedrock/flowVersion.js +77 -0
- package/bedrock/flowVersion.js.map +1 -0
- package/bedrock/getFlow.d.ts +77 -0
- package/bedrock/getFlow.js +25 -0
- package/bedrock/getFlow.js.map +1 -0
- package/bedrock/getFlowAlias.d.ts +67 -0
- package/bedrock/getFlowAlias.js +26 -0
- package/bedrock/getFlowAlias.js.map +1 -0
- package/bedrock/getFlowVersion.d.ts +58 -0
- package/bedrock/getFlowVersion.js +26 -0
- package/bedrock/getFlowVersion.js.map +1 -0
- package/bedrock/getPrompt.d.ts +67 -0
- package/bedrock/getPrompt.js +25 -0
- package/bedrock/getPrompt.js.map +1 -0
- package/bedrock/getPromptVersion.d.ts +56 -0
- package/bedrock/getPromptVersion.js +25 -0
- package/bedrock/getPromptVersion.js.map +1 -0
- package/bedrock/index.d.ts +30 -0
- package/bedrock/index.js +36 -1
- package/bedrock/index.js.map +1 -1
- package/bedrock/prompt.d.ts +101 -0
- package/bedrock/prompt.js +76 -0
- package/bedrock/prompt.js.map +1 -0
- package/bedrock/promptVersion.d.ts +82 -0
- package/bedrock/promptVersion.js +79 -0
- package/bedrock/promptVersion.js.map +1 -0
- package/dms/replicationConfig.d.ts +13 -13
- package/dms/replicationConfig.js +18 -0
- package/dms/replicationConfig.js.map +1 -1
- package/ec2/eipAssociation.d.ts +13 -16
- package/ec2/eipAssociation.js +2 -1
- package/ec2/eipAssociation.js.map +1 -1
- package/ec2/getEipAssociation.d.ts +7 -5
- package/ec2/getEipAssociation.js +4 -2
- package/ec2/getEipAssociation.js.map +1 -1
- package/ec2/getNetworkInterfaceAttachment.d.ts +3 -3
- package/ec2/getNetworkInterfaceAttachment.js +2 -2
- package/ec2/networkInterfaceAttachment.d.ts +5 -5
- package/ec2/networkInterfaceAttachment.js +1 -1
- package/ecr/getRepositoryCreationTemplate.d.ts +4 -0
- package/ecr/getRepositoryCreationTemplate.js.map +1 -1
- package/ecr/repositoryCreationTemplate.d.ts +8 -0
- package/ecr/repositoryCreationTemplate.js +2 -0
- package/ecr/repositoryCreationTemplate.js.map +1 -1
- package/eks/cluster.d.ts +2 -0
- package/eks/cluster.js +2 -0
- package/eks/cluster.js.map +1 -1
- package/eks/getCluster.d.ts +1 -0
- package/eks/getCluster.js.map +1 -1
- package/lightsail/alarm.d.ts +2 -2
- package/lightsail/certificate.d.ts +1 -1
- package/lightsail/certificate.js +1 -1
- package/lightsail/getCertificate.d.ts +2 -2
- package/lightsail/getCertificate.js +2 -2
- package/mediaconnect/flowOutput.d.ts +8 -0
- package/mediaconnect/flowOutput.js +2 -0
- package/mediaconnect/flowOutput.js.map +1 -1
- package/mediapackagev2/channel.d.ts +3 -0
- package/mediapackagev2/channel.js +3 -1
- package/mediapackagev2/channel.js.map +1 -1
- package/mediapackagev2/getOriginEndpoint.d.ts +1 -0
- package/mediapackagev2/getOriginEndpoint.js.map +1 -1
- package/mediapackagev2/originEndpoint.d.ts +2 -0
- package/mediapackagev2/originEndpoint.js +2 -0
- package/mediapackagev2/originEndpoint.js.map +1 -1
- package/mwaa/environment.d.ts +2 -2
- package/mwaa/getEnvironment.d.ts +1 -1
- package/package.json +3 -3
- package/package.json.dev +2 -2
- package/rds/dbCluster.d.ts +2 -2
- package/rds/dbInstance.d.ts +0 -8
- package/rds/dbInstance.js.map +1 -1
- package/rds/getDbInstance.d.ts +0 -3
- package/rds/getDbInstance.js.map +1 -1
- package/secretsmanager/getResourcePolicy.d.ts +33 -0
- package/secretsmanager/getResourcePolicy.js +25 -0
- package/secretsmanager/getResourcePolicy.js.map +1 -0
- package/secretsmanager/index.d.ts +6 -0
- package/secretsmanager/index.js +8 -1
- package/secretsmanager/index.js.map +1 -1
- package/secretsmanager/resourcePolicy.d.ts +65 -0
- package/secretsmanager/resourcePolicy.js +70 -0
- package/secretsmanager/resourcePolicy.js.map +1 -0
- package/types/enums/bedrock/index.d.ts +112 -0
- package/types/enums/bedrock/index.js +65 -1
- package/types/enums/bedrock/index.js.map +1 -1
- package/types/enums/eks/index.d.ts +8 -0
- package/types/enums/eks/index.js +5 -1
- package/types/enums/eks/index.js.map +1 -1
- package/types/enums/mediaconnect/index.d.ts +8 -0
- package/types/enums/mediaconnect/index.js +5 -1
- package/types/enums/mediaconnect/index.js.map +1 -1
- package/types/enums/mediapackagev2/index.d.ts +12 -0
- package/types/enums/mediapackagev2/index.js +11 -1
- package/types/enums/mediapackagev2/index.js.map +1 -1
- package/types/input.d.ts +623 -46
- package/types/output.d.ts +1041 -46
- package/workspacesweb/getUserSettings.d.ts +4 -0
- package/workspacesweb/getUserSettings.js.map +1 -1
- package/workspacesweb/userSettings.d.ts +8 -0
- package/workspacesweb/userSettings.js +2 -0
- package/workspacesweb/userSettings.js.map +1 -1
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Definition of AWS::Bedrock::FlowAlias Resource Type
|
|
6
|
+
*/
|
|
7
|
+
export declare class FlowAlias extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing FlowAlias resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
15
|
+
*/
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): FlowAlias;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of FlowAlias. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is FlowAlias;
|
|
22
|
+
/**
|
|
23
|
+
* Arn of the Flow Alias
|
|
24
|
+
*/
|
|
25
|
+
readonly arn: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* Id for a Flow Alias generated at the server side.
|
|
28
|
+
*/
|
|
29
|
+
readonly awsId: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Time Stamp.
|
|
32
|
+
*/
|
|
33
|
+
readonly createdAt: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* Description of the Resource.
|
|
36
|
+
*/
|
|
37
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* Arn representation of the Flow
|
|
40
|
+
*/
|
|
41
|
+
readonly flowArn: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Identifier for a flow resource.
|
|
44
|
+
*/
|
|
45
|
+
readonly flowId: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Name for a resource.
|
|
48
|
+
*/
|
|
49
|
+
readonly name: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Routing configuration for a Flow alias.
|
|
52
|
+
*/
|
|
53
|
+
readonly routingConfiguration: pulumi.Output<outputs.bedrock.FlowAliasRoutingConfigurationListItem[]>;
|
|
54
|
+
readonly tags: pulumi.Output<{
|
|
55
|
+
[key: string]: string;
|
|
56
|
+
} | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* Time Stamp.
|
|
59
|
+
*/
|
|
60
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Create a FlowAlias resource with the given unique name, arguments, and options.
|
|
63
|
+
*
|
|
64
|
+
* @param name The _unique_ name of the resource.
|
|
65
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
66
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
67
|
+
*/
|
|
68
|
+
constructor(name: string, args: FlowAliasArgs, opts?: pulumi.CustomResourceOptions);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* The set of arguments for constructing a FlowAlias resource.
|
|
72
|
+
*/
|
|
73
|
+
export interface FlowAliasArgs {
|
|
74
|
+
/**
|
|
75
|
+
* Description of the Resource.
|
|
76
|
+
*/
|
|
77
|
+
description?: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Arn representation of the Flow
|
|
80
|
+
*/
|
|
81
|
+
flowArn: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Name for a resource.
|
|
84
|
+
*/
|
|
85
|
+
name?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Routing configuration for a Flow alias.
|
|
88
|
+
*/
|
|
89
|
+
routingConfiguration: pulumi.Input<pulumi.Input<inputs.bedrock.FlowAliasRoutingConfigurationListItemArgs>[]>;
|
|
90
|
+
tags?: pulumi.Input<{
|
|
91
|
+
[key: string]: pulumi.Input<string>;
|
|
92
|
+
}>;
|
|
93
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.FlowAlias = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Definition of AWS::Bedrock::FlowAlias Resource Type
|
|
10
|
+
*/
|
|
11
|
+
class FlowAlias extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing FlowAlias resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name, id, opts) {
|
|
21
|
+
return new FlowAlias(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of FlowAlias. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === FlowAlias.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a FlowAlias resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (!opts.id) {
|
|
44
|
+
if ((!args || args.flowArn === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'flowArn'");
|
|
46
|
+
}
|
|
47
|
+
if ((!args || args.routingConfiguration === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'routingConfiguration'");
|
|
49
|
+
}
|
|
50
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
51
|
+
resourceInputs["flowArn"] = args ? args.flowArn : undefined;
|
|
52
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
53
|
+
resourceInputs["routingConfiguration"] = args ? args.routingConfiguration : undefined;
|
|
54
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
55
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["awsId"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
58
|
+
resourceInputs["flowId"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["awsId"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["description"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["flowArn"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["flowId"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["routingConfiguration"] = undefined /*out*/;
|
|
70
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
71
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
72
|
+
}
|
|
73
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
74
|
+
const replaceOnChanges = { replaceOnChanges: ["flowArn"] };
|
|
75
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
76
|
+
super(FlowAlias.__pulumiType, name, resourceInputs, opts);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.FlowAlias = FlowAlias;
|
|
80
|
+
/** @internal */
|
|
81
|
+
FlowAlias.__pulumiType = 'aws-native:bedrock:FlowAlias';
|
|
82
|
+
//# sourceMappingURL=flowAlias.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flowAlias.js","sourceRoot":"","sources":["../../bedrock/flowAlias.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
import * as enums from "../types/enums";
|
|
4
|
+
/**
|
|
5
|
+
* Definition of AWS::Bedrock::FlowVersion Resource Type
|
|
6
|
+
*/
|
|
7
|
+
export declare class FlowVersion extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing FlowVersion resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
15
|
+
*/
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): FlowVersion;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of FlowVersion. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is FlowVersion;
|
|
22
|
+
/**
|
|
23
|
+
* Time Stamp.
|
|
24
|
+
*/
|
|
25
|
+
readonly createdAt: pulumi.Output<string>;
|
|
26
|
+
readonly definition: pulumi.Output<outputs.bedrock.FlowVersionFlowDefinition>;
|
|
27
|
+
/**
|
|
28
|
+
* Description of the flow version
|
|
29
|
+
*/
|
|
30
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* ARN of a IAM role
|
|
33
|
+
*/
|
|
34
|
+
readonly executionRoleArn: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* Arn representation of the Flow
|
|
37
|
+
*/
|
|
38
|
+
readonly flowArn: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* Identifier for a Flow
|
|
41
|
+
*/
|
|
42
|
+
readonly flowId: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Name for the flow
|
|
45
|
+
*/
|
|
46
|
+
readonly name: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* The status of the flow.
|
|
49
|
+
*/
|
|
50
|
+
readonly status: pulumi.Output<enums.bedrock.FlowVersionFlowStatus>;
|
|
51
|
+
/**
|
|
52
|
+
* Numerical Version.
|
|
53
|
+
*/
|
|
54
|
+
readonly version: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Create a FlowVersion resource with the given unique name, arguments, and options.
|
|
57
|
+
*
|
|
58
|
+
* @param name The _unique_ name of the resource.
|
|
59
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
60
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
61
|
+
*/
|
|
62
|
+
constructor(name: string, args: FlowVersionArgs, opts?: pulumi.CustomResourceOptions);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* The set of arguments for constructing a FlowVersion resource.
|
|
66
|
+
*/
|
|
67
|
+
export interface FlowVersionArgs {
|
|
68
|
+
/**
|
|
69
|
+
* Description of the flow version
|
|
70
|
+
*/
|
|
71
|
+
description?: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Arn representation of the Flow
|
|
74
|
+
*/
|
|
75
|
+
flowArn: pulumi.Input<string>;
|
|
76
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.FlowVersion = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Definition of AWS::Bedrock::FlowVersion Resource Type
|
|
10
|
+
*/
|
|
11
|
+
class FlowVersion extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing FlowVersion resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name, id, opts) {
|
|
21
|
+
return new FlowVersion(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of FlowVersion. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === FlowVersion.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a FlowVersion resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (!opts.id) {
|
|
44
|
+
if ((!args || args.flowArn === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'flowArn'");
|
|
46
|
+
}
|
|
47
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
48
|
+
resourceInputs["flowArn"] = args ? args.flowArn : undefined;
|
|
49
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
50
|
+
resourceInputs["definition"] = undefined /*out*/;
|
|
51
|
+
resourceInputs["executionRoleArn"] = undefined /*out*/;
|
|
52
|
+
resourceInputs["flowId"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["version"] = undefined /*out*/;
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["definition"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["description"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["executionRoleArn"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["flowArn"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["flowId"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["version"] = undefined /*out*/;
|
|
67
|
+
}
|
|
68
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
69
|
+
const replaceOnChanges = { replaceOnChanges: ["description", "flowArn"] };
|
|
70
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
71
|
+
super(FlowVersion.__pulumiType, name, resourceInputs, opts);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.FlowVersion = FlowVersion;
|
|
75
|
+
/** @internal */
|
|
76
|
+
FlowVersion.__pulumiType = 'aws-native:bedrock:FlowVersion';
|
|
77
|
+
//# sourceMappingURL=flowVersion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flowVersion.js","sourceRoot":"","sources":["../../bedrock/flowVersion.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
import * as enums from "../types/enums";
|
|
4
|
+
/**
|
|
5
|
+
* Definition of AWS::Bedrock::Flow Resource Type
|
|
6
|
+
*/
|
|
7
|
+
export declare function getFlow(args: GetFlowArgs, opts?: pulumi.InvokeOptions): Promise<GetFlowResult>;
|
|
8
|
+
export interface GetFlowArgs {
|
|
9
|
+
/**
|
|
10
|
+
* Arn representation of the Flow
|
|
11
|
+
*/
|
|
12
|
+
arn: string;
|
|
13
|
+
}
|
|
14
|
+
export interface GetFlowResult {
|
|
15
|
+
/**
|
|
16
|
+
* Arn representation of the Flow
|
|
17
|
+
*/
|
|
18
|
+
readonly arn?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Time Stamp.
|
|
21
|
+
*/
|
|
22
|
+
readonly createdAt?: string;
|
|
23
|
+
/**
|
|
24
|
+
* A KMS key ARN
|
|
25
|
+
*/
|
|
26
|
+
readonly customerEncryptionKeyArn?: string;
|
|
27
|
+
readonly definition?: outputs.bedrock.FlowDefinition;
|
|
28
|
+
/**
|
|
29
|
+
* Description of the flow
|
|
30
|
+
*/
|
|
31
|
+
readonly description?: string;
|
|
32
|
+
/**
|
|
33
|
+
* ARN of a IAM role
|
|
34
|
+
*/
|
|
35
|
+
readonly executionRoleArn?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Identifier for a Flow
|
|
38
|
+
*/
|
|
39
|
+
readonly id?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Name for the flow
|
|
42
|
+
*/
|
|
43
|
+
readonly name?: string;
|
|
44
|
+
/**
|
|
45
|
+
* The status of the flow. The following statuses are possible:
|
|
46
|
+
*
|
|
47
|
+
* - NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the flow, you can't test it. If you updated the flow, the `DRAFT` version won't contain the latest changes for testing. Send a [PrepareFlow](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PrepareFlow.html) request to package the latest changes into the `DRAFT` version.
|
|
48
|
+
* - Preparing – The flow is being prepared so that the `DRAFT` version contains the latest changes for testing.
|
|
49
|
+
* - Prepared – The flow is prepared and the `DRAFT` version contains the latest changes for testing.
|
|
50
|
+
* - Failed – The last API operation that you invoked on the flow failed. Send a [GetFlow](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetFlow.html) request and check the error message in the `validations` field.
|
|
51
|
+
*/
|
|
52
|
+
readonly status?: enums.bedrock.FlowStatus;
|
|
53
|
+
readonly tags?: {
|
|
54
|
+
[key: string]: string;
|
|
55
|
+
};
|
|
56
|
+
readonly testAliasTags?: {
|
|
57
|
+
[key: string]: string;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Time Stamp.
|
|
61
|
+
*/
|
|
62
|
+
readonly updatedAt?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Draft Version.
|
|
65
|
+
*/
|
|
66
|
+
readonly version?: string;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Definition of AWS::Bedrock::Flow Resource Type
|
|
70
|
+
*/
|
|
71
|
+
export declare function getFlowOutput(args: GetFlowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFlowResult>;
|
|
72
|
+
export interface GetFlowOutputArgs {
|
|
73
|
+
/**
|
|
74
|
+
* Arn representation of the Flow
|
|
75
|
+
*/
|
|
76
|
+
arn: pulumi.Input<string>;
|
|
77
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getFlowOutput = exports.getFlow = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Definition of AWS::Bedrock::Flow Resource Type
|
|
10
|
+
*/
|
|
11
|
+
function getFlow(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:bedrock:getFlow", {
|
|
14
|
+
"arn": args.arn,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getFlow = getFlow;
|
|
18
|
+
/**
|
|
19
|
+
* Definition of AWS::Bedrock::Flow Resource Type
|
|
20
|
+
*/
|
|
21
|
+
function getFlowOutput(args, opts) {
|
|
22
|
+
return pulumi.output(args).apply((a) => getFlow(a, opts));
|
|
23
|
+
}
|
|
24
|
+
exports.getFlowOutput = getFlowOutput;
|
|
25
|
+
//# sourceMappingURL=getFlow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFlow.js","sourceRoot":"","sources":["../../bedrock/getFlow.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4BAA4B,EAAE;QACvD,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0BAMC;AA2DD;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Definition of AWS::Bedrock::FlowAlias Resource Type
|
|
5
|
+
*/
|
|
6
|
+
export declare function getFlowAlias(args: GetFlowAliasArgs, opts?: pulumi.InvokeOptions): Promise<GetFlowAliasResult>;
|
|
7
|
+
export interface GetFlowAliasArgs {
|
|
8
|
+
/**
|
|
9
|
+
* Arn of the Flow Alias
|
|
10
|
+
*/
|
|
11
|
+
arn: string;
|
|
12
|
+
/**
|
|
13
|
+
* Arn representation of the Flow
|
|
14
|
+
*/
|
|
15
|
+
flowArn: string;
|
|
16
|
+
}
|
|
17
|
+
export interface GetFlowAliasResult {
|
|
18
|
+
/**
|
|
19
|
+
* Arn of the Flow Alias
|
|
20
|
+
*/
|
|
21
|
+
readonly arn?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Time Stamp.
|
|
24
|
+
*/
|
|
25
|
+
readonly createdAt?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Description of the Resource.
|
|
28
|
+
*/
|
|
29
|
+
readonly description?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Identifier for a flow resource.
|
|
32
|
+
*/
|
|
33
|
+
readonly flowId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Id for a Flow Alias generated at the server side.
|
|
36
|
+
*/
|
|
37
|
+
readonly id?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Name for a resource.
|
|
40
|
+
*/
|
|
41
|
+
readonly name?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Routing configuration for a Flow alias.
|
|
44
|
+
*/
|
|
45
|
+
readonly routingConfiguration?: outputs.bedrock.FlowAliasRoutingConfigurationListItem[];
|
|
46
|
+
readonly tags?: {
|
|
47
|
+
[key: string]: string;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Time Stamp.
|
|
51
|
+
*/
|
|
52
|
+
readonly updatedAt?: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Definition of AWS::Bedrock::FlowAlias Resource Type
|
|
56
|
+
*/
|
|
57
|
+
export declare function getFlowAliasOutput(args: GetFlowAliasOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFlowAliasResult>;
|
|
58
|
+
export interface GetFlowAliasOutputArgs {
|
|
59
|
+
/**
|
|
60
|
+
* Arn of the Flow Alias
|
|
61
|
+
*/
|
|
62
|
+
arn: pulumi.Input<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Arn representation of the Flow
|
|
65
|
+
*/
|
|
66
|
+
flowArn: pulumi.Input<string>;
|
|
67
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getFlowAliasOutput = exports.getFlowAlias = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Definition of AWS::Bedrock::FlowAlias Resource Type
|
|
10
|
+
*/
|
|
11
|
+
function getFlowAlias(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:bedrock:getFlowAlias", {
|
|
14
|
+
"arn": args.arn,
|
|
15
|
+
"flowArn": args.flowArn,
|
|
16
|
+
}, opts);
|
|
17
|
+
}
|
|
18
|
+
exports.getFlowAlias = getFlowAlias;
|
|
19
|
+
/**
|
|
20
|
+
* Definition of AWS::Bedrock::FlowAlias Resource Type
|
|
21
|
+
*/
|
|
22
|
+
function getFlowAliasOutput(args, opts) {
|
|
23
|
+
return pulumi.output(args).apply((a) => getFlowAlias(a, opts));
|
|
24
|
+
}
|
|
25
|
+
exports.getFlowAliasOutput = getFlowAliasOutput;
|
|
26
|
+
//# sourceMappingURL=getFlowAlias.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFlowAlias.js","sourceRoot":"","sources":["../../bedrock/getFlowAlias.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oCAOC;AAgDD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
import * as enums from "../types/enums";
|
|
4
|
+
/**
|
|
5
|
+
* Definition of AWS::Bedrock::FlowVersion Resource Type
|
|
6
|
+
*/
|
|
7
|
+
export declare function getFlowVersion(args: GetFlowVersionArgs, opts?: pulumi.InvokeOptions): Promise<GetFlowVersionResult>;
|
|
8
|
+
export interface GetFlowVersionArgs {
|
|
9
|
+
/**
|
|
10
|
+
* Arn representation of the Flow
|
|
11
|
+
*/
|
|
12
|
+
flowArn: string;
|
|
13
|
+
/**
|
|
14
|
+
* Numerical Version.
|
|
15
|
+
*/
|
|
16
|
+
version: string;
|
|
17
|
+
}
|
|
18
|
+
export interface GetFlowVersionResult {
|
|
19
|
+
/**
|
|
20
|
+
* Time Stamp.
|
|
21
|
+
*/
|
|
22
|
+
readonly createdAt?: string;
|
|
23
|
+
readonly definition?: outputs.bedrock.FlowVersionFlowDefinition;
|
|
24
|
+
/**
|
|
25
|
+
* ARN of a IAM role
|
|
26
|
+
*/
|
|
27
|
+
readonly executionRoleArn?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Identifier for a Flow
|
|
30
|
+
*/
|
|
31
|
+
readonly flowId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Name for the flow
|
|
34
|
+
*/
|
|
35
|
+
readonly name?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The status of the flow.
|
|
38
|
+
*/
|
|
39
|
+
readonly status?: enums.bedrock.FlowVersionFlowStatus;
|
|
40
|
+
/**
|
|
41
|
+
* Numerical Version.
|
|
42
|
+
*/
|
|
43
|
+
readonly version?: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Definition of AWS::Bedrock::FlowVersion Resource Type
|
|
47
|
+
*/
|
|
48
|
+
export declare function getFlowVersionOutput(args: GetFlowVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFlowVersionResult>;
|
|
49
|
+
export interface GetFlowVersionOutputArgs {
|
|
50
|
+
/**
|
|
51
|
+
* Arn representation of the Flow
|
|
52
|
+
*/
|
|
53
|
+
flowArn: pulumi.Input<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Numerical Version.
|
|
56
|
+
*/
|
|
57
|
+
version: pulumi.Input<string>;
|
|
58
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getFlowVersionOutput = exports.getFlowVersion = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Definition of AWS::Bedrock::FlowVersion Resource Type
|
|
10
|
+
*/
|
|
11
|
+
function getFlowVersion(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:bedrock:getFlowVersion", {
|
|
14
|
+
"flowArn": args.flowArn,
|
|
15
|
+
"version": args.version,
|
|
16
|
+
}, opts);
|
|
17
|
+
}
|
|
18
|
+
exports.getFlowVersion = getFlowVersion;
|
|
19
|
+
/**
|
|
20
|
+
* Definition of AWS::Bedrock::FlowVersion Resource Type
|
|
21
|
+
*/
|
|
22
|
+
function getFlowVersionOutput(args, opts) {
|
|
23
|
+
return pulumi.output(args).apply((a) => getFlowVersion(a, opts));
|
|
24
|
+
}
|
|
25
|
+
exports.getFlowVersionOutput = getFlowVersionOutput;
|
|
26
|
+
//# sourceMappingURL=getFlowVersion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFlowVersion.js","sourceRoot":"","sources":["../../bedrock/getFlowVersion.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wCAOC;AAwCD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|