aws-sdk-inspector2 1.10.0 → 1.11.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8a05c9f3073b7cd2de272a497ea7dc33241e5acc2f1ff97ac6c932ef0872a98
4
- data.tar.gz: 657a6c49c85d3ad04967a1372791f7371b39d21a4773c67e80a65c44a88decef
3
+ metadata.gz: 76d22a5063b8b38a59b8b39a541bbb859caef45afaf8c9fcc6dce881b2053918
4
+ data.tar.gz: 0d49f55c3b42d98e2cf3dd258d094cb2cb375d7710ae5c1739a84f24f5992879
5
5
  SHA512:
6
- metadata.gz: 11e3761219c9f9d140f48e298ecd05c7c5a34c22f8bd657ec554bf9abe8f4e9dda48a8cab421f9422ce5d5dbae0ac2f860cb6cf5105c8159e3e9078afbdb5f9a
7
- data.tar.gz: cb819fb1b69b9e446a9e223f6fd72dc5ddc8c6c04c415bbf4ff6af2ad2cde245dd2112dafd2615c7bae21b64d6f4a5bbdea4bc735f941990754655402adb17b8
6
+ metadata.gz: dd7c51e1e87978abb565408a52163832ffd9daaa38deadb82990391bf647714fc09a2aad78bbe790a6820abf94f125b00f54fd0b4f7aa96b9e925d6256f1a38c
7
+ data.tar.gz: f5427e323864a8e6a0caf4b29225931b4dac036f165a049adf2e088f8b2948de9398265258b4eff3dc7b741c38610014e37d6621fa65c66783bd0edc613b43b1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.11.0 (2023-05-03)
5
+ ------------------
6
+
7
+ * Feature - This feature provides deep inspection for linux based instance
8
+
4
9
  1.10.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.10.0
1
+ 1.11.0
@@ -369,7 +369,16 @@ module Aws::Inspector2
369
369
  # @!group API Operations
370
370
 
371
371
  # Associates an Amazon Web Services account with an Amazon Inspector
372
- # delegated administrator.
372
+ # delegated administrator. An HTTP 200 response indicates the
373
+ # association was successfully started, but doesn’t indicate whether it
374
+ # was completed. You can check if the association completed by using
375
+ # [ListMembers][1] for multiple accounts or [GetMembers][2] for a single
376
+ # account.
377
+ #
378
+ #
379
+ #
380
+ # [1]: https://docs.aws.amazon.com/inspector/v2/APIReference/API_ListMembers.html
381
+ # [2]: https://docs.aws.amazon.com/inspector/v2/APIReference/API_GetMember.html
373
382
  #
374
383
  # @option params [required, String] :account_id
375
384
  # The Amazon Web Services account ID of the member account to be
@@ -489,6 +498,92 @@ module Aws::Inspector2
489
498
  req.send_request(options)
490
499
  end
491
500
 
501
+ # Retrieves Amazon Inspector deep inspection activation status of
502
+ # multiple member accounts within your organization. You must be the
503
+ # delegated administrator of an organization in Amazon Inspector to use
504
+ # this API.
505
+ #
506
+ # @option params [Array<String>] :account_ids
507
+ # The unique identifiers for the Amazon Web Services accounts to
508
+ # retrieve Amazon Inspector deep inspection activation status for.
509
+ # </p>
510
+ #
511
+ # @return [Types::BatchGetMemberEc2DeepInspectionStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
512
+ #
513
+ # * {Types::BatchGetMemberEc2DeepInspectionStatusResponse#account_ids #account_ids} => Array&lt;Types::MemberAccountEc2DeepInspectionStatusState&gt;
514
+ # * {Types::BatchGetMemberEc2DeepInspectionStatusResponse#failed_account_ids #failed_account_ids} => Array&lt;Types::FailedMemberAccountEc2DeepInspectionStatusState&gt;
515
+ #
516
+ # @example Request syntax with placeholder values
517
+ #
518
+ # resp = client.batch_get_member_ec2_deep_inspection_status({
519
+ # account_ids: ["AccountId"],
520
+ # })
521
+ #
522
+ # @example Response structure
523
+ #
524
+ # resp.account_ids #=> Array
525
+ # resp.account_ids[0].account_id #=> String
526
+ # resp.account_ids[0].error_message #=> String
527
+ # resp.account_ids[0].status #=> String, one of "ACTIVATED", "DEACTIVATED", "PENDING", "FAILED"
528
+ # resp.failed_account_ids #=> Array
529
+ # resp.failed_account_ids[0].account_id #=> String
530
+ # resp.failed_account_ids[0].ec2_scan_status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
531
+ # resp.failed_account_ids[0].error_message #=> String
532
+ #
533
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetMemberEc2DeepInspectionStatus AWS API Documentation
534
+ #
535
+ # @overload batch_get_member_ec2_deep_inspection_status(params = {})
536
+ # @param [Hash] params ({})
537
+ def batch_get_member_ec2_deep_inspection_status(params = {}, options = {})
538
+ req = build_request(:batch_get_member_ec2_deep_inspection_status, params)
539
+ req.send_request(options)
540
+ end
541
+
542
+ # Activates or deactivates Amazon Inspector deep inspection for the
543
+ # provided member accounts in your organization. You must be the
544
+ # delegated administrator of an organization in Amazon Inspector to use
545
+ # this API.
546
+ #
547
+ # @option params [required, Array<Types::MemberAccountEc2DeepInspectionStatus>] :account_ids
548
+ # The unique identifiers for the Amazon Web Services accounts to change
549
+ # Amazon Inspector deep inspection status for.
550
+ #
551
+ # @return [Types::BatchUpdateMemberEc2DeepInspectionStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
552
+ #
553
+ # * {Types::BatchUpdateMemberEc2DeepInspectionStatusResponse#account_ids #account_ids} => Array&lt;Types::MemberAccountEc2DeepInspectionStatusState&gt;
554
+ # * {Types::BatchUpdateMemberEc2DeepInspectionStatusResponse#failed_account_ids #failed_account_ids} => Array&lt;Types::FailedMemberAccountEc2DeepInspectionStatusState&gt;
555
+ #
556
+ # @example Request syntax with placeholder values
557
+ #
558
+ # resp = client.batch_update_member_ec2_deep_inspection_status({
559
+ # account_ids: [ # required
560
+ # {
561
+ # account_id: "AccountId", # required
562
+ # activate_deep_inspection: false, # required
563
+ # },
564
+ # ],
565
+ # })
566
+ #
567
+ # @example Response structure
568
+ #
569
+ # resp.account_ids #=> Array
570
+ # resp.account_ids[0].account_id #=> String
571
+ # resp.account_ids[0].error_message #=> String
572
+ # resp.account_ids[0].status #=> String, one of "ACTIVATED", "DEACTIVATED", "PENDING", "FAILED"
573
+ # resp.failed_account_ids #=> Array
574
+ # resp.failed_account_ids[0].account_id #=> String
575
+ # resp.failed_account_ids[0].ec2_scan_status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
576
+ # resp.failed_account_ids[0].error_message #=> String
577
+ #
578
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchUpdateMemberEc2DeepInspectionStatus AWS API Documentation
579
+ #
580
+ # @overload batch_update_member_ec2_deep_inspection_status(params = {})
581
+ # @param [Hash] params ({})
582
+ def batch_update_member_ec2_deep_inspection_status(params = {}, options = {})
583
+ req = build_request(:batch_update_member_ec2_deep_inspection_status, params)
584
+ req.send_request(options)
585
+ end
586
+
492
587
  # Cancels the given findings report.
493
588
  #
494
589
  # @option params [required, String] :report_id
@@ -826,7 +921,9 @@ module Aws::Inspector2
826
921
  req.send_request(options)
827
922
  end
828
923
 
