@cdklabs/cdk-ssm-documents 0.0.75 → 0.0.76
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/.jsii +13 -13
- package/lib/construct/synth-utils.js +1 -1
- package/lib/document/automation-document.js +1 -1
- package/lib/document/command-document.js +1 -1
- package/lib/document/document-builder.js +2 -2
- package/lib/document/ssm-document.js +1 -1
- package/lib/domain/aws-service.js +1 -1
- package/lib/domain/choice.js +1 -1
- package/lib/domain/data-type.js +1 -1
- package/lib/domain/enum/install-action.js +2 -2
- package/lib/domain/enum/install-uninstall-repair.js +2 -2
- package/lib/domain/enum/installation-type.js +2 -2
- package/lib/domain/enum/package-name.js +2 -2
- package/lib/domain/input.js +1 -1
- package/lib/domain/operation.js +1 -1
- package/lib/domain/platform.js +1 -1
- package/lib/domain/precondition.js +1 -1
- package/lib/incident-response/incident-response.js +3 -3
- package/lib/interface/approve-hook.js +2 -2
- package/lib/interface/auth-method.js +3 -3
- package/lib/interface/aws-invoker.js +2 -2
- package/lib/interface/downloadable-content.js +8 -8
- package/lib/interface/environment.js +3 -3
- package/lib/interface/execute-automation-hook/api-execute-automation-hook.js +1 -1
- package/lib/interface/observer.js +1 -1
- package/lib/interface/on-failure.js +6 -6
- package/lib/interface/pause-hook.js +2 -2
- package/lib/interface/run-command-hook/api-run-command-hook.js +1 -1
- package/lib/interface/run-document-location.js +2 -2
- package/lib/interface/sleep-hook.js +2 -2
- package/lib/interface/step-ref.js +1 -1
- package/lib/interface/variables/boolean-variable.js +2 -2
- package/lib/interface/variables/map-list-variable.js +2 -2
- package/lib/interface/variables/number-variable.js +2 -2
- package/lib/interface/variables/secure-string-variable.js +4 -4
- package/lib/interface/variables/string-list-variable.js +2 -2
- package/lib/interface/variables/string-map-variable.js +2 -2
- package/lib/interface/variables/string-variable.js +4 -4
- package/lib/interface/variables/variable.js +2 -2
- package/lib/interface/webhook.js +1 -1
- package/lib/parent-steps/automation/approve-step.js +1 -1
- package/lib/parent-steps/automation/assert-aws-resource-step.js +1 -1
- package/lib/parent-steps/automation/aws-api-step.js +1 -1
- package/lib/parent-steps/automation/branch-step.js +1 -1
- package/lib/parent-steps/automation/change-instance-state-step.js +3 -3
- package/lib/parent-steps/automation/copy-image-step.js +1 -1
- package/lib/parent-steps/automation/create-image-step.js +1 -1
- package/lib/parent-steps/automation/create-stack-step.js +3 -3
- package/lib/parent-steps/automation/create-tags-step.js +3 -3
- package/lib/parent-steps/automation/delete-image-step.js +1 -1
- package/lib/parent-steps/automation/delete-stack-step.js +1 -1
- package/lib/parent-steps/automation/execute-automation-step.js +1 -1
- package/lib/parent-steps/automation/execute-script-step.js +5 -5
- package/lib/parent-steps/automation/execute-state-machine-step.js +1 -1
- package/lib/parent-steps/automation/invoke-lambda-function-step.js +1 -1
- package/lib/parent-steps/automation/invoke-webhook-step.js +1 -1
- package/lib/parent-steps/automation/pause-step.js +1 -1
- package/lib/parent-steps/automation/run-command-step.js +3 -3
- package/lib/parent-steps/automation/run-instance-step.js +1 -1
- package/lib/parent-steps/automation/sleep-step.js +1 -1
- package/lib/parent-steps/automation/update-variable.js +1 -1
- package/lib/parent-steps/automation/wait-for-resource-step.js +1 -1
- package/lib/parent-steps/automation-step.js +1 -1
- package/lib/parent-steps/command/applications-step.js +1 -1
- package/lib/parent-steps/command/configure-docker-step.js +1 -1
- package/lib/parent-steps/command/configure-package-step.js +1 -1
- package/lib/parent-steps/command/domain-join-step.js +1 -1
- package/lib/parent-steps/command/download-content-step.js +1 -1
- package/lib/parent-steps/command/ps-module-step.js +1 -1
- package/lib/parent-steps/command/run-docker-action-step.js +1 -1
- package/lib/parent-steps/command/run-document-step.js +1 -1
- package/lib/parent-steps/command/run-powershell-script-step.js +1 -1
- package/lib/parent-steps/command/run-shell-script-step.js +1 -1
- package/lib/parent-steps/command/software-inventory-step.js +1 -1
- package/lib/parent-steps/command/update-agent-step.js +1 -1
- package/lib/parent-steps/command/update-ssm-agent-step.js +1 -1
- package/lib/parent-steps/command-step.js +1 -1
- package/lib/parent-steps/step.js +1 -1
- package/lib/patterns/automation/composite-step.js +2 -2
- package/lib/patterns/automation/reboot-instance-and-wait.js +1 -1
- package/lib/patterns/automation/string-step.js +1 -1
- package/lib/patterns/document/string-document.js +1 -1
- package/lib/patterns/document/timed-document.js +1 -1
- package/lib/samples/hello-world.js +1 -1
- package/lib/simulation/automation/approve-simulation.js +1 -1
- package/lib/simulation/automation/assert-aws-resource-simulation.js +1 -1
- package/lib/simulation/automation/automation-simulation-base.js +1 -1
- package/lib/simulation/automation/aws-api-simulation.js +1 -1
- package/lib/simulation/automation/branch-simulation.js +1 -1
- package/lib/simulation/automation/change-instance-state-simulation.js +1 -1
- package/lib/simulation/automation/copy-image-simulation.js +1 -1
- package/lib/simulation/automation/create-image-simulation.js +1 -1
- package/lib/simulation/automation/create-stack-simulation.js +1 -1
- package/lib/simulation/automation/create-tags-simulation.js +1 -1
- package/lib/simulation/automation/delete-image-simulation.js +1 -1
- package/lib/simulation/automation/delete-stack-simulation.js +1 -1
- package/lib/simulation/automation/execute-script-simulation.js +1 -1
- package/lib/simulation/automation/execute-state-machine-simulation.js +1 -1
- package/lib/simulation/automation/invoke-lambda-function-simulation.js +1 -1
- package/lib/simulation/automation/invoke-webhook-simulation.js +1 -1
- package/lib/simulation/automation/pause-simulation.js +1 -1
- package/lib/simulation/automation/run-command-simulation.js +1 -1
- package/lib/simulation/automation/run-instance-simulation.js +1 -1
- package/lib/simulation/automation/sleep-simulation.js +1 -1
- package/lib/simulation/automation/update-variable-simulation.js +1 -1
- package/lib/simulation/automation/wait-for-resource-simulation.js +1 -1
- package/lib/simulation/automation-step-simulation.js +1 -1
- package/lib/simulation/command/command-simulation-base.js +1 -1
- package/lib/simulation/command/ps-module-simulation.js +1 -1
- package/lib/simulation/command/run-powershell-script-simulation.js +1 -1
- package/lib/simulation/command/run-shell-script-simulation.js +1 -1
- package/lib/simulation/command-step-simulation.js +1 -1
- package/lib/simulation/document/automation-simulation.js +1 -1
- package/lib/simulation/document/command-simulation.js +1 -1
- package/lib/simulation/simulation.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch/package.json +1 -1
- package/node_modules/@aws-sdk/client-ec2/README.md +7 -0
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +140 -12
- package/node_modules/@aws-sdk/client-ec2/dist-es/EC2.js +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/ReplaceImageInstanceTypeSpecificationCommand.js +4 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/index.js +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/enums.js +11 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +112 -11
- package/node_modules/@aws-sdk/client-ec2/dist-types/EC2.d.ts +7 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/EC2Client.d.ts +3 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDefaultVpcCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFleetCommand.d.ts +17 -3
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInterfacePermissionCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeFleetsCommand.d.ts +11 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeFlowLogsCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeImagesCommand.d.ts +12 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVpcsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableFastLaunchCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ReplaceImageInstanceTypeSpecificationCommand.d.ts +108 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotFleetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RunInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/enums.d.ts +27 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_1.d.ts +74 -59
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_2.d.ts +52 -29
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_3.d.ts +69 -118
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_4.d.ts +167 -241
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +240 -108
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +108 -190
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +252 -303
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_8.d.ts +301 -3
- package/node_modules/@aws-sdk/client-ec2/dist-types/schemas/schemas_0.d.ts +9 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +17 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateNetworkInterfacePermissionCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeFleetsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeFlowLogsCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeScheduledInstancesCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableFastLaunchCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ImportKeyPairCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ImportSnapshotCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReplaceImageInstanceTypeSpecificationCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RequestSpotFleetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RequestSpotInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ResetAddressAttributeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/enums.d.ts +15 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_1.d.ts +12 -13
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_2.d.ts +12 -9
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_3.d.ts +15 -17
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_4.d.ts +26 -55
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +49 -23
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +22 -36
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +52 -64
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_8.d.ts +63 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
- package/node_modules/@aws-sdk/client-ec2/package.json +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-iam/package.json +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-lambda/package.json +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-s3/package.json +2 -2
- package/node_modules/@aws-sdk/client-sns/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-sns/package.json +1 -1
- package/node_modules/@aws-sdk/client-sqs/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-sqs/package.json +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/package.json +1 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +10 -4
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +2 -3
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +8 -1
- package/node_modules/@smithy/node-http-handler/package.json +1 -1
- package/node_modules/js-yaml/dist/js-yaml.js +11 -3
- package/node_modules/js-yaml/dist/js-yaml.js.map +1 -1
- package/node_modules/js-yaml/dist/js-yaml.min.js +1 -1
- package/node_modules/js-yaml/dist/js-yaml.min.js.map +1 -1
- package/node_modules/js-yaml/dist/js-yaml.mjs +11 -3
- package/node_modules/js-yaml/dist/js-yaml.mjs.map +1 -1
- package/node_modules/js-yaml/lib/loader.js +16 -3
- package/node_modules/js-yaml/package.json +1 -1
- package/package.json +11 -11
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ReplaceImageInstanceTypeSpecificationRequest, ReplaceImageInstanceTypeSpecificationResult } from "../models/models_7";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ReplaceImageInstanceTypeSpecificationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ReplaceImageInstanceTypeSpecificationCommandInput extends ReplaceImageInstanceTypeSpecificationRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ReplaceImageInstanceTypeSpecificationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ReplaceImageInstanceTypeSpecificationCommandOutput extends ReplaceImageInstanceTypeSpecificationResult, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ReplaceImageInstanceTypeSpecificationCommand_base: {
|
|
22
|
+
new (input: ReplaceImageInstanceTypeSpecificationCommandInput): import("@smithy/core/client").CommandImpl<ReplaceImageInstanceTypeSpecificationCommandInput, ReplaceImageInstanceTypeSpecificationCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ReplaceImageInstanceTypeSpecificationCommandInput): import("@smithy/core/client").CommandImpl<ReplaceImageInstanceTypeSpecificationCommandInput, ReplaceImageInstanceTypeSpecificationCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Replaces or removes the instance type specification for an AMI. The instance type
|
|
28
|
+
* specification defines which instance types are compatible with the AMI.</p>
|
|
29
|
+
* <p>When you launch an instance using
|
|
30
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>, Amazon EC2 validates the requested instance type against the AMI's
|
|
31
|
+
* instance type specification. If the instance type is not compatible, the request fails with an
|
|
32
|
+
* <code>InvalidParameterCombination</code> error.</p>
|
|
33
|
+
* <p>You can specify supported instance types, unsupported instance types, or both. The
|
|
34
|
+
* evaluation logic is as follows:</p>
|
|
35
|
+
* <ul>
|
|
36
|
+
* <li>
|
|
37
|
+
* <p>No specification set – all instance types are allowed.</p>
|
|
38
|
+
* </li>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>Only <code>UnsupportedInstanceTypes</code> set – All instance types are allowed
|
|
41
|
+
* except those that match the unsupported list.</p>
|
|
42
|
+
* </li>
|
|
43
|
+
* <li>
|
|
44
|
+
* <p>
|
|
45
|
+
* <code>SupportedInstanceTypes</code> set – The instance type must match the
|
|
46
|
+
* supported list and must not match the unsupported list.</p>
|
|
47
|
+
* </li>
|
|
48
|
+
* </ul>
|
|
49
|
+
* <p>Instance type entries support wildcard patterns using <code>*</code> (for example,
|
|
50
|
+
* <code>t3.*</code> matches all t3 sizes).</p>
|
|
51
|
+
* <p>To remove an existing instance type specification, omit the
|
|
52
|
+
* <code>InstanceTypeSpecification</code> parameter or set it to <code>null</code>.</p>
|
|
53
|
+
* <p>To set the instance type specification, you must be the AMI owner. You cannot set an instance
|
|
54
|
+
* type specification on an AMI that is listed in Amazon Web Services Marketplace, and you cannot list an AMI
|
|
55
|
+
* in Amazon Web Services Marketplace if it has an instance type specification set.</p>
|
|
56
|
+
* @example
|
|
57
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
58
|
+
* ```javascript
|
|
59
|
+
* import { EC2Client, ReplaceImageInstanceTypeSpecificationCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
60
|
+
* // const { EC2Client, ReplaceImageInstanceTypeSpecificationCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
61
|
+
* // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
|
|
62
|
+
* const config = {}; // type is EC2ClientConfig
|
|
63
|
+
* const client = new EC2Client(config);
|
|
64
|
+
* const input = { // ReplaceImageInstanceTypeSpecificationRequest
|
|
65
|
+
* ImageId: "STRING_VALUE", // required
|
|
66
|
+
* InstanceTypeSpecification: { // InstanceTypeSpecificationRequest
|
|
67
|
+
* SupportedInstanceTypes: [ // SupportedInstanceTypeRequestSet
|
|
68
|
+
* "STRING_VALUE",
|
|
69
|
+
* ],
|
|
70
|
+
* UnsupportedInstanceTypes: [ // UnsupportedInstanceTypeRequestSet
|
|
71
|
+
* "STRING_VALUE",
|
|
72
|
+
* ],
|
|
73
|
+
* },
|
|
74
|
+
* DryRun: true || false,
|
|
75
|
+
* };
|
|
76
|
+
* const command = new ReplaceImageInstanceTypeSpecificationCommand(input);
|
|
77
|
+
* const response = await client.send(command);
|
|
78
|
+
* // { // ReplaceImageInstanceTypeSpecificationResult
|
|
79
|
+
* // ReturnValue: true || false,
|
|
80
|
+
* // };
|
|
81
|
+
*
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* @param ReplaceImageInstanceTypeSpecificationCommandInput - {@link ReplaceImageInstanceTypeSpecificationCommandInput}
|
|
85
|
+
* @returns {@link ReplaceImageInstanceTypeSpecificationCommandOutput}
|
|
86
|
+
* @see {@link ReplaceImageInstanceTypeSpecificationCommandInput} for command's `input` shape.
|
|
87
|
+
* @see {@link ReplaceImageInstanceTypeSpecificationCommandOutput} for command's `response` shape.
|
|
88
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link EC2ServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
92
|
+
*
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class ReplaceImageInstanceTypeSpecificationCommand extends ReplaceImageInstanceTypeSpecificationCommand_base {
|
|
97
|
+
/** @internal type navigation helper, not in runtime. */
|
|
98
|
+
protected static __types: {
|
|
99
|
+
api: {
|
|
100
|
+
input: ReplaceImageInstanceTypeSpecificationRequest;
|
|
101
|
+
output: ReplaceImageInstanceTypeSpecificationResult;
|
|
102
|
+
};
|
|
103
|
+
sdk: {
|
|
104
|
+
input: ReplaceImageInstanceTypeSpecificationCommandInput;
|
|
105
|
+
output: ReplaceImageInstanceTypeSpecificationCommandOutput;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { RequestSpotFleetRequest, RequestSpotFleetResponse } from "../models/
|
|
2
|
+
import type { RequestSpotFleetRequest, RequestSpotFleetResponse } from "../models/models_8";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotInstancesCommand.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { RequestSpotInstancesRequest, RequestSpotInstancesResult } from "../models/
|
|
2
|
+
import type { RequestSpotInstancesRequest, RequestSpotInstancesResult } from "../models/models_8";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ResetAddressAttributeCommand.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ResetAddressAttributeRequest, ResetAddressAttributeResult } from "../models/
|
|
2
|
+
import type { ResetAddressAttributeRequest, ResetAddressAttributeResult } from "../models/models_8";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ResetEbsDefaultKmsKeyIdRequest } from "../models/
|
|
3
|
-
import type { ResetEbsDefaultKmsKeyIdResult } from "../models/models_8";
|
|
2
|
+
import type { ResetEbsDefaultKmsKeyIdRequest, ResetEbsDefaultKmsKeyIdResult } from "../models/models_8";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -172,7 +172,7 @@ declare const RunInstancesCommand_base: {
|
|
|
172
172
|
* Version: "STRING_VALUE",
|
|
173
173
|
* },
|
|
174
174
|
* InstanceMarketOptions: { // InstanceMarketOptionsRequest
|
|
175
|
-
* MarketType: "spot" || "capacity-block" || "interruptible-capacity-reservation",
|
|
175
|
+
* MarketType: "spot" || "capacity-block" || "interruptible-capacity-reservation" || "on-demand",
|
|
176
176
|
* SpotOptions: { // SpotMarketOptions
|
|
177
177
|
* MaxPrice: "STRING_VALUE",
|
|
178
178
|
* SpotInstanceType: "one-time" || "persistent",
|
|
@@ -748,6 +748,7 @@ export * from "./ReleaseHostsCommand";
|
|
|
748
748
|
export * from "./ReleaseIpamPoolAllocationCommand";
|
|
749
749
|
export * from "./ReplaceIamInstanceProfileAssociationCommand";
|
|
750
750
|
export * from "./ReplaceImageCriteriaInAllowedImagesSettingsCommand";
|
|
751
|
+
export * from "./ReplaceImageInstanceTypeSpecificationCommand";
|
|
751
752
|
export * from "./ReplaceNetworkAclAssociationCommand";
|
|
752
753
|
export * from "./ReplaceNetworkAclEntryCommand";
|
|
753
754
|
export * from "./ReplaceRouteCommand";
|
|
@@ -3089,6 +3089,7 @@ export type Tenancy = (typeof Tenancy)[keyof typeof Tenancy];
|
|
|
3089
3089
|
*/
|
|
3090
3090
|
export declare const VpcState: {
|
|
3091
3091
|
readonly available: "available";
|
|
3092
|
+
readonly deleting: "deleting";
|
|
3092
3093
|
readonly pending: "pending";
|
|
3093
3094
|
};
|
|
3094
3095
|
/**
|
|
@@ -3269,17 +3270,41 @@ export declare const FleetCapacityReservationUsageStrategy: {
|
|
|
3269
3270
|
* @public
|
|
3270
3271
|
*/
|
|
3271
3272
|
export type FleetCapacityReservationUsageStrategy = (typeof FleetCapacityReservationUsageStrategy)[keyof typeof FleetCapacityReservationUsageStrategy];
|
|
3273
|
+
/**
|
|
3274
|
+
* @public
|
|
3275
|
+
* @enum
|
|
3276
|
+
*/
|
|
3277
|
+
export declare const ReservedCapacityAllocationStrategy: {
|
|
3278
|
+
readonly PRIORITIZED: "prioritized";
|
|
3279
|
+
};
|
|
3280
|
+
/**
|
|
3281
|
+
* @public
|
|
3282
|
+
*/
|
|
3283
|
+
export type ReservedCapacityAllocationStrategy = (typeof ReservedCapacityAllocationStrategy)[keyof typeof ReservedCapacityAllocationStrategy];
|
|
3272
3284
|
/**
|
|
3273
3285
|
* @public
|
|
3274
3286
|
* @enum
|
|
3275
3287
|
*/
|
|
3276
3288
|
export declare const FleetReservationType: {
|
|
3289
|
+
readonly CAPACITY_BLOCK: "capacity-block";
|
|
3277
3290
|
readonly INTERRUPTIBLE_CAPACITY_RESERVATION: "interruptible-capacity-reservation";
|
|
3291
|
+
readonly ON_DEMAND_CAPACITY_RESERVATION: "on-demand-capacity-reservation";
|
|
3278
3292
|
};
|
|
3279
3293
|
/**
|
|
3280
3294
|
* @public
|
|
3281
3295
|
*/
|
|
3282
3296
|
export type FleetReservationType = (typeof FleetReservationType)[keyof typeof FleetReservationType];
|
|
3297
|
+
/**
|
|
3298
|
+
* @public
|
|
3299
|
+
* @enum
|
|
3300
|
+
*/
|
|
3301
|
+
export declare const ReservedCapacityFallbackMarketType: {
|
|
3302
|
+
readonly ON_DEMAND: "on-demand";
|
|
3303
|
+
};
|
|
3304
|
+
/**
|
|
3305
|
+
* @public
|
|
3306
|
+
*/
|
|
3307
|
+
export type ReservedCapacityFallbackMarketType = (typeof ReservedCapacityFallbackMarketType)[keyof typeof ReservedCapacityFallbackMarketType];
|
|
3283
3308
|
/**
|
|
3284
3309
|
* @public
|
|
3285
3310
|
* @enum
|
|
@@ -3365,6 +3390,7 @@ export type FleetType = (typeof FleetType)[keyof typeof FleetType];
|
|
|
3365
3390
|
* @enum
|
|
3366
3391
|
*/
|
|
3367
3392
|
export declare const InstanceLifecycle: {
|
|
3393
|
+
readonly CAPACITY_BLOCK: "capacity-block";
|
|
3368
3394
|
readonly INTERRUPTIBLE_CAPACITY_RESERVATION: "interruptible-capacity-reservation";
|
|
3369
3395
|
readonly ON_DEMAND: "on-demand";
|
|
3370
3396
|
readonly SPOT: "spot";
|
|
@@ -3982,6 +4008,7 @@ export type ShutdownBehavior = (typeof ShutdownBehavior)[keyof typeof ShutdownBe
|
|
|
3982
4008
|
export declare const MarketType: {
|
|
3983
4009
|
readonly capacity_block: "capacity-block";
|
|
3984
4010
|
readonly interruptible_capacity_reservation: "interruptible-capacity-reservation";
|
|
4011
|
+
readonly on_demand: "on-demand";
|
|
3985
4012
|
readonly spot: "spot";
|
|
3986
4013
|
};
|
|
3987
4014
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { _InstanceType, AcceleratorManufacturer, AcceleratorName, AcceleratorType, AddressFamily, AmdSevSnpSpecification, AttachmentStatus, AutoProvisionZonesState, AutoScalingIpsState, AvailabilityMode, BareMetal, BlockPublicAccessMode, BurstablePerformance, CapacityReservationPreference, ClientVpnEndpointStatusCode, ClientVpnRouteStatusCode, ConnectivityType, ContainerFormat, CpuManufacturer, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, Ec2InstanceConnectEndpointState, EndpointIpAddressType, ExportEnvironment, ExportTaskState, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetHttpTokensState, FleetInstanceMetadataEndpointState, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetType, FlowLogsResourceType, GatewayType, HostnameType, InstanceBandwidthWeighting, InstanceGeneration, InstanceInterruptionBehavior, InstanceLifecycle,
|
|
1
|
+
import type { _InstanceType, AcceleratorManufacturer, AcceleratorName, AcceleratorType, AddressFamily, AmdSevSnpSpecification, AttachmentStatus, AutoProvisionZonesState, AutoScalingIpsState, AvailabilityMode, BareMetal, BlockPublicAccessMode, BurstablePerformance, CapacityReservationPreference, ClientVpnEndpointStatusCode, ClientVpnRouteStatusCode, ConnectivityType, ContainerFormat, CpuManufacturer, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, Ec2InstanceConnectEndpointState, EndpointIpAddressType, ExportEnvironment, ExportTaskState, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetHttpTokensState, FleetInstanceMetadataEndpointState, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetType, FlowLogsResourceType, GatewayType, HostnameType, InstanceBandwidthWeighting, InstanceGeneration, InstanceInterruptionBehavior, InstanceLifecycle, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpAddressType, IpamExternalResourceVerificationTokenState, IpamInternetRegistryAssociationState, IpamMeteredAccount, IpamPolicyState, IpamPoolAwsService, IpamPoolPublicIpSource, IpamPoolSourceResourceType, IpamPoolState, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPrefixListResolverState, IpamPrefixListResolverTargetState, IpamPrefixListResolverVersionCreationStatus, IpamResourceDiscoveryState, IpamResourceType, IpamScopeExternalAuthorityType, IpamScopeState, IpamScopeType, IpamState, IpamTier, KeyFormat, KeyType, LaunchTemplateAutoRecoveryState, LaunchTemplateHttpTokensState, LaunchTemplateInstanceMetadataEndpointState, LaunchTemplateInstanceMetadataOptionsState, LaunchTemplateInstanceMetadataProtocolIpv6, LaunchTemplateInstanceMetadataTagsState, LocalGatewayRouteState, LocalGatewayRouteTableMode, LocalGatewayRouteType, LocalGatewayVirtualInterfaceConfigurationState, LocalGatewayVirtualInterfaceGroupConfigurationState, LocalStorage, LocalStorageType, LogDestinationType, MacModificationTaskState, MacModificationTaskType, MacSystemIntegrityProtectionSettingStatus, MarketType, NatGatewayApplianceModifyState, NatGatewayApplianceState, NatGatewayApplianceType, NatGatewayState, NestedVirtualizationSpecification, NetworkInterfaceCreationType, NetworkInterfaceStatus, NetworkInterfaceType, PlatformValues, PrefixListState, Protocol, ReservedCapacityAllocationStrategy, ReservedCapacityFallbackMarketType, ResourceType, Rir, RuleAction, SecondaryInterfaceType, SelfServicePortal, ShutdownBehavior, SnapshotLocationEnum, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, SpotInstanceType, SubnetState, TaggableResourceType, TargetCapacityUnitType, Tenancy, TokenState, TrafficIpAddressType, TrafficType, TransportProtocol, VolumeType, VpcEncryptionControlExclusionState, VpcEncryptionControlMode, VpcEncryptionControlState, VpcState, WeekDay } from "./enums";
|
|
2
2
|
import type { AcceleratorCount, AcceleratorCountRequest, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, ClientConnectOptions, ClientLoginBannerOptions, ClientRouteEnforcementOptions, ClientVpnAuthenticationRequest, InstanceEventWindow, IpamRoutingPolicyRegistrationDelta, Ipv4PrefixSpecification, NatGatewayAddress, OperatorResponse, PortRange, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation } from "./models_0";
|
|
3
3
|
/**
|
|
4
4
|
* <p>Describes the client connection logging options for the Client VPN endpoint.</p>
|
|
@@ -2812,7 +2812,44 @@ export interface OnDemandOptionsRequest {
|
|
|
2812
2812
|
MaxTotalPrice?: string | undefined;
|
|
2813
2813
|
}
|
|
2814
2814
|
/**
|
|
2815
|
-
* <p>
|
|
2815
|
+
* <p>Describes the target Capacity Reservations or Capacity Reservation Resource Groups for an EC2 Fleet
|
|
2816
|
+
* that launches into reserved capacity. You can specify Capacity Reservation IDs or a
|
|
2817
|
+
* Capacity Reservation Resource Group ARN, but not both.</p>
|
|
2818
|
+
* @public
|
|
2819
|
+
*/
|
|
2820
|
+
export interface FleetCapacityReservationTargetRequest {
|
|
2821
|
+
/**
|
|
2822
|
+
* <p>The IDs of the Capacity Reservations in which to launch the instances.</p>
|
|
2823
|
+
* @public
|
|
2824
|
+
*/
|
|
2825
|
+
CapacityReservationIds?: string[] | undefined;
|
|
2826
|
+
/**
|
|
2827
|
+
* <p>The ARNs of the Capacity Reservation Resource Groups in which to launch the
|
|
2828
|
+
* instances.</p>
|
|
2829
|
+
* @public
|
|
2830
|
+
*/
|
|
2831
|
+
CapacityReservationResourceGroupArns?: string[] | undefined;
|
|
2832
|
+
}
|
|
2833
|
+
/**
|
|
2834
|
+
* <p>Describes the fallback behavior for an EC2 Fleet that uses reserved capacity when the
|
|
2835
|
+
* reserved capacity is not enough to meet the target capacity. If you don't specify
|
|
2836
|
+
* fallback options, EC2 Fleet does not fall back to any other market type after the specified
|
|
2837
|
+
* reservation types are exhausted.</p>
|
|
2838
|
+
* @public
|
|
2839
|
+
*/
|
|
2840
|
+
export interface ReservedCapacityFallbackOptionsRequest {
|
|
2841
|
+
/**
|
|
2842
|
+
* <p>The instance purchasing options to fall back to when the reserved capacity is not
|
|
2843
|
+
* enough to meet the target capacity. The only supported value is <code>on-demand</code>,
|
|
2844
|
+
* which launches On-Demand Instances to fulfill the remaining target capacity.</p>
|
|
2845
|
+
* @public
|
|
2846
|
+
*/
|
|
2847
|
+
MarketTypes?: ReservedCapacityFallbackMarketType[] | undefined;
|
|
2848
|
+
}
|
|
2849
|
+
/**
|
|
2850
|
+
* <p>Defines EC2 Fleet preferences for utilizing reserved capacity when <code>DefaultTargetCapacityType</code>
|
|
2851
|
+
* is set to <code>reserved-capacity</code>. EC2 Fleet can fulfill reserved capacity using On-Demand Capacity Reservations,
|
|
2852
|
+
* Capacity Blocks for ML, and interruptible Capacity Reservations.</p>
|
|
2816
2853
|
* <note>
|
|
2817
2854
|
* <p>This configuration can only be used if the EC2 Fleet is of type
|
|
2818
2855
|
* <code>instant</code>.</p>
|
|
@@ -2820,16 +2857,42 @@ export interface OnDemandOptionsRequest {
|
|
|
2820
2857
|
* <p>When you specify <code>ReservedCapacityOptions</code>, you must also set
|
|
2821
2858
|
* <code>DefaultTargetCapacityType</code> to <code>reserved-capacity</code> in the
|
|
2822
2859
|
* <code>TargetCapacitySpecification</code>.</p>
|
|
2823
|
-
* <p>For more information about
|
|
2824
|
-
* instances into an
|
|
2860
|
+
* <p>For more information about interruptible Capacity Reservations, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-launch-instances-interruptible-cr-walkthrough.html">Launch
|
|
2861
|
+
* instances into an interruptible Capacity Reservation</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
2825
2862
|
* @public
|
|
2826
2863
|
*/
|
|
2827
2864
|
export interface ReservedCapacityOptionsRequest {
|
|
2828
2865
|
/**
|
|
2829
|
-
* <p>The
|
|
2866
|
+
* <p>The strategy that determines the order in which EC2 Fleet launches instances across the
|
|
2867
|
+
* reservation types that you specify. The only supported value is <code>prioritized</code>,
|
|
2868
|
+
* which launches instances in the priority order that you specify in your launch template
|
|
2869
|
+
* overrides. If you don't specify an allocation strategy, instances are launched in a
|
|
2870
|
+
* random order.</p>
|
|
2871
|
+
* @public
|
|
2872
|
+
*/
|
|
2873
|
+
AllocationStrategy?: ReservedCapacityAllocationStrategy | undefined;
|
|
2874
|
+
/**
|
|
2875
|
+
* <p>The types of Capacity Reservations to use for fulfilling the EC2 Fleet request. This is an
|
|
2876
|
+
* ordered list: EC2 Fleet attempts to launch instances into each Capacity Reservation type in the order
|
|
2877
|
+
* that you specify them before moving on to the next type.</p>
|
|
2830
2878
|
* @public
|
|
2831
2879
|
*/
|
|
2832
2880
|
ReservationTypes?: FleetReservationType[] | undefined;
|
|
2881
|
+
/**
|
|
2882
|
+
* <p>The Capacity Reservations or Capacity Reservation Resource Groups to use for fulfilling the EC2 Fleet
|
|
2883
|
+
* request. You can specify Capacity Reservation IDs or a Capacity Reservation Resource Group
|
|
2884
|
+
* ARN, but not both.</p>
|
|
2885
|
+
* @public
|
|
2886
|
+
*/
|
|
2887
|
+
CapacityReservationTarget?: FleetCapacityReservationTargetRequest | undefined;
|
|
2888
|
+
/**
|
|
2889
|
+
* <p>The fallback behavior for the EC2 Fleet when there is not enough reserved capacity available
|
|
2890
|
+
* to meet the target capacity. This member takes a
|
|
2891
|
+
* <code>ReservedCapacityFallbackOptionsRequest</code> structure, in which you set
|
|
2892
|
+
* <code>MarketTypes</code> to the instance purchasing options to fall back to.</p>
|
|
2893
|
+
* @public
|
|
2894
|
+
*/
|
|
2895
|
+
ReservedCapacityFallbackOptions?: ReservedCapacityFallbackOptionsRequest | undefined;
|
|
2833
2896
|
}
|
|
2834
2897
|
/**
|
|
2835
2898
|
* <p>The Spot Instance replacement strategy to use when Amazon EC2 emits a rebalance
|
|
@@ -4200,8 +4263,10 @@ export interface CreateFleetError {
|
|
|
4200
4263
|
*/
|
|
4201
4264
|
LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
|
|
4202
4265
|
/**
|
|
4203
|
-
* <p>Indicates if the instance that could not be launched was a Spot, On-Demand, Capacity Block,
|
|
4204
|
-
* or
|
|
4266
|
+
* <p>Indicates if the instance that could not be launched was a Spot, On-Demand, Capacity Block for ML,
|
|
4267
|
+
* or interruptible Capacity Reservation instance. If you are using <code>ReservedCapacityOptions</code> with
|
|
4268
|
+
* <code>on-demand-capacity-reservation</code> in the <code>ReservationTypes</code> list, the
|
|
4269
|
+
* value can also be <code>on-demand-capacity-reservation</code>.</p>
|
|
4205
4270
|
* @public
|
|
4206
4271
|
*/
|
|
4207
4272
|
Lifecycle?: InstanceLifecycle | undefined;
|
|
@@ -4230,8 +4295,8 @@ export interface CreateFleetInstance {
|
|
|
4230
4295
|
*/
|
|
4231
4296
|
LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
|
|
4232
4297
|
/**
|
|
4233
|
-
* <p>Indicates if the instance that was launched is a Spot, On-Demand, Capacity Block,
|
|
4234
|
-
* or
|
|
4298
|
+
* <p>Indicates if the instance that was launched is a Spot, On-Demand, Capacity Block for ML,
|
|
4299
|
+
* or interruptible Capacity Reservation instance.</p>
|
|
4235
4300
|
* @public
|
|
4236
4301
|
*/
|
|
4237
4302
|
Lifecycle?: InstanceLifecycle | undefined;
|
|
@@ -12692,53 +12757,3 @@ export interface CreateNetworkInterfaceResult {
|
|
|
12692
12757
|
*/
|
|
12693
12758
|
ClientToken?: string | undefined;
|
|
12694
12759
|
}
|
|
12695
|
-
/**
|
|
12696
|
-
* <p>Contains the parameters for CreateNetworkInterfacePermission.</p>
|
|
12697
|
-
* @public
|
|
12698
|
-
*/
|
|
12699
|
-
export interface CreateNetworkInterfacePermissionRequest {
|
|
12700
|
-
/**
|
|
12701
|
-
* <p>The ID of the network interface.</p>
|
|
12702
|
-
* @public
|
|
12703
|
-
*/
|
|
12704
|
-
NetworkInterfaceId: string | undefined;
|
|
12705
|
-
/**
|
|
12706
|
-
* <p>The Amazon Web Services account ID.</p>
|
|
12707
|
-
* @public
|
|
12708
|
-
*/
|
|
12709
|
-
AwsAccountId?: string | undefined;
|
|
12710
|
-
/**
|
|
12711
|
-
* <p>The Amazon Web Services service. Currently not supported.</p>
|
|
12712
|
-
* @public
|
|
12713
|
-
*/
|
|
12714
|
-
AwsService?: string | undefined;
|
|
12715
|
-
/**
|
|
12716
|
-
* <p>The type of permission to grant.</p>
|
|
12717
|
-
* @public
|
|
12718
|
-
*/
|
|
12719
|
-
Permission: InterfacePermissionType | undefined;
|
|
12720
|
-
/**
|
|
12721
|
-
* <p>Checks whether you have the required permissions for the action, without actually
|
|
12722
|
-
* making the request, and provides an error response. If you have the required
|
|
12723
|
-
* permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
|
|
12724
|
-
* <code>UnauthorizedOperation</code>.</p>
|
|
12725
|
-
* @public
|
|
12726
|
-
*/
|
|
12727
|
-
DryRun?: boolean | undefined;
|
|
12728
|
-
}
|
|
12729
|
-
/**
|
|
12730
|
-
* <p>Describes the state of a network interface permission.</p>
|
|
12731
|
-
* @public
|
|
12732
|
-
*/
|
|
12733
|
-
export interface NetworkInterfacePermissionState {
|
|
12734
|
-
/**
|
|
12735
|
-
* <p>The state of the permission.</p>
|
|
12736
|
-
* @public
|
|
12737
|
-
*/
|
|
12738
|
-
State?: NetworkInterfacePermissionStateCode | undefined;
|
|
12739
|
-
/**
|
|
12740
|
-
* <p>A status message, if applicable.</p>
|
|
12741
|
-
* @public
|
|
12742
|
-
*/
|
|
12743
|
-
StatusMessage?: string | undefined;
|
|
12744
|
-
}
|
|
@@ -1,6 +1,56 @@
|
|
|
1
|
-
import type { ApplianceModeSupportValue, AutoAcceptSharedAssociationsValue, AutoAcceptSharedAttachmentsValue, BgpStatus, ConnectionNotificationState, ConnectionNotificationType, CopyTagsFromSource, CurrencyCodeValues, DatafeedSubscriptionState, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DeleteFleetErrorCode, DeviceTrustProviderType, DnsNameState, DnsRecordIpType, DnsSupportValue, DynamicRoutingValue, EncryptionStateValue, FleetStateCode, GatewayAssociationState, GatewayType, Igmpv2SupportValue, InstanceEventWindowState, InterfacePermissionType, InternetGatewayExclusionMode, IpAddressType, Ipv6SupportValue, LaunchTemplateErrorCode, MulticastSupportValue, PayerResponsibility, PayerResponsibilityScope, PayerResponsibilityType, PlacementGroupState, PlacementStrategy, ProtocolValue, ReplaceRootVolumeTaskState, RouteOrigin, RouteServerBfdState, RouteServerBgpState, RouteServerEndpointState, RouteServerPeerLivenessMode, RouteServerPeerState, RouteServerPersistRoutesAction, RouteServerPersistRoutesState, RouteServerState, RouteState, SecondaryNetworkCidrBlockAssociationState, SecondaryNetworkState, SecondaryNetworkType, SecondarySubnetCidrBlockAssociationState, SecondarySubnetState, SecurityGroupReferencingSupportValue, ServiceConnectivityType, ServiceState, ServiceType, SnapshotLocationEnum, SnapshotState, SpreadLevel, SSEType, State, StaticSourcesSupportValue, StorageTier, SubnetCidrReservationType, TelemetryStatus, Tenancy, TrafficDirection, TrafficMirrorNetworkService, TrafficMirrorRuleAction, TrafficMirrorTargetType, TransferType, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayConnectPeerState, TransitGatewayMeteringPayerType, TransitGatewayMeteringPolicyEntryState, TransitGatewayMeteringPolicyState, TransitGatewayMulticastDomainState, TransitGatewayPolicyTableEntryState, TransitGatewayPolicyTableState, TransitGatewayPrefixListReferenceState, TransitGatewayRouteState, TransitGatewayRouteTableAnnouncementDirection, TransitGatewayRouteTableAnnouncementState, TransitGatewayRouteTableState, TransitGatewayRouteType, TransitGatewayState, TrustProviderType, TunnelInsideIpVersion, UserTrustProviderType, VerifiedAccessEndpointAttachmentType, VerifiedAccessEndpointProtocol, VerifiedAccessEndpointStatusCode, VerifiedAccessEndpointType, VolumeType, VpcBlockPublicAccessExclusionState, VpcEncryptionControlExclusionStateInput, VpcEncryptionControlMode, VpcEndpointType, VpnConcentratorType, VpnEcmpSupportValue, VpnState, VpnStaticRouteSource, VpnTunnelBandwidth } from "./enums";
|
|
1
|
+
import type { ApplianceModeSupportValue, AutoAcceptSharedAssociationsValue, AutoAcceptSharedAttachmentsValue, BgpStatus, ConnectionNotificationState, ConnectionNotificationType, CopyTagsFromSource, CurrencyCodeValues, DatafeedSubscriptionState, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DeleteFleetErrorCode, DeviceTrustProviderType, DnsNameState, DnsRecordIpType, DnsSupportValue, DynamicRoutingValue, EncryptionStateValue, FleetStateCode, GatewayAssociationState, GatewayType, Igmpv2SupportValue, InstanceEventWindowState, InterfacePermissionType, InternetGatewayExclusionMode, IpAddressType, Ipv6SupportValue, LaunchTemplateErrorCode, MulticastSupportValue, NetworkInterfacePermissionStateCode, PayerResponsibility, PayerResponsibilityScope, PayerResponsibilityType, PlacementGroupState, PlacementStrategy, ProtocolValue, ReplaceRootVolumeTaskState, RouteOrigin, RouteServerBfdState, RouteServerBgpState, RouteServerEndpointState, RouteServerPeerLivenessMode, RouteServerPeerState, RouteServerPersistRoutesAction, RouteServerPersistRoutesState, RouteServerState, RouteState, SecondaryNetworkCidrBlockAssociationState, SecondaryNetworkState, SecondaryNetworkType, SecondarySubnetCidrBlockAssociationState, SecondarySubnetState, SecurityGroupReferencingSupportValue, ServiceConnectivityType, ServiceState, ServiceType, SnapshotLocationEnum, SnapshotState, SpreadLevel, SSEType, State, StaticSourcesSupportValue, StorageTier, SubnetCidrReservationType, TelemetryStatus, Tenancy, TrafficDirection, TrafficMirrorNetworkService, TrafficMirrorRuleAction, TrafficMirrorTargetType, TransferType, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayConnectPeerState, TransitGatewayMeteringPayerType, TransitGatewayMeteringPolicyEntryState, TransitGatewayMeteringPolicyState, TransitGatewayMulticastDomainState, TransitGatewayPolicyTableEntryState, TransitGatewayPolicyTableState, TransitGatewayPrefixListReferenceState, TransitGatewayRouteState, TransitGatewayRouteTableAnnouncementDirection, TransitGatewayRouteTableAnnouncementState, TransitGatewayRouteTableState, TransitGatewayRouteType, TransitGatewayState, TrustProviderType, TunnelInsideIpVersion, UserTrustProviderType, VerifiedAccessEndpointAttachmentType, VerifiedAccessEndpointProtocol, VerifiedAccessEndpointStatusCode, VerifiedAccessEndpointType, VolumeType, VpcBlockPublicAccessExclusionState, VpcEncryptionControlExclusionStateInput, VpcEncryptionControlMode, VpcEndpointType, VpnConcentratorType, VpnEcmpSupportValue, VpnState, VpnStaticRouteSource, VpnTunnelBandwidth } from "./enums";
|
|
2
2
|
import type { ApplicationStatusCheckResponseObject, CarrierGateway, IpamRoutingPolicyRegistrationDelta, OperatorResponse, ReservedInstancesListing, RouteTableAssociationState, Tag, TagSpecification, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider, VpcAttachment, VpcPeeringConnection } from "./models_0";
|
|
3
|
-
import type { ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, Ec2InstanceConnectEndpoint, Ipam, IpamExternalResourceVerificationToken, IpamInternetRegistryAssociation, IpamPolicy, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation,
|
|
3
|
+
import type { ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, Ec2InstanceConnectEndpoint, Ipam, IpamExternalResourceVerificationToken, IpamInternetRegistryAssociation, IpamPolicy, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, OperatorRequest, Subnet, Vpc, VpcEncryptionControl } from "./models_1";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Contains the parameters for CreateNetworkInterfacePermission.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface CreateNetworkInterfacePermissionRequest {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The ID of the network interface.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
NetworkInterfaceId: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The Amazon Web Services account ID.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
AwsAccountId?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* <p>The Amazon Web Services service. Currently not supported.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
AwsService?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The type of permission to grant.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
Permission: InterfacePermissionType | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <p>Checks whether you have the required permissions for the action, without actually
|
|
31
|
+
* making the request, and provides an error response. If you have the required
|
|
32
|
+
* permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
|
|
33
|
+
* <code>UnauthorizedOperation</code>.</p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
DryRun?: boolean | undefined;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* <p>Describes the state of a network interface permission.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export interface NetworkInterfacePermissionState {
|
|
43
|
+
/**
|
|
44
|
+
* <p>The state of the permission.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
State?: NetworkInterfacePermissionStateCode | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* <p>A status message, if applicable.</p>
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
StatusMessage?: string | undefined;
|
|
53
|
+
}
|
|
4
54
|
/**
|
|
5
55
|
* <p>Describes a permission for a network interface.</p>
|
|
6
56
|
* @public
|
|
@@ -9091,30 +9141,3 @@ export interface DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRes
|
|
|
9091
9141
|
*/
|
|
9092
9142
|
LocalGatewayRouteTableVirtualInterfaceGroupAssociation?: LocalGatewayRouteTableVirtualInterfaceGroupAssociation | undefined;
|
|
9093
9143
|
}
|
|
9094
|
-
/**
|
|
9095
|
-
* @public
|
|
9096
|
-
*/
|
|
9097
|
-
export interface DeleteLocalGatewayRouteTableVpcAssociationRequest {
|
|
9098
|
-
/**
|
|
9099
|
-
* <p>The ID of the association.</p>
|
|
9100
|
-
* @public
|
|
9101
|
-
*/
|
|
9102
|
-
LocalGatewayRouteTableVpcAssociationId: string | undefined;
|
|
9103
|
-
/**
|
|
9104
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
9105
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
9106
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
9107
|
-
* @public
|
|
9108
|
-
*/
|
|
9109
|
-
DryRun?: boolean | undefined;
|
|
9110
|
-
}
|
|
9111
|
-
/**
|
|
9112
|
-
* @public
|
|
9113
|
-
*/
|
|
9114
|
-
export interface DeleteLocalGatewayRouteTableVpcAssociationResult {
|
|
9115
|
-
/**
|
|
9116
|
-
* <p>Information about the association.</p>
|
|
9117
|
-
* @public
|
|
9118
|
-
*/
|
|
9119
|
-
LocalGatewayRouteTableVpcAssociation?: LocalGatewayRouteTableVpcAssociation | undefined;
|
|
9120
|
-
}
|