@pulumi/aws-native 0.7.2-alpha.1638281741 → 0.7.2-alpha.1638295005

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 (66) hide show
  1. package/apigateway/basePathMapping.d.ts +24 -0
  2. package/apigateway/basePathMapping.js.map +1 -1
  3. package/evidently/experiment.d.ts +59 -0
  4. package/evidently/experiment.js +88 -0
  5. package/evidently/experiment.js.map +1 -0
  6. package/evidently/feature.d.ts +57 -0
  7. package/evidently/feature.js +80 -0
  8. package/evidently/feature.js.map +1 -0
  9. package/evidently/index.d.ts +5 -0
  10. package/evidently/index.js +47 -0
  11. package/evidently/index.js.map +1 -0
  12. package/evidently/launch.d.ts +57 -0
  13. package/evidently/launch.js +83 -0
  14. package/evidently/launch.js.map +1 -0
  15. package/evidently/project.d.ts +49 -0
  16. package/evidently/project.js +66 -0
  17. package/evidently/project.js.map +1 -0
  18. package/index.d.ts +4 -1
  19. package/index.js +9 -3
  20. package/index.js.map +1 -1
  21. package/package.json +2 -2
  22. package/package.json.dev +1 -1
  23. package/refactorspaces/application.d.ts +60 -0
  24. package/refactorspaces/application.js +84 -0
  25. package/refactorspaces/application.js.map +1 -0
  26. package/refactorspaces/environment.d.ts +51 -0
  27. package/refactorspaces/environment.js +70 -0
  28. package/refactorspaces/environment.js.map +1 -0
  29. package/refactorspaces/index.d.ts +5 -0
  30. package/refactorspaces/index.js +47 -0
  31. package/refactorspaces/index.js.map +1 -0
  32. package/refactorspaces/route.d.ts +55 -0
  33. package/refactorspaces/route.js +83 -0
  34. package/refactorspaces/route.js.map +1 -0
  35. package/refactorspaces/service.d.ts +60 -0
  36. package/refactorspaces/service.js +84 -0
  37. package/refactorspaces/service.js.map +1 -0
  38. package/rum/appMonitor.d.ts +62 -0
  39. package/rum/appMonitor.js +66 -0
  40. package/rum/appMonitor.js.map +1 -0
  41. package/rum/index.d.ts +2 -0
  42. package/rum/index.js +35 -0
  43. package/rum/index.js.map +1 -0
  44. package/timestream/index.d.ts +2 -0
  45. package/timestream/index.js +6 -0
  46. package/timestream/index.js.map +1 -1
  47. package/timestream/scheduledQuery.d.ts +87 -0
  48. package/timestream/scheduledQuery.js +109 -0
  49. package/timestream/scheduledQuery.js.map +1 -0
  50. package/types/enums/evidently/index.d.ts +10 -0
  51. package/types/enums/evidently/index.js +14 -0
  52. package/types/enums/evidently/index.js.map +1 -0
  53. package/types/enums/index.d.ts +5 -1
  54. package/types/enums/index.js +10 -2
  55. package/types/enums/index.js.map +1 -1
  56. package/types/enums/refactorspaces/index.d.ts +37 -0
  57. package/types/enums/refactorspaces/index.js +36 -0
  58. package/types/enums/refactorspaces/index.js.map +1 -0
  59. package/types/enums/rum/index.d.ts +6 -0
  60. package/types/enums/rum/index.js +11 -0
  61. package/types/enums/rum/index.js.map +1 -0
  62. package/types/enums/timestream/index.d.ts +36 -0
  63. package/types/enums/timestream/index.js +26 -0
  64. package/types/enums/timestream/index.js.map +1 -0
  65. package/types/input.d.ts +353 -0
  66. package/types/output.d.ts +353 -0