829
- # Creates a finding report.
924
+ # Creates a finding report. By default only `ACTIVE` findings are
925
+ # returned in the report. To see `SUPRESSED` or `CLOSED` findings you
926
+ # must specify a value for the `findingStatus` filter criteria.
830
927
  #
831
928
  # @option params [Types::FilterCriteria] :filter_criteria
832
929
  # The filter criteria to apply to the results of the finding report.
@@ -1416,6 +1513,34 @@ module Aws::Inspector2
1416
1513
  req.send_request(options)
1417
1514
  end
1418
1515
 
1516
+ # Retrieves the activation status of Amazon Inspector deep inspection
1517
+ # and custom paths associated with your account.
1518
+ #
1519
+ # @return [Types::GetEc2DeepInspectionConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1520
+ #
1521
+ # * {Types::GetEc2DeepInspectionConfigurationResponse#error_message #error_message} => String
1522
+ # * {Types::GetEc2DeepInspectionConfigurationResponse#org_package_paths #org_package_paths} => Array&lt;String&gt;
1523
+ # * {Types::GetEc2DeepInspectionConfigurationResponse#package_paths #package_paths} => Array&lt;String&gt;
1524
+ # * {Types::GetEc2DeepInspectionConfigurationResponse#status #status} => String
1525
+ #
1526
+ # @example Response structure
1527
+ #
1528
+ # resp.error_message #=> String
1529
+ # resp.org_package_paths #=> Array
1530
+ # resp.org_package_paths[0] #=> String
1531
+ # resp.package_paths #=> Array
1532
+ # resp.package_paths[0] #=> String
1533
+ # resp.status #=> String, one of "ACTIVATED", "DEACTIVATED", "PENDING", "FAILED"
1534
+ #
1535
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEc2DeepInspectionConfiguration AWS API Documentation
1536
+ #
1537
+ # @overload get_ec2_deep_inspection_configuration(params = {})
1538
+ # @param [Hash] params ({})
1539
+ def get_ec2_deep_inspection_configuration(params = {}, options = {})
1540
+ req = build_request(:get_ec2_deep_inspection_configuration, params)
1541
+ req.send_request(options)
1542
+ end
1543
+
1419
1544
  # Gets the status of a findings report.
1420
1545
  #
1421
1546
  # @option params [String] :report_id
@@ -1786,7 +1911,7 @@ module Aws::Inspector2
1786
1911
  # resp.covered_resources[0].resource_metadata.lambda_function.layers[0] #=> String
1787
1912
  # resp.covered_resources[0].resource_metadata.lambda_function.runtime #=> String, one of "NODEJS", "NODEJS_12_X", "NODEJS_14_X", "NODEJS_16_X", "JAVA_8", "JAVA_8_AL2", "JAVA_11", "PYTHON_3_7", "PYTHON_3_8", "PYTHON_3_9", "UNSUPPORTED", "NODEJS_18_X", "GO_1_X"
1788
1913
  # resp.covered_resources[0].resource_type #=> String, one of "AWS_EC2_INSTANCE", "AWS_ECR_CONTAINER_IMAGE", "AWS_ECR_REPOSITORY", "AWS_LAMBDA_FUNCTION"
1789
- # resp.covered_resources[0].scan_status.reason #=> String, one of "PENDING_INITIAL_SCAN", "ACCESS_DENIED", "INTERNAL_ERROR", "UNMANAGED_EC2_INSTANCE", "UNSUPPORTED_OS", "SCAN_ELIGIBILITY_EXPIRED", "RESOURCE_TERMINATED", "SUCCESSFUL", "NO_RESOURCES_FOUND", "IMAGE_SIZE_EXCEEDED", "SCAN_FREQUENCY_MANUAL", "SCAN_FREQUENCY_SCAN_ON_PUSH", "EC2_INSTANCE_STOPPED", "PENDING_DISABLE", "NO_INVENTORY", "STALE_INVENTORY", "EXCLUDED_BY_TAG", "UNSUPPORTED_RUNTIME"
1914
+ # resp.covered_resources[0].scan_status.reason #=> String, one of "PENDING_INITIAL_SCAN", "ACCESS_DENIED", "INTERNAL_ERROR", "UNMANAGED_EC2_INSTANCE", "UNSUPPORTED_OS", "SCAN_ELIGIBILITY_EXPIRED", "RESOURCE_TERMINATED", "SUCCESSFUL", "NO_RESOURCES_FOUND", "IMAGE_SIZE_EXCEEDED", "SCAN_FREQUENCY_MANUAL", "SCAN_FREQUENCY_SCAN_ON_PUSH", "EC2_INSTANCE_STOPPED", "PENDING_DISABLE", "NO_INVENTORY", "STALE_INVENTORY", "EXCLUDED_BY_TAG", "UNSUPPORTED_RUNTIME", "UNSUPPORTED_MEDIA_TYPE", "UNSUPPORTED_CONFIG_FILE", "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED", "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED", "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED", "DEEP_INSPECTION_NO_INVENTORY"
1790
1915
  # resp.covered_resources[0].scan_status.status_code #=> String, one of "ACTIVE", "INACTIVE"
1791
1916
  # resp.covered_resources[0].scan_type #=> String, one of "NETWORK", "PACKAGE"
1792
1917
  # resp.next_token #=> String
@@ -2836,7 +2961,7 @@ module Aws::Inspector2
2836
2961
  # resp.findings[0].package_vulnerability_details.vulnerable_packages[0].file_path #=> String
2837
2962
  # resp.findings[0].package_vulnerability_details.vulnerable_packages[0].fixed_in_version #=> String
2838
2963
  # resp.findings[0].package_vulnerability_details.vulnerable_packages[0].name #=> String
2839
- # resp.findings[0].package_vulnerability_details.vulnerable_packages[0].package_manager #=> String, one of "BUNDLER", "CARGO", "COMPOSER", "NPM", "NUGET", "PIPENV", "POETRY", "YARN", "GOBINARY", "GOMOD", "JAR", "OS", "PIP", "PYTHONPKG", "NODEPKG", "POM"
2964
+ # resp.findings[0].package_vulnerability_details.vulnerable_packages[0].package_manager #=> String, one of "BUNDLER", "CARGO", "COMPOSER", "NPM", "NUGET", "PIPENV", "POETRY", "YARN", "GOBINARY", "GOMOD", "JAR", "OS", "PIP", "PYTHONPKG", "NODEPKG", "POM", "GEMSPEC"
2840
2965
  # resp.findings[0].package_vulnerability_details.vulnerable_packages[0].release #=> String
2841
2966
  # resp.findings[0].package_vulnerability_details.vulnerable_packages[0].remediation #=> String
2842
2967
  # resp.findings[0].package_vulnerability_details.vulnerable_packages[0].source_lambda_layer_arn #=> String
@@ -3115,6 +3240,56 @@ module Aws::Inspector2
3115
3240
  req.send_request(options)
3116
3241
  end
3117
3242
 
