@pulumi/aws-native 0.64.0 → 0.65.1-alpha.1686930315

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 (48) hide show
  1. package/applicationautoscaling/getScalableTarget.d.ts +39 -3
  2. package/applicationautoscaling/getScalableTarget.js +3 -1
  3. package/applicationautoscaling/getScalableTarget.js.map +1 -1
  4. package/applicationautoscaling/scalableTarget.d.ts +50 -2
  5. package/applicationautoscaling/scalableTarget.js +0 -3
  6. package/applicationautoscaling/scalableTarget.js.map +1 -1
  7. package/athena/capacityReservation.d.ts +79 -0
  8. package/athena/capacityReservation.js +75 -0
  9. package/athena/capacityReservation.js.map +1 -0
  10. package/athena/getCapacityReservation.d.ts +45 -0
  11. package/athena/getCapacityReservation.js +25 -0
  12. package/athena/getCapacityReservation.js.map +1 -0
  13. package/athena/index.d.ts +6 -0
  14. package/athena/index.js +8 -1
  15. package/athena/index.js.map +1 -1
  16. package/ec2/ipam.d.ts +2 -10
  17. package/ec2/ipam.js +2 -2
  18. package/ec2/ipam.js.map +1 -1
  19. package/iam/serviceLinkedRole.d.ts +0 -3
  20. package/iam/serviceLinkedRole.js +0 -5
  21. package/iam/serviceLinkedRole.js.map +1 -1
  22. package/kinesisanalytics/applicationOutputResource.d.ts +2 -2
  23. package/kinesisanalytics/applicationOutputResource.js +4 -4
  24. package/kinesisanalytics/applicationOutputResource.js.map +1 -1
  25. package/kinesisanalyticsv2/applicationOutputResource.d.ts +2 -2
  26. package/kinesisanalyticsv2/applicationOutputResource.js +4 -4
  27. package/kinesisanalyticsv2/applicationOutputResource.js.map +1 -1
  28. package/lambda/getLayerVersion.d.ts +9 -0
  29. package/lambda/getLayerVersion.js.map +1 -1
  30. package/lambda/getLayerVersionPermission.d.ts +11 -2
  31. package/lambda/getLayerVersionPermission.js +2 -2
  32. package/lambda/getLayerVersionPermission.js.map +1 -1
  33. package/lambda/layerVersion.d.ts +30 -5
  34. package/lambda/layerVersion.js +0 -7
  35. package/lambda/layerVersion.js.map +1 -1
  36. package/lambda/layerVersionPermission.d.ts +25 -4
  37. package/lambda/layerVersionPermission.js +1 -6
  38. package/lambda/layerVersionPermission.js.map +1 -1
  39. package/omics/sequenceStore.d.ts +8 -0
  40. package/omics/sequenceStore.js +2 -0
  41. package/omics/sequenceStore.js.map +1 -1
  42. package/package.json +2 -2
  43. package/package.json.dev +2 -2
  44. package/types/enums/athena/index.d.ts +9 -0
  45. package/types/enums/athena/index.js +9 -1
  46. package/types/enums/athena/index.js.map +1 -1
  47. package/types/input.d.ts +32 -0
  48. package/types/output.d.ts +32 -0
@@ -5,14 +5,39 @@ import * as outputs from "../types/output";
5
5
  */
6
6
  export declare function getScalableTarget(args: GetScalableTargetArgs, opts?: pulumi.InvokeOptions): Promise<GetScalableTargetResult>;
7
7
  export interface GetScalableTargetArgs {
8
- id: string;
8
+ /**
9
+ * The identifier of the resource associated with the scalable target
10
+ */
11
+ resourceId: string;
12
+ /**
13
+ * The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property
14
+ */
15
+ scalableDimension: string;
16
+ /**
17
+ * The namespace of the AWS service that provides the resource, or a custom-resource
18
+ */
19
+ serviceNamespace: string;
9
20
  }
