@mavogel/awscdk-rootmail 0.1.39 → 0.1.41

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 (77) hide show
  1. package/.jsii +7 -7
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/checksums/package.json +2 -2
  5. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +2 -1
  6. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/models/enums.js +1 -0
  7. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/CreateLogGroupCommand.d.ts +1 -1
  8. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteAccountPolicyCommand.d.ts +10 -0
  9. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +3 -0
  10. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeAccountPoliciesCommand.d.ts +4 -0
  11. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeLogGroupsCommand.d.ts +5 -2
  12. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/ListAggregateLogGroupSummariesCommand.d.ts +1 -1
  13. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/ListLogGroupsCommand.d.ts +2 -2
  14. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutAccountPolicyCommand.d.ts +56 -2
  15. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutRetentionPolicyCommand.d.ts +8 -0
  16. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/enums.d.ts +1 -0
  17. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_0.d.ts +57 -6
  18. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/enums.d.ts +1 -0
  19. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +3 -3
  20. package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +1 -1
  21. package/node_modules/@aws-sdk/client-route-53/package.json +3 -3
  22. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
  23. package/node_modules/@aws-sdk/client-s3/package.json +6 -6
  24. package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +1 -1
  25. package/node_modules/@aws-sdk/client-ses/package.json +3 -3
  26. package/node_modules/@aws-sdk/client-ssm/README.md +14 -0
  27. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +55 -1
  28. package/node_modules/@aws-sdk/client-ssm/dist-es/SSM.js +4 -0
  29. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeregisterDefaultHostManagementConfigurationCommand.js +4 -0
  30. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterDefaultHostManagementConfigurationCommand.js +4 -0
  31. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/index.js +2 -0
  32. package/node_modules/@aws-sdk/client-ssm/dist-es/models/enums.js +4 -0
  33. package/node_modules/@aws-sdk/client-ssm/dist-es/schemas/schemas_0.js +33 -0
  34. package/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +15 -0
  35. package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +4 -2
  36. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParameterCommand.d.ts +6 -0
  37. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParametersCommand.d.ts +7 -0
  38. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterDefaultHostManagementConfigurationCommand.d.ts +82 -0
  39. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterCommand.d.ts +6 -0
  40. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterHistoryCommand.d.ts +11 -0
  41. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersByPathCommand.d.ts +12 -0
  42. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersCommand.d.ts +8 -1
  43. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterDefaultHostManagementConfigurationCommand.d.ts +93 -0
  44. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/index.d.ts +2 -0
  45. package/node_modules/@aws-sdk/client-ssm/dist-types/models/enums.d.ts +12 -0
  46. package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +10 -41
  47. package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +111 -8
  48. package/node_modules/@aws-sdk/client-ssm/dist-types/schemas/schemas_0.d.ts +6 -0
  49. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts +35 -0
  50. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +12 -0
  51. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterDefaultHostManagementConfigurationCommand.d.ts +42 -0
  52. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParametersCommand.d.ts +1 -1
  53. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterDefaultHostManagementConfigurationCommand.d.ts +42 -0
  54. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/index.d.ts +2 -0
  55. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/enums.d.ts +5 -0
  56. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +2 -8
  57. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +17 -0
  58. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
  59. package/node_modules/@aws-sdk/client-ssm/package.json +3 -3
  60. package/node_modules/@aws-sdk/core/package.json +1 -1
  61. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  62. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  63. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  64. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  65. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  66. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  67. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  68. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  69. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +2 -2
  70. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  71. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  72. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  73. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  74. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  75. package/node_modules/@aws-sdk/nested-clients/package.json +2 -2
  76. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  77. package/package.json +6 -6