3243
+ # Activates, deactivates Amazon Inspector deep inspection, or updates
3244
+ # custom paths for your account.
3245
+ #
3246
+ # @option params [Boolean] :activate_deep_inspection
3247
+ # Specify `TRUE` to activate Amazon Inspector deep inspection in your
3248
+ # account, or `FALSE` to deactivate. Member accounts in an organization
3249
+ # cannot deactivate deep inspection, instead the delegated administrator
3250
+ # for the organization can deactivate a member account using
3251
+ # [BatchUpdateMemberEc2DeepInspectionStatus][1].
3252
+ #
3253
+ #
3254
+ #
3255
+ # [1]: https://docs.aws.amazon.com/inspector/v2/APIReference/API_BatchUpdateMemberEc2DeepInspectionStatus.html
3256
+ #
3257
+ # @option params [Array<String>] :package_paths
3258
+ # The Amazon Inspector deep inspection custom paths you are adding for
3259
+ # your account.
3260
+ #
3261
+ # @return [Types::UpdateEc2DeepInspectionConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3262
+ #
3263
+ # * {Types::UpdateEc2DeepInspectionConfigurationResponse#error_message #error_message} => String
3264
+ # * {Types::UpdateEc2DeepInspectionConfigurationResponse#org_package_paths #org_package_paths} => Array&lt;String&gt;
3265
+ # * {Types::UpdateEc2DeepInspectionConfigurationResponse#package_paths #package_paths} => Array&lt;String&gt;
3266
+ # * {Types::UpdateEc2DeepInspectionConfigurationResponse#status #status} => String
3267
+ #
3268
+ # @example Request syntax with placeholder values
3269
+ #
3270
+ # resp = client.update_ec2_deep_inspection_configuration({
3271
+ # activate_deep_inspection: false,
3272
+ # package_paths: ["Path"],
3273
+ # })
3274
+ #
3275
+ # @example Response structure
3276
+ #
3277
+ # resp.error_message #=> String
3278
+ # resp.org_package_paths #=> Array
3279
+ # resp.org_package_paths[0] #=> String
3280
+ # resp.package_paths #=> Array
3281
+ # resp.package_paths[0] #=> String
3282
+ # resp.status #=> String, one of "ACTIVATED", "DEACTIVATED", "PENDING", "FAILED"
3283
+ #
3284
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateEc2DeepInspectionConfiguration AWS API Documentation
3285
+ #
3286
+ # @overload update_ec2_deep_inspection_configuration(params = {})
3287
+ # @param [Hash] params ({})
3288
+ def update_ec2_deep_inspection_configuration(params = {}, options = {})
3289
+ req = build_request(:update_ec2_deep_inspection_configuration, params)
3290
+ req.send_request(options)
3291
+ end
3292
+
3118
3293
  # Specifies the action that is to be applied to the findings that match
3119
3294
  # the filter.
3120
3295
  #
@@ -3421,6 +3596,31 @@ module Aws::Inspector2
3421
3596
  req.send_request(options)
3422
3597
  end
3423
3598
 
3599
+ # Updates the Amazon Inspector deep inspection custom paths for your
3600
+ # organization. You must be an Amazon Inspector delegated administrator
3601
+ # to use this API.
3602
+ #
3603
+ # @option params [required, Array<String>] :org_package_paths
3604
+ # The Amazon Inspector deep inspection custom paths you are adding for
3605
+ # your organization.
3606
+ #
3607
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3608
+ #
3609
+ # @example Request syntax with placeholder values
3610
+ #
3611
+ # resp = client.update_org_ec2_deep_inspection_configuration({
3612
+ # org_package_paths: ["Path"], # required
3613
+ # })
3614
+ #
3615
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateOrgEc2DeepInspectionConfiguration AWS API Documentation
3616
+ #
3617
+ # @overload update_org_ec2_deep_inspection_configuration(params = {})
3618
+ # @param [Hash] params ({})
3619
+ def update_org_ec2_deep_inspection_configuration(params = {}, options = {})
3620
+ req = build_request(:update_org_ec2_deep_inspection_configuration, params)
3621
+ req.send_request(options)
3622
+ end
3623
+
3424
3624
  # Updates the configurations for your Amazon Inspector organization.
3425
3625
  #
3426
3626
  # @option params [required, Types::AutoEnable] :auto_enable
@@ -3469,7 +3669,7 @@ module Aws::Inspector2
3469
3669
  params: params,
3470
3670
  config: config)
3471
3671
  context[:gem_name] = 'aws-sdk-inspector2'
3472
- context[:gem_version] = '1.10.0'
3672
+ context[:gem_version] = '1.11.0'
3473
3673
  Seahorse::Client::Request.new(handlers, context)
3474
3674
  end
3475
3675
 
@@ -52,6 +52,10 @@ module Aws::Inspector2
52
52
  BatchGetFreeTrialInfoRequest = Shapes::StructureShape.new(name: 'BatchGetFreeTrialInfoRequest')
53
53
  BatchGetFreeTrialInfoRequestAccountIdsList = Shapes::ListShape.new(name: 'BatchGetFreeTrialInfoRequestAccountIdsList')
54
54
  BatchGetFreeTrialInfoResponse = Shapes::StructureShape.new(name: 'BatchGetFreeTrialInfoResponse')
55
+ BatchGetMemberEc2DeepInspectionStatusRequest = Shapes::StructureShape.new(name: 'BatchGetMemberEc2DeepInspectionStatusRequest')
56
+ BatchGetMemberEc2DeepInspectionStatusResponse = Shapes::StructureShape.new(name: 'BatchGetMemberEc2DeepInspectionStatusResponse')
57
+ BatchUpdateMemberEc2DeepInspectionStatusRequest = Shapes::StructureShape.new(name: 'BatchUpdateMemberEc2DeepInspectionStatusRequest')
58
+ BatchUpdateMemberEc2DeepInspectionStatusResponse = Shapes::StructureShape.new(name: 'BatchUpdateMemberEc2DeepInspectionStatusResponse')
55
59
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
56
60
  CancelFindingsReportRequest = Shapes::StructureShape.new(name: 'CancelFindingsReportRequest')
57
61
  CancelFindingsReportResponse = Shapes::StructureShape.new(name: 'CancelFindingsReportResponse')
@@ -102,6 +106,7 @@ module Aws::Inspector2
102
106
  DisassociateMemberRequest = Shapes::StructureShape.new(name: 'DisassociateMemberRequest')
103
107
  DisassociateMemberResponse = Shapes::StructureShape.new(name: 'DisassociateMemberResponse')
104
108
  Double = Shapes::FloatShape.new(name: 'Double')
109
+ Ec2DeepInspectionStatus = Shapes::StringShape.new(name: 'Ec2DeepInspectionStatus')
105
110
  Ec2InstanceAggregation = Shapes::StructureShape.new(name: 'Ec2InstanceAggregation')
106
111
  Ec2InstanceAggregationResponse = Shapes::StructureShape.new(name: 'Ec2InstanceAggregationResponse')
107
112
  Ec2InstanceSortBy = Shapes::StringShape.new(name: 'Ec2InstanceSortBy')
@@ -128,6 +133,8 @@ module Aws::Inspector2
128
133
  ExternalReportStatus = Shapes::StringShape.new(name: 'ExternalReportStatus')
129
134
  FailedAccount = Shapes::StructureShape.new(name: 'FailedAccount')
130
135
  FailedAccountList = Shapes::ListShape.new(name: 'FailedAccountList')
136
+ FailedMemberAccountEc2DeepInspectionStatusState = Shapes::StructureShape.new(name: 'FailedMemberAccountEc2DeepInspectionStatusState')
137
+ FailedMemberAccountEc2DeepInspectionStatusStateList = Shapes::ListShape.new(name: 'FailedMemberAccountEc2DeepInspectionStatusStateList')
131
138
  FilePath = Shapes::StringShape.new(name: 'FilePath')
132
139
  Filter = Shapes::StructureShape.new(name: 'Filter')
133
140
  FilterAction = Shapes::StringShape.new(name: 'FilterAction')
@@ -163,6 +170,8 @@ module Aws::Inspector2
163
170
  GetConfigurationResponse = Shapes::StructureShape.new(name: 'GetConfigurationResponse')
164
171
  GetDelegatedAdminAccountRequest = Shapes::StructureShape.new(name: 'GetDelegatedAdminAccountRequest')
165
172
  GetDelegatedAdminAccountResponse = Shapes::StructureShape.new(name: 'GetDelegatedAdminAccountResponse')
173
+ GetEc2DeepInspectionConfigurationRequest = Shapes::StructureShape.new(name: 'GetEc2DeepInspectionConfigurationRequest')
174
+ GetEc2DeepInspectionConfigurationResponse = Shapes::StructureShape.new(name: 'GetEc2DeepInspectionConfigurationResponse')
166
175
  GetFindingsReportStatusRequest = Shapes::StructureShape.new(name: 'GetFindingsReportStatusRequest')