10
21
  export interface GetScalableTargetResult {
22
+ /**
23
+ * This value can be returned by using the Ref function. Ref returns the Cloudformation generated ID of the resource in format - ResourceId|ScalableDimension|ServiceNamespace
24
+ */
11
25
  readonly id?: string;
26
+ /**
27
+ * The maximum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand
28
+ */
12
29
  readonly maxCapacity?: number;
30
+ /**
31
+ * The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand
32
+ */
13
33
  readonly minCapacity?: number;
14
- readonly roleARN?: string;
34
+ /**
35
+ * The scheduled actions for the scalable target. Duplicates aren't allowed.
36
+ */
15
37
  readonly scheduledActions?: outputs.applicationautoscaling.ScalableTargetScheduledAction[];
38
+ /**
39
+ * An embedded object that contains attributes and attribute values that are used to suspend and resume automatic scaling. Setting the value of an attribute to true suspends the specified scaling activities. Setting it to false (default) resumes the specified scaling activities.
40
+ */
16
41
  readonly suspendedState?: outputs.applicationautoscaling.ScalableTargetSuspendedState;
17
42
  }
18
43
  /**
@@ -20,5 +45,16 @@ export interface GetScalableTargetResult {
20
45
  */
21
46
  export declare function getScalableTargetOutput(args: GetScalableTargetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetScalableTargetResult>;
22
47
  export interface GetScalableTargetOutputArgs {
23
- id: pulumi.Input<string>;
48
+ /**
49
+ * The identifier of the resource associated with the scalable target
50
+ */
51
+ resourceId: pulumi.Input<string>;
52
+ /**
53
+ * The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property
54
+ */
55
+ scalableDimension: pulumi.Input<string>;
56
+ /**
57
+ * The namespace of the AWS service that provides the resource, or a custom-resource
58
+ */
59
+ serviceNamespace: pulumi.Input<string>;
24
60
  }
@@ -11,7 +11,9 @@ const utilities = require("../utilities");
11
11
  function getScalableTarget(args, opts) {
12
12
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
13
  return pulumi.runtime.invoke("aws-native:applicationautoscaling:getScalableTarget", {
14
- "id": args.id,
14
+ "resourceId": args.resourceId,
15
+ "scalableDimension": args.scalableDimension,
16
+ "serviceNamespace": args.serviceNamespace,
15
17
  }, opts);
16
18
  }
17
19
  exports.getScalableTarget = getScalableTarget;
@@ -1 +1 @@
1
- {"version":3,"file":"getScalableTarget.js","sourceRoot":"","sources":["../../applicationautoscaling/getScalableTarget.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,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
@@ -19,13 +19,37 @@ export declare class ScalableTarget 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 ScalableTarget;
22
+ /**
23
+ * The maximum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand
24
+ */
22
25
  readonly maxCapacity: pulumi.Output<number>;
26
+ /**
27
+ * The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand
28
+ */
23
29
  readonly minCapacity: pulumi.Output<number>;
30
+ /**
31
+ * The identifier of the resource associated with the scalable target
32
+ */
24
33
  readonly resourceId: pulumi.Output<string>;
25
- readonly roleARN: pulumi.Output<string>;
34
+ /**
35
+ * Specify the Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that allows Application Auto Scaling to modify the scalable target on your behalf.
36
+ */
37
+ readonly roleARN: pulumi.Output<string | undefined>;
38
+ /**
39
+ * The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property
40
+ */
26
41
  readonly scalableDimension: pulumi.Output<string>;
42
+ /**
43
+ * The scheduled actions for the scalable target. Duplicates aren't allowed.
44
+ */
27
45
  readonly scheduledActions: pulumi.Output<outputs.applicationautoscaling.ScalableTargetScheduledAction[] | undefined>;
46
+ /**
47
+ * The namespace of the AWS service that provides the resource, or a custom-resource
48
+ */
28
49
  readonly serviceNamespace: pulumi.Output<string>;
50
+ /**
51
+ * An embedded object that contains attributes and attribute values that are used to suspend and resume automatic scaling. Setting the value of an attribute to true suspends the specified scaling activities. Setting it to false (default) resumes the specified scaling activities.
52
+ */
29
53
  readonly suspendedState: pulumi.Output<outputs.applicationautoscaling.ScalableTargetSuspendedState | undefined>;
30
54
  /**
31
55
  * Create a ScalableTarget resource with the given unique name, arguments, and options.
@@ -40,12 +64,36 @@ export declare class ScalableTarget extends pulumi.CustomResource {
40
64
  * The set of arguments for constructing a ScalableTarget resource.
41
65
  */
42
66
  export interface ScalableTargetArgs {
67
+ /**
68
+ * The maximum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand
69
+ */
43
70
  maxCapacity: pulumi.Input<number>;
71
+ /**
72
+ * The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand
73
+ */
44
74
  minCapacity: pulumi.Input<number>;
75
+ /**
76
+ * The identifier of the resource associated with the scalable target
77
+ */
45
78
  resourceId: pulumi.Input<string>;
46
- roleARN: pulumi.Input<string>;
79
+ /**
80
+ * Specify the Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that allows Application Auto Scaling to modify the scalable target on your behalf.
81
+ */
82
+ roleARN?: pulumi.Input<string>;
83
+ /**
84
+ * The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property
85
+ */
47
86
  scalableDimension: pulumi.Input<string>;
87
+ /**
88
+ * The scheduled actions for the scalable target. Duplicates aren't allowed.
89
+ */
48
90
  scheduledActions?: pulumi.Input<pulumi.Input<inputs.applicationautoscaling.ScalableTargetScheduledActionArgs>[]>;
91
+ /**
92
+ * The namespace of the AWS service that provides the resource, or a custom-resource
93
+ */
49
94
  serviceNamespace: pulumi.Input<string>;
95
+ /**
96
+ * An embedded object that contains attributes and attribute values that are used to suspend and resume automatic scaling. Setting the value of an attribute to true suspends the specified scaling activities. Setting it to false (default) resumes the specified scaling activities.
97
+ */
50
98
  suspendedState?: pulumi.Input<inputs.applicationautoscaling.ScalableTargetSuspendedStateArgs>;
51
99
  }
@@ -50,9 +50,6 @@ class ScalableTarget extends pulumi.CustomResource {
50
50
  if ((!args || args.resourceId === undefined) && !opts.urn) {
51
51
  throw new Error("Missing required property 'resourceId'");
52
52
  }
53
- if ((!args || args.roleARN === undefined) && !opts.urn) {
54
- throw new Error("Missing required property 'roleARN'");
55
- }
56
53
  if ((!args || args.scalableDimension === undefined) && !opts.urn) {
57
54
  throw new Error("Missing required property 'scalableDimension'");
58
55
  }
@@ -1 +1 @@
1
- {"version":3,"file":"scalableTarget.js","sourceRoot":"","sources":["../../applicationautoscaling/scalableTarget.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,cAAc,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAWD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAwB,EAAE,IAAmC;QACnF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxD,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxD,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,IAAI,CAAC,CAAC,IAAI,I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,OAAO,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACxD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA1GL,wCA2GC;AA9FG,gBAAgB;AACO,2BAAY,GAAG,kDAAkD,CAAC"}
@@ -0,0 +1,79 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ import * as enums from "../types/enums";
5
+ /**
6
+ * Resource schema for AWS::Athena::CapacityReservation
7
+ */
8
+ export declare class CapacityReservation extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing CapacityReservation resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CapacityReservation;
18
+ /**
19
+ * Returns true if the given object is an instance of CapacityReservation. This is designed to work even
20
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
21
+ */
22
+ static isInstance(obj: any): obj is CapacityReservation;
23
+ /**
24
+ * The number of DPUs Athena has provisioned and allocated for the reservation
25
+ */
26
+ readonly allocatedDpus: pulumi.Output<number>;
27
+ readonly arn: pulumi.Output<string>;
28
+ readonly capacityAssignmentConfiguration: pulumi.Output<outputs.athena.CapacityReservationCapacityAssignmentConfiguration | undefined>;
29
+ /**
30
+ * The date and time the reservation was created.
31
+ */
32
+ readonly creationTime: pulumi.Output<string>;
33
+ /**
34
+ * The timestamp when the last successful allocated was made
35
+ */
36
+ readonly lastSuccessfulAllocationTime: pulumi.Output<string>;
37
+ /**
38
+ * The reservation name.
39
+ */
40
+ readonly name: pulumi.Output<string>;
41
+ /**
42
+ * The status of the reservation.
43
+ */
44
+ readonly status: pulumi.Output<enums.athena.CapacityReservationStatus>;
45
+ /**
46
+ * An array of key-value pairs to apply to this resource.
47
+ */
48
+ readonly tags: pulumi.Output<outputs.athena.CapacityReservationTag[] | undefined>;
49
+ /**
50
+ * The number of DPUs to request to be allocated to the reservation.
51
+ */
52
+ readonly targetDpus: pulumi.Output<number>;
53
+ /**
54
+ * Create a CapacityReservation resource with the given unique name, arguments, and options.
55
+ *
56
+ * @param name The _unique_ name of the resource.
57
+ * @param args The arguments to use to populate this resource's properties.
58
+ * @param opts A bag of options that control this resource's behavior.
59
+ */
60
+ constructor(name: string, args: CapacityReservationArgs, opts?: pulumi.CustomResourceOptions);
61
+ }
62
+ /**
63
+ * The set of arguments for constructing a CapacityReservation resource.
64
+ */
65
+ export interface CapacityReservationArgs {
66
+ capacityAssignmentConfiguration?: pulumi.Input<inputs.athena.CapacityReservationCapacityAssignmentConfigurationArgs>;
67
+ /**
68
+ * The reservation name.
69
+ */
70
+ name?: pulumi.Input<string>;
71
+ /**
72
+ * An array of key-value pairs to apply to this resource.
73
+ */
74
+ tags?: pulumi.Input<pulumi.Input<inputs.athena.CapacityReservationTagArgs>[]>;
75
+ /**
76
+ * The number of DPUs to request to be allocated to the reservation.
77
+ */
78
+ targetDpus: pulumi.Input<number>;
79
+ }
@@ -0,0 +1,75 @@
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.CapacityReservation = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource schema for AWS::Athena::CapacityReservation
10
+ */
11
+ class CapacityReservation extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing CapacityReservation 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 CapacityReservation(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of CapacityReservation. 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'] === CapacityReservation.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a CapacityReservation 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.targetDpus === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'targetDpus'");
46
+ }
47
+ resourceInputs["capacityAssignmentConfiguration"] = args ? args.capacityAssignmentConfiguration : undefined;
48
+ resourceInputs["name"] = args ? args.name : undefined;
49
+ resourceInputs["tags"] = args ? args.tags : undefined;
50
+ resourceInputs["targetDpus"] = args ? args.targetDpus : undefined;
51
+ resourceInputs["allocatedDpus"] = undefined /*out*/;
52
+ resourceInputs["arn"] = undefined /*out*/;
53
+ resourceInputs["creationTime"] = undefined /*out*/;
54
+ resourceInputs["lastSuccessfulAllocationTime"] = undefined /*out*/;
55
+ resourceInputs["status"] = undefined /*out*/;
56
+ }
57
+ else {
58
+ resourceInputs["allocatedDpus"] = undefined /*out*/;
59
+ resourceInputs["arn"] = undefined /*out*/;
60
+ resourceInputs["capacityAssignmentConfiguration"] = undefined /*out*/;
61
+ resourceInputs["creationTime"] = undefined /*out*/;
62
+ resourceInputs["lastSuccessfulAllocationTime"] = undefined /*out*/;
63
+ resourceInputs["name"] = undefined /*out*/;
64
+ resourceInputs["status"] = undefined /*out*/;
65
+ resourceInputs["tags"] = undefined /*out*/;
66
+ resourceInputs["targetDpus"] = undefined /*out*/;
67
+ }
68
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
69
+ super(CapacityReservation.__pulumiType, name, resourceInputs, opts);
70
+ }
71
+ }
72
+ exports.CapacityReservation = CapacityReservation;
73
+ /** @internal */
74
+ CapacityReservation.__pulumiType = 'aws-native:athena:CapacityReservation';
75
+ //# sourceMappingURL=capacityReservation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capacityReservation.js","sourceRoot":"","sources":["../../athena/capacityReservation.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,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cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,iCAAiC,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,8BAA8B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnE,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA9FL,kDA+FC;AAlFG,gBAAgB;AACO,gCAAY,GAAG,uCAAuC,CAAC"}
@@ -0,0 +1,45 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ import * as enums from "../types/enums";
4
+ /**
5
+ * Resource schema for AWS::Athena::CapacityReservation
6
+ */
7
+ export declare function getCapacityReservation(args: GetCapacityReservationArgs, opts?: pulumi.InvokeOptions): Promise<GetCapacityReservationResult>;
8
+ export interface GetCapacityReservationArgs {
9
+ arn: string;
10
+ }
11
+ export interface GetCapacityReservationResult {
12
+ /**
13
+ * The number of DPUs Athena has provisioned and allocated for the reservation
14
+ */
15
+ readonly allocatedDpus?: number;
16
+ readonly arn?: string;
17
+ readonly capacityAssignmentConfiguration?: outputs.athena.CapacityReservationCapacityAssignmentConfiguration;
18
+ /**
19
+ * The date and time the reservation was created.
20
+ */
21
+ readonly creationTime?: string;
22
+ /**
23
+ * The timestamp when the last successful allocated was made
24
+ */
25
+ readonly lastSuccessfulAllocationTime?: string;
26
+ /**
27
+ * The status of the reservation.
28
+ */
29
+ readonly status?: enums.athena.CapacityReservationStatus;
30
+ /**
31
+ * An array of key-value pairs to apply to this resource.
32
+ */
33
+ readonly tags?: outputs.athena.CapacityReservationTag[];
34
+ /**
35
+ * The number of DPUs to request to be allocated to the reservation.
36
+ */
37
+ readonly targetDpus?: number;
38
+ }
39
+ /**
40
+ * Resource schema for AWS::Athena::CapacityReservation
41
+ */
42
+ export declare function getCapacityReservationOutput(args: GetCapacityReservationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCapacityReservationResult>;
43
+ export interface GetCapacityReservationOutputArgs {
44
+ arn: pulumi.Input<string>;
45
+ }
@@ -0,0 +1,25 @@
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.getCapacityReservationOutput = exports.getCapacityReservation = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource schema for AWS::Athena::CapacityReservation
10
+ */
11
+ function getCapacityReservation(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("aws-native:athena:getCapacityReservation", {
14
+ "arn": args.arn,
15
+ }, opts);
16
+ }
17
+ exports.getCapacityReservation = getCapacityReservation;
18
+ /**
19
+ * Resource schema for AWS::Athena::CapacityReservation
20
+ */
21
+ function getCapacityReservationOutput(args, opts) {
22
+ return pulumi.output(args).apply((a) => getCapacityReservation(a, opts));
23
+ }
24
+ exports.getCapacityReservationOutput = getCapacityReservationOutput;
25
+ //# sourceMappingURL=getCapacityReservation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCapacityReservation.js","sourceRoot":"","sources":["../../athena/getCapacityReservation.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAEhG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wDAMC;AAkCD;;GAEG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,oEAEC"}
package/athena/index.d.ts CHANGED
@@ -1,6 +1,12 @@
1
+ export { CapacityReservationArgs } from "./capacityReservation";
2
+ export type CapacityReservation = import("./capacityReservation").CapacityReservation;
3
+ export declare const CapacityReservation: typeof import("./capacityReservation").CapacityReservation;
1
4
  export { DataCatalogArgs } from "./dataCatalog";
2
5
  export type DataCatalog = import("./dataCatalog").DataCatalog;
3
6
  export declare const DataCatalog: typeof import("./dataCatalog").DataCatalog;
7
+ export { GetCapacityReservationArgs, GetCapacityReservationResult, GetCapacityReservationOutputArgs } from "./getCapacityReservation";
8
+ export declare const getCapacityReservation: typeof import("./getCapacityReservation").getCapacityReservation;
9
+ export declare const getCapacityReservationOutput: typeof import("./getCapacityReservation").getCapacityReservationOutput;
4
10
  export { GetDataCatalogArgs, GetDataCatalogResult, GetDataCatalogOutputArgs } from "./getDataCatalog";
5
11
  export declare const getDataCatalog: typeof import("./getDataCatalog").getDataCatalog;
6
12
  export declare const getDataCatalogOutput: typeof import("./getDataCatalog").getDataCatalogOutput;
package/athena/index.js CHANGED
@@ -16,11 +16,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.WorkGroup = exports.PreparedStatement = exports.NamedQuery = exports.getWorkGroupOutput = exports.getWorkGroup = exports.getPreparedStatementOutput = exports.getPreparedStatement = exports.getNamedQueryOutput = exports.getNamedQuery = exports.getDataCatalogOutput = exports.getDataCatalog = exports.DataCatalog = void 0;
19
+ exports.WorkGroup = exports.PreparedStatement = exports.NamedQuery = exports.getWorkGroupOutput = exports.getWorkGroup = exports.getPreparedStatementOutput = exports.getPreparedStatement = exports.getNamedQueryOutput = exports.getNamedQuery = exports.getDataCatalogOutput = exports.getDataCatalog = exports.getCapacityReservationOutput = exports.getCapacityReservation = exports.DataCatalog = exports.CapacityReservation = void 0;
20
20
  const pulumi = require("@pulumi/pulumi");
21
21
  const utilities = require("../utilities");
22
+ exports.CapacityReservation = null;
23
+ utilities.lazyLoad(exports, ["CapacityReservation"], () => require("./capacityReservation"));
22
24
  exports.DataCatalog = null;
23
25
  utilities.lazyLoad(exports, ["DataCatalog"], () => require("./dataCatalog"));
26
+ exports.getCapacityReservation = null;
27
+ exports.getCapacityReservationOutput = null;
28
+ utilities.lazyLoad(exports, ["getCapacityReservation", "getCapacityReservationOutput"], () => require("./getCapacityReservation"));
24
29
  exports.getDataCatalog = null;
25
30
  exports.getDataCatalogOutput = null;
26
31
  utilities.lazyLoad(exports, ["getDataCatalog", "getDataCatalogOutput"], () => require("./getDataCatalog"));
@@ -45,6 +50,8 @@ const _module = {
45
50
  version: utilities.getVersion(),
46
51
  construct: (name, type, urn) => {
47
52
  switch (type) {
53
+ case "aws-native:athena:CapacityReservation":
54
+ return new exports.CapacityReservation(name, undefined, { urn });
48
55
  case "aws-native:athena:DataCatalog":
49
56
  return new exports.DataCatalog(name, undefined, { urn });
50
57
  case "aws-native:athena:NamedQuery":
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../athena/index.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;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;AAGhE,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC/E,QAAA,oBAAoB,GAA2D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,EAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAG7F,QAAA,aAAa,GAAmD,IAAW,CAAC;AAC5E,QAAA,mBAAmB,GAAyD,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,EAAC,qBAAqB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAG1F,QAAA,oBAAoB,GAAiE,IAAW,CAAC;AACjG,QAAA,0BAA0B,GAAuE,IAAW,CAAC;AAC1H,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,sBAAsB,EAAC,4BAA4B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC;AAG/G,QAAA,YAAY,GAAiD,IAAW,CAAC;AACzE,QAAA,kBAAkB,GAAuD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ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AAI,2BAAmB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjE,KAAK,+BAA+B;gBAChC,OAAO,IAAI,mBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD,KAAK,8BAA8B;gBAC/B,OAAO,IAAI,kBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,qCAAqC;gBACtC,OAAO,IAAI,yBAAiB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC/D,KAAK,6BAA6B;gBAC9B,OAAO,IAAI,iBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAA"}
package/ec2/ipam.d.ts CHANGED
@@ -26,11 +26,11 @@ export declare class IPAM extends pulumi.CustomResource {
26
26
  /**
27
27
  * The Id of the default association to the default resource discovery, created with this IPAM.
28
28
  */
29
- readonly defaultResourceDiscoveryAssociationId: pulumi.Output<string | undefined>;
29
+ readonly defaultResourceDiscoveryAssociationId: pulumi.Output<string>;
30
30
  /**
31
31
  * The Id of the default resource discovery, created with this IPAM.
32
32
  */
33
- readonly defaultResourceDiscoveryId: pulumi.Output<string | undefined>;
33
+ readonly defaultResourceDiscoveryId: pulumi.Output<string>;
34
34
  readonly description: pulumi.Output<string | undefined>;
35
35
  /**
36
36
  * Id of the IPAM.
@@ -73,14 +73,6 @@ export declare class IPAM extends pulumi.CustomResource {
73
73
  * The set of arguments for constructing a IPAM resource.
74
74
  */
75
75
  export interface IPAMArgs {
76
- /**
77
- * The Id of the default association to the default resource discovery, created with this IPAM.
78
- */
79
- defaultResourceDiscoveryAssociationId?: pulumi.Input<string>;
80
- /**
81
- * The Id of the default resource discovery, created with this IPAM.
82
- */
83
- defaultResourceDiscoveryId?: pulumi.Input<string>;
84
76
  description?: pulumi.Input<string>;
85
77
  /**
86
78
  * The regions IPAM is enabled for. Allows pools to be created in these regions, as well as enabling monitoring
package/ec2/ipam.js CHANGED
@@ -41,12 +41,12 @@ class IPAM extends pulumi.CustomResource {
41
41
  let resourceInputs = {};
42
42
  opts = opts || {};
43
43
  if (!opts.id) {
44
- resourceInputs["defaultResourceDiscoveryAssociationId"] = args ? args.defaultResourceDiscoveryAssociationId : undefined;
45
- resourceInputs["defaultResourceDiscoveryId"] = args ? args.defaultResourceDiscoveryId : undefined;
46
44
  resourceInputs["description"] = args ? args.description : undefined;
47
45
  resourceInputs["operatingRegions"] = args ? args.operatingRegions : undefined;
48
46
  resourceInputs["tags"] = args ? args.tags : undefined;
49
47
  resourceInputs["arn"] = undefined /*out*/;
48
+ resourceInputs["defaultResourceDiscoveryAssociationId"] = undefined /*out*/;
49
+ resourceInputs["defaultResourceDiscoveryId"] = undefined /*out*/;
50
50
  resourceInputs["ipamId"] = undefined /*out*/;
51
51
  resourceInputs["privateDefaultScopeId"] = undefined /*out*/;
52
52
  resourceInputs["publicDefaultScopeId"] = undefined /*out*/;
package/ec2/ipam.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"ipam.js","sourceRoot":"","sources":["../../ec2/ipam.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,IAAI,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE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i/pulumi";
2
2
  /**
3
3
  * Resource Type definition for AWS::IAM::ServiceLinkedRole
4
- *
5
- * @deprecated ServiceLinkedRole is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
6
4
  */
7
5
  export declare class ServiceLinkedRole extends pulumi.CustomResource {
8
6
  /**
@@ -29,7 +27,6 @@ export declare class ServiceLinkedRole extends pulumi.CustomResource {
29
27
  * @param args The arguments to use to populate this resource's properties.
30
28
  * @param opts A bag of options that control this resource's behavior.
31
29
  */
32
- /** @deprecated ServiceLinkedRole is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
33
30
  constructor(name: string, args: ServiceLinkedRoleArgs, opts?: pulumi.CustomResourceOptions);
34
31
  }
35
32
  /**
@@ -7,8 +7,6 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
9
  * Resource Type definition for AWS::IAM::ServiceLinkedRole
10
- *
11
- * @deprecated ServiceLinkedRole is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
12
10
  */
13
11
  class ServiceLinkedRole extends pulumi.CustomResource {
14
12
  /**
@@ -20,7 +18,6 @@ class ServiceLinkedRole extends pulumi.CustomResource {
20
18
  * @param opts Optional settings to control the behavior of the CustomResource.
21
19
  */
22
20
  static get(name, id, opts) {
23
- pulumi.log.warn("ServiceLinkedRole is deprecated: ServiceLinkedRole is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
24
21
  return new ServiceLinkedRole(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
25
22
  }
26
23
  /**
@@ -40,9 +37,7 @@ class ServiceLinkedRole extends pulumi.CustomResource {
40
37
  * @param args The arguments to use to populate this resource's properties.
41
38
  * @param opts A bag of options that control this resource's behavior.
42
39
  */
43
- /** @deprecated ServiceLinkedRole is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
44
40
  constructor(name, args, opts) {
45
- pulumi.log.warn("ServiceLinkedRole is deprecated: ServiceLinkedRole is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
46
41
  let resourceInputs = {};
47
42
  opts = opts || {};
48
43
  if (!opts.id) {
@@ -1 +1 @@
1
- {"version":3,"file":"serviceLinkedRole.js","sourceRoot":"","sources":["../../iam/serviceLinkedRole.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;GAIG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,+KAA+K,CAAC,CAAA;QAChM,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAMD;;;;;;OAMG;IACH,+JAA+J;IAC/J,YAAY,IAAY,EAAE,IAA2B,EAAE,IAAmC;QACtF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,+KAA+K,CAAC,CAAA;QAChM,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAA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EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAvDL,8CAwDC;AA3CG,gBAAgB;AACO,8BAAY,GAAG,kCAAkC,CAAC"}
@@ -4,7 +4,7 @@ import * as outputs from "../types/output";
4
4
  /**
5
5
  * Resource Type definition for AWS::KinesisAnalytics::ApplicationOutput
6
6
  *
7
- * @deprecated ApplicationOutput is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
7
+ * @deprecated ApplicationOutputResource is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
8
8
  */
9
9
  export declare class ApplicationOutputResource extends pulumi.CustomResource {
10
10
  /**
@@ -30,7 +30,7 @@ export declare class ApplicationOutputResource extends pulumi.CustomResource {
30
30
  * @param args The arguments to use to populate this resource's properties.
31
31
  * @param opts A bag of options that control this resource's behavior.
32
32
  */
33
- /** @deprecated ApplicationOutput is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
33
+ /** @deprecated ApplicationOutputResource is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
34
34
  constructor(name: string, args: ApplicationOutputResourceArgs, opts?: pulumi.CustomResourceOptions);
35
35
  }
36
36
  /**