@@ -19,9 +19,21 @@ export declare class BasePathMapping extends pulumi.CustomResource {
19
19
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
20
  */
21
21
  static isInstance(obj: any): obj is BasePathMapping;
22
+ /**
23
+ * The base path name that callers of the API must provide in the URL after the domain name.
24
+ */
22
25
  readonly basePath: pulumi.Output<string | undefined>;
26
+ /**
27
+ * The DomainName of an AWS::ApiGateway::DomainName resource.
28
+ */
23
29
  readonly domainName: pulumi.Output<string>;
30
+ /**
31
+ * The ID of the API.
32
+ */
24
33
  readonly restApiId: pulumi.Output<string | undefined>;
34
+ /**
35
+ * The name of the API's stage.
36
+ */
25
37
  readonly stage: pulumi.Output<string | undefined>;
26
38
  /**
27
39
  * Create a BasePathMapping resource with the given unique name, arguments, and options.
@@ -37,8 +49,20 @@ export declare class BasePathMapping extends pulumi.CustomResource {
37
49
  * The set of arguments for constructing a BasePathMapping resource.
38
50
  */
39
51
  export interface BasePathMappingArgs {
52
+ /**
53
+ * The base path name that callers of the API must provide in the URL after the domain name.
54
+ */
40
55
  basePath?: pulumi.Input<string>;
56
+ /**
57
+ * The DomainName of an AWS::ApiGateway::DomainName resource.
58
+ */
41
59
  domainName: pulumi.Input<string>;
60
+ /**
61
+ * The ID of the API.
62
+ */
42
63
  restApiId?: pulumi.Input<string>;
64
+ /**
65
+ * The name of the API's stage.
66
+ */
43
67
  stage?: pulumi.Input<string>;
44
68
  }
@@ -1 +1 @@
1
- {"version":3,"file":"basePathMapping.js","sourceRoot":"","sources":["../../apigateway/basePathMapping.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;GAIG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IAiCtD;;;;;;OAMG;IACH,6JAA6J;IAC7J,YAAY,IAAY,EAAE,IAAyB,EAAE,IAAmC;QACpF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,2KAA2K,CAAC,CAAA;QAC5L,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,MAAM,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,MAAM,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,MAAM,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,S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,MAAM,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvC;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;IA1ED;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,2KAA2K,CAAC,CAAA;QAC5L,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;;AA1BL,0CA4EC;AA9DG,gBAAgB;AACO,4BAAY,GAAG,uCAAuC,CAAC"}
@@ -0,0 +1,59 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * Resource Type definition for AWS::Evidently::Experiment.
5
+ */
6
+ export declare class Experiment extends pulumi.CustomResource {
7
+ /**
8
+ * Get an existing Experiment resource's state with the given name, ID, and optional extra
9
+ * properties used to qualify the lookup.
10
+ *
11
+ * @param name The _unique_ name of the resulting resource.
12
+ * @param id The _unique_ provider ID of the resource to lookup.
13
+ * @param opts Optional settings to control the behavior of the CustomResource.
14
+ */
15
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Experiment;
16
+ /**
17
+ * Returns true if the given object is an instance of Experiment. This is designed to work even
18
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
19
+ */
20
+ static isInstance(obj: any): obj is Experiment;
21
+ readonly arn: pulumi.Output<string>;
22
+ readonly description: pulumi.Output<string | undefined>;
23
+ readonly metricGoals: pulumi.Output<outputs.evidently.ExperimentMetricGoalObject[]>;
24
+ readonly name: pulumi.Output<string>;
25
+ readonly onlineAbConfig: pulumi.Output<outputs.evidently.ExperimentOnlineAbConfigObject>;
26
+ readonly project: pulumi.Output<string>;
27
+ readonly randomizationSalt: pulumi.Output<string | undefined>;
28
+ readonly samplingRate: pulumi.Output<number | undefined>;
29
+ /**
30
+ * An array of key-value pairs to apply to this resource.
31
+ */
32
+ readonly tags: pulumi.Output<outputs.evidently.ExperimentTag[] | undefined>;
33
+ readonly treatments: pulumi.Output<outputs.evidently.ExperimentTreatmentObject[]>;
34
+ /**
35
+ * Create a Experiment resource with the given unique name, arguments, and options.
36
+ *
37
+ * @param name The _unique_ name of the resource.
38
+ * @param args The arguments to use to populate this resource's properties.
39
+ * @param opts A bag of options that control this resource's behavior.
40
+ */
41
+ constructor(name: string, args: ExperimentArgs, opts?: pulumi.CustomResourceOptions);
42
+ }
43
+ /**
44
+ * The set of arguments for constructing a Experiment resource.
45
+ */
46
+ export interface ExperimentArgs {
47
+ description?: pulumi.Input<string>;
48
+ metricGoals: pulumi.Input<pulumi.Input<inputs.evidently.ExperimentMetricGoalObjectArgs>[]>;
49
+ name?: pulumi.Input<string>;
50
+ onlineAbConfig: pulumi.Input<inputs.evidently.ExperimentOnlineAbConfigObjectArgs>;
51
+ project: pulumi.Input<string>;
52
+ randomizationSalt?: pulumi.Input<string>;
53
+ samplingRate?: pulumi.Input<number>;
54
+ /**
55
+ * An array of key-value pairs to apply to this resource.
56
+ */
57
+ tags?: pulumi.Input<pulumi.Input<inputs.evidently.ExperimentTagArgs>[]>;
58
+ treatments: pulumi.Input<pulumi.Input<inputs.evidently.ExperimentTreatmentObjectArgs>[]>;
59
+ }
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
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.Experiment = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource Type definition for AWS::Evidently::Experiment.
10
+ */
11
+ class Experiment extends pulumi.CustomResource {
12
+ /**
13
+ * Create a Experiment resource with the given unique name, arguments, and options.
14
+ *
15
+ * @param name The _unique_ name of the resource.
16
+ * @param args The arguments to use to populate this resource's properties.
17
+ * @param opts A bag of options that control this resource's behavior.
18
+ */
19
+ constructor(name, args, opts) {
20
+ let inputs = {};
21
+ opts = opts || {};
22
+ if (!opts.id) {
23
+ if ((!args || args.metricGoals === undefined) && !opts.urn) {
24
+ throw new Error("Missing required property 'metricGoals'");
25
+ }
26
+ if ((!args || args.onlineAbConfig === undefined) && !opts.urn) {
27
+ throw new Error("Missing required property 'onlineAbConfig'");
28
+ }
29
+ if ((!args || args.project === undefined) && !opts.urn) {
30
+ throw new Error("Missing required property 'project'");
31
+ }
32
+ if ((!args || args.treatments === undefined) && !opts.urn) {
33
+ throw new Error("Missing required property 'treatments'");
34
+ }
35
+ inputs["description"] = args ? args.description : undefined;
36
+ inputs["metricGoals"] = args ? args.metricGoals : undefined;
37
+ inputs["name"] = args ? args.name : undefined;
38
+ inputs["onlineAbConfig"] = args ? args.onlineAbConfig : undefined;
39
+ inputs["project"] = args ? args.project : undefined;
40
+ inputs["randomizationSalt"] = args ? args.randomizationSalt : undefined;
41
+ inputs["samplingRate"] = args ? args.samplingRate : undefined;
42
+ inputs["tags"] = args ? args.tags : undefined;
43
+ inputs["treatments"] = args ? args.treatments : undefined;
44
+ inputs["arn"] = undefined /*out*/;
45
+ }
46
+ else {
47
+ inputs["arn"] = undefined /*out*/;
48
+ inputs["description"] = undefined /*out*/;
49
+ inputs["metricGoals"] = undefined /*out*/;
50
+ inputs["name"] = undefined /*out*/;
51
+ inputs["onlineAbConfig"] = undefined /*out*/;
52
+ inputs["project"] = undefined /*out*/;
53
+ inputs["randomizationSalt"] = undefined /*out*/;
54
+ inputs["samplingRate"] = undefined /*out*/;
55
+ inputs["tags"] = undefined /*out*/;
56
+ inputs["treatments"] = undefined /*out*/;
57
+ }
58
+ if (!opts.version) {
59
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
60
+ }
61
+ super(Experiment.__pulumiType, name, inputs, opts);
62
+ }
63
+ /**
64
+ * Get an existing Experiment resource's state with the given name, ID, and optional extra
65
+ * properties used to qualify the lookup.
66
+ *
67
+ * @param name The _unique_ name of the resulting resource.
68
+ * @param id The _unique_ provider ID of the resource to lookup.
69
+ * @param opts Optional settings to control the behavior of the CustomResource.
70
+ */
71
+ static get(name, id, opts) {
72
+ return new Experiment(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
73
+ }
74
+ /**
75
+ * Returns true if the given object is an instance of Experiment. This is designed to work even
76
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
77
+ */
78
+ static isInstance(obj) {
79
+ if (obj === undefined || obj === null) {
80
+ return false;
81
+ }
82
+ return obj['__pulumiType'] === Experiment.__pulumiType;
83
+ }
84
+ }
85
+ exports.Experiment = Experiment;
86
+ /** @internal */
87
+ Experiment.__pulumiType = 'aws-native:evidently:Experiment';
88
+ //# sourceMappingURL=experiment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"experiment.js","sourceRoot":"","sources":["../../evidently/experiment.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IAyCjD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAoB,EAAE,IAAmC;Q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QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;IAzFD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,UAAU,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AAzBL,gCA2FC;AA9EG,gBAAgB;AACO,uBAAY,GAAG,iCAAiC,CAAC"}
@@ -0,0 +1,57 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs, enums } from "../types";
3
+ /**
4
+ * Resource Type definition for AWS::Evidently::Feature.
5
+ */
6
+ export declare class Feature extends pulumi.CustomResource {
7
+ /**
8
+ * Get an existing Feature resource's state with the given name, ID, and optional extra
9
+ * properties used to qualify the lookup.
10
+ *
11
+ * @param name The _unique_ name of the resulting resource.
12
+ * @param id The _unique_ provider ID of the resource to lookup.
13
+ * @param opts Optional settings to control the behavior of the CustomResource.
14
+ */
15
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Feature;
16
+ /**
17
+ * Returns true if the given object is an instance of Feature. This is designed to work even
18
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
19
+ */
20
+ static isInstance(obj: any): obj is Feature;
21
+ readonly arn: pulumi.Output<string>;
22
+ readonly defaultVariation: pulumi.Output<string | undefined>;
23
+ readonly description: pulumi.Output<string | undefined>;
24
+ readonly entityOverrides: pulumi.Output<outputs.evidently.FeatureEntityOverride[] | undefined>;
25
+ readonly evaluationStrategy: pulumi.Output<enums.evidently.FeatureEvaluationStrategy | undefined>;
26
+ readonly name: pulumi.Output<string>;
27
+ readonly project: pulumi.Output<string>;
28
+ /**
29
+ * An array of key-value pairs to apply to this resource.
30
+ */
31
+ readonly tags: pulumi.Output<outputs.evidently.FeatureTag[] | undefined>;
32
+ readonly variations: pulumi.Output<outputs.evidently.FeatureVariationObject[]>;
33
+ /**
34
+ * Create a Feature 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: string, args: FeatureArgs, opts?: pulumi.CustomResourceOptions);
41
+ }
42
+ /**
43
+ * The set of arguments for constructing a Feature resource.
44
+ */
45
+ export interface FeatureArgs {
46
+ defaultVariation?: pulumi.Input<string>;
47
+ description?: pulumi.Input<string>;
48
+ entityOverrides?: pulumi.Input<pulumi.Input<inputs.evidently.FeatureEntityOverrideArgs>[]>;
49
+ evaluationStrategy?: pulumi.Input<enums.evidently.FeatureEvaluationStrategy>;
50
+ name?: pulumi.Input<string>;
51
+ project: pulumi.Input<string>;
52
+ /**
53
+ * An array of key-value pairs to apply to this resource.
54
+ */
55
+ tags?: pulumi.Input<pulumi.Input<inputs.evidently.FeatureTagArgs>[]>;
56
+ variations: pulumi.Input<pulumi.Input<inputs.evidently.FeatureVariationObjectArgs>[]>;
57
+ }
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
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.Feature = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource Type definition for AWS::Evidently::Feature.
10
+ */
11
+ class Feature extends pulumi.CustomResource {
12
+ /**
13
+ * Create a Feature resource with the given unique name, arguments, and options.
14
+ *
15
+ * @param name The _unique_ name of the resource.
16
+ * @param args The arguments to use to populate this resource's properties.
17
+ * @param opts A bag of options that control this resource's behavior.
18
+ */
19
+ constructor(name, args, opts) {
20
+ let inputs = {};
21
+ opts = opts || {};
22
+ if (!opts.id) {
23
+ if ((!args || args.project === undefined) && !opts.urn) {
24
+ throw new Error("Missing required property 'project'");
25
+ }
26
+ if ((!args || args.variations === undefined) && !opts.urn) {
27
+ throw new Error("Missing required property 'variations'");
28
+ }
29
+ inputs["defaultVariation"] = args ? args.defaultVariation : undefined;
30
+ inputs["description"] = args ? args.description : undefined;
31
+ inputs["entityOverrides"] = args ? args.entityOverrides : undefined;
32
+ inputs["evaluationStrategy"] = args ? args.evaluationStrategy : undefined;
33
+ inputs["name"] = args ? args.name : undefined;
34
+ inputs["project"] = args ? args.project : undefined;
35
+ inputs["tags"] = args ? args.tags : undefined;
36
+ inputs["variations"] = args ? args.variations : undefined;
37
+ inputs["arn"] = undefined /*out*/;
38
+ }
39
+ else {
40
+ inputs["arn"] = undefined /*out*/;
41
+ inputs["defaultVariation"] = undefined /*out*/;
42
+ inputs["description"] = undefined /*out*/;
43
+ inputs["entityOverrides"] = undefined /*out*/;
44
+ inputs["evaluationStrategy"] = undefined /*out*/;
45
+ inputs["name"] = undefined /*out*/;
46
+ inputs["project"] = undefined /*out*/;
47
+ inputs["tags"] = undefined /*out*/;
48
+ inputs["variations"] = undefined /*out*/;
49
+ }
50
+ if (!opts.version) {
51
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
52
+ }
53
+ super(Feature.__pulumiType, name, inputs, opts);
54
+ }
55
+ /**
56
+ * Get an existing Feature resource's state with the given name, ID, and optional extra
57
+ * properties used to qualify the lookup.
58
+ *
59
+ * @param name The _unique_ name of the resulting resource.
60
+ * @param id The _unique_ provider ID of the resource to lookup.
61
+ * @param opts Optional settings to control the behavior of the CustomResource.
62
+ */
63
+ static get(name, id, opts) {
64
+ return new Feature(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
65
+ }
66
+ /**
67
+ * Returns true if the given object is an instance of Feature. This is designed to work even
68
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
69
+ */
70
+ static isInstance(obj) {
71
+ if (obj === undefined || obj === null) {
72
+ return false;
73
+ }
74
+ return obj['__pulumiType'] === Feature.__pulumiType;
75
+ }
76
+ }
77
+ exports.Feature = Feature;
78
+ /** @internal */
79
+ Feature.__pulumiType = 'aws-native:evidently:Feature';
80
+ //# sourceMappingURL=feature.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature.js","sourceRoot":"","sources":["../../evidently/feature.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAwC9C;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAiB,EAAE,IAAmC;QAC5E,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,MAAM,CAAC,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AAC,OAAO,CAAC;YACjD,MAAM,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnC,MAAM,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtC,MAAM,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnC,MAAM,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC5C;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACpD,CAAC;IAhFD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,OAAO,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AAzBL,0BAkFC;AArEG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from "./experiment";
2
+ export * from "./feature";
3
+ export * from "./launch";
4
+ export * from "./project";
5
+ export * from "../types/enums/evidently";
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
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
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
7
+ }) : (function(o, m, k, k2) {
8
+ if (k2 === undefined) k2 = k;
9
+ o[k2] = m[k];
10
+ }));
11
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
12
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ const pulumi = require("@pulumi/pulumi");
16
+ const utilities = require("../utilities");
17
+ // Export members:
18
+ __exportStar(require("./experiment"), exports);
19
+ __exportStar(require("./feature"), exports);
20
+ __exportStar(require("./launch"), exports);
21
+ __exportStar(require("./project"), exports);
22
+ // Export enums:
23
+ __exportStar(require("../types/enums/evidently"), exports);
24
+ // Import resources to register:
25
+ const experiment_1 = require("./experiment");
26
+ const feature_1 = require("./feature");
27
+ const launch_1 = require("./launch");
28
+ const project_1 = require("./project");
29
+ const _module = {
30
+ version: utilities.getVersion(),
31
+ construct: (name, type, urn) => {
32
+ switch (type) {
33
+ case "aws-native:evidently:Experiment":
34
+ return new experiment_1.Experiment(name, undefined, { urn });
35
+ case "aws-native:evidently:Feature":
36
+ return new feature_1.Feature(name, undefined, { urn });
37
+ case "aws-native:evidently:Launch":
38
+ return new launch_1.Launch(name, undefined, { urn });
39
+ case "aws-native:evidently:Project":
40
+ return new project_1.Project(name, undefined, { urn });
41
+ default:
42
+ throw new Error(`unknown resource type ${type}`);
43
+ }
44
+ },
45
+ };
46
+ pulumi.runtime.registerResourceModule("aws-native", "evidently", _module);
47
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../evidently/index.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,+CAA6B;AAC7B,4CAA0B;AAC1B,2CAAyB;AACzB,4CAA0B;AAE1B,gBAAgB;AAChB,2DAAyC;AAEzC,gCAAgC;AAChC,6CAA0C;AAC1C,uCAAoC;AACpC,qCAAkC;AAClC,uCAAoC;AAEpC,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,iCAAiC;gBAClC,OAAO,IAAI,uBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,8BAA8B;gBAC/B,OAAO,IAAI,iBAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,6BAA6B;gBAC9B,OAAO,IAAI,eAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,8BAA8B;gBAC/B,OAAO,IAAI,iBAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,57 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * Resource Type definition for AWS::Evidently::Launch.
5
+ */
6
+ export declare class Launch extends pulumi.CustomResource {
7
+ /**
8
+ * Get an existing Launch resource's state with the given name, ID, and optional extra
9
+ * properties used to qualify the lookup.
10
+ *
11
+ * @param name The _unique_ name of the resulting resource.
12
+ * @param id The _unique_ provider ID of the resource to lookup.
13
+ * @param opts Optional settings to control the behavior of the CustomResource.
14
+ */
15
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Launch;
16
+ /**
17
+ * Returns true if the given object is an instance of Launch. This is designed to work even
18
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
19
+ */
20
+ static isInstance(obj: any): obj is Launch;
21
+ readonly arn: pulumi.Output<string>;
22
+ readonly description: pulumi.Output<string | undefined>;
23
+ readonly groups: pulumi.Output<outputs.evidently.LaunchGroupObject[]>;
24
+ readonly metricMonitors: pulumi.Output<outputs.evidently.LaunchMetricDefinitionObject[] | undefined>;
25
+ readonly name: pulumi.Output<string>;
26
+ readonly project: pulumi.Output<string>;
27
+ readonly randomizationSalt: pulumi.Output<string | undefined>;
28
+ readonly scheduledSplitsConfig: pulumi.Output<outputs.evidently.LaunchStepConfig[]>;
29
+ /**
30
+ * An array of key-value pairs to apply to this resource.
31
+ */
32
+ readonly tags: pulumi.Output<outputs.evidently.LaunchTag[] | undefined>;
33
+ /**
34
+ * Create a Launch 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: string, args: LaunchArgs, opts?: pulumi.CustomResourceOptions);
41
+ }
42
+ /**
43
+ * The set of arguments for constructing a Launch resource.
44
+ */
45
+ export interface LaunchArgs {
46
+ description?: pulumi.Input<string>;
47
+ groups: pulumi.Input<pulumi.Input<inputs.evidently.LaunchGroupObjectArgs>[]>;
48
+ metricMonitors?: pulumi.Input<pulumi.Input<inputs.evidently.LaunchMetricDefinitionObjectArgs>[]>;
49
+ name?: pulumi.Input<string>;
50
+ project: pulumi.Input<string>;
51
+ randomizationSalt?: pulumi.Input<string>;
52
+ scheduledSplitsConfig: pulumi.Input<pulumi.Input<inputs.evidently.LaunchStepConfigArgs>[]>;
53
+ /**
54
+ * An array of key-value pairs to apply to this resource.
55
+ */
56
+ tags?: pulumi.Input<pulumi.Input<inputs.evidently.LaunchTagArgs>[]>;
57
+ }
@@ -0,0 +1,83 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
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.Launch = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource Type definition for AWS::Evidently::Launch.
10
+ */
11
+ class Launch extends pulumi.CustomResource {
12
+ /**
13
+ * Create a Launch resource with the given unique name, arguments, and options.
14
+ *
15
+ * @param name The _unique_ name of the resource.
16
+ * @param args The arguments to use to populate this resource's properties.
17
+ * @param opts A bag of options that control this resource's behavior.
18
+ */
19
+ constructor(name, args, opts) {
20
+ let inputs = {};
21
+ opts = opts || {};
22
+ if (!opts.id) {
23
+ if ((!args || args.groups === undefined) && !opts.urn) {
24
+ throw new Error("Missing required property 'groups'");
25
+ }
26
+ if ((!args || args.project === undefined) && !opts.urn) {
27
+ throw new Error("Missing required property 'project'");
28
+ }
29
+ if ((!args || args.scheduledSplitsConfig === undefined) && !opts.urn) {
30
+ throw new Error("Missing required property 'scheduledSplitsConfig'");
31
+ }
32
+ inputs["description"] = args ? args.description : undefined;
33
+ inputs["groups"] = args ? args.groups : undefined;
34
+ inputs["metricMonitors"] = args ? args.metricMonitors : undefined;
35
+ inputs["name"] = args ? args.name : undefined;
36
+ inputs["project"] = args ? args.project : undefined;
37
+ inputs["randomizationSalt"] = args ? args.randomizationSalt : undefined;
38
+ inputs["scheduledSplitsConfig"] = args ? args.scheduledSplitsConfig : undefined;
39
+ inputs["tags"] = args ? args.tags : undefined;
40
+ inputs["arn"] = undefined /*out*/;
41
+ }
42
+ else {
43
+ inputs["arn"] = undefined /*out*/;
44
+ inputs["description"] = undefined /*out*/;
45
+ inputs["groups"] = undefined /*out*/;
46
+ inputs["metricMonitors"] = undefined /*out*/;
47
+ inputs["name"] = undefined /*out*/;
48
+ inputs["project"] = undefined /*out*/;
49
+ inputs["randomizationSalt"] = undefined /*out*/;
50
+ inputs["scheduledSplitsConfig"] = undefined /*out*/;
51
+ inputs["tags"] = undefined /*out*/;
52
+ }
53
+ if (!opts.version) {
54
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
55
+ }
56
+ super(Launch.__pulumiType, name, inputs, opts);
57
+ }
58
+ /**
59
+ * Get an existing Launch resource's state with the given name, ID, and optional extra
60
+ * properties used to qualify the lookup.
61
+ *
62
+ * @param name The _unique_ name of the resulting resource.
63
+ * @param id The _unique_ provider ID of the resource to lookup.
64
+ * @param opts Optional settings to control the behavior of the CustomResource.
65
+ */
66
+ static get(name, id, opts) {
67
+ return new Launch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
68
+ }
69
+ /**
70
+ * Returns true if the given object is an instance of Launch. This is designed to work even
71
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
72
+ */
73
+ static isInstance(obj) {
74
+ if (obj === undefined || obj === null) {
75
+ return false;
76
+ }
77
+ return obj['__pulumiType'] === Launch.__pulumiType;
78
+ }
79
+ }
80
+ exports.Launch = Launch;
81
+ /** @internal */
82
+ Launch.__pulumiType = 'aws-native:evidently:Launch';
83
+ //# sourceMappingURL=launch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"launch.js","sourceRoot":"","sources":["../../evidently/launch.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAwC7C;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAgB,EAAE,IAAmC;QAC3E,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAA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AAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;;AAzBL,wBAqFC;AAxEG,gBAAgB;AACO,mBAAY,GAAG,6BAA6B,CAAC"}
@@ -0,0 +1,49 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * Resource Type definition for AWS::Evidently::Project
5
+ */
6
+ export declare class Project extends pulumi.CustomResource {
7
+ /**
8
+ * Get an existing Project resource's state with the given name, ID, and optional extra
9
+ * properties used to qualify the lookup.
10
+ *
11
+ * @param name The _unique_ name of the resulting resource.
12
+ * @param id The _unique_ provider ID of the resource to lookup.
13
+ * @param opts Optional settings to control the behavior of the CustomResource.
14
+ */
15
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Project;
16
+ /**
17
+ * Returns true if the given object is an instance of Project. This is designed to work even
18
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
19
+ */
20
+ static isInstance(obj: any): obj is Project;
21
+ readonly arn: pulumi.Output<string>;
22
+ readonly dataDelivery: pulumi.Output<outputs.evidently.ProjectDataDeliveryObject | undefined>;
23
+ readonly description: pulumi.Output<string | undefined>;
24
+ readonly name: pulumi.Output<string>;
25
+ /**
26
+ * An array of key-value pairs to apply to this resource.
27
+ */
28
+ readonly tags: pulumi.Output<outputs.evidently.ProjectTag[] | undefined>;
29
+ /**
30
+ * Create a Project resource with the given unique name, arguments, and options.
31
+ *
32
+ * @param name The _unique_ name of the resource.
33
+ * @param args The arguments to use to populate this resource's properties.
34
+ * @param opts A bag of options that control this resource's behavior.
35
+ */
36
+ constructor(name: string, args?: ProjectArgs, opts?: pulumi.CustomResourceOptions);
37
+ }
38
+ /**
39
+ * The set of arguments for constructing a Project resource.
40
+ */
41
+ export interface ProjectArgs {
42
+ dataDelivery?: pulumi.Input<inputs.evidently.ProjectDataDeliveryObjectArgs>;
43
+ description?: pulumi.Input<string>;
44
+ name?: pulumi.Input<string>;
45
+ /**
46
+ * An array of key-value pairs to apply to this resource.
47
+ */
48
+ tags?: pulumi.Input<pulumi.Input<inputs.evidently.ProjectTagArgs>[]>;
49
+ }