167
176
  GetFindingsReportStatusResponse = Shapes::StructureShape.new(name: 'GetFindingsReportStatusResponse')
168
177
  GetMemberRequest = Shapes::StructureShape.new(name: 'GetMemberRequest')
@@ -227,6 +236,10 @@ module Aws::Inspector2
227
236
  MapKey = Shapes::StringShape.new(name: 'MapKey')
228
237
  MapValue = Shapes::StringShape.new(name: 'MapValue')
229
238
  Member = Shapes::StructureShape.new(name: 'Member')
239
+ MemberAccountEc2DeepInspectionStatus = Shapes::StructureShape.new(name: 'MemberAccountEc2DeepInspectionStatus')
240
+ MemberAccountEc2DeepInspectionStatusList = Shapes::ListShape.new(name: 'MemberAccountEc2DeepInspectionStatusList')
241
+ MemberAccountEc2DeepInspectionStatusState = Shapes::StructureShape.new(name: 'MemberAccountEc2DeepInspectionStatusState')
242
+ MemberAccountEc2DeepInspectionStatusStateList = Shapes::ListShape.new(name: 'MemberAccountEc2DeepInspectionStatusStateList')
230
243
  MemberList = Shapes::ListShape.new(name: 'MemberList')
231
244
  MeteringAccountId = Shapes::StringShape.new(name: 'MeteringAccountId')
232
245
  MonthlyCostEstimate = Shapes::FloatShape.new(name: 'MonthlyCostEstimate')
@@ -253,6 +266,8 @@ module Aws::Inspector2
253
266
  PackageType = Shapes::StringShape.new(name: 'PackageType')
254
267
  PackageVersion = Shapes::StringShape.new(name: 'PackageVersion')
255
268
  PackageVulnerabilityDetails = Shapes::StructureShape.new(name: 'PackageVulnerabilityDetails')
269
+ Path = Shapes::StringShape.new(name: 'Path')
270
+ PathList = Shapes::ListShape.new(name: 'PathList')
256
271
  Permission = Shapes::StructureShape.new(name: 'Permission')
257
272
  Permissions = Shapes::ListShape.new(name: 'Permissions')
258
273
  Platform = Shapes::StringShape.new(name: 'Platform')
@@ -321,8 +336,12 @@ module Aws::Inspector2
321
336
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
322
337
  UpdateConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationRequest')
323
338
  UpdateConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateConfigurationResponse')
339
+ UpdateEc2DeepInspectionConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateEc2DeepInspectionConfigurationRequest')
340
+ UpdateEc2DeepInspectionConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateEc2DeepInspectionConfigurationResponse')
324
341
  UpdateFilterRequest = Shapes::StructureShape.new(name: 'UpdateFilterRequest')
325
342
  UpdateFilterResponse = Shapes::StructureShape.new(name: 'UpdateFilterResponse')
343
+ UpdateOrgEc2DeepInspectionConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateOrgEc2DeepInspectionConfigurationRequest')
344
+ UpdateOrgEc2DeepInspectionConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateOrgEc2DeepInspectionConfigurationResponse')
326
345
  UpdateOrganizationConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateOrganizationConfigurationRequest')
327
346
  UpdateOrganizationConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateOrganizationConfigurationResponse')
328
347
  Usage = Shapes::StructureShape.new(name: 'Usage')
@@ -523,6 +542,20 @@ module Aws::Inspector2
523
542
  BatchGetFreeTrialInfoResponse.add_member(:failed_accounts, Shapes::ShapeRef.new(shape: FreeTrialInfoErrorList, required: true, location_name: "failedAccounts"))
524
543
  BatchGetFreeTrialInfoResponse.struct_class = Types::BatchGetFreeTrialInfoResponse
525
544
 
545
+ BatchGetMemberEc2DeepInspectionStatusRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIdSet, location_name: "accountIds"))
546
+ BatchGetMemberEc2DeepInspectionStatusRequest.struct_class = Types::BatchGetMemberEc2DeepInspectionStatusRequest
547
+
548
+ BatchGetMemberEc2DeepInspectionStatusResponse.add_member(:account_ids, Shapes::ShapeRef.new(shape: MemberAccountEc2DeepInspectionStatusStateList, location_name: "accountIds"))
549
+ BatchGetMemberEc2DeepInspectionStatusResponse.add_member(:failed_account_ids, Shapes::ShapeRef.new(shape: FailedMemberAccountEc2DeepInspectionStatusStateList, location_name: "failedAccountIds"))
550
+ BatchGetMemberEc2DeepInspectionStatusResponse.struct_class = Types::BatchGetMemberEc2DeepInspectionStatusResponse
551
+
552
+ BatchUpdateMemberEc2DeepInspectionStatusRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: MemberAccountEc2DeepInspectionStatusList, required: true, location_name: "accountIds"))
553
+ BatchUpdateMemberEc2DeepInspectionStatusRequest.struct_class = Types::BatchUpdateMemberEc2DeepInspectionStatusRequest
554
+
555
+ BatchUpdateMemberEc2DeepInspectionStatusResponse.add_member(:account_ids, Shapes::ShapeRef.new(shape: MemberAccountEc2DeepInspectionStatusStateList, location_name: "accountIds"))
556
+ BatchUpdateMemberEc2DeepInspectionStatusResponse.add_member(:failed_account_ids, Shapes::ShapeRef.new(shape: FailedMemberAccountEc2DeepInspectionStatusStateList, location_name: "failedAccountIds"))
557
+ BatchUpdateMemberEc2DeepInspectionStatusResponse.struct_class = Types::BatchUpdateMemberEc2DeepInspectionStatusResponse
558
+
526
559
  CancelFindingsReportRequest.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, required: true, location_name: "reportId"))
527
560
  CancelFindingsReportRequest.struct_class = Types::CancelFindingsReportRequest
528
561
 
@@ -743,6 +776,13 @@ module Aws::Inspector2
743
776
 
744
777
  FailedAccountList.member = Shapes::ShapeRef.new(shape: FailedAccount)
745
778
 
779
+ FailedMemberAccountEc2DeepInspectionStatusState.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
780
+ FailedMemberAccountEc2DeepInspectionStatusState.add_member(:ec2_scan_status, Shapes::ShapeRef.new(shape: Status, location_name: "ec2ScanStatus"))
781
+ FailedMemberAccountEc2DeepInspectionStatusState.add_member(:error_message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "errorMessage"))
782
+ FailedMemberAccountEc2DeepInspectionStatusState.struct_class = Types::FailedMemberAccountEc2DeepInspectionStatusState
783
+
784
+ FailedMemberAccountEc2DeepInspectionStatusStateList.member = Shapes::ShapeRef.new(shape: FailedMemberAccountEc2DeepInspectionStatusState)
785
+
746
786
  Filter.add_member(:action, Shapes::ShapeRef.new(shape: FilterAction, required: true, location_name: "action"))
747
787
  Filter.add_member(:arn, Shapes::ShapeRef.new(shape: FilterArn, required: true, location_name: "arn"))
748
788
  Filter.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimeTimestamp, required: true, location_name: "createdAt"))
@@ -863,6 +903,14 @@ module Aws::Inspector2
863
903
  GetDelegatedAdminAccountResponse.add_member(:delegated_admin, Shapes::ShapeRef.new(shape: DelegatedAdmin, location_name: "delegatedAdmin"))
864
904
  GetDelegatedAdminAccountResponse.struct_class = Types::GetDelegatedAdminAccountResponse
865
905
 