@@ -0,0 +1,93 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { RegisterDefaultHostManagementConfigurationRequest, RegisterDefaultHostManagementConfigurationResult } from "../models/models_1";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link RegisterDefaultHostManagementConfigurationCommand}.
11
+ */
12
+ export interface RegisterDefaultHostManagementConfigurationCommandInput extends RegisterDefaultHostManagementConfigurationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link RegisterDefaultHostManagementConfigurationCommand}.
18
+ */
19
+ export interface RegisterDefaultHostManagementConfigurationCommandOutput extends RegisterDefaultHostManagementConfigurationResult, __MetadataBearer {
20
+ }
21
+ declare const RegisterDefaultHostManagementConfigurationCommand_base: {
22
+ new (input: RegisterDefaultHostManagementConfigurationCommandInput): import("@smithy/core/client").CommandImpl<RegisterDefaultHostManagementConfigurationCommandInput, RegisterDefaultHostManagementConfigurationCommandOutput, import("..").SSMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: RegisterDefaultHostManagementConfigurationCommandInput): import("@smithy/core/client").CommandImpl<RegisterDefaultHostManagementConfigurationCommandInput, RegisterDefaultHostManagementConfigurationCommandOutput, import("..").SSMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Enables Default Host Management Configuration (DHMC) for the current Amazon Web Services account and
28
+ * Amazon Web Services Region. With DHMC enabled, you don't need to configure additional resources, such as an
29
+ * instance profile, to use your Amazon EC2 instances as managed nodes in Amazon Web Services Systems Manager.</p>
30
+ * <p>To use this operation, you must have the following permissions:</p>
31
+ * <ul>
32
+ * <li>
33
+ * <p>You need the <code>ssm:GetServiceSetting</code> and <code>ssm:UpdateServiceSetting</code>
34
+ * permissions for the <code>/ssm/managed-instance/default-ec2-instance-management-role</code>
35
+ * service setting.</p>
36
+ * </li>
37
+ * <li>
38
+ * <p>You need the <code>iam:GetRole</code> and <code>iam:PassRole</code> permissions for the
39
+ * role used for Default Host Management Configuration.</p>
40
+ * </li>
41
+ * </ul>
42
+ * <p>If <code>PermissionModel</code> is <code>SERVICE_MANAGED</code>, you also need the
43
+ * <code>iam:CreateRole</code> and <code>iam:AttachRolePolicy</code> permissions so that Amazon Web Services Systems Manager
44
+ * can create and configure the role on your behalf.</p>
45
+ * @example
46
+ * Use a bare-bones client and the command you need to make an API call.
47
+ * ```javascript
48
+ * import { SSMClient, RegisterDefaultHostManagementConfigurationCommand } from "@aws-sdk/client-ssm"; // ES Modules import
49
+ * // const { SSMClient, RegisterDefaultHostManagementConfigurationCommand } = require("@aws-sdk/client-ssm"); // CommonJS import
50
+ * // import type { SSMClientConfig } from "@aws-sdk/client-ssm";
51
+ * const config = {}; // type is SSMClientConfig
52
+ * const client = new SSMClient(config);
53
+ * const input = { // RegisterDefaultHostManagementConfigurationRequest
54
+ * PermissionModel: "SERVICE_MANAGED" || "SELF_MANAGED", // required
55
+ * RoleArn: "STRING_VALUE",
56
+ * Overwrite: true || false,
57
+ * };
58
+ * const command = new RegisterDefaultHostManagementConfigurationCommand(input);
59
+ * const response = await client.send(command);
60
+ * // { // RegisterDefaultHostManagementConfigurationResult
61
+ * // RoleArn: "STRING_VALUE",
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param RegisterDefaultHostManagementConfigurationCommandInput - {@link RegisterDefaultHostManagementConfigurationCommandInput}
67
+ * @returns {@link RegisterDefaultHostManagementConfigurationCommandOutput}
68
+ * @see {@link RegisterDefaultHostManagementConfigurationCommandInput} for command's `input` shape.
69
+ * @see {@link RegisterDefaultHostManagementConfigurationCommandOutput} for command's `response` shape.
70
+ * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape.
71
+ *
72
+ * @throws {@link InternalServerError} (server fault)
73
+ * <p>An error occurred on the server side.</p>
74
+ *
75
+ * @throws {@link SSMServiceException}
76
+ * <p>Base exception class for all service exceptions from SSM service.</p>
77
+ *
78
+ *
79
+ * @public
80
+ */
81
+ export declare class RegisterDefaultHostManagementConfigurationCommand extends RegisterDefaultHostManagementConfigurationCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: RegisterDefaultHostManagementConfigurationRequest;
86
+ output: RegisterDefaultHostManagementConfigurationResult;
87
+ };
88
+ sdk: {
89
+ input: RegisterDefaultHostManagementConfigurationCommandInput;
90
+ output: RegisterDefaultHostManagementConfigurationCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -25,6 +25,7 @@ export * from "./DeleteParametersCommand";
25
25
  export * from "./DeletePatchBaselineCommand";
26
26
  export * from "./DeleteResourceDataSyncCommand";
27
27
  export * from "./DeleteResourcePolicyCommand";
28
+ export * from "./DeregisterDefaultHostManagementConfigurationCommand";
28
29
  export * from "./DeregisterManagedInstanceCommand";
29
30
  export * from "./DeregisterPatchBaselineForPatchGroupCommand";
30
31
  export * from "./DeregisterTargetFromMaintenanceWindowCommand";
@@ -116,6 +117,7 @@ export * from "./PutComplianceItemsCommand";
116
117
  export * from "./PutInventoryCommand";
117
118
  export * from "./PutParameterCommand";
118
119
  export * from "./PutResourcePolicyCommand";
120
+ export * from "./RegisterDefaultHostManagementConfigurationCommand";
119
121
  export * from "./RegisterDefaultPatchBaselineCommand";
120
122
  export * from "./RegisterPatchBaselineForPatchGroupCommand";
121
123
  export * from "./RegisterTargetWithMaintenanceWindowCommand";
@@ -1448,6 +1448,18 @@ export declare const ComplianceUploadType: {
1448
1448
  * @public
1449
1449
  */
1450
1450
  export type ComplianceUploadType = (typeof ComplianceUploadType)[keyof typeof ComplianceUploadType];
1451
+ /**
1452
+ * @public
1453
+ * @enum
1454
+ */
1455
+ export declare const DHMCPermissionModel: {
1456
+ readonly SELF_MANAGED: "SELF_MANAGED";
1457
+ readonly SERVICE_MANAGED: "SERVICE_MANAGED";
1458
+ };
1459
+ /**
1460
+ * @public
1461
+ */
1462
+ export type DHMCPermissionModel = (typeof DHMCPermissionModel)[keyof typeof DHMCPermissionModel];
1451
1463
  /**
1452
1464
  * @public
1453
1465
  * @enum
@@ -3314,6 +3314,16 @@ export interface DeleteResourcePolicyRequest {
3314
3314
  */
3315
3315
  export interface DeleteResourcePolicyResponse {
3316
3316
  }
3317
+ /**
3318
+ * @public
3319
+ */
3320
+ export interface DeregisterDefaultHostManagementConfigurationRequest {
3321
+ }
3322
+ /**
3323
+ * @public
3324
+ */
3325
+ export interface DeregisterDefaultHostManagementConfigurationResult {
3326
+ }
3317
3327
  /**
3318
3328
  * @public
3319
3329
  */
@@ -10799,44 +10809,3 @@ export interface GetParameterHistoryResult {
10799
10809
  */
10800
10810
  NextToken?: string | undefined;
10801
10811
  }
10802
- /**
10803
- * @public
10804
- */
10805
- export interface GetParametersRequest {
10806
- /**
10807
- * <p>The names or Amazon Resource Names (ARNs) of the parameters that you want to query. For
10808
- * parameters shared with you from another account, you must use the full ARNs.</p>
10809
- * <p>To query by parameter label, use <code>"Name": "name:label"</code>. To query by parameter
10810
- * version, use <code>"Name": "name:version"</code>.</p>
10811
- * <note>
10812
- * <p>The results for <code>GetParameters</code> requests are listed in alphabetical order in
10813
- * query responses.</p>
10814
- * </note>
10815
- * <p>For information about shared parameters, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-shared-parameters.html">Working with
10816
- * shared parameters</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
10817
- * @public
10818
- */
10819
- Names: string[] | undefined;
10820
- /**
10821
- * <p>Return decrypted secure string value. Return decrypted values for secure string parameters.
10822
- * This flag is ignored for <code>String</code> and <code>StringList</code> parameter types.</p>
10823
- * @public
10824
- */
10825
- WithDecryption?: boolean | undefined;
10826
- }
10827
- /**
10828
- * @public
10829
- */
10830
- export interface GetParametersResult {
10831
- /**
10832
- * <p>A list of details for a parameter.</p>
10833
- * @public
10834
- */
10835
- Parameters?: Parameter[] | undefined;
10836
- /**
10837
- * <p>A list of parameters that aren't formatted correctly or don't run during an
10838
- * execution.</p>
10839
- * @public
10840
- */
10841
- InvalidParameters?: string[] | undefined;
10842
- }
@@ -1,5 +1,46 @@
1
- import type { AssociationComplianceSeverity, AssociationFilterKey, AssociationSyncCompliance, CloudConnectorFilterKey, CommandFilterKey, CommandInvocationStatus, CommandPluginStatus, CommandStatus, ComplianceQueryOperatorType, ComplianceSeverity, ComplianceStatus, ComplianceUploadType, DocumentFilterKey, DocumentFormat, DocumentHashType, DocumentMetadataEnum, DocumentPermissionType, DocumentReviewAction, DocumentReviewCommentType, DocumentStatus, DocumentType, ExecutionMode, LastResourceDataSyncStatus, MaintenanceWindowResourceType, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskType, ManagedStatus, NodeAggregatorType, NodeAttributeName, NodeFilterKey, NodeFilterOperatorType, NodeTypeName, OperatingSystem, OpsItemEventFilterKey, OpsItemEventFilterOperator, OpsItemRelatedItemsFilterKey, OpsItemRelatedItemsFilterOperator, OpsItemStatus, ParameterTier, ParameterType, PatchAction, PatchComplianceLevel, PatchComplianceStatus, PlatformType, ResourceType, ResourceTypeForTagging, ReviewStatus, SignalType, SourceType, StopType, ValidationFindingCode, ValidationFindingScopeType, ValidationFindingType } from "./enums";
1
+ import type { AssociationComplianceSeverity, AssociationFilterKey, AssociationSyncCompliance, CloudConnectorFilterKey, CommandFilterKey, CommandInvocationStatus, CommandPluginStatus, CommandStatus, ComplianceQueryOperatorType, ComplianceSeverity, ComplianceStatus, ComplianceUploadType, DHMCPermissionModel, DocumentFilterKey, DocumentFormat, DocumentHashType, DocumentMetadataEnum, DocumentPermissionType, DocumentReviewAction, DocumentReviewCommentType, DocumentStatus, DocumentType, ExecutionMode, LastResourceDataSyncStatus, MaintenanceWindowResourceType, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskType, ManagedStatus, NodeAggregatorType, NodeAttributeName, NodeFilterKey, NodeFilterOperatorType, NodeTypeName, OperatingSystem, OpsItemEventFilterKey, OpsItemEventFilterOperator, OpsItemRelatedItemsFilterKey, OpsItemRelatedItemsFilterOperator, OpsItemStatus, ParameterTier, ParameterType, PatchAction, PatchComplianceLevel, PatchComplianceStatus, PlatformType, ResourceType, ResourceTypeForTagging, ReviewStatus, SignalType, SourceType, StopType, ValidationFindingCode, ValidationFindingScopeType, ValidationFindingType } from "./enums";
2
2
  import type { AlarmConfiguration, AlarmStateInformation, AssociationDescription, AssociationOverview, AssociationStatus, AttachmentsSource, CloudConnectorConfiguration, CloudWatchOutputConfig, DocumentDescription, DocumentRequires, InstanceAssociationOutputLocation, InventoryFilter, InventoryGroup, LoggingInfo, MaintenanceWindowTaskInvocationParameters, MaintenanceWindowTaskParameterValueExpression, MetadataValue, NotificationConfig, OpsFilter, OpsItemDataValue, OpsItemNotification, OpsResultAttribute, Parameter, ParameterStringFilter, PatchFilterGroup, PatchRuleGroup, PatchSource, RelatedOpsItem, ResourceDataSyncAwsOrganizationsSource, ResourceDataSyncS3Destination, ResourceDataSyncSource, ResultAttribute, Runbook, Tag, Target, TargetLocation } from "./models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface GetParametersRequest {
7
+ /**
8
+ * <p>The names or Amazon Resource Names (ARNs) of the parameters that you want to query. For
9
+ * parameters shared with you from another account, you must use the full ARNs.</p>
10
+ * <p>To query by parameter label, use <code>"Name": "name:label"</code>. To query by parameter
11
+ * version, use <code>"Name": "name:version"</code>.</p>
12
+ * <note>
13
+ * <p>The results for <code>GetParameters</code> requests are listed in alphabetical order in
14
+ * query responses.</p>
15
+ * </note>
16
+ * <p>For information about shared parameters, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-shared-parameters.html">Working with
17
+ * shared parameters</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
18
+ * @public
19
+ */
20
+ Names: string[] | undefined;
21
+ /**
22
+ * <p>Return decrypted secure string value. Return decrypted values for secure string parameters.
23
+ * This flag is ignored for <code>String</code> and <code>StringList</code> parameter types.</p>
24
+ * @public
25
+ */
26
+ WithDecryption?: boolean | undefined;
27
+ }
28
+ /**
29
+ * @public
30
+ */
31
+ export interface GetParametersResult {
32
+ /**
33
+ * <p>A list of details for a parameter.</p>
34
+ * @public
35
+ */
36
+ Parameters?: Parameter[] | undefined;
37
+ /**
38
+ * <p>A list of parameters that aren't formatted correctly or don't run during an
39
+ * execution.</p>
40
+ * @public
41
+ */
42
+ InvalidParameters?: string[] | undefined;
43
+ }
3
44
  /**
4
45
  * @public
5
46
  */
@@ -16,13 +57,6 @@ export interface GetParametersByPathRequest {
16
57
  Path: string | undefined;
17
58
  /**
18
59
  * <p>Retrieve all parameters within a hierarchy.</p>
19
- * <important>
20
- * <p>If a user has access to a path, then the user can access all levels of that path. For
21
- * example, if a user has permission to access path <code>/a</code>, then the user can also access
22
- * <code>/a/b</code>. Even if a user has explicitly been denied access in IAM for
23
- * parameter <code>/a/b</code>, they can still call the GetParametersByPath API operation
24
- * recursively for <code>/a</code> and view <code>/a/b</code>.</p>
25
- * </important>
26
60
  * @public
27
61
  */
28
62
  Recursive?: boolean | undefined;
@@ -4025,6 +4059,75 @@ export interface PutResourcePolicyResponse {
4025
4059
  */
4026
4060
  PolicyHash?: string | undefined;
4027
4061
  }
4062
+ /**
4063
+ * @public
4064
+ */
4065
+ export interface RegisterDefaultHostManagementConfigurationRequest {
4066
+ /**
4067
+ * <p>The permission model that determines how the IAM role for Default Host
4068
+ * Management Configuration is provided.</p>
4069
+ * <p>The permission model can be one of the following values:</p>
4070
+ * <dl>
4071
+ * <dt>SERVICE_MANAGED</dt>
4072
+ * <dd>
4073
+ * <p>Amazon Web Services Systems Manager creates and manages the role on your behalf.</p>
4074
+ * </dd>
4075
+ * <dt>SELF_MANAGED</dt>
4076
+ * <dd>
4077
+ * <p>You provide the role to register in <code>RoleArn</code>.</p>
4078
+ * </dd>
4079
+ * </dl>
4080
+ * @public
4081
+ */
4082
+ PermissionModel: DHMCPermissionModel | undefined;
4083
+ /**
4084
+ * <p>The Amazon Resource Name (ARN) of the self-managed IAM role that you register
4085
+ * for Default Host Management Configuration. The requirement for this value depends on the
4086
+ * permission model:</p>
4087
+ * <ul>
4088
+ * <li>
4089
+ * <p>If <code>PermissionModel</code> is <code>SELF_MANAGED</code>, this value is
4090
+ * required.</p>
4091
+ * </li>
4092
+ * <li>
4093
+ * <p>If <code>PermissionModel</code> is <code>SERVICE_MANAGED</code>, this value must not be
4094
+ * set.</p>
4095
+ * </li>
4096
+ * </ul>
4097
+ * @public
4098
+ */
4099
+ RoleArn?: string | undefined;
4100
+ /**
4101
+ * <p>Specifies whether to override the role that is currently registered for Default Host
4102
+ * Management Configuration. The default is <code>false</code>, which acts as a guardrail against
4103
+ * accidentally replacing an existing configuration. Set this to <code>true</code> to replace the
4104
+ * currently registered role.</p>
4105
+ * @public
4106
+ */
4107
+ Overwrite?: boolean | undefined;
4108
+ }
4109
+ /**
4110
+ * @public
4111
+ */
4112
+ export interface RegisterDefaultHostManagementConfigurationResult {
4113
+ /**
4114
+ * <p>The Amazon Resource Name (ARN) of the IAM role registered for Default Host
4115
+ * Management Configuration. The value depends on the permission model:</p>
4116
+ * <dl>
4117
+ * <dt>SERVICE_MANAGED</dt>
4118
+ * <dd>
4119
+ * <p>The ARN of the role that Amazon Web Services Systems Manager created in the IAM reserved
4120
+ * path.</p>
4121
+ * </dd>
4122
+ * <dt>SELF_MANAGED</dt>
4123
+ * <dd>
4124
+ * <p>The <code>RoleArn</code> that you provided.</p>
4125
+ * </dd>
4126
+ * </dl>
4127
+ * @public
4128
+ */
4129
+ RoleArn?: string | undefined;
4130
+ }
4028
4131
  /**
4029
4132
  * @public
4030
4133
  */
@@ -242,6 +242,8 @@ export declare var DeleteResourceDataSyncRequest$: StaticStructureSchema;
242
242
  export declare var DeleteResourceDataSyncResult$: StaticStructureSchema;
243
243
  export declare var DeleteResourcePolicyRequest$: StaticStructureSchema;
244
244
  export declare var DeleteResourcePolicyResponse$: StaticStructureSchema;
245
+ export declare var DeregisterDefaultHostManagementConfigurationRequest$: StaticStructureSchema;
246
+ export declare var DeregisterDefaultHostManagementConfigurationResult$: StaticStructureSchema;
245
247
  export declare var DeregisterManagedInstanceRequest$: StaticStructureSchema;
246
248
  export declare var DeregisterManagedInstanceResult$: StaticStructureSchema;
247
249
  export declare var DeregisterPatchBaselineForPatchGroupRequest$: StaticStructureSchema;
@@ -525,6 +527,8 @@ export declare var PutParameterRequest$: StaticStructureSchema;
525
527
  export declare var PutParameterResult$: StaticStructureSchema;
526
528
  export declare var PutResourcePolicyRequest$: StaticStructureSchema;
527
529
  export declare var PutResourcePolicyResponse$: StaticStructureSchema;
530
+ export declare var RegisterDefaultHostManagementConfigurationRequest$: StaticStructureSchema;
531
+ export declare var RegisterDefaultHostManagementConfigurationResult$: StaticStructureSchema;
528
532
  export declare var RegisterDefaultPatchBaselineRequest$: StaticStructureSchema;
529
533
  export declare var RegisterDefaultPatchBaselineResult$: StaticStructureSchema;
530
534
  export declare var RegisterPatchBaselineForPatchGroupRequest$: StaticStructureSchema;
@@ -655,6 +659,7 @@ export declare var DeleteParameters$: StaticOperationSchema;
655
659
  export declare var DeletePatchBaseline$: StaticOperationSchema;
656
660
  export declare var DeleteResourceDataSync$: StaticOperationSchema;
657
661
  export declare var DeleteResourcePolicy$: StaticOperationSchema;
662
+ export declare var DeregisterDefaultHostManagementConfiguration$: StaticOperationSchema;
658
663
  export declare var DeregisterManagedInstance$: StaticOperationSchema;
659
664
  export declare var DeregisterPatchBaselineForPatchGroup$: StaticOperationSchema;
660
665
  export declare var DeregisterTargetFromMaintenanceWindow$: StaticOperationSchema;
@@ -746,6 +751,7 @@ export declare var PutComplianceItems$: StaticOperationSchema;
746
751
  export declare var PutInventory$: StaticOperationSchema;
747
752
  export declare var PutParameter$: StaticOperationSchema;
748
753
  export declare var PutResourcePolicy$: StaticOperationSchema;
754
+ export declare var RegisterDefaultHostManagementConfiguration$: StaticOperationSchema;
749
755
  export declare var RegisterDefaultPatchBaseline$: StaticOperationSchema;
750
756
  export declare var RegisterPatchBaselineForPatchGroup$: StaticOperationSchema;
751
757
  export declare var RegisterTargetWithMaintenanceWindow$: StaticOperationSchema;
@@ -114,6 +114,10 @@ import {
114
114
  DeleteResourcePolicyCommandInput,
115
115
  DeleteResourcePolicyCommandOutput,
116
116
  } from "./commands/DeleteResourcePolicyCommand";
117
+ import {
118
+ DeregisterDefaultHostManagementConfigurationCommandInput,
119
+ DeregisterDefaultHostManagementConfigurationCommandOutput,
120
+ } from "./commands/DeregisterDefaultHostManagementConfigurationCommand";
117
121
  import {
118
122
  DeregisterManagedInstanceCommandInput,
119
123
  DeregisterManagedInstanceCommandOutput,
@@ -469,6 +473,10 @@ import {
469
473
  PutResourcePolicyCommandInput,
470
474
  PutResourcePolicyCommandOutput,
471
475
  } from "./commands/PutResourcePolicyCommand";
476
+ import {
477
+ RegisterDefaultHostManagementConfigurationCommandInput,
478
+ RegisterDefaultHostManagementConfigurationCommandOutput,
479
+ } from "./commands/RegisterDefaultHostManagementConfigurationCommand";
472
480
  import {
473
481
  RegisterDefaultPatchBaselineCommandInput,
474
482
  RegisterDefaultPatchBaselineCommandOutput,
@@ -959,6 +967,20 @@ export interface SSM {
959
967
  options: SSMRequestOptions,
960
968
  cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void,
961
969
  ): void;
970
+ deregisterDefaultHostManagementConfiguration(): Promise<DeregisterDefaultHostManagementConfigurationCommandOutput>;
971
+ deregisterDefaultHostManagementConfiguration(
972
+ args: DeregisterDefaultHostManagementConfigurationCommandInput,
973
+ options?: SSMRequestOptions,
974
+ ): Promise<DeregisterDefaultHostManagementConfigurationCommandOutput>;
975
+ deregisterDefaultHostManagementConfiguration(
976
+ args: DeregisterDefaultHostManagementConfigurationCommandInput,
977
+ cb: (err: any, data?: DeregisterDefaultHostManagementConfigurationCommandOutput) => void,
978
+ ): void;
979
+ deregisterDefaultHostManagementConfiguration(
980
+ args: DeregisterDefaultHostManagementConfigurationCommandInput,
981
+ options: SSMRequestOptions,
982
+ cb: (err: any, data?: DeregisterDefaultHostManagementConfigurationCommandOutput) => void,
983
+ ): void;
962
984
  deregisterManagedInstance(
963
985
  args: DeregisterManagedInstanceCommandInput,
964
986
  options?: SSMRequestOptions,
@@ -2172,6 +2194,19 @@ export interface SSM {
2172
2194
  options: SSMRequestOptions,
2173
2195
  cb: (err: any, data?: PutResourcePolicyCommandOutput) => void,
2174
2196
  ): void;
2197
+ registerDefaultHostManagementConfiguration(
2198
+ args: RegisterDefaultHostManagementConfigurationCommandInput,
2199
+ options?: SSMRequestOptions,
2200
+ ): Promise<RegisterDefaultHostManagementConfigurationCommandOutput>;
2201
+ registerDefaultHostManagementConfiguration(
2202
+ args: RegisterDefaultHostManagementConfigurationCommandInput,
2203
+ cb: (err: any, data?: RegisterDefaultHostManagementConfigurationCommandOutput) => void,
2204
+ ): void;
2205
+ registerDefaultHostManagementConfiguration(
2206
+ args: RegisterDefaultHostManagementConfigurationCommandInput,
2207
+ options: SSMRequestOptions,
2208
+ cb: (err: any, data?: RegisterDefaultHostManagementConfigurationCommandOutput) => void,
2209
+ ): void;
2175
2210
  registerDefaultPatchBaseline(
2176
2211
  args: RegisterDefaultPatchBaselineCommandInput,
2177
2212
  options?: SSMRequestOptions,
@@ -141,6 +141,10 @@ import {
141
141
  DeleteResourcePolicyCommandInput,
142
142
  DeleteResourcePolicyCommandOutput,
143
143
  } from "./commands/DeleteResourcePolicyCommand";
144
+ import {
145
+ DeregisterDefaultHostManagementConfigurationCommandInput,
146
+ DeregisterDefaultHostManagementConfigurationCommandOutput,
147
+ } from "./commands/DeregisterDefaultHostManagementConfigurationCommand";
144
148
  import {
145
149
  DeregisterManagedInstanceCommandInput,
146
150
  DeregisterManagedInstanceCommandOutput,
@@ -496,6 +500,10 @@ import {
496
500
  PutResourcePolicyCommandInput,
497
501
  PutResourcePolicyCommandOutput,
498
502
  } from "./commands/PutResourcePolicyCommand";
503
+ import {
504
+ RegisterDefaultHostManagementConfigurationCommandInput,
505
+ RegisterDefaultHostManagementConfigurationCommandOutput,
506
+ } from "./commands/RegisterDefaultHostManagementConfigurationCommand";
499
507
  import {
500
508
  RegisterDefaultPatchBaselineCommandInput,
501
509
  RegisterDefaultPatchBaselineCommandOutput,
@@ -664,6 +672,7 @@ export type ServiceInputTypes =
664
672
  | DeletePatchBaselineCommandInput
665
673
  | DeleteResourceDataSyncCommandInput
666
674
  | DeleteResourcePolicyCommandInput
675
+ | DeregisterDefaultHostManagementConfigurationCommandInput
667
676
  | DeregisterManagedInstanceCommandInput
668
677
  | DeregisterPatchBaselineForPatchGroupCommandInput
669
678
  | DeregisterTargetFromMaintenanceWindowCommandInput
@@ -755,6 +764,7 @@ export type ServiceInputTypes =
755
764
  | PutInventoryCommandInput
756
765
  | PutParameterCommandInput
757
766
  | PutResourcePolicyCommandInput
767
+ | RegisterDefaultHostManagementConfigurationCommandInput
758
768
  | RegisterDefaultPatchBaselineCommandInput
759
769
  | RegisterPatchBaselineForPatchGroupCommandInput
760
770
  | RegisterTargetWithMaintenanceWindowCommandInput
@@ -817,6 +827,7 @@ export type ServiceOutputTypes =
817
827
  | DeletePatchBaselineCommandOutput
818
828
  | DeleteResourceDataSyncCommandOutput
819
829
  | DeleteResourcePolicyCommandOutput
830
+ | DeregisterDefaultHostManagementConfigurationCommandOutput
820
831
  | DeregisterManagedInstanceCommandOutput
821
832
  | DeregisterPatchBaselineForPatchGroupCommandOutput
822
833
  | DeregisterTargetFromMaintenanceWindowCommandOutput
@@ -908,6 +919,7 @@ export type ServiceOutputTypes =
908
919
  | PutInventoryCommandOutput
909
920
  | PutParameterCommandOutput
910
921
  | PutResourcePolicyCommandOutput
922
+ | RegisterDefaultHostManagementConfigurationCommandOutput
911
923
  | RegisterDefaultPatchBaselineCommandOutput
912
924
  | RegisterPatchBaselineForPatchGroupCommandOutput
913
925
  | RegisterTargetWithMaintenanceWindowCommandOutput
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ DeregisterDefaultHostManagementConfigurationRequest,
4
+ DeregisterDefaultHostManagementConfigurationResult,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface DeregisterDefaultHostManagementConfigurationCommandInput extends DeregisterDefaultHostManagementConfigurationRequest {}
8
+ export interface DeregisterDefaultHostManagementConfigurationCommandOutput
9
+ extends DeregisterDefaultHostManagementConfigurationResult, __MetadataBearer {}
10
+ declare const DeregisterDefaultHostManagementConfigurationCommand_base: {
11
+ new (
12
+ input: DeregisterDefaultHostManagementConfigurationCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ DeregisterDefaultHostManagementConfigurationCommandInput,
15
+ DeregisterDefaultHostManagementConfigurationCommandOutput,
16
+ import("..").SSMClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ ...[input]: [] | [DeregisterDefaultHostManagementConfigurationCommandInput]
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ DeregisterDefaultHostManagementConfigurationCommandInput,
24
+ DeregisterDefaultHostManagementConfigurationCommandOutput,
25
+ import("..").SSMClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class DeregisterDefaultHostManagementConfigurationCommand extends DeregisterDefaultHostManagementConfigurationCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: {};
35
+ output: {};
36
+ };
37
+ sdk: {
38
+ input: DeregisterDefaultHostManagementConfigurationCommandInput;
39
+ output: DeregisterDefaultHostManagementConfigurationCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { GetParametersRequest, GetParametersResult } from "../models/models_0";
2
+ import { GetParametersRequest, GetParametersResult } from "../models/models_1";
3
3
  export { __MetadataBearer };
4
4
  export interface GetParametersCommandInput extends GetParametersRequest {}
5
5
  export interface GetParametersCommandOutput extends GetParametersResult, __MetadataBearer {}
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ RegisterDefaultHostManagementConfigurationRequest,
4
+ RegisterDefaultHostManagementConfigurationResult,
5
+ } from "../models/models_1";
6
+ export { __MetadataBearer };
7
+ export interface RegisterDefaultHostManagementConfigurationCommandInput extends RegisterDefaultHostManagementConfigurationRequest {}
8
+ export interface RegisterDefaultHostManagementConfigurationCommandOutput
9
+ extends RegisterDefaultHostManagementConfigurationResult, __MetadataBearer {}
10
+ declare const RegisterDefaultHostManagementConfigurationCommand_base: {
11
+ new (
12
+ input: RegisterDefaultHostManagementConfigurationCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ RegisterDefaultHostManagementConfigurationCommandInput,
15
+ RegisterDefaultHostManagementConfigurationCommandOutput,
16
+ import("..").SSMClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: RegisterDefaultHostManagementConfigurationCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ RegisterDefaultHostManagementConfigurationCommandInput,
24
+ RegisterDefaultHostManagementConfigurationCommandOutput,
25
+ import("..").SSMClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class RegisterDefaultHostManagementConfigurationCommand extends RegisterDefaultHostManagementConfigurationCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: RegisterDefaultHostManagementConfigurationRequest;
35
+ output: RegisterDefaultHostManagementConfigurationResult;
36
+ };
37
+ sdk: {
38
+ input: RegisterDefaultHostManagementConfigurationCommandInput;
39
+ output: RegisterDefaultHostManagementConfigurationCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -25,6 +25,7 @@ export * from "./DeleteParametersCommand";
25
25
  export * from "./DeletePatchBaselineCommand";
26
26
  export * from "./DeleteResourceDataSyncCommand";
27
27
  export * from "./DeleteResourcePolicyCommand";
28
+ export * from "./DeregisterDefaultHostManagementConfigurationCommand";
28
29
  export * from "./DeregisterManagedInstanceCommand";
29
30
  export * from "./DeregisterPatchBaselineForPatchGroupCommand";
30
31
  export * from "./DeregisterTargetFromMaintenanceWindowCommand";
@@ -116,6 +117,7 @@ export * from "./PutComplianceItemsCommand";
116
117
  export * from "./PutInventoryCommand";
117
118
  export * from "./PutParameterCommand";
118
119
  export * from "./PutResourcePolicyCommand";
120
+ export * from "./RegisterDefaultHostManagementConfigurationCommand";
119
121
  export * from "./RegisterDefaultPatchBaselineCommand";
120
122
  export * from "./RegisterPatchBaselineForPatchGroupCommand";
121
123
  export * from "./RegisterTargetWithMaintenanceWindowCommand";
@@ -811,6 +811,11 @@ export declare const ComplianceUploadType: {
811
811
  readonly Partial: "PARTIAL";
812
812
  };
813
813
  export type ComplianceUploadType = (typeof ComplianceUploadType)[keyof typeof ComplianceUploadType];
814
+ export declare const DHMCPermissionModel: {
815
+ readonly SELF_MANAGED: "SELF_MANAGED";
816
+ readonly SERVICE_MANAGED: "SERVICE_MANAGED";
817
+ };
818
+ export type DHMCPermissionModel = (typeof DHMCPermissionModel)[keyof typeof DHMCPermissionModel];
814
819
  export declare const SignalType: {
815
820
  readonly APPROVE: "Approve";
816
821
  readonly REJECT: "Reject";
@@ -626,6 +626,8 @@ export interface DeleteResourcePolicyRequest {
626
626
  DeletionMode?: DeletionMode | undefined;
627
627
  }
628
628
  export interface DeleteResourcePolicyResponse {}
629
+ export interface DeregisterDefaultHostManagementConfigurationRequest {}
630
+ export interface DeregisterDefaultHostManagementConfigurationResult {}
629
631
  export interface DeregisterManagedInstanceRequest {
630
632
  InstanceId: string | undefined;
631
633
  }
@@ -1993,11 +1995,3 @@ export interface GetParameterHistoryResult {
1993
1995
  Parameters?: ParameterHistory[] | undefined;
1994
1996
  NextToken?: string | undefined;
1995
1997
  }
1996
- export interface GetParametersRequest {
1997
- Names: string[] | undefined;
1998
- WithDecryption?: boolean | undefined;
1999
- }
2000
- export interface GetParametersResult {
2001
- Parameters?: Parameter[] | undefined;
2002
- InvalidParameters?: string[] | undefined;
2003
- }