Skip to content

Commit 8b994b4

Browse files
author
awstools
committed
feat(client-inspector2): Adding componentArn to network reachability details
1 parent 784d37c commit 8b994b4

File tree

4 files changed

+18
-8
lines changed

4 files changed

+18
-8
lines changed

clients/client-inspector2/src/commands/AssociateMemberCommand.ts

+1-7
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,7 @@ export interface AssociateMemberCommandInput extends AssociateMemberRequest {}
2828
export interface AssociateMemberCommandOutput extends AssociateMemberResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>
32-
* Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.
33-
* An HTTP 200 response indicates the association was started but doesn’t indicate whether it completed.
34-
* You can check if the association completed using <a href="https://docs.aws.amazon.com/inspector/v2/APIReference/API_ListMembers.html">ListMembers</a> for multiple accounts or <a href="https://docs.aws.amazon.com/inspector/v2/APIReference/API_GetMember.html">GetMembers</a> for a single account.
35-
* An HTTP 402 response indicates the association failed because the organization size exceeded its limit.
36-
* For information on limits, see <a href="https://docs.aws.amazon.com/inspector/latest/user/quotas.html">Amazon Inspector quotas</a>.
37-
* </p>
31+
* <p>Associates an Amazon Web Services account with an Amazon Inspector delegated administrator. An HTTP 200 response indicates the association was successfully started, but doesn’t indicate whether it was completed. You can check if the association completed by using <a href="https://docs.aws.amazon.com/inspector/v2/APIReference/API_ListMembers.html">ListMembers</a> for multiple accounts or <a href="https://docs.aws.amazon.com/inspector/v2/APIReference/API_GetMember.html">GetMembers</a> for a single account.</p>
3832
* @example
3933
* Use a bare-bones client and the command you need to make an API call.
4034
* ```javascript

clients/client-inspector2/src/commands/ListFindingsCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
286286
* // { // Step
287287
* // componentId: "STRING_VALUE", // required
288288
* // componentType: "STRING_VALUE", // required
289+
* // componentArn: "STRING_VALUE",
289290
* // },
290291
* // ],
291292
* // },

clients/client-inspector2/src/models/models_0.ts

+6
Original file line numberDiff line numberDiff line change
@@ -6657,6 +6657,12 @@ export interface Step {
66576657
* @public
66586658
*/
66596659
componentType: string | undefined;
6660+
6661+
/**
6662+
* <p>The component ARN. The ARN can be null and is not displayed in the Amazon Web Services console.</p>
6663+
* @public
6664+
*/
6665+
componentArn?: string | undefined;
66606666
}
66616667

66626668
/**

codegen/sdk-codegen/aws-models/inspector2.json

+10-1
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@
610610
}
611611
],
612612
"traits": {
613-
"smithy.api#documentation": "<p>\n Associates an Amazon Web Services account with an Amazon Inspector delegated administrator. \n An HTTP 200 response indicates the association was started but doesn’t indicate whether it completed. \n You can check if the association completed using <a href=\"https://docs.aws.amazon.com/inspector/v2/APIReference/API_ListMembers.html\">ListMembers</a> for multiple accounts or <a href=\"https://docs.aws.amazon.com/inspector/v2/APIReference/API_GetMember.html\">GetMembers</a> for a single account. \n An HTTP 402 response indicates the association failed because the organization size exceeded its limit. \n For information on limits, see <a href=\"https://docs.aws.amazon.com/inspector/latest/user/quotas.html\">Amazon Inspector quotas</a>.\n </p>",
613+
"smithy.api#documentation": "<p>Associates an Amazon Web Services account with an Amazon Inspector delegated administrator. An HTTP 200 response indicates the association was successfully started, but doesn’t indicate whether it was completed. You can check if the association completed by using <a href=\"https://docs.aws.amazon.com/inspector/v2/APIReference/API_ListMembers.html\">ListMembers</a> for multiple accounts or <a href=\"https://docs.aws.amazon.com/inspector/v2/APIReference/API_GetMember.html\">GetMembers</a> for a single account.</p>",
614614
"smithy.api#http": {
615615
"code": 200,
616616
"method": "POST",
@@ -3348,6 +3348,9 @@
33483348
"com.amazonaws.inspector2#Component": {
33493349
"type": "string"
33503350
},
3351+
"com.amazonaws.inspector2#ComponentArn": {
3352+
"type": "string"
3353+
},
33513354
"com.amazonaws.inspector2#ComponentType": {
33523355
"type": "string"
33533356
},
@@ -13559,6 +13562,12 @@
1355913562
"smithy.api#documentation": "<p>The component type.</p>",
1356013563
"smithy.api#required": {}
1356113564
}
13565+
},
13566+
"componentArn": {
13567+
"target": "com.amazonaws.inspector2#ComponentArn",
13568+
"traits": {
13569+
"smithy.api#documentation": "<p>The component ARN. The ARN can be null and is not displayed in the Amazon Web Services console.</p>"
13570+
}
1356213571
}
1356313572
},
1356413573
"traits": {

0 commit comments

Comments
 (0)