906
+ GetEc2DeepInspectionConfigurationRequest.struct_class = Types::GetEc2DeepInspectionConfigurationRequest
907
+
908
+ GetEc2DeepInspectionConfigurationResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "errorMessage"))
909
+ GetEc2DeepInspectionConfigurationResponse.add_member(:org_package_paths, Shapes::ShapeRef.new(shape: PathList, location_name: "orgPackagePaths"))
910
+ GetEc2DeepInspectionConfigurationResponse.add_member(:package_paths, Shapes::ShapeRef.new(shape: PathList, location_name: "packagePaths"))
911
+ GetEc2DeepInspectionConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: Ec2DeepInspectionStatus, location_name: "status"))
912
+ GetEc2DeepInspectionConfigurationResponse.struct_class = Types::GetEc2DeepInspectionConfigurationResponse
913
+
866
914
  GetFindingsReportStatusRequest.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, location_name: "reportId"))
867
915
  GetFindingsReportStatusRequest.struct_class = Types::GetFindingsReportStatusRequest
868
916
 
@@ -1058,6 +1106,19 @@ module Aws::Inspector2
1058
1106
  Member.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimeTimestamp, location_name: "updatedAt"))
1059
1107
  Member.struct_class = Types::Member
1060
1108
 
1109
+ MemberAccountEc2DeepInspectionStatus.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
1110
+ MemberAccountEc2DeepInspectionStatus.add_member(:activate_deep_inspection, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "activateDeepInspection"))
1111
+ MemberAccountEc2DeepInspectionStatus.struct_class = Types::MemberAccountEc2DeepInspectionStatus
1112
+
1113
+ MemberAccountEc2DeepInspectionStatusList.member = Shapes::ShapeRef.new(shape: MemberAccountEc2DeepInspectionStatus)
1114
+
1115
+ MemberAccountEc2DeepInspectionStatusState.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
1116
+ MemberAccountEc2DeepInspectionStatusState.add_member(:error_message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "errorMessage"))
1117
+ MemberAccountEc2DeepInspectionStatusState.add_member(:status, Shapes::ShapeRef.new(shape: Ec2DeepInspectionStatus, location_name: "status"))
1118
+ MemberAccountEc2DeepInspectionStatusState.struct_class = Types::MemberAccountEc2DeepInspectionStatusState
1119
+
1120
+ MemberAccountEc2DeepInspectionStatusStateList.member = Shapes::ShapeRef.new(shape: MemberAccountEc2DeepInspectionStatusState)
1121
+
1061
1122
  MemberList.member = Shapes::ShapeRef.new(shape: Member)
1062
1123
 
1063
1124
  NetworkPath.add_member(:steps, Shapes::ShapeRef.new(shape: StepList, location_name: "steps"))
@@ -1109,6 +1170,8 @@ module Aws::Inspector2
1109
1170
  PackageVulnerabilityDetails.add_member(:vulnerable_packages, Shapes::ShapeRef.new(shape: VulnerablePackageList, location_name: "vulnerablePackages"))
1110
1171
  PackageVulnerabilityDetails.struct_class = Types::PackageVulnerabilityDetails
1111
1172
 
1173
+ PathList.member = Shapes::ShapeRef.new(shape: Path)
1174
+
1112
1175
  Permission.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, required: true, location_name: "operation"))
1113
1176
  Permission.add_member(:service, Shapes::ShapeRef.new(shape: Service, required: true, location_name: "service"))
1114
1177
  Permission.struct_class = Types::Permission
@@ -1259,6 +1322,16 @@ module Aws::Inspector2
1259
1322
 
1260
1323
  UpdateConfigurationResponse.struct_class = Types::UpdateConfigurationResponse
1261
1324
 
1325
+ UpdateEc2DeepInspectionConfigurationRequest.add_member(:activate_deep_inspection, Shapes::ShapeRef.new(shape: Boolean, location_name: "activateDeepInspection"))
1326
+ UpdateEc2DeepInspectionConfigurationRequest.add_member(:package_paths, Shapes::ShapeRef.new(shape: PathList, location_name: "packagePaths"))
1327
+ UpdateEc2DeepInspectionConfigurationRequest.struct_class = Types::UpdateEc2DeepInspectionConfigurationRequest
1328
+
1329
+ UpdateEc2DeepInspectionConfigurationResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "errorMessage"))
1330
+ UpdateEc2DeepInspectionConfigurationResponse.add_member(:org_package_paths, Shapes::ShapeRef.new(shape: PathList, location_name: "orgPackagePaths"))
1331
+ UpdateEc2DeepInspectionConfigurationResponse.add_member(:package_paths, Shapes::ShapeRef.new(shape: PathList, location_name: "packagePaths"))
1332
+ UpdateEc2DeepInspectionConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: Ec2DeepInspectionStatus, location_name: "status"))
1333
+ UpdateEc2DeepInspectionConfigurationResponse.struct_class = Types::UpdateEc2DeepInspectionConfigurationResponse
1334
+
1262
1335
  UpdateFilterRequest.add_member(:action, Shapes::ShapeRef.new(shape: FilterAction, location_name: "action"))
1263
1336
  UpdateFilterRequest.add_member(:description, Shapes::ShapeRef.new(shape: FilterDescription, location_name: "description"))
1264
1337
  UpdateFilterRequest.add_member(:filter_arn, Shapes::ShapeRef.new(shape: FilterArn, required: true, location_name: "filterArn"))
@@ -1270,6 +1343,11 @@ module Aws::Inspector2
1270
1343
  UpdateFilterResponse.add_member(:arn, Shapes::ShapeRef.new(shape: FilterArn, required: true, location_name: "arn"))
1271
1344
  UpdateFilterResponse.struct_class = Types::UpdateFilterResponse
1272
1345
 
1346
+ UpdateOrgEc2DeepInspectionConfigurationRequest.add_member(:org_package_paths, Shapes::ShapeRef.new(shape: PathList, required: true, location_name: "orgPackagePaths"))
1347
+ UpdateOrgEc2DeepInspectionConfigurationRequest.struct_class = Types::UpdateOrgEc2DeepInspectionConfigurationRequest
1348
+
1349
+ UpdateOrgEc2DeepInspectionConfigurationResponse.struct_class = Types::UpdateOrgEc2DeepInspectionConfigurationResponse
1350
+
1273
1351
  UpdateOrganizationConfigurationRequest.add_member(:auto_enable, Shapes::ShapeRef.new(shape: AutoEnable, required: true, location_name: "autoEnable"))
1274
1352
  UpdateOrganizationConfigurationRequest.struct_class = Types::UpdateOrganizationConfigurationRequest
1275
1353
 
@@ -1376,6 +1454,30 @@ module Aws::Inspector2
1376
1454
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1377
1455
  end)
1378
1456
 
1457
+ api.add_operation(:batch_get_member_ec2_deep_inspection_status, Seahorse::Model::Operation.new.tap do |o|
1458
+ o.name = "BatchGetMemberEc2DeepInspectionStatus"
1459
+ o.http_method = "POST"
1460
+ o.http_request_uri = "/ec2deepinspectionstatus/member/batch/get"
1461
+ o.input = Shapes::ShapeRef.new(shape: BatchGetMemberEc2DeepInspectionStatusRequest)
1462
+ o.output = Shapes::ShapeRef.new(shape: BatchGetMemberEc2DeepInspectionStatusResponse)
1463
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1464
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1465
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1466
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1467
+ end)
1468
+
1469
+ api.add_operation(:batch_update_member_ec2_deep_inspection_status, Seahorse::Model::Operation.new.tap do |o|
1470
+ o.name = "BatchUpdateMemberEc2DeepInspectionStatus"
1471
+ o.http_method = "POST"
1472
+ o.http_request_uri = "/ec2deepinspectionstatus/member/batch/update"
1473
+ o.input = Shapes::ShapeRef.new(shape: BatchUpdateMemberEc2DeepInspectionStatusRequest)
1474
+ o.output = Shapes::ShapeRef.new(shape: BatchUpdateMemberEc2DeepInspectionStatusResponse)
1475
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1476
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1477
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1478
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1479
+ end)
1480
+
1379
1481
  api.add_operation(:cancel_findings_report, Seahorse::Model::Operation.new.tap do |o|
1380
1482
  o.name = "CancelFindingsReport"
1381
1483
  o.http_method = "POST"
@@ -1531,6 +1633,18 @@ module Aws::Inspector2
1531
1633
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1532
1634
  end)
1533
1635
 
1636
+ api.add_operation(:get_ec2_deep_inspection_configuration, Seahorse::Model::Operation.new.tap do |o|
1637
+ o.name = "GetEc2DeepInspectionConfiguration"
1638
+ o.http_method = "POST"
1639
+ o.http_request_uri = "/ec2deepinspectionconfiguration/get"
1640
+ o.input = Shapes::ShapeRef.new(shape: GetEc2DeepInspectionConfigurationRequest)
1641
+ o.output = Shapes::ShapeRef.new(shape: GetEc2DeepInspectionConfigurationResponse)
1642
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1643
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1644
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1645
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1646
+ end)
1647
+
1534
1648
  api.add_operation(:get_findings_report_status, Seahorse::Model::Operation.new.tap do |o|
1535
1649
  o.name = "GetFindingsReportStatus"
1536
1650
  o.http_method = "POST"
@@ -1763,6 +1877,18 @@ module Aws::Inspector2
1763
1877
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1764
1878
  end)
1765
1879
 
1880
+ api.add_operation(:update_ec2_deep_inspection_configuration, Seahorse::Model::Operation.new.tap do |o|
1881
+ o.name = "UpdateEc2DeepInspectionConfiguration"
1882
+ o.http_method = "POST"
1883
+ o.http_request_uri = "/ec2deepinspectionconfiguration/update"
1884
+ o.input = Shapes::ShapeRef.new(shape: UpdateEc2DeepInspectionConfigurationRequest)
1885
+ o.output = Shapes::ShapeRef.new(shape: UpdateEc2DeepInspectionConfigurationResponse)
1886
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1887
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1888
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1889
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1890
+ end)
1891
+
1766
1892
  api.add_operation(:update_filter, Seahorse::Model::Operation.new.tap do |o|
1767
1893
  o.name = "UpdateFilter"
1768
1894
  o.http_method = "POST"
@@ -1776,6 +1902,18 @@ module Aws::Inspector2
1776
1902
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1777
1903
  end)
1778
1904
 
