@pulumi/aws-native 0.11.0 → 0.11.1-alpha.1643127955
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/package.json +2 -2
- package/package.json.dev +1 -1
- package/rekognition/collection.d.ts +45 -0
- package/rekognition/collection.js +65 -0
- package/rekognition/collection.js.map +1 -0
- package/rekognition/index.d.ts +1 -0
- package/rekognition/index.js +4 -0
- package/rekognition/index.js.map +1 -1
- package/types/input.d.ts +15 -0
- package/types/output.d.ts +15 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/aws-native",
|
|
3
|
-
"version": "v0.11.
|
|
3
|
+
"version": "v0.11.1-alpha.1643127955+87cb3a27",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"pulumi",
|
|
6
6
|
"aws",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "tsc",
|
|
16
|
-
"install": "node scripts/install-pulumi-plugin.js resource aws-native v0.11.
|
|
16
|
+
"install": "node scripts/install-pulumi-plugin.js resource aws-native v0.11.1-alpha.1643127955+87cb3a27"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@pulumi/pulumi": "^3.0.0",
|
package/package.json.dev
CHANGED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* The AWS::Rekognition::Collection type creates an Amazon Rekognition Collection. A collection is a logical grouping of information about detected faces which can later be referenced for searches on the group
|
|
5
|
+
*/
|
|
6
|
+
export declare class Collection extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing Collection 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): Collection;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of Collection. 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 Collection;
|
|
21
|
+
readonly arn: pulumi.Output<string>;
|
|
22
|
+
readonly collectionId: pulumi.Output<string>;
|
|
23
|
+
/**
|
|
24
|
+
* An array of key-value pairs to apply to this resource.
|
|
25
|
+
*/
|
|
26
|
+
readonly tags: pulumi.Output<outputs.rekognition.CollectionTag[] | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* Create a Collection resource with the given unique name, arguments, and options.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resource.
|
|
31
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
32
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
33
|
+
*/
|
|
34
|
+
constructor(name: string, args: CollectionArgs, opts?: pulumi.CustomResourceOptions);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* The set of arguments for constructing a Collection resource.
|
|
38
|
+
*/
|
|
39
|
+
export interface CollectionArgs {
|
|
40
|
+
collectionId: pulumi.Input<string>;
|
|
41
|
+
/**
|
|
42
|
+
* An array of key-value pairs to apply to this resource.
|
|
43
|
+
*/
|
|
44
|
+
tags?: pulumi.Input<pulumi.Input<inputs.rekognition.CollectionTagArgs>[]>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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.Collection = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The AWS::Rekognition::Collection type creates an Amazon Rekognition Collection. A collection is a logical grouping of information about detected faces which can later be referenced for searches on the group
|
|
10
|
+
*/
|
|
11
|
+
class Collection extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Create a Collection 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.collectionId === undefined) && !opts.urn) {
|
|
24
|
+
throw new Error("Missing required property 'collectionId'");
|
|
25
|
+
}
|
|
26
|
+
inputs["collectionId"] = args ? args.collectionId : undefined;
|
|
27
|
+
inputs["tags"] = args ? args.tags : undefined;
|
|
28
|
+
inputs["arn"] = undefined /*out*/;
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
inputs["arn"] = undefined /*out*/;
|
|
32
|
+
inputs["collectionId"] = undefined /*out*/;
|
|
33
|
+
inputs["tags"] = undefined /*out*/;
|
|
34
|
+
}
|
|
35
|
+
if (!opts.version) {
|
|
36
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
37
|
+
}
|
|
38
|
+
super(Collection.__pulumiType, name, inputs, opts);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Get an existing Collection resource's state with the given name, ID, and optional extra
|
|
42
|
+
* properties used to qualify the lookup.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resulting resource.
|
|
45
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name, id, opts) {
|
|
49
|
+
return new Collection(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of Collection. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj) {
|
|
56
|
+
if (obj === undefined || obj === null) {
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
return obj['__pulumiType'] === Collection.__pulumiType;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.Collection = Collection;
|
|
63
|
+
/** @internal */
|
|
64
|
+
Collection.__pulumiType = 'aws-native:rekognition:Collection';
|
|
65
|
+
//# sourceMappingURL=collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection.js","sourceRoot":"","sources":["../../rekognition/collection.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IAkCjD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAoB,EAAE,IAAmC;QAC/E,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,YAAY,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzD,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,MAAM,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAA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|
|
15
15
|
const pulumi = require("@pulumi/pulumi");
|
|
16
16
|
const utilities = require("../utilities");
|
|
17
17
|
// Export members:
|
|
18
|
+
__exportStar(require("./collection"), exports);
|
|
18
19
|
__exportStar(require("./project"), exports);
|
|
19
20
|
// Import resources to register:
|
|
21
|
+
const collection_1 = require("./collection");
|
|
20
22
|
const project_1 = require("./project");
|
|
21
23
|
const _module = {
|
|
22
24
|
version: utilities.getVersion(),
|
|
23
25
|
construct: (name, type, urn) => {
|
|
24
26
|
switch (type) {
|
|
27
|
+
case "aws-native:rekognition:Collection":
|
|
28
|
+
return new collection_1.Collection(name, undefined, { urn });
|
|
25
29
|
case "aws-native:rekognition:Project":
|
|
26
30
|
return new project_1.Project(name, undefined, { urn });
|
|
27
31
|
default:
|
package/rekognition/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../rekognition/index.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,4CAA0B;AAE1B,gCAAgC;AAChC,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,gCAAgC;gBACjC,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,aAAa,EAAE,OAAO,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../rekognition/index.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,+CAA6B;AAC7B,4CAA0B;AAE1B,gCAAgC;AAChC,6CAA0C;AAC1C,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,mCAAmC;gBACpC,OAAO,IAAI,uBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,gCAAgC;gBACjC,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,aAAa,EAAE,OAAO,CAAC,CAAA"}
|
package/types/input.d.ts
CHANGED
|
@@ -21557,6 +21557,21 @@ export declare namespace refactorspaces {
|
|
|
21557
21557
|
url: pulumi.Input<string>;
|
|
21558
21558
|
}
|
|
21559
21559
|
}
|
|
21560
|
+
export declare namespace rekognition {
|
|
21561
|
+
/**
|
|
21562
|
+
* A key-value pair to associate with a resource.
|
|
21563
|
+
*/
|
|
21564
|
+
interface CollectionTagArgs {
|
|
21565
|
+
/**
|
|
21566
|
+
* The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
21567
|
+
*/
|
|
21568
|
+
key: pulumi.Input<string>;
|
|
21569
|
+
/**
|
|
21570
|
+
* The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
21571
|
+
*/
|
|
21572
|
+
value: pulumi.Input<string>;
|
|
21573
|
+
}
|
|
21574
|
+
}
|
|
21560
21575
|
export declare namespace resiliencehub {
|
|
21561
21576
|
interface AppPhysicalResourceIdArgs {
|
|
21562
21577
|
awsAccountId?: pulumi.Input<string>;
|
package/types/output.d.ts
CHANGED
|
@@ -22171,6 +22171,21 @@ export declare namespace refactorspaces {
|
|
|
22171
22171
|
url: string;
|
|
22172
22172
|
}
|
|
22173
22173
|
}
|
|
22174
|
+
export declare namespace rekognition {
|
|
22175
|
+
/**
|
|
22176
|
+
* A key-value pair to associate with a resource.
|
|
22177
|
+
*/
|
|
22178
|
+
interface CollectionTag {
|
|
22179
|
+
/**
|
|
22180
|
+
* The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
22181
|
+
*/
|
|
22182
|
+
key: string;
|
|
22183
|
+
/**
|
|
22184
|
+
* The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
22185
|
+
*/
|
|
22186
|
+
value: string;
|
|
22187
|
+
}
|
|
22188
|
+
}
|
|
22174
22189
|
export declare namespace resiliencehub {
|
|
22175
22190
|
interface AppPhysicalResourceId {
|
|
22176
22191
|
awsAccountId?: string;
|