aws-sdk 2.1638.0 → 2.1640.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/apptest-2022-12-06.min.json +1917 -0
- package/apis/apptest-2022-12-06.paginators.json +40 -0
- package/apis/apptest-2022-12-06.waiters2.json +5 -0
- package/apis/ec2-2016-11-15.min.json +160 -107
- package/apis/guardduty-2017-11-28.min.json +429 -124
- package/apis/metadata.json +7 -3
- package/apis/networkmanager-2019-07-05.min.json +277 -175
- package/apis/osis-2022-01-01.min.json +33 -28
- 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/redshift-2012-12-01.min.json +7 -1
- package/apis/sagemaker-2017-07-24.min.json +302 -288
- package/apis/secretsmanager-2017-10-17.min.json +8 -1
- package/apis/securitylake-2018-05-10.min.json +7 -1
- package/apis/sesv2-2019-09-27.min.json +139 -121
- package/clients/accessanalyzer.d.ts +162 -3
- package/clients/all.d.ts +2 -1
- package/clients/all.js +3 -2
- package/clients/apptest.d.ts +2019 -0
- package/clients/apptest.js +19 -0
- package/clients/ec2.d.ts +57 -3
- package/clients/guardduty.d.ts +277 -5
- package/clients/networkmanager.d.ts +155 -11
- package/clients/osis.d.ts +9 -0
- package/clients/pcaconnectorscep.d.ts +486 -0
- package/clients/pcaconnectorscep.js +19 -0
- package/clients/redshift.d.ts +16 -16
- package/clients/sagemaker.d.ts +24 -0
- package/clients/secretsmanager.d.ts +18 -13
- package/clients/securitylake.d.ts +3 -3
- package/clients/sesv2.d.ts +24 -10
- package/dist/aws-sdk-core-react-native.js +2 -2
- package/dist/aws-sdk-react-native.js +582 -531
- package/dist/aws-sdk.js +185 -115
- package/dist/aws-sdk.min.js +78 -78
- package/lib/config_service_placeholders.d.ts +4 -2
- package/lib/core.js +1 -1
- package/package.json +1 -1
- package/apis/backupstorage-2018-04-10.min.json +0 -522
- package/apis/backupstorage-2018-04-10.paginators.json +0 -14
- package/clients/backupstorage.d.ts +0 -469
- package/clients/backupstorage.js +0 -18
- /package/apis/{backupstorage-2018-04-10.examples.json → apptest-2022-12-06.examples.json} +0 -0
@@ -0,0 +1,19 @@
|
|
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['apptest'] = {};
|
7
|
+
AWS.AppTest = Service.defineService('apptest', ['2022-12-06']);
|
8
|
+
Object.defineProperty(apiLoader.services['apptest'], '2022-12-06', {
|
9
|
+
get: function get() {
|
10
|
+
var model = require('../apis/apptest-2022-12-06.min.json');
|
11
|
+
model.paginators = require('../apis/apptest-2022-12-06.paginators.json').pagination;
|
12
|
+
model.waiters = require('../apis/apptest-2022-12-06.waiters2.json').waiters;
|
13
|
+
return model;
|
14
|
+
},
|
15
|
+
enumerable: true,
|
16
|
+
configurable: true
|
17
|
+
});
|
18
|
+
|
19
|
+
module.exports = AWS.AppTest;
|
package/clients/ec2.d.ts
CHANGED
@@ -2676,6 +2676,14 @@ declare class EC2 extends Service {
|
|
2676
2676
|
* Describes the specified tags for your EC2 resources. For more information about tags, see Tag your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide. We strongly recommend using only paginated requests. Unpaginated requests are susceptible to throttling and timeouts. The order of the elements in the response, including those within nested structures, might vary. Applications should not assume the elements appear in a particular order.
|
2677
2677
|
*/
|
2678
2678
|
describeTags(callback?: (err: AWSError, data: EC2.Types.DescribeTagsResult) => void): Request<EC2.Types.DescribeTagsResult, AWSError>;
|
2679
|
+
/**
|
2680
|
+
* Describe traffic mirror filters that determine the traffic that is mirrored.
|
2681
|
+
*/
|
2682
|
+
describeTrafficMirrorFilterRules(params: EC2.Types.DescribeTrafficMirrorFilterRulesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeTrafficMirrorFilterRulesResult) => void): Request<EC2.Types.DescribeTrafficMirrorFilterRulesResult, AWSError>;
|
2683
|
+
/**
|
2684
|
+
* Describe traffic mirror filters that determine the traffic that is mirrored.
|
2685
|
+
*/
|
2686
|
+
describeTrafficMirrorFilterRules(callback?: (err: AWSError, data: EC2.Types.DescribeTrafficMirrorFilterRulesResult) => void): Request<EC2.Types.DescribeTrafficMirrorFilterRulesResult, AWSError>;
|
2679
2687
|
/**
|
2680
2688
|
* Describes one or more Traffic Mirror filters.
|
2681
2689
|
*/
|
@@ -10905,6 +10913,10 @@ declare namespace EC2 {
|
|
10905
10913
|
* Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
|
10906
10914
|
*/
|
10907
10915
|
ClientToken?: String;
|
10916
|
+
/**
|
10917
|
+
* Traffic Mirroring tags specifications.
|
10918
|
+
*/
|
10919
|
+
TagSpecifications?: TagSpecificationList;
|
10908
10920
|
}
|
10909
10921
|
export interface CreateTrafficMirrorFilterRuleResult {
|
10910
10922
|
/**
|
@@ -10938,7 +10950,7 @@ declare namespace EC2 {
|
|
10938
10950
|
*/
|
10939
10951
|
SessionNumber: Integer;
|
10940
10952
|
/**
|
10941
|
-
* The VXLAN ID for the Traffic Mirror session. For more information about the VXLAN protocol, see RFC 7348. If you do not specify a VirtualNetworkId, an account-wide unique
|
10953
|
+
* The VXLAN ID for the Traffic Mirror session. For more information about the VXLAN protocol, see RFC 7348. If you do not specify a VirtualNetworkId, an account-wide unique ID is chosen at random.
|
10942
10954
|
*/
|
10943
10955
|
VirtualNetworkId?: Integer;
|
10944
10956
|
/**
|
@@ -17247,6 +17259,42 @@ declare namespace EC2 {
|
|
17247
17259
|
*/
|
17248
17260
|
Tags?: TagDescriptionList;
|
17249
17261
|
}
|
17262
|
+
export interface DescribeTrafficMirrorFilterRulesRequest {
|
17263
|
+
/**
|
17264
|
+
* Traffic filter rule IDs.
|
17265
|
+
*/
|
17266
|
+
TrafficMirrorFilterRuleIds?: TrafficMirrorFilterRuleIdList;
|
17267
|
+
/**
|
17268
|
+
* Traffic filter ID.
|
17269
|
+
*/
|
17270
|
+
TrafficMirrorFilterId?: TrafficMirrorFilterId;
|
17271
|
+
/**
|
17272
|
+
* Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
|
17273
|
+
*/
|
17274
|
+
DryRun?: Boolean;
|
17275
|
+
/**
|
17276
|
+
* Traffic mirror filters. traffic-mirror-filter-rule-id: The ID of the Traffic Mirror rule. traffic-mirror-filter-id: The ID of the filter that this rule is associated with. rule-number: The number of the Traffic Mirror rule. rule-action: The action taken on the filtered traffic. Possible actions are accept and reject. traffic-direction: The traffic direction. Possible directions are ingress and egress. protocol: The protocol, for example UDP, assigned to the Traffic Mirror rule. source-cidr-block: The source CIDR block assigned to the Traffic Mirror rule. destination-cidr-block: The destination CIDR block assigned to the Traffic Mirror rule. description: The description of the Traffic Mirror rule.
|
17277
|
+
*/
|
17278
|
+
Filters?: FilterList;
|
17279
|
+
/**
|
17280
|
+
* The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
|
17281
|
+
*/
|
17282
|
+
MaxResults?: TrafficMirroringMaxResults;
|
17283
|
+
/**
|
17284
|
+
* The token for the next page of results.
|
17285
|
+
*/
|
17286
|
+
NextToken?: NextToken;
|
17287
|
+
}
|
17288
|
+
export interface DescribeTrafficMirrorFilterRulesResult {
|
17289
|
+
/**
|
17290
|
+
* Traffic mirror rules.
|
17291
|
+
*/
|
17292
|
+
TrafficMirrorFilterRules?: TrafficMirrorFilterRuleSet;
|
17293
|
+
/**
|
17294
|
+
* The token to use to retrieve the next page of results. The value is null when there are no more results to return.
|
17295
|
+
*/
|
17296
|
+
NextToken?: String;
|
17297
|
+
}
|
17250
17298
|
export interface DescribeTrafficMirrorFiltersRequest {
|
17251
17299
|
/**
|
17252
17300
|
* The ID of the Traffic Mirror filter.
|
@@ -29392,7 +29440,7 @@ declare namespace EC2 {
|
|
29392
29440
|
}
|
29393
29441
|
export interface ModifyTrafficMirrorFilterRuleResult {
|
29394
29442
|
/**
|
29395
|
-
*
|
29443
|
+
* Tags are not returned for ModifyTrafficMirrorFilterRule. A Traffic Mirror rule.
|
29396
29444
|
*/
|
29397
29445
|
TrafficMirrorFilterRule?: TrafficMirrorFilterRule;
|
29398
29446
|
}
|
@@ -33959,7 +34007,7 @@ declare namespace EC2 {
|
|
33959
34007
|
*/
|
33960
34008
|
ResourceTypes?: ValueStringList;
|
33961
34009
|
}
|
33962
|
-
export type ResourceType = "capacity-reservation"|"client-vpn-endpoint"|"customer-gateway"|"carrier-gateway"|"coip-pool"|"dedicated-host"|"dhcp-options"|"egress-only-internet-gateway"|"elastic-ip"|"elastic-gpu"|"export-image-task"|"export-instance-task"|"fleet"|"fpga-image"|"host-reservation"|"image"|"import-image-task"|"import-snapshot-task"|"instance"|"instance-event-window"|"internet-gateway"|"ipam"|"ipam-pool"|"ipam-scope"|"ipv4pool-ec2"|"ipv6pool-ec2"|"key-pair"|"launch-template"|"local-gateway"|"local-gateway-route-table"|"local-gateway-virtual-interface"|"local-gateway-virtual-interface-group"|"local-gateway-route-table-vpc-association"|"local-gateway-route-table-virtual-interface-group-association"|"natgateway"|"network-acl"|"network-interface"|"network-insights-analysis"|"network-insights-path"|"network-insights-access-scope"|"network-insights-access-scope-analysis"|"placement-group"|"prefix-list"|"replace-root-volume-task"|"reserved-instances"|"route-table"|"security-group"|"security-group-rule"|"snapshot"|"spot-fleet-request"|"spot-instances-request"|"subnet"|"subnet-cidr-reservation"|"traffic-mirror-filter"|"traffic-mirror-session"|"traffic-mirror-target"|"transit-gateway"|"transit-gateway-attachment"|"transit-gateway-connect-peer"|"transit-gateway-multicast-domain"|"transit-gateway-policy-table"|"transit-gateway-route-table"|"transit-gateway-route-table-announcement"|"volume"|"vpc"|"vpc-endpoint"|"vpc-endpoint-connection"|"vpc-endpoint-service"|"vpc-endpoint-service-permission"|"vpc-peering-connection"|"vpn-connection"|"vpn-gateway"|"vpc-flow-log"|"capacity-reservation-fleet"|"traffic-mirror-filter-rule"|"vpc-endpoint-connection-device-type"|"verified-access-instance"|"verified-access-group"|"verified-access-endpoint"|"verified-access-policy"|"verified-access-trust-provider"|"vpn-connection-device-type"|"vpc-block-public-access-exclusion"|"ipam-resource-discovery"|"ipam-resource-discovery-association"|"instance-connect-endpoint"|string;
|
34010
|
+
export type ResourceType = "capacity-reservation"|"client-vpn-endpoint"|"customer-gateway"|"carrier-gateway"|"coip-pool"|"dedicated-host"|"dhcp-options"|"egress-only-internet-gateway"|"elastic-ip"|"elastic-gpu"|"export-image-task"|"export-instance-task"|"fleet"|"fpga-image"|"host-reservation"|"image"|"import-image-task"|"import-snapshot-task"|"instance"|"instance-event-window"|"internet-gateway"|"ipam"|"ipam-pool"|"ipam-scope"|"ipv4pool-ec2"|"ipv6pool-ec2"|"key-pair"|"launch-template"|"local-gateway"|"local-gateway-route-table"|"local-gateway-virtual-interface"|"local-gateway-virtual-interface-group"|"local-gateway-route-table-vpc-association"|"local-gateway-route-table-virtual-interface-group-association"|"natgateway"|"network-acl"|"network-interface"|"network-insights-analysis"|"network-insights-path"|"network-insights-access-scope"|"network-insights-access-scope-analysis"|"placement-group"|"prefix-list"|"replace-root-volume-task"|"reserved-instances"|"route-table"|"security-group"|"security-group-rule"|"snapshot"|"spot-fleet-request"|"spot-instances-request"|"subnet"|"subnet-cidr-reservation"|"traffic-mirror-filter"|"traffic-mirror-session"|"traffic-mirror-target"|"transit-gateway"|"transit-gateway-attachment"|"transit-gateway-connect-peer"|"transit-gateway-multicast-domain"|"transit-gateway-policy-table"|"transit-gateway-route-table"|"transit-gateway-route-table-announcement"|"volume"|"vpc"|"vpc-endpoint"|"vpc-endpoint-connection"|"vpc-endpoint-service"|"vpc-endpoint-service-permission"|"vpc-peering-connection"|"vpn-connection"|"vpn-gateway"|"vpc-flow-log"|"capacity-reservation-fleet"|"traffic-mirror-filter-rule"|"vpc-endpoint-connection-device-type"|"verified-access-instance"|"verified-access-group"|"verified-access-endpoint"|"verified-access-policy"|"verified-access-trust-provider"|"vpn-connection-device-type"|"vpc-block-public-access-exclusion"|"vpc-encryption-control"|"ipam-resource-discovery"|"ipam-resource-discovery-association"|"instance-connect-endpoint"|string;
|
33963
34011
|
export interface ResponseError {
|
33964
34012
|
/**
|
33965
34013
|
* The error code.
|
@@ -37268,11 +37316,17 @@ declare namespace EC2 {
|
|
37268
37316
|
* The description of the Traffic Mirror rule.
|
37269
37317
|
*/
|
37270
37318
|
Description?: String;
|
37319
|
+
/**
|
37320
|
+
* Tags on Traffic Mirroring filter rules.
|
37321
|
+
*/
|
37322
|
+
Tags?: TagList;
|
37271
37323
|
}
|
37272
37324
|
export type TrafficMirrorFilterRuleField = "destination-port-range"|"source-port-range"|"protocol"|"description"|string;
|
37273
37325
|
export type TrafficMirrorFilterRuleFieldList = TrafficMirrorFilterRuleField[];
|
37326
|
+
export type TrafficMirrorFilterRuleIdList = TrafficMirrorFilterRuleIdWithResolver[];
|
37274
37327
|
export type TrafficMirrorFilterRuleIdWithResolver = string;
|
37275
37328
|
export type TrafficMirrorFilterRuleList = TrafficMirrorFilterRule[];
|
37329
|
+
export type TrafficMirrorFilterRuleSet = TrafficMirrorFilterRule[];
|
37276
37330
|
export type TrafficMirrorFilterSet = TrafficMirrorFilter[];
|
37277
37331
|
export type TrafficMirrorNetworkService = "amazon-dns"|string;
|
37278
37332
|
export type TrafficMirrorNetworkServiceList = TrafficMirrorNetworkService[];
|
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
|
}
|