aws-sdk 2.1637.0 → 2.1639.0
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/README.md +1 -1
- package/apis/accessanalyzer-2019-11-01.examples.json +196 -0
- package/apis/accessanalyzer-2019-11-01.min.json +254 -111
- package/apis/accessanalyzer-2019-11-01.paginators.json +6 -0
- package/apis/application-signals-2024-04-15.examples.json +5 -0
- package/apis/application-signals-2024-04-15.min.json +975 -0
- package/apis/application-signals-2024-04-15.paginators.json +34 -0
- package/apis/ecs-2014-11-13.min.json +290 -256
- package/apis/guardduty-2017-11-28.min.json +429 -124
- package/apis/imagebuilder-2019-12-02.min.json +3 -0
- package/apis/metadata.json +8 -0
- package/apis/networkmanager-2019-07-05.min.json +277 -175
- package/apis/pca-connector-scep-2018-05-10.examples.json +5 -0
- package/apis/pca-connector-scep-2018-05-10.min.json +456 -0
- package/apis/pca-connector-scep-2018-05-10.paginators.json +16 -0
- package/apis/pca-connector-scep-2018-05-10.waiters2.json +5 -0
- package/apis/sagemaker-2017-07-24.min.json +302 -288
- package/clients/accessanalyzer.d.ts +162 -3
- package/clients/all.d.ts +2 -0
- package/clients/all.js +3 -1
- package/clients/applicationsignals.d.ts +955 -0
- package/clients/applicationsignals.js +18 -0
- package/clients/ecs.d.ts +47 -5
- package/clients/guardduty.d.ts +277 -5
- package/clients/networkmanager.d.ts +155 -11
- package/clients/pcaconnectorscep.d.ts +486 -0
- package/clients/pcaconnectorscep.js +19 -0
- package/clients/sagemaker.d.ts +24 -0
- package/dist/aws-sdk-core-react-native.js +2 -2
- package/dist/aws-sdk-react-native.js +92 -11
- package/dist/aws-sdk.js +301 -259
- package/dist/aws-sdk.min.js +60 -60
- package/lib/config_service_placeholders.d.ts +4 -0
- package/lib/core.js +1 -1
- package/package.json +1 -1
@@ -0,0 +1,18 @@
|
|
1
|
+
require('../lib/node_loader');
|
2
|
+
var AWS = require('../lib/core');
|
3
|
+
var Service = AWS.Service;
|
4
|
+
var apiLoader = AWS.apiLoader;
|
5
|
+
|
6
|
+
apiLoader.services['applicationsignals'] = {};
|
7
|
+
AWS.ApplicationSignals = Service.defineService('applicationsignals', ['2024-04-15']);
|
8
|
+
Object.defineProperty(apiLoader.services['applicationsignals'], '2024-04-15', {
|
9
|
+
get: function get() {
|
10
|
+
var model = require('../apis/application-signals-2024-04-15.min.json');
|
11
|
+
model.paginators = require('../apis/application-signals-2024-04-15.paginators.json').pagination;
|
12
|
+
return model;
|
13
|
+
},
|
14
|
+
enumerable: true,
|
15
|
+
configurable: true
|
16
|
+
});
|
17
|
+
|
18
|
+
module.exports = AWS.ApplicationSignals;
|
package/clients/ecs.d.ts
CHANGED
@@ -341,11 +341,11 @@ declare class ECS extends Service {
|
|
341
341
|
*/
|
342
342
|
startTask(callback?: (err: AWSError, data: ECS.Types.StartTaskResponse) => void): Request<ECS.Types.StartTaskResponse, AWSError>;
|
343
343
|
/**
|
344
|
-
* Stops a running task. Any tags associated with the task will be deleted. When StopTask is called on a task, the equivalent of docker stop is issued to the containers running in the task. This results in a SIGTERM value and a default 30-second timeout, after which the SIGKILL value is sent and the containers are forcibly stopped. If the container handles the SIGTERM value gracefully and exits within 30 seconds from receiving it, no SIGKILL value is sent. The default 30-second timeout can be configured on the Amazon ECS container agent with the ECS_CONTAINER_STOP_TIMEOUT variable. For more information, see Amazon ECS Container Agent Configuration in the Amazon Elastic Container Service Developer Guide.
|
344
|
+
* Stops a running task. Any tags associated with the task will be deleted. When StopTask is called on a task, the equivalent of docker stop is issued to the containers running in the task. This results in a SIGTERM value and a default 30-second timeout, after which the SIGKILL value is sent and the containers are forcibly stopped. If the container handles the SIGTERM value gracefully and exits within 30 seconds from receiving it, no SIGKILL value is sent. For Windows containers, POSIX signals do not work and runtime stops the container by sending a CTRL_SHUTDOWN_EVENT. For more information, see Unable to react to graceful shutdown of (Windows) container #25982 on GitHub. The default 30-second timeout can be configured on the Amazon ECS container agent with the ECS_CONTAINER_STOP_TIMEOUT variable. For more information, see Amazon ECS Container Agent Configuration in the Amazon Elastic Container Service Developer Guide.
|
345
345
|
*/
|
346
346
|
stopTask(params: ECS.Types.StopTaskRequest, callback?: (err: AWSError, data: ECS.Types.StopTaskResponse) => void): Request<ECS.Types.StopTaskResponse, AWSError>;
|
347
347
|
/**
|
348
|
-
* Stops a running task. Any tags associated with the task will be deleted. When StopTask is called on a task, the equivalent of docker stop is issued to the containers running in the task. This results in a SIGTERM value and a default 30-second timeout, after which the SIGKILL value is sent and the containers are forcibly stopped. If the container handles the SIGTERM value gracefully and exits within 30 seconds from receiving it, no SIGKILL value is sent. The default 30-second timeout can be configured on the Amazon ECS container agent with the ECS_CONTAINER_STOP_TIMEOUT variable. For more information, see Amazon ECS Container Agent Configuration in the Amazon Elastic Container Service Developer Guide.
|
348
|
+
* Stops a running task. Any tags associated with the task will be deleted. When StopTask is called on a task, the equivalent of docker stop is issued to the containers running in the task. This results in a SIGTERM value and a default 30-second timeout, after which the SIGKILL value is sent and the containers are forcibly stopped. If the container handles the SIGTERM value gracefully and exits within 30 seconds from receiving it, no SIGKILL value is sent. For Windows containers, POSIX signals do not work and runtime stops the container by sending a CTRL_SHUTDOWN_EVENT. For more information, see Unable to react to graceful shutdown of (Windows) container #25982 on GitHub. The default 30-second timeout can be configured on the Amazon ECS container agent with the ECS_CONTAINER_STOP_TIMEOUT variable. For more information, see Amazon ECS Container Agent Configuration in the Amazon Elastic Container Service Developer Guide.
|
349
349
|
*/
|
350
350
|
stopTask(callback?: (err: AWSError, data: ECS.Types.StopTaskResponse) => void): Request<ECS.Types.StopTaskResponse, AWSError>;
|
351
351
|
/**
|
@@ -720,6 +720,10 @@ declare namespace ECS {
|
|
720
720
|
* The details of the execute command configuration.
|
721
721
|
*/
|
722
722
|
executeCommandConfiguration?: ExecuteCommandConfiguration;
|
723
|
+
/**
|
724
|
+
* The details of the managed storage configuration.
|
725
|
+
*/
|
726
|
+
managedStorageConfiguration?: ManagedStorageConfiguration;
|
723
727
|
}
|
724
728
|
export type ClusterField = "ATTACHMENTS"|"CONFIGURATIONS"|"SETTINGS"|"STATISTICS"|"TAGS"|string;
|
725
729
|
export type ClusterFieldList = ClusterField[];
|
@@ -1564,6 +1568,10 @@ declare namespace ECS {
|
|
1564
1568
|
* The details of the volume that was configuredAtLaunch. You can configure different settings like the size, throughput, volumeType, and ecryption in ServiceManagedEBSVolumeConfiguration. The name of the volume must match the name from the task definition.
|
1565
1569
|
*/
|
1566
1570
|
volumeConfigurations?: ServiceVolumeConfigurations;
|
1571
|
+
/**
|
1572
|
+
* The Fargate ephemeral storage settings for the deployment.
|
1573
|
+
*/
|
1574
|
+
fargateEphemeralStorage?: DeploymentEphemeralStorage;
|
1567
1575
|
}
|
1568
1576
|
export interface DeploymentAlarms {
|
1569
1577
|
/**
|
@@ -1614,6 +1622,12 @@ declare namespace ECS {
|
|
1614
1622
|
type: DeploymentControllerType;
|
1615
1623
|
}
|
1616
1624
|
export type DeploymentControllerType = "ECS"|"CODE_DEPLOY"|"EXTERNAL"|string;
|
1625
|
+
export interface DeploymentEphemeralStorage {
|
1626
|
+
/**
|
1627
|
+
* Specify an Key Management Service key ID to encrypt the ephemeral storage for deployment.
|
1628
|
+
*/
|
1629
|
+
kmsKeyId?: String;
|
1630
|
+
}
|
1617
1631
|
export type DeploymentRolloutState = "COMPLETED"|"FAILED"|"IN_PROGRESS"|string;
|
1618
1632
|
export type Deployments = Deployment[];
|
1619
1633
|
export interface DeregisterContainerInstanceRequest {
|
@@ -2656,6 +2670,16 @@ declare namespace ECS {
|
|
2656
2670
|
export type ManagedScalingStatus = "ENABLED"|"DISABLED"|string;
|
2657
2671
|
export type ManagedScalingStepSize = number;
|
2658
2672
|
export type ManagedScalingTargetCapacity = number;
|
2673
|
+
export interface ManagedStorageConfiguration {
|
2674
|
+
/**
|
2675
|
+
* Specify a Key Management Service key ID to encrypt the managed storage.
|
2676
|
+
*/
|
2677
|
+
kmsKeyId?: String;
|
2678
|
+
/**
|
2679
|
+
* Specify the Key Management Service key ID for the Fargate ephemeral storage.
|
2680
|
+
*/
|
2681
|
+
fargateEphemeralStorageKmsKeyId?: String;
|
2682
|
+
}
|
2659
2683
|
export type ManagedTerminationProtection = "ENABLED"|"DISABLED"|string;
|
2660
2684
|
export interface MountPoint {
|
2661
2685
|
/**
|
@@ -3001,7 +3025,7 @@ declare namespace ECS {
|
|
3001
3025
|
*/
|
3002
3026
|
ephemeralStorage?: EphemeralStorage;
|
3003
3027
|
/**
|
3004
|
-
* The operating system that your tasks definitions run on. A platform family is specified only for tasks using the Fargate launch type.
|
3028
|
+
* The operating system that your tasks definitions run on. A platform family is specified only for tasks using the Fargate launch type.
|
3005
3029
|
*/
|
3006
3030
|
runtimePlatform?: RuntimePlatform;
|
3007
3031
|
}
|
@@ -3050,11 +3074,11 @@ declare namespace ECS {
|
|
3050
3074
|
}
|
3051
3075
|
export interface ResourceRequirement {
|
3052
3076
|
/**
|
3053
|
-
* The value for the specified resource type.
|
3077
|
+
* The value for the specified resource type. When the type is GPU, the value is the number of physical GPUs the Amazon ECS container agent reserves for the container. The number of GPUs that's reserved for all containers in a task can't exceed the number of available GPUs on the container instance that the task is launched on. When the type is InferenceAccelerator, the value matches the deviceName for an InferenceAccelerator specified in a task definition.
|
3054
3078
|
*/
|
3055
3079
|
value: String;
|
3056
3080
|
/**
|
3057
|
-
* The type of resource to assign to a container.
|
3081
|
+
* The type of resource to assign to a container.
|
3058
3082
|
*/
|
3059
3083
|
type: ResourceType;
|
3060
3084
|
}
|
@@ -3896,6 +3920,10 @@ declare namespace ECS {
|
|
3896
3920
|
* The ephemeral storage settings for the task.
|
3897
3921
|
*/
|
3898
3922
|
ephemeralStorage?: EphemeralStorage;
|
3923
|
+
/**
|
3924
|
+
* The Fargate ephemeral storage settings for the task.
|
3925
|
+
*/
|
3926
|
+
fargateEphemeralStorage?: TaskEphemeralStorage;
|
3899
3927
|
}
|
3900
3928
|
export interface TaskDefinition {
|
3901
3929
|
/**
|
@@ -4012,6 +4040,16 @@ declare namespace ECS {
|
|
4012
4040
|
export type TaskDefinitionPlacementConstraintType = "memberOf"|string;
|
4013
4041
|
export type TaskDefinitionPlacementConstraints = TaskDefinitionPlacementConstraint[];
|
4014
4042
|
export type TaskDefinitionStatus = "ACTIVE"|"INACTIVE"|"DELETE_IN_PROGRESS"|string;
|
4043
|
+
export interface TaskEphemeralStorage {
|
4044
|
+
/**
|
4045
|
+
* The total amount, in GiB, of the ephemeral storage to set for the task. The minimum supported value is 20 GiB and the maximum supported value is
 200 GiB.
|
4046
|
+
*/
|
4047
|
+
sizeInGiB?: Integer;
|
4048
|
+
/**
|
4049
|
+
* Specify an Key Management Service key ID to encrypt the ephemeral storage for the task.
|
4050
|
+
*/
|
4051
|
+
kmsKeyId?: String;
|
4052
|
+
}
|
4015
4053
|
export type TaskField = "TAGS"|string;
|
4016
4054
|
export type TaskFieldList = TaskField[];
|
4017
4055
|
export type TaskFilesystemType = "ext3"|"ext4"|"xfs"|string;
|
@@ -4194,6 +4232,10 @@ declare namespace ECS {
|
|
4194
4232
|
* The metadata that you apply to the task set to help you categorize and organize them. Each tag consists of a key and an optional value. You define both. The following basic restrictions apply to tags: Maximum number of tags per resource - 50 For each resource, each tag key must be unique, and each tag key can have only one value. Maximum key length - 128 Unicode characters in UTF-8 Maximum value length - 256 Unicode characters in UTF-8 If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case-sensitive. Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
|
4195
4233
|
*/
|
4196
4234
|
tags?: Tags;
|
4235
|
+
/**
|
4236
|
+
* The Fargate ephemeral storage settings for the task set.
|
4237
|
+
*/
|
4238
|
+
fargateEphemeralStorage?: DeploymentEphemeralStorage;
|
4197
4239
|
}
|
4198
4240
|
export type TaskSetField = "TAGS"|string;
|
4199
4241
|
export type TaskSetFieldList = TaskSetField[];
|
package/clients/guardduty.d.ts
CHANGED
@@ -59,6 +59,14 @@ declare class GuardDuty extends Service {
|
|
59
59
|
* Creates a new IPSet, which is called a trusted IP list in the console user interface. An IPSet is a list of IP addresses that are trusted for secure communication with Amazon Web Services infrastructure and applications. GuardDuty doesn't generate findings for IP addresses that are included in IPSets. Only users from the administrator account can use this operation.
|
60
60
|
*/
|
61
61
|
createIPSet(callback?: (err: AWSError, data: GuardDuty.Types.CreateIPSetResponse) => void): Request<GuardDuty.Types.CreateIPSetResponse, AWSError>;
|
62
|
+
/**
|
63
|
+
* Creates a new Malware Protection plan for the protected resource. When you create a Malware Protection plan, the Amazon Web Services service terms for GuardDuty Malware Protection apply. For more information, see Amazon Web Services service terms for GuardDuty Malware Protection.
|
64
|
+
*/
|
65
|
+
createMalwareProtectionPlan(params: GuardDuty.Types.CreateMalwareProtectionPlanRequest, callback?: (err: AWSError, data: GuardDuty.Types.CreateMalwareProtectionPlanResponse) => void): Request<GuardDuty.Types.CreateMalwareProtectionPlanResponse, AWSError>;
|
66
|
+
/**
|
67
|
+
* Creates a new Malware Protection plan for the protected resource. When you create a Malware Protection plan, the Amazon Web Services service terms for GuardDuty Malware Protection apply. For more information, see Amazon Web Services service terms for GuardDuty Malware Protection.
|
68
|
+
*/
|
69
|
+
createMalwareProtectionPlan(callback?: (err: AWSError, data: GuardDuty.Types.CreateMalwareProtectionPlanResponse) => void): Request<GuardDuty.Types.CreateMalwareProtectionPlanResponse, AWSError>;
|
62
70
|
/**
|
63
71
|
* Creates member accounts of the current Amazon Web Services account by specifying a list of Amazon Web Services account IDs. This step is a prerequisite for managing the associated member accounts either by invitation or through an organization. As a delegated administrator, using CreateMembers will enable GuardDuty in the added member accounts, with the exception of the organization delegated administrator account. A delegated administrator must enable GuardDuty prior to being added as a member. When you use CreateMembers as an Organizations delegated administrator, GuardDuty applies your organization's auto-enable settings to the member accounts in this request, irrespective of the accounts being new or existing members. For more information about the existing auto-enable settings for your organization, see DescribeOrganizationConfiguration. If you disassociate a member account that was added by invitation, the member account details obtained from this API, including the associated email addresses, will be retained. This is done so that the delegated administrator can invoke the InviteMembers API without the need to invoke the CreateMembers API again. To remove the details associated with a member account, the delegated administrator must invoke the DeleteMembers API. When the member accounts added through Organizations are later disassociated, you (administrator) can't invite them by calling the InviteMembers API. You can create an association with these member accounts again only by calling the CreateMembers API.
|
64
72
|
*/
|
@@ -131,6 +139,14 @@ declare class GuardDuty extends Service {
|
|
131
139
|
* Deletes invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.
|
132
140
|
*/
|
133
141
|
deleteInvitations(callback?: (err: AWSError, data: GuardDuty.Types.DeleteInvitationsResponse) => void): Request<GuardDuty.Types.DeleteInvitationsResponse, AWSError>;
|
142
|
+
/**
|
143
|
+
* Deletes the Malware Protection plan ID associated with the Malware Protection plan resource. Use this API only when you no longer want to protect the resource associated with this Malware Protection plan ID.
|
144
|
+
*/
|
145
|
+
deleteMalwareProtectionPlan(params: GuardDuty.Types.DeleteMalwareProtectionPlanRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
146
|
+
/**
|
147
|
+
* Deletes the Malware Protection plan ID associated with the Malware Protection plan resource. Use this API only when you no longer want to protect the resource associated with this Malware Protection plan ID.
|
148
|
+
*/
|
149
|
+
deleteMalwareProtectionPlan(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
134
150
|
/**
|
135
151
|
* Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs. With autoEnableOrganizationMembers configuration for your organization set to ALL, you'll receive an error if you attempt to disable GuardDuty for a member account in your organization.
|
136
152
|
*/
|
@@ -283,6 +299,14 @@ declare class GuardDuty extends Service {
|
|
283
299
|
* Returns the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.
|
284
300
|
*/
|
285
301
|
getInvitationsCount(callback?: (err: AWSError, data: GuardDuty.Types.GetInvitationsCountResponse) => void): Request<GuardDuty.Types.GetInvitationsCountResponse, AWSError>;
|
302
|
+
/**
|
303
|
+
* Retrieves the Malware Protection plan details associated with a Malware Protection plan ID.
|
304
|
+
*/
|
305
|
+
getMalwareProtectionPlan(params: GuardDuty.Types.GetMalwareProtectionPlanRequest, callback?: (err: AWSError, data: GuardDuty.Types.GetMalwareProtectionPlanResponse) => void): Request<GuardDuty.Types.GetMalwareProtectionPlanResponse, AWSError>;
|
306
|
+
/**
|
307
|
+
* Retrieves the Malware Protection plan details associated with a Malware Protection plan ID.
|
308
|
+
*/
|
309
|
+
getMalwareProtectionPlan(callback?: (err: AWSError, data: GuardDuty.Types.GetMalwareProtectionPlanResponse) => void): Request<GuardDuty.Types.GetMalwareProtectionPlanResponse, AWSError>;
|
286
310
|
/**
|
287
311
|
* Returns the details of the malware scan settings. There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
|
288
312
|
*/
|
@@ -399,6 +423,14 @@ declare class GuardDuty extends Service {
|
|
399
423
|
* Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.
|
400
424
|
*/
|
401
425
|
listInvitations(callback?: (err: AWSError, data: GuardDuty.Types.ListInvitationsResponse) => void): Request<GuardDuty.Types.ListInvitationsResponse, AWSError>;
|
426
|
+
/**
|
427
|
+
* Lists the Malware Protection plan IDs associated with the protected resources in your Amazon Web Services account.
|
428
|
+
*/
|
429
|
+
listMalwareProtectionPlans(params: GuardDuty.Types.ListMalwareProtectionPlansRequest, callback?: (err: AWSError, data: GuardDuty.Types.ListMalwareProtectionPlansResponse) => void): Request<GuardDuty.Types.ListMalwareProtectionPlansResponse, AWSError>;
|
430
|
+
/**
|
431
|
+
* Lists the Malware Protection plan IDs associated with the protected resources in your Amazon Web Services account.
|
432
|
+
*/
|
433
|
+
listMalwareProtectionPlans(callback?: (err: AWSError, data: GuardDuty.Types.ListMalwareProtectionPlansResponse) => void): Request<GuardDuty.Types.ListMalwareProtectionPlansResponse, AWSError>;
|
402
434
|
/**
|
403
435
|
* Lists details about all member accounts for the current GuardDuty administrator account.
|
404
436
|
*/
|
@@ -519,6 +551,14 @@ declare class GuardDuty extends Service {
|
|
519
551
|
* Updates the IPSet specified by the IPSet ID.
|
520
552
|
*/
|
521
553
|
updateIPSet(callback?: (err: AWSError, data: GuardDuty.Types.UpdateIPSetResponse) => void): Request<GuardDuty.Types.UpdateIPSetResponse, AWSError>;
|
554
|
+
/**
|
555
|
+
* Updates an existing Malware Protection plan resource.
|
556
|
+
*/
|
557
|
+
updateMalwareProtectionPlan(params: GuardDuty.Types.UpdateMalwareProtectionPlanRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
558
|
+
/**
|
559
|
+
* Updates an existing Malware Protection plan resource.
|
560
|
+
*/
|
561
|
+
updateMalwareProtectionPlan(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
522
562
|
/**
|
523
563
|
* Updates the malware scan settings. There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
|
524
564
|
*/
|
@@ -1261,6 +1301,34 @@ declare namespace GuardDuty {
|
|
1261
1301
|
*/
|
1262
1302
|
IpSetId: String;
|
1263
1303
|
}
|
1304
|
+
export interface CreateMalwareProtectionPlanRequest {
|
1305
|
+
/**
|
1306
|
+
* The idempotency token for the create request.
|
1307
|
+
*/
|
1308
|
+
ClientToken?: ClientToken;
|
1309
|
+
/**
|
1310
|
+
* IAM role with permissions required to scan and add tags to the associated protected resource.
|
1311
|
+
*/
|
1312
|
+
Role: String;
|
1313
|
+
/**
|
1314
|
+
* Information about the protected resource that is associated with the created Malware Protection plan. Presently, S3Bucket is the only supported protected resource.
|
1315
|
+
*/
|
1316
|
+
ProtectedResource: CreateProtectedResource;
|
1317
|
+
/**
|
1318
|
+
* Information about whether the tags will be added to the S3 object after scanning.
|
1319
|
+
*/
|
1320
|
+
Actions?: MalwareProtectionPlanActions;
|
1321
|
+
/**
|
1322
|
+
* Tags added to the Malware Protection plan resource.
|
1323
|
+
*/
|
1324
|
+
Tags?: TagMap;
|
1325
|
+
}
|
1326
|
+
export interface CreateMalwareProtectionPlanResponse {
|
1327
|
+
/**
|
1328
|
+
* A unique identifier associated with the Malware Protection plan resource.
|
1329
|
+
*/
|
1330
|
+
MalwareProtectionPlanId?: String;
|
1331
|
+
}
|
1264
1332
|
export interface CreateMembersRequest {
|
1265
1333
|
/**
|
1266
1334
|
* The unique ID of the detector of the GuardDuty account that you want to associate member accounts with.
|
@@ -1277,6 +1345,12 @@ declare namespace GuardDuty {
|
|
1277
1345
|
*/
|
1278
1346
|
UnprocessedAccounts: UnprocessedAccounts;
|
1279
1347
|
}
|
1348
|
+
export interface CreateProtectedResource {
|
1349
|
+
/**
|
1350
|
+
* Information about the protected S3 bucket resource.
|
1351
|
+
*/
|
1352
|
+
S3Bucket?: CreateS3BucketResource;
|
1353
|
+
}
|
1280
1354
|
export interface CreatePublishingDestinationRequest {
|
1281
1355
|
/**
|
1282
1356
|
* The ID of the GuardDuty detector associated with the publishing destination.
|
@@ -1301,6 +1375,16 @@ declare namespace GuardDuty {
|
|
1301
1375
|
*/
|
1302
1376
|
DestinationId: String;
|
1303
1377
|
}
|
1378
|
+
export interface CreateS3BucketResource {
|
1379
|
+
/**
|
1380
|
+
* Name of the S3 bucket.
|
1381
|
+
*/
|
1382
|
+
BucketName?: String;
|
1383
|
+
/**
|
1384
|
+
* Information about the specified object prefixes. The S3 object will be scanned only if it belongs to any of the specified object prefixes.
|
1385
|
+
*/
|
1386
|
+
ObjectPrefixes?: MalwareProtectionPlanObjectPrefixesList;
|
1387
|
+
}
|
1304
1388
|
export interface CreateSampleFindingsRequest {
|
1305
1389
|
/**
|
1306
1390
|
* The ID of the detector to create sample findings for.
|
@@ -1498,6 +1582,12 @@ declare namespace GuardDuty {
|
|
1498
1582
|
*/
|
1499
1583
|
UnprocessedAccounts: UnprocessedAccounts;
|
1500
1584
|
}
|
1585
|
+
export interface DeleteMalwareProtectionPlanRequest {
|
1586
|
+
/**
|
1587
|
+
* A unique identifier associated with Malware Protection plan resource.
|
1588
|
+
*/
|
1589
|
+
MalwareProtectionPlanId: String;
|
1590
|
+
}
|
1501
1591
|
export interface DeleteMembersRequest {
|
1502
1592
|
/**
|
1503
1593
|
* The unique ID of the detector of the GuardDuty account whose members you want to delete.
|
@@ -2317,6 +2407,46 @@ declare namespace GuardDuty {
|
|
2317
2407
|
*/
|
2318
2408
|
InvitationsCount?: Integer;
|
2319
2409
|
}
|
2410
|
+
export interface GetMalwareProtectionPlanRequest {
|
2411
|
+
/**
|
2412
|
+
* A unique identifier associated with Malware Protection plan resource.
|
2413
|
+
*/
|
2414
|
+
MalwareProtectionPlanId: String;
|
2415
|
+
}
|
2416
|
+
export interface GetMalwareProtectionPlanResponse {
|
2417
|
+
/**
|
2418
|
+
* Amazon Resource Name (ARN) of the protected resource.
|
2419
|
+
*/
|
2420
|
+
Arn?: String;
|
2421
|
+
/**
|
2422
|
+
* IAM role that includes the permissions required to scan and add tags to the associated protected resource.
|
2423
|
+
*/
|
2424
|
+
Role?: String;
|
2425
|
+
/**
|
2426
|
+
* Information about the protected resource that is associated with the created Malware Protection plan. Presently, S3Bucket is the only supported protected resource.
|
2427
|
+
*/
|
2428
|
+
ProtectedResource?: CreateProtectedResource;
|
2429
|
+
/**
|
2430
|
+
* Information about whether the tags will be added to the S3 object after scanning.
|
2431
|
+
*/
|
2432
|
+
Actions?: MalwareProtectionPlanActions;
|
2433
|
+
/**
|
2434
|
+
* The timestamp when the Malware Protection plan resource was created.
|
2435
|
+
*/
|
2436
|
+
CreatedAt?: Timestamp;
|
2437
|
+
/**
|
2438
|
+
* Malware Protection plan status.
|
2439
|
+
*/
|
2440
|
+
Status?: MalwareProtectionPlanStatus;
|
2441
|
+
/**
|
2442
|
+
* Information about the issue code and message associated to the status of your Malware Protection plan.
|
2443
|
+
*/
|
2444
|
+
StatusReasons?: MalwareProtectionPlanStatusReasonsList;
|
2445
|
+
/**
|
2446
|
+
* Tags added to the Malware Protection plan resource.
|
2447
|
+
*/
|
2448
|
+
Tags?: TagMap;
|
2449
|
+
}
|
2320
2450
|
export interface GetMalwareScanSettingsRequest {
|
2321
2451
|
/**
|
2322
2452
|
* The unique ID of the detector that the scan setting is associated with.
|
@@ -2626,6 +2756,17 @@ declare namespace GuardDuty {
|
|
2626
2756
|
export type IpSetStatus = "INACTIVE"|"ACTIVATING"|"ACTIVE"|"DEACTIVATING"|"ERROR"|"DELETE_PENDING"|"DELETED"|string;
|
2627
2757
|
export type Ipv6Addresses = String[];
|
2628
2758
|
export type Issues = String[];
|
2759
|
+
export interface ItemPath {
|
2760
|
+
/**
|
2761
|
+
* The nested item path where the infected file was found.
|
2762
|
+
*/
|
2763
|
+
NestedItemPath?: String;
|
2764
|
+
/**
|
2765
|
+
* The hash value of the infected resource.
|
2766
|
+
*/
|
2767
|
+
Hash?: String;
|
2768
|
+
}
|
2769
|
+
export type ItemPaths = ItemPath[];
|
2629
2770
|
export interface KubernetesApiCallAction {
|
2630
2771
|
/**
|
2631
2772
|
* The Kubernetes API request URI.
|
@@ -3056,6 +3197,22 @@ declare namespace GuardDuty {
|
|
3056
3197
|
*/
|
3057
3198
|
NextToken?: String;
|
3058
3199
|
}
|
3200
|
+
export interface ListMalwareProtectionPlansRequest {
|
3201
|
+
/**
|
3202
|
+
* You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
|
3203
|
+
*/
|
3204
|
+
NextToken?: String;
|
3205
|
+
}
|
3206
|
+
export interface ListMalwareProtectionPlansResponse {
|
3207
|
+
/**
|
3208
|
+
* A list of unique identifiers associated with each Malware Protection plan.
|
3209
|
+
*/
|
3210
|
+
MalwareProtectionPlans?: MalwareProtectionPlansSummary;
|
3211
|
+
/**
|
3212
|
+
* You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
|
3213
|
+
*/
|
3214
|
+
NextToken?: String;
|
3215
|
+
}
|
3059
3216
|
export interface ListMembersRequest {
|
3060
3217
|
/**
|
3061
3218
|
* The unique ID of the detector the member is associated with.
|
@@ -3228,6 +3385,45 @@ declare namespace GuardDuty {
|
|
3228
3385
|
*/
|
3229
3386
|
ScanEc2InstanceWithFindings?: DataSourceFreeTrial;
|
3230
3387
|
}
|
3388
|
+
export interface MalwareProtectionPlanActions {
|
3389
|
+
/**
|
3390
|
+
* Indicates whether the scanned S3 object will have tags about the scan result.
|
3391
|
+
*/
|
3392
|
+
Tagging?: MalwareProtectionPlanTaggingAction;
|
3393
|
+
}
|
3394
|
+
export type MalwareProtectionPlanObjectPrefixesList = String[];
|
3395
|
+
export type MalwareProtectionPlanStatus = "ACTIVE"|"WARNING"|"ERROR"|string;
|
3396
|
+
export interface MalwareProtectionPlanStatusReason {
|
3397
|
+
/**
|
3398
|
+
* Issue code.
|
3399
|
+
*/
|
3400
|
+
Code?: String;
|
3401
|
+
/**
|
3402
|
+
* Issue message that specifies the reason. For information about potential troubleshooting steps, see Troubleshooting Malware Protection for S3 status issues in the GuardDuty User Guide.
|
3403
|
+
*/
|
3404
|
+
Message?: String;
|
3405
|
+
}
|
3406
|
+
export type MalwareProtectionPlanStatusReasonsList = MalwareProtectionPlanStatusReason[];
|
3407
|
+
export interface MalwareProtectionPlanSummary {
|
3408
|
+
/**
|
3409
|
+
* A unique identifier associated with Malware Protection plan.
|
3410
|
+
*/
|
3411
|
+
MalwareProtectionPlanId?: String;
|
3412
|
+
}
|
3413
|
+
export interface MalwareProtectionPlanTaggingAction {
|
3414
|
+
/**
|
3415
|
+
* Indicates whether or not the tags will added.
|
3416
|
+
*/
|
3417
|
+
Status?: MalwareProtectionPlanTaggingActionStatus;
|
3418
|
+
}
|
3419
|
+
export type MalwareProtectionPlanTaggingActionStatus = "ENABLED"|"DISABLED"|string;
|
3420
|
+
export type MalwareProtectionPlansSummary = MalwareProtectionPlanSummary[];
|
3421
|
+
export interface MalwareScanDetails {
|
3422
|
+
/**
|
3423
|
+
* Information about the detected threats associated with the generated GuardDuty finding.
|
3424
|
+
*/
|
3425
|
+
Threats?: Threats;
|
3426
|
+
}
|
3231
3427
|
export type ManagementType = "AUTO_MANAGED"|"MANUAL"|"DISABLED"|string;
|
3232
3428
|
export type MapEquals = ScanConditionPair[];
|
3233
3429
|
export interface Master {
|
@@ -3958,7 +4154,7 @@ declare namespace GuardDuty {
|
|
3958
4154
|
export type ResourceArn = string;
|
3959
4155
|
export interface ResourceDetails {
|
3960
4156
|
/**
|
3961
|
-
*
|
4157
|
+
* Instance ARN that was scanned in the scan entry.
|
3962
4158
|
*/
|
3963
4159
|
InstanceArn?: InstanceArn;
|
3964
4160
|
}
|
@@ -4109,6 +4305,10 @@ declare namespace GuardDuty {
|
|
4109
4305
|
* Describes the public access policies that apply to the S3 bucket.
|
4110
4306
|
*/
|
4111
4307
|
PublicAccess?: PublicAccess;
|
4308
|
+
/**
|
4309
|
+
* Information about the S3 object that was scanned.
|
4310
|
+
*/
|
4311
|
+
S3ObjectDetails?: S3ObjectDetails;
|
4112
4312
|
}
|
4113
4313
|
export type S3BucketDetails = S3BucketDetail[];
|
4114
4314
|
export interface S3LogsConfiguration {
|
@@ -4123,6 +4323,29 @@ declare namespace GuardDuty {
|
|
4123
4323
|
*/
|
4124
4324
|
Status: DataSourceStatus;
|
4125
4325
|
}
|
4326
|
+
export interface S3ObjectDetail {
|
4327
|
+
/**
|
4328
|
+
* Amazon Resource Name (ARN) of the S3 object.
|
4329
|
+
*/
|
4330
|
+
ObjectArn?: String;
|
4331
|
+
/**
|
4332
|
+
* Key of the S3 object.
|
4333
|
+
*/
|
4334
|
+
Key?: String;
|
4335
|
+
/**
|
4336
|
+
* The entity tag is a hash of the S3 object. The ETag reflects changes only to the contents of an object, and not its metadata.
|
4337
|
+
*/
|
4338
|
+
ETag?: String;
|
4339
|
+
/**
|
4340
|
+
* Hash of the threat detected in this finding.
|
4341
|
+
*/
|
4342
|
+
Hash?: String;
|
4343
|
+
/**
|
4344
|
+
* Version ID of the object.
|
4345
|
+
*/
|
4346
|
+
VersionId?: String;
|
4347
|
+
}
|
4348
|
+
export type S3ObjectDetails = S3ObjectDetail[];
|
4126
4349
|
export interface Scan {
|
4127
4350
|
/**
|
4128
4351
|
* The unique ID of the detector that the request is associated with.
|
@@ -4239,7 +4462,7 @@ declare namespace GuardDuty {
|
|
4239
4462
|
*/
|
4240
4463
|
FilePath?: String;
|
4241
4464
|
/**
|
4242
|
-
* EBS volume
|
4465
|
+
* EBS volume ARN details of the infected file.
|
4243
4466
|
*/
|
4244
4467
|
VolumeArn?: String;
|
4245
4468
|
/**
|
@@ -4387,6 +4610,10 @@ declare namespace GuardDuty {
|
|
4387
4610
|
* Contains information about the detected unusual behavior.
|
4388
4611
|
*/
|
4389
4612
|
Detection?: Detection;
|
4613
|
+
/**
|
4614
|
+
* Returns details from the malware scan that generated a GuardDuty finding.
|
4615
|
+
*/
|
4616
|
+
MalwareScanDetails?: MalwareScanDetails;
|
4390
4617
|
}
|
4391
4618
|
export interface ServiceAdditionalInfo {
|
4392
4619
|
/**
|
@@ -4484,6 +4711,20 @@ declare namespace GuardDuty {
|
|
4484
4711
|
}
|
4485
4712
|
export type TagValue = string;
|
4486
4713
|
export type Tags = Tag[];
|
4714
|
+
export interface Threat {
|
4715
|
+
/**
|
4716
|
+
* Name of the detected threat that caused GuardDuty to generate this finding.
|
4717
|
+
*/
|
4718
|
+
Name?: String;
|
4719
|
+
/**
|
4720
|
+
* Source of the threat that generated this finding.
|
4721
|
+
*/
|
4722
|
+
Source?: String;
|
4723
|
+
/**
|
4724
|
+
* Information about the nested item path and hash of the protected resource.
|
4725
|
+
*/
|
4726
|
+
ItemPaths?: ItemPaths;
|
4727
|
+
}
|
4487
4728
|
export interface ThreatDetectedByName {
|
4488
4729
|
/**
|
4489
4730
|
* Total number of infected files identified.
|
@@ -4521,6 +4762,7 @@ declare namespace GuardDuty {
|
|
4521
4762
|
}
|
4522
4763
|
export type ThreatIntelligenceDetails = ThreatIntelligenceDetail[];
|
4523
4764
|
export type ThreatNames = String[];
|
4765
|
+
export type Threats = Threat[];
|
4524
4766
|
export interface ThreatsDetectedItemCount {
|
4525
4767
|
/**
|
4526
4768
|
* Total number of infected files.
|
@@ -4686,6 +4928,24 @@ declare namespace GuardDuty {
|
|
4686
4928
|
}
|
4687
4929
|
export interface UpdateIPSetResponse {
|
4688
4930
|
}
|
4931
|
+
export interface UpdateMalwareProtectionPlanRequest {
|
4932
|
+
/**
|
4933
|
+
* A unique identifier associated with the Malware Protection plan.
|
4934
|
+
*/
|
4935
|
+
MalwareProtectionPlanId: String;
|
4936
|
+
/**
|
4937
|
+
* IAM role with permissions required to scan and add tags to the associated protected resource.
|
4938
|
+
*/
|
4939
|
+
Role?: String;
|
4940
|
+
/**
|
4941
|
+
* Information about whether the tags will be added to the S3 object after scanning.
|
4942
|
+
*/
|
4943
|
+
Actions?: MalwareProtectionPlanActions;
|
4944
|
+
/**
|
4945
|
+
* Information about the protected resource that is associated with the created Malware Protection plan. Presently, S3Bucket is the only supported protected resource.
|
4946
|
+
*/
|
4947
|
+
ProtectedResource?: UpdateProtectedResource;
|
4948
|
+
}
|
4689
4949
|
export interface UpdateMalwareScanSettingsRequest {
|
4690
4950
|
/**
|
4691
4951
|
* The unique ID of the detector that specifies the GuardDuty service where you want to update scan settings.
|
@@ -4750,6 +5010,12 @@ declare namespace GuardDuty {
|
|
4750
5010
|
}
|
4751
5011
|
export interface UpdateOrganizationConfigurationResponse {
|
4752
5012
|
}
|
5013
|
+
export interface UpdateProtectedResource {
|
5014
|
+
/**
|
5015
|
+
* Information about the protected S3 bucket resource.
|
5016
|
+
*/
|
5017
|
+
S3Bucket?: UpdateS3BucketResource;
|
5018
|
+
}
|
4753
5019
|
export interface UpdatePublishingDestinationRequest {
|
4754
5020
|
/**
|
4755
5021
|
* The ID of the detector associated with the publishing destinations to update.
|
@@ -4766,6 +5032,12 @@ declare namespace GuardDuty {
|
|
4766
5032
|
}
|
4767
5033
|
export interface UpdatePublishingDestinationResponse {
|
4768
5034
|
}
|
5035
|
+
export interface UpdateS3BucketResource {
|
5036
|
+
/**
|
5037
|
+
* Information about the specified object prefixes. The S3 object will be scanned only if it belongs to any of the specified object prefixes.
|
5038
|
+
*/
|
5039
|
+
ObjectPrefixes?: MalwareProtectionPlanObjectPrefixesList;
|
5040
|
+
}
|
4769
5041
|
export interface UpdateThreatIntelSetRequest {
|
4770
5042
|
/**
|
4771
5043
|
* The detectorID that specifies the GuardDuty service whose ThreatIntelSet you want to update.
|
@@ -4909,7 +5181,7 @@ declare namespace GuardDuty {
|
|
4909
5181
|
}
|
4910
5182
|
export interface VolumeDetail {
|
4911
5183
|
/**
|
4912
|
-
* EBS volume
|
5184
|
+
* EBS volume ARN information.
|
4913
5185
|
*/
|
4914
5186
|
VolumeArn?: String;
|
4915
5187
|
/**
|
@@ -4929,11 +5201,11 @@ declare namespace GuardDuty {
|
|
4929
5201
|
*/
|
4930
5202
|
EncryptionType?: String;
|
4931
5203
|
/**
|
4932
|
-
* Snapshot
|
5204
|
+
* Snapshot ARN of the EBS volume.
|
4933
5205
|
*/
|
4934
5206
|
SnapshotArn?: String;
|
4935
5207
|
/**
|
4936
|
-
* KMS key
|
5208
|
+
* KMS key ARN used to encrypt the EBS volume.
|
4937
5209
|
*/
|
4938
5210
|
KmsKeyArn?: String;
|
4939
5211
|
}
|