1905
+ api.add_operation(:update_org_ec2_deep_inspection_configuration, Seahorse::Model::Operation.new.tap do |o|
1906
+ o.name = "UpdateOrgEc2DeepInspectionConfiguration"
1907
+ o.http_method = "POST"
1908
+ o.http_request_uri = "/ec2deepinspectionconfiguration/org/update"
1909
+ o.input = Shapes::ShapeRef.new(shape: UpdateOrgEc2DeepInspectionConfigurationRequest)
1910
+ o.output = Shapes::ShapeRef.new(shape: UpdateOrgEc2DeepInspectionConfigurationResponse)
1911
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1912
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1913
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1914
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1915
+ end)
1916
+
1779
1917
  api.add_operation(:update_organization_configuration, Seahorse::Model::Operation.new.tap do |o|
1780
1918
  o.name = "UpdateOrganizationConfiguration"
1781
1919
  o.http_method = "POST"
@@ -50,9 +50,6 @@ module Aws::Inspector2
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,36 +14,39 @@ module Aws::Inspector2
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://inspector2-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://inspector2-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://inspector2.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://inspector2-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://inspector2-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://inspector2.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://inspector2.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://inspector2.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -53,6 +53,34 @@ module Aws::Inspector2
53
53
  end
54
54
  end
55
55
 
56
+ class BatchGetMemberEc2DeepInspectionStatus
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::Inspector2::EndpointParameters.new(
62
+ region: context.config.region,
63
+ use_dual_stack: context.config.use_dualstack_endpoint,
64
+ use_fips: context.config.use_fips_endpoint,
65
+ endpoint: endpoint,
66
+ )
67
+ end
68
+ end
69
+
70
+ class BatchUpdateMemberEc2DeepInspectionStatus
71
+ def self.build(context)
72
+ unless context.config.regional_endpoint
73
+ endpoint = context.config.endpoint.to_s
74
+ end
75
+ Aws::Inspector2::EndpointParameters.new(
76
+ region: context.config.region,
77
+ use_dual_stack: context.config.use_dualstack_endpoint,
78
+ use_fips: context.config.use_fips_endpoint,
79
+ endpoint: endpoint,
80
+ )
81
+ end
82
+ end
83
+
56
84
  class CancelFindingsReport
57
85
  def self.build(context)
58
86
  unless context.config.regional_endpoint
@@ -221,6 +249,20 @@ module Aws::Inspector2
221
249
  end
222
250
  end
223
251
 
252
+ class GetEc2DeepInspectionConfiguration
253
+ def self.build(context)
254
+ unless context.config.regional_endpoint
255
+ endpoint = context.config.endpoint.to_s
256
+ end
257
+ Aws::Inspector2::EndpointParameters.new(
258
+ region: context.config.region,
259
+ use_dual_stack: context.config.use_dualstack_endpoint,
260
+ use_fips: context.config.use_fips_endpoint,
261
+ endpoint: endpoint,
262
+ )
263
+ end
264
+ end
265
+
224
266
  class GetFindingsReportStatus
225
267
  def self.build(context)
226
268
  unless context.config.regional_endpoint
@@ -431,6 +473,20 @@ module Aws::Inspector2
431
473
  end
432
474
  end
433
475
 
476
+ class UpdateEc2DeepInspectionConfiguration
477
+ def self.build(context)
478
+ unless context.config.regional_endpoint
479
+ endpoint = context.config.endpoint.to_s
480
+ end
481
+ Aws::Inspector2::EndpointParameters.new(
482
+ region: context.config.region,
483
+ use_dual_stack: context.config.use_dualstack_endpoint,
484
+ use_fips: context.config.use_fips_endpoint,
485
+ endpoint: endpoint,
486
+ )
487
+ end
488
+ end
489
+
434
490
  class UpdateFilter
435
491
  def self.build(context)
436
492
  unless context.config.regional_endpoint
@@ -445,6 +501,20 @@ module Aws::Inspector2
445
501
  end
446
502
  end
447
503
 
504
+ class UpdateOrgEc2DeepInspectionConfiguration
505
+ def self.build(context)
506
+ unless context.config.regional_endpoint
507
+ endpoint = context.config.endpoint.to_s
508
+ end
509
+ Aws::Inspector2::EndpointParameters.new(
510
+ region: context.config.region,
511
+ use_dual_stack: context.config.use_dualstack_endpoint,
512
+ use_fips: context.config.use_fips_endpoint,
513
+ endpoint: endpoint,
514
+ )
515
+ end
516
+ end
517
+
448
518
  class UpdateOrganizationConfiguration
449
519
  def self.build(context)
450
520
  unless context.config.regional_endpoint
@@ -62,6 +62,10 @@ module Aws::Inspector2
62
62
  Aws::Inspector2::Endpoints::BatchGetAccountStatus.build(context)
63
63
  when :batch_get_free_trial_info
64
64
  Aws::Inspector2::Endpoints::BatchGetFreeTrialInfo.build(context)
65
+ when :batch_get_member_ec2_deep_inspection_status
66
+ Aws::Inspector2::Endpoints::BatchGetMemberEc2DeepInspectionStatus.build(context)
67
+ when :batch_update_member_ec2_deep_inspection_status
68
+ Aws::Inspector2::Endpoints::BatchUpdateMemberEc2DeepInspectionStatus.build(context)
65
69
  when :cancel_findings_report
66
70
  Aws::Inspector2::Endpoints::CancelFindingsReport.build(context)
67
71
  when :create_filter
@@ -86,6 +90,8 @@ module Aws::Inspector2
86
90
  Aws::Inspector2::Endpoints::GetConfiguration.build(context)
87
91
  when :get_delegated_admin_account
88
92
  Aws::Inspector2::Endpoints::GetDelegatedAdminAccount.build(context)
93
+ when :get_ec2_deep_inspection_configuration
94
+ Aws::Inspector2::Endpoints::GetEc2DeepInspectionConfiguration.build(context)
89
95
  when :get_findings_report_status
90
96
  Aws::Inspector2::Endpoints::GetFindingsReportStatus.build(context)
91
97
  when :get_member
@@ -116,8 +122,12 @@ module Aws::Inspector2
116
122
  Aws::Inspector2::Endpoints::UntagResource.build(context)
117
123
  when :update_configuration
118
124
  Aws::Inspector2::Endpoints::UpdateConfiguration.build(context)
125
+ when :update_ec2_deep_inspection_configuration
126
+ Aws::Inspector2::Endpoints::UpdateEc2DeepInspectionConfiguration.build(context)
119
127
  when :update_filter
120
128
  Aws::Inspector2::Endpoints::UpdateFilter.build(context)
129
+ when :update_org_ec2_deep_inspection_configuration
130
+ Aws::Inspector2::Endpoints::UpdateOrgEc2DeepInspectionConfiguration.build(context)
121
131
  when :update_organization_configuration
122
132
  Aws::Inspector2::Endpoints::UpdateOrganizationConfiguration.build(context)
123
133
  end
@@ -398,8 +398,8 @@ module Aws::Inspector2
398
398
  # @return [Boolean]
399
399
  #
400
400
  # @!attribute [rw] lambda
401
- # Represents whether AWS Lambda scans are automatically enabled for
402
- # new members of your Amazon Inspector organization.
401
+ # Represents whether AWS Lambda standard scans are automatically
402
+ # enabled for new members of your Amazon Inspector organization.
403
403
  # @return [Boolean]
404
404
  #
405
405
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AutoEnable AWS API Documentation
@@ -758,6 +758,74 @@ module Aws::Inspector2
758
758
  include Aws::Structure
759
759
  end
760
760
 
761
+ # @!attribute [rw] account_ids
762
+ # The unique identifiers for the Amazon Web Services accounts to
763
+ # retrieve Amazon Inspector deep inspection activation status for.
764
+ # </p>
765
+ # @return [Array<String>]
766
+ #
767
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetMemberEc2DeepInspectionStatusRequest AWS API Documentation
768
+ #
769
+ class BatchGetMemberEc2DeepInspectionStatusRequest < Struct.new(
770
+ :account_ids)
771
+ SENSITIVE = []
772
+ include Aws::Structure
773
+ end
774
+
775
+ # @!attribute [rw] account_ids
776
+ # An array of objects that provide details on the activation status of
777
+ # Amazon Inspector deep inspection for each of the requested accounts.
778
+ # </p>
779
+ # @return [Array<Types::MemberAccountEc2DeepInspectionStatusState>]
780
+ #
781
+ # @!attribute [rw] failed_account_ids
782
+ # An array of objects that provide details on any accounts that failed
783
+ # to activate Amazon Inspector deep inspection and why. </p>
784
+ # @return [Array<Types::FailedMemberAccountEc2DeepInspectionStatusState>]
785
+ #
786
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetMemberEc2DeepInspectionStatusResponse AWS API Documentation
787
+ #
788
+ class BatchGetMemberEc2DeepInspectionStatusResponse < Struct.new(
789
+ :account_ids,
790
+ :failed_account_ids)
791
+ SENSITIVE = []
792
+ include Aws::Structure
793
+ end
794
+
795
+ # @!attribute [rw] account_ids
796
+ # The unique identifiers for the Amazon Web Services accounts to
797
+ # change Amazon Inspector deep inspection status for.
798
+ # @return [Array<Types::MemberAccountEc2DeepInspectionStatus>]
799
+ #
800
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchUpdateMemberEc2DeepInspectionStatusRequest AWS API Documentation
801
+ #
802
+ class BatchUpdateMemberEc2DeepInspectionStatusRequest < Struct.new(
803
+ :account_ids)
804
+ SENSITIVE = []
805
+ include Aws::Structure
806
+ end
807
+
808
+ # @!attribute [rw] account_ids
809
+ # An array of objects that provide details for each of the accounts
810
+ # that Amazon Inspector deep inspection status was successfully
811
+ # changed for.
812
+ # @return [Array<Types::MemberAccountEc2DeepInspectionStatusState>]
813
+ #
814
+ # @!attribute [rw] failed_account_ids
815
+ # An array of objects that provide details for each of the accounts
816
+ # that Amazon Inspector deep inspection status could not be
817
+ # successfully changed for.
818
+ # @return [Array<Types::FailedMemberAccountEc2DeepInspectionStatusState>]
819
+ #
820
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchUpdateMemberEc2DeepInspectionStatusResponse AWS API Documentation
821
+ #
822
+ class BatchUpdateMemberEc2DeepInspectionStatusResponse < Struct.new(
823
+ :account_ids,
824
+ :failed_account_ids)
825
+ SENSITIVE = []
826
+ include Aws::Structure
827
+ end
828
+
761
829
  # @!attribute [rw] report_id
762
830
  # The ID of the report to be canceled.
763
831
  # @return [String]
@@ -1280,7 +1348,7 @@ module Aws::Inspector2
1280
1348
  # @return [String]
1281
1349
  #
1282
1350
  # @!attribute [rw] key_prefix
1283
- # The prefix of the KMS key used to export findings.
1351
+ # The prefix of the Amazon S3 bucket used to export findings.
1284
1352
  # @return [String]
1285
1353
  #
1286
1354
  # @!attribute [rw] kms_key_arn
@@ -1729,6 +1797,35 @@ module Aws::Inspector2
1729
1797
  include Aws::Structure
1730
1798
  end
1731
1799
 
1800
+ # An object that contains details about a member account in your
1801
+ # organization that failed to activate Amazon Inspector deep inspection.
1802
+ #
1803
+ # @!attribute [rw] account_id
1804
+ # The unique identifier for the Amazon Web Services account of the
1805
+ # organization member that failed to activate Amazon Inspector deep
1806
+ # inspection.
1807
+ # @return [String]
1808
+ #
1809
+ # @!attribute [rw] ec2_scan_status
1810
+ # The status of EC2 scanning in the account that failed to activate
1811
+ # Amazon Inspector deep inspection.
1812
+ # @return [String]
1813
+ #
1814
+ # @!attribute [rw] error_message
1815
+ # The error message explaining why the account failed to activate
1816
+ # Amazon Inspector deep inspection.
1817
+ # @return [String]
1818
+ #
1819
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/FailedMemberAccountEc2DeepInspectionStatusState AWS API Documentation
1820
+ #
1821
+ class FailedMemberAccountEc2DeepInspectionStatusState < Struct.new(
1822
+ :account_id,
1823
+ :ec2_scan_status,
1824
+ :error_message)
1825
+ SENSITIVE = []
1826
+ include Aws::Structure
1827
+ end
1828
+
1732
1829
  # Details about a filter.
1733
1830
  #
1734
1831
  # @!attribute [rw] action
@@ -2292,6 +2389,42 @@ module Aws::Inspector2
2292
2389
  include Aws::Structure
2293
2390
  end
2294
2391
 
2392
+ # @api private
2393
+ #
2394
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEc2DeepInspectionConfigurationRequest AWS API Documentation
2395
+ #
2396
+ class GetEc2DeepInspectionConfigurationRequest < Aws::EmptyStructure; end
2397
+
2398
+ # @!attribute [rw] error_message
2399
+ # An error message explaining why Amazon Inspector deep inspection
2400
+ # configurations could not be retrieved for your account.
2401
+ # @return [String]
2402
+ #
2403
+ # @!attribute [rw] org_package_paths
2404
+ # The Amazon Inspector deep inspection custom paths for your
2405
+ # organization.
2406
+ # @return [Array<String>]
2407
+ #
2408
+ # @!attribute [rw] package_paths
2409
+ # The Amazon Inspector deep inspection custom paths for your account.
2410
+ # @return [Array<String>]
2411
+ #
2412
+ # @!attribute [rw] status
2413
+ # The activation status of Amazon Inspector deep inspection in your
2414
+ # account.
2415
+ # @return [String]
2416
+ #
2417
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEc2DeepInspectionConfigurationResponse AWS API Documentation
2418
+ #
2419
+ class GetEc2DeepInspectionConfigurationResponse < Struct.new(
2420
+ :error_message,
2421
+ :org_package_paths,
2422
+ :package_paths,
2423
+ :status)
2424
+ SENSITIVE = []
2425
+ include Aws::Structure
2426
+ end
2427
+
2295
2428
  # @!attribute [rw] report_id
2296
2429
  # The ID of the report to retrieve the status of.
2297
2430
  # @return [String]
@@ -3224,6 +3357,56 @@ module Aws::Inspector2
3224
3357
  include Aws::Structure
3225
3358
  end
3226
3359
 
3360
+ # An object that contains details about the status of Amazon Inspector
3361
+ # deep inspection for a member account in your organization.
3362
+ #
3363
+ # @!attribute [rw] account_id
3364
+ # The unique identifier for the Amazon Web Services account of the
3365
+ # organization member.
3366
+ # @return [String]
3367
+ #
3368
+ # @!attribute [rw] activate_deep_inspection
3369
+ # Whether Amazon Inspector deep inspection is active in the account.
3370
+ # If `TRUE` Amazon Inspector deep inspection is active, if `FALSE` it
3371
+ # is not active.
3372
+ # @return [Boolean]
3373
+ #
3374
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/MemberAccountEc2DeepInspectionStatus AWS API Documentation
3375
+ #
3376
+ class MemberAccountEc2DeepInspectionStatus < Struct.new(
3377
+ :account_id,
3378
+ :activate_deep_inspection)
3379
+ SENSITIVE = []
3380
+ include Aws::Structure
3381
+ end
3382
+
3383
+ # An object that contains details about the state of Amazon Inspector
3384
+ # deep inspection for a member account.
3385
+ #
3386
+ # @!attribute [rw] account_id
3387
+ # The unique identifier for the Amazon Web Services account of the
3388
+ # organization member
3389
+ # @return [String]
3390
+ #
3391
+ # @!attribute [rw] error_message
3392
+ # The error message explaining why the account failed to activate
3393
+ # Amazon Inspector deep inspection.
3394
+ # @return [String]
3395
+ #
3396
+ # @!attribute [rw] status
3397
+ # The state of Amazon Inspector deep inspection in the member account.
3398
+ # @return [String]
3399
+ #
3400
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/MemberAccountEc2DeepInspectionStatusState AWS API Documentation
3401
+ #
3402
+ class MemberAccountEc2DeepInspectionStatusState < Struct.new(
3403
+ :account_id,
3404
+ :error_message,
3405
+ :status)
3406
+ SENSITIVE = []
3407
+ include Aws::Structure
3408
+ end
3409
+
3227
3410
  # Information on the network path associated with a finding.
3228
3411
  #
3229
3412
  # @!attribute [rw] steps
@@ -3745,8 +3928,7 @@ module Aws::Inspector2
3745
3928
  # @return [String]
3746
3929
  #
3747
3930
  # @!attribute [rw] lambda
3748
- # The status of Amazon Inspector scanning for AWS Lambda function
3749
- # resources.
3931
+ # The status of Amazon Inspector scanning for AWS Lambda function.
3750
3932
  # @return [String]
3751
3933
  #
3752
3934
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ResourceStatus AWS API Documentation
@@ -4053,6 +4235,62 @@ module Aws::Inspector2
4053
4235
  #
4054
4236
  class UpdateConfigurationResponse < Aws::EmptyStructure; end
4055
4237
 
4238
+ # @!attribute [rw] activate_deep_inspection
4239
+ # Specify `TRUE` to activate Amazon Inspector deep inspection in your
4240
+ # account, or `FALSE` to deactivate. Member accounts in an
4241
+ # organization cannot deactivate deep inspection, instead the
4242
+ # delegated administrator for the organization can deactivate a member
4243
+ # account using [BatchUpdateMemberEc2DeepInspectionStatus][1].
4244
+ #
4245
+ #
4246
+ #
4247
+ # [1]: https://docs.aws.amazon.com/inspector/v2/APIReference/API_BatchUpdateMemberEc2DeepInspectionStatus.html
4248
+ # @return [Boolean]
4249
+ #
4250
+ # @!attribute [rw] package_paths
4251
+ # The Amazon Inspector deep inspection custom paths you are adding for
4252
+ # your account.
4253
+ # @return [Array<String>]
4254
+ #
4255
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateEc2DeepInspectionConfigurationRequest AWS API Documentation
4256
+ #
4257
+ class UpdateEc2DeepInspectionConfigurationRequest < Struct.new(
4258
+ :activate_deep_inspection,
4259
+ :package_paths)
4260
+ SENSITIVE = []
4261
+ include Aws::Structure
4262
+ end
4263
+
4264
+ # @!attribute [rw] error_message
4265
+ # An error message explaining why new Amazon Inspector deep inspection
4266
+ # custom paths could not be added.
4267
+ # @return [String]
4268
+ #
4269
+ # @!attribute [rw] org_package_paths
4270
+ # The current Amazon Inspector deep inspection custom paths for the
4271
+ # organization.
4272
+ # @return [Array<String>]
4273
+ #
4274
+ # @!attribute [rw] package_paths
4275
+ # The current Amazon Inspector deep inspection custom paths for your
4276
+ # account.
4277
+ # @return [Array<String>]
4278
+ #
4279
+ # @!attribute [rw] status
4280
+ # The status of Amazon Inspector deep inspection in your account.
4281
+ # @return [String]
4282
+ #
4283
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateEc2DeepInspectionConfigurationResponse AWS API Documentation
4284
+ #
4285
+ class UpdateEc2DeepInspectionConfigurationResponse < Struct.new(
4286
+ :error_message,
4287
+ :org_package_paths,
4288
+ :package_paths,
4289
+ :status)
4290
+ SENSITIVE = []
4291
+ include Aws::Structure
4292
+ end
4293
+
4056
4294
  # @!attribute [rw] action
4057
4295
  # Specifies the action that is to be applied to the findings that
4058
4296
  # match the filter.
@@ -4103,6 +4341,23 @@ module Aws::Inspector2
4103
4341
  include Aws::Structure
4104
4342
  end
4105
4343
 
4344
+ # @!attribute [rw] org_package_paths
4345
+ # The Amazon Inspector deep inspection custom paths you are adding for
4346
+ # your organization.
4347
+ # @return [Array<String>]
4348
+ #
4349
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateOrgEc2DeepInspectionConfigurationRequest AWS API Documentation
4350
+ #
4351
+ class UpdateOrgEc2DeepInspectionConfigurationRequest < Struct.new(
4352
+ :org_package_paths)
4353
+ SENSITIVE = []
4354
+ include Aws::Structure
4355
+ end
4356
+
4357
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateOrgEc2DeepInspectionConfigurationResponse AWS API Documentation
4358
+ #
4359
+ class UpdateOrgEc2DeepInspectionConfigurationResponse < Aws::EmptyStructure; end
4360
+
4106
4361
  # @!attribute [rw] auto_enable
4107
4362
  # Defines which scan types are enabled automatically for new members
4108
4363
  # of your Amazon Inspector organization.
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-inspector2/customizations'
52
52
  # @!group service
53
53
  module Aws::Inspector2
54
54
 
55
- GEM_VERSION = '1.10.0'
55
+ GEM_VERSION = '1.11.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-inspector2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core