@aws-sdk/client-guardduty 3.352.0 → 3.353.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/dist-types/commands/CreateMembersCommand.d.ts +12 -6
- package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +6 -0
- package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +6 -0
- package/dist-types/commands/DisassociateMembersCommand.d.ts +7 -1
- package/dist-types/commands/InviteMembersCommand.d.ts +18 -3
- package/dist-types/models/models_0.d.ts +1 -1
- package/package.json +11 -11
|
@@ -26,12 +26,18 @@ export interface CreateMembersCommandOutput extends CreateMembersResponse, __Met
|
|
|
26
26
|
* <p>Creates member accounts of the current Amazon Web Services account by specifying a list of Amazon Web Services account
|
|
27
27
|
* IDs. This step is a prerequisite for managing the associated member accounts either by
|
|
28
28
|
* invitation or through an organization.</p>
|
|
29
|
-
* <p>
|
|
30
|
-
*
|
|
31
|
-
* organization delegated administrator account
|
|
32
|
-
* as a member.</p>
|
|
33
|
-
* <p>If you are adding accounts by invitation,
|
|
34
|
-
*
|
|
29
|
+
* <p>As a delegated administrator, using <code>CreateMembers</code> will enable GuardDuty in
|
|
30
|
+
* the added member accounts, with the exception of the
|
|
31
|
+
* organization delegated administrator account. A delegated administrator must enable GuardDuty
|
|
32
|
+
* prior to being added as a member.</p>
|
|
33
|
+
* <p>If you are adding accounts by invitation, before using <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html">InviteMembers</a>, use
|
|
34
|
+
* <code>CreateMembers</code> after GuardDuty has been enabled in potential member accounts.</p>
|
|
35
|
+
* <p>If you disassociate a member from a GuardDuty
|
|
36
|
+
* delegated administrator, the member account details
|
|
37
|
+
* obtained from this API, including the associated email addresses, will be retained.
|
|
38
|
+
* This is done so that the delegated administrator can invoke the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html">InviteMembers</a> API without the need to invoke the CreateMembers API again. To
|
|
39
|
+
* remove the details associated with a member account, the delegated administrator must invoke the
|
|
40
|
+
* <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DeleteMembers.html">DeleteMembers</a> API. </p>
|
|
35
41
|
* @example
|
|
36
42
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
43
|
* ```javascript
|
|
@@ -24,6 +24,12 @@ export interface DisassociateFromAdministratorAccountCommandOutput extends Disas
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Disassociates the current GuardDuty member account from its administrator account.</p>
|
|
27
|
+
* <p>When you
|
|
28
|
+
* disassociate an invited member from a GuardDuty delegated administrator, the member account details
|
|
29
|
+
* obtained from the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_CreateMembers.html">CreateMembers</a> API, including the associated email addresses, are retained. This is
|
|
30
|
+
* done so that the delegated administrator can invoke the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html">InviteMembers</a> API without the need to invoke the CreateMembers API again. To
|
|
31
|
+
* remove the details associated with a member account, the delegated administrator must invoke the
|
|
32
|
+
* <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DeleteMembers.html">DeleteMembers</a> API. </p>
|
|
27
33
|
* <p>With <code>autoEnableOrganizationMembers</code> configuration for your organization set to
|
|
28
34
|
* <code>ALL</code>, you'll receive an error if you attempt to disable GuardDuty in a member
|
|
29
35
|
* account.</p>
|
|
@@ -26,6 +26,12 @@ export interface DisassociateFromMasterAccountCommandOutput extends Disassociate
|
|
|
26
26
|
* @deprecated
|
|
27
27
|
*
|
|
28
28
|
* <p>Disassociates the current GuardDuty member account from its administrator account.</p>
|
|
29
|
+
* <p>When you
|
|
30
|
+
* disassociate an invited member from a GuardDuty delegated administrator, the member account details
|
|
31
|
+
* obtained from the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_CreateMembers.html">CreateMembers</a> API, including the associated email addresses, are retained. This is
|
|
32
|
+
* done so that the delegated administrator can invoke the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html">InviteMembers</a> API without the need to invoke the CreateMembers API again. To
|
|
33
|
+
* remove the details associated with a member account, the delegated administrator must invoke the
|
|
34
|
+
* <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DeleteMembers.html">DeleteMembers</a> API.</p>
|
|
29
35
|
* @example
|
|
30
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
37
|
* ```javascript
|
|
@@ -23,8 +23,14 @@ export interface DisassociateMembersCommandOutput extends DisassociateMembersRes
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Disassociates GuardDuty member accounts (
|
|
26
|
+
* <p>Disassociates GuardDuty member accounts (from the current administrator account) specified
|
|
27
27
|
* by the account IDs.</p>
|
|
28
|
+
* <p>When you
|
|
29
|
+
* disassociate an invited member from a GuardDuty delegated administrator, the member account details
|
|
30
|
+
* obtained from the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_CreateMembers.html">CreateMembers</a> API, including the associated email addresses, are retained. This is
|
|
31
|
+
* done so that the delegated administrator can invoke the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html">InviteMembers</a> API without the need to invoke the CreateMembers API again. To
|
|
32
|
+
* remove the details associated with a member account, the delegated administrator must invoke the
|
|
33
|
+
* <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DeleteMembers.html">DeleteMembers</a> API. </p>
|
|
28
34
|
* <p>With <code>autoEnableOrganizationMembers</code> configuration for your organization set to
|
|
29
35
|
* <code>ALL</code>, you'll receive an error if you attempt to disassociate a member account
|
|
30
36
|
* before removing them from your Amazon Web Services organization.</p>
|
|
@@ -23,9 +23,24 @@ export interface InviteMembersCommandOutput extends InviteMembersResponse, __Met
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Invites
|
|
27
|
-
*
|
|
28
|
-
*
|
|
26
|
+
* <p>Invites Amazon Web Services accounts to become members of an organization administered by the Amazon Web Services account
|
|
27
|
+
* that invokes this API. If you are using Amazon Web Services Organizations to manager your GuardDuty environment, this step is not
|
|
28
|
+
* needed. For more information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_organizations.html">Managing accounts with Amazon Web Services Organizations</a>.</p>
|
|
29
|
+
* <p>To invite Amazon Web Services accounts, the first step is
|
|
30
|
+
* to ensure that GuardDuty has been enabled in the potential member accounts. You can now invoke this API
|
|
31
|
+
* to add accounts by invitation. The
|
|
32
|
+
* invited accounts can either accept or decline the invitation from their GuardDuty accounts. Each invited Amazon Web Services account can
|
|
33
|
+
* choose to accept the invitation from only one Amazon Web Services account. For more information, see
|
|
34
|
+
* <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_invitations.html">Managing GuardDuty accounts
|
|
35
|
+
* by invitation</a>.</p>
|
|
36
|
+
* <p>After the invite has been accepted and you choose to disassociate a member account
|
|
37
|
+
* (by using <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DisassociateMembers.html">DisassociateMembers</a>) from your account,
|
|
38
|
+
* the details of the member account obtained by invoking <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_CreateMembers.html">CreateMembers</a>, including the
|
|
39
|
+
* associated email addresses, will be retained.
|
|
40
|
+
* This is done so that you can invoke InviteMembers without the need to invoke
|
|
41
|
+
* <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_CreateMembers.html">CreateMembers</a> again. To
|
|
42
|
+
* remove the details associated with a member account, you must also invoke
|
|
43
|
+
* <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DeleteMembers.html">DeleteMembers</a>. </p>
|
|
29
44
|
* @example
|
|
30
45
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
46
|
* ```javascript
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-guardduty",
|
|
3
3
|
"description": "AWS SDK for JavaScript Guardduty Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.353.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.353.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.353.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.353.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.353.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.347.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.347.0",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.347.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.347.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.347.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.347.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.353.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.347.0",
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.353.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.347.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.352.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.353.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.350.0",
|
|
42
42
|
"@aws-sdk/smithy-client": "3.347.0",
|
|
43
43
|
"@aws-sdk/types": "3.347.0",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.353.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.353.0",
|
|
50
50
|
"@aws-sdk/util-endpoints": "3.352.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.347.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-browser": "3.347.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.353.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
55
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
56
|
"@smithy/types": "^1.0.0",
|