aws-sdk-inspector 1.44.0 → 1.46.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bbac5810b357e20882030c3a79a4bbbd750a9e07260cff1966bd3e4cb16c1a6b
4
- data.tar.gz: 6bdaf5ec45880a382531f8e19459247f1f8be5df1aa6a3ff15da271553a964dd
3
+ metadata.gz: d1eee816ac41b92fdb33625b70bf4b4bd6f18dedc6af818d87d570740a803453
4
+ data.tar.gz: 3c18e940663d367adcdaf6fb5969d85865380b3712a6b9cf1de065aa2c7b2aba
5
5
  SHA512:
6
- metadata.gz: d9b9b3390c82bd258ac47a16df496d834ff0a5fb7ef14f6c73501d81300a35ba52c291e5ce6f731c75f0464420efde9f37ad13e48e478d740fd519d21ebd0c8d
7
- data.tar.gz: 49f6622fb8e1603d381d48b393d2b676577c10a7c5d86cfd757ba7203b0c023e8a18733fe6ea1799e129cc2e10e4b644ef4950eaae4eb7f0402aa67afaadacb0
6
+ metadata.gz: e65c635a008a7ef79e263dee6e1d69096f38bd52e259b714c174cecdac8e314678612e148b0b8692f5b2f273ce14f23bf27480858b6e52464ec676e93fe63d20
7
+ data.tar.gz: 7aac25339ad365acd2564267affe24e7d773d17fe1c599463031bed78ff0bd8c81470e8d0050640d4ef0ec6c8e13d05c9ed0df5b95801a9d7763a84795a3c247
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.46.0 (2023-05-31)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.45.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.44.0 (2022-10-25)
5
17
  ------------------
6
18
 
@@ -290,4 +302,4 @@ Unreleased Changes
290
302
  1.0.0.rc1 (2016-12-05)
291
303
  ------------------
292
304
 
293
- * Feature - Initial preview release of the `aws-sdk-inspector` gem.
305
+ * Feature - Initial preview release of the `aws-sdk-inspector` gem.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.44.0
1
+ 1.46.0
@@ -275,6 +275,11 @@ module Aws::Inspector
275
275
  # in the future.
276
276
  #
277
277
  #
278
+ # @option options [String] :sdk_ua_app_id
279
+ # A unique and opaque application ID that is appended to the
280
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
281
+ # maximum length of 50.
282
+ #
278
283
  # @option options [String] :secret_access_key
279
284
  #
280
285
  # @option options [String] :session_token
@@ -3038,7 +3043,7 @@ module Aws::Inspector
3038
3043
  params: params,
3039
3044
  config: config)
3040
3045
  context[:gem_name] = 'aws-sdk-inspector'
3041
- context[:gem_version] = '1.44.0'
3046
+ context[:gem_version] = '1.46.0'
3042
3047
  Seahorse::Client::Request.new(handlers, context)
3043
3048
  end
3044
3049
 
@@ -9,104 +9,43 @@
9
9
 
10
10
  module Aws::Inspector
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(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://inspector-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
33
+ 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://inspector-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ 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://inspector.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://inspector.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
39
- aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
40
- OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
41
- UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRh
42
- dGlvbiI6IldoZW4gdHJ1ZSwgc2VuZCB0aGlzIHJlcXVlc3QgdG8gdGhlIEZJ
43
- UFMtY29tcGxpYW50IHJlZ2lvbmFsIGVuZHBvaW50LiBJZiB0aGUgY29uZmln
44
- dXJlZCBlbmRwb2ludCBkb2VzIG5vdCBoYXZlIGEgRklQUyBjb21wbGlhbnQg
45
- ZW5kcG9pbnQsIGRpc3BhdGNoaW5nIHRoZSByZXF1ZXN0IHdpbGwg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pbeyJjb25kaXRpb25zIjpb
96
- eyJmbiI6ImJvb2xlYW5FcXVhbHMiLCJhcmd2IjpbdHJ1ZSx7ImZuIjoiZ2V0
97
- QXR0ciIsImFyZ3YiOlt7InJlZiI6IlBhcnRpdGlvblJlc3VsdCJ9LCJzdXBw
98
- b3J0c0R1YWxTdGFjayJdfV19XSwidHlwZSI6InRyZWUiLCJydWxlcyI6W3si
99
- Y29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vaW5z
100
- cGVjdG9yLntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5z
101
- U3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUi
102
- OiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFs
103
- U3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qg
104
- c3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0
105
- aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vaW5zcGVjdG9y
106
- LntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInByb3Bl
107
- cnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1d
108
- fQ==
109
-
110
- JSON
111
50
  end
112
51
  end
@@ -34,19 +34,6 @@ module Aws::Inspector
34
34
  include Aws::Structure
35
35
  end
36
36
 
37
- # @note When making an API call, you may pass AddAttributesToFindingsRequest
38
- # data as a hash:
39
- #
40
- # {
41
- # finding_arns: ["Arn"], # required
42
- # attributes: [ # required
43
- # {
44
- # key: "AttributeKey", # required
45
- # value: "AttributeValue",
46
- # },
47
- # ],
48
- # }
49
- #
50
37
  # @!attribute [rw] finding_arns
51
38
  # The ARNs that specify the findings that you want to assign
52
39
  # attributes to.
@@ -104,14 +91,6 @@ module Aws::Inspector
104
91
  # Contains information about an Amazon Inspector agent. This data type
105
92
  # is used as a request parameter in the ListAssessmentRunAgents action.
106
93
  #
107
- # @note When making an API call, you may pass AgentFilter
108
- # data as a hash:
109
- #
110
- # {
111
- # agent_healths: ["HEALTHY"], # required, accepts HEALTHY, UNHEALTHY, UNKNOWN
112
- # agent_health_codes: ["IDLE"], # required, accepts IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, UNKNOWN
113
- # }
114
- #
115
94
  # @!attribute [rw] agent_healths
116
95
  # The current health state of the agent. Values can be set to
117
96
  # **HEALTHY** or **UNHEALTHY**.
@@ -356,31 +335,6 @@ module Aws::Inspector
356
335
 
357
336
  # Used as the request parameter in the ListAssessmentRuns action.
358
337
  #
359
- # @note When making an API call, you may pass AssessmentRunFilter
360
- # data as a hash:
361
- #
362
- # {
363
- # name_pattern: "NamePattern",
364
- # states: ["CREATED"], # accepts CREATED, START_DATA_COLLECTION_PENDING, START_DATA_COLLECTION_IN_PROGRESS, COLLECTING_DATA, STOP_DATA_COLLECTION_PENDING, DATA_COLLECTED, START_EVALUATING_RULES_PENDING, EVALUATING_RULES, FAILED, ERROR, COMPLETED, COMPLETED_WITH_ERRORS, CANCELED
365
- # duration_range: {
366
- # min_seconds: 1,
367
- # max_seconds: 1,
368
- # },
369
- # rules_package_arns: ["Arn"],
370
- # start_time_range: {
371
- # begin_date: Time.now,
372
- # end_date: Time.now,
373
- # },
374
- # completion_time_range: {
375
- # begin_date: Time.now,
376
- # end_date: Time.now,
377
- # },
378
- # state_change_time_range: {
379
- # begin_date: Time.now,
380
- # end_date: Time.now,
381
- # },
382
- # }
383
- #
384
338
  # @!attribute [rw] name_pattern
385
339
  # For a record to match a filter, an explicit value or a string
386
340
  # containing a wildcard that is specified for this data type property
@@ -570,13 +524,6 @@ module Aws::Inspector
570
524
 
571
525
  # Used as the request parameter in the ListAssessmentTargets action.
572
526
  #
573
- # @note When making an API call, you may pass AssessmentTargetFilter
574
- # data as a hash:
575
- #
576
- # {
577
- # assessment_target_name_pattern: "NamePattern",
578
- # }
579
- #
580
527
  # @!attribute [rw] assessment_target_name_pattern
581
528
  # For a record to match a filter, an explicit value or a string that
582
529
  # contains a wildcard that is specified for this data type property
@@ -657,18 +604,6 @@ module Aws::Inspector
657
604
 
658
605
  # Used as the request parameter in the ListAssessmentTemplates action.
659
606
  #
660
- # @note When making an API call, you may pass AssessmentTemplateFilter
661
- # data as a hash:
662
- #
663
- # {
664
- # name_pattern: "NamePattern",
665
- # duration_range: {
666
- # min_seconds: 1,
667
- # max_seconds: 1,
668
- # },
669
- # rules_package_arns: ["Arn"],
670
- # }
671
- #
672
607
  # @!attribute [rw] name_pattern
673
608
  # For a record to match a filter, an explicit value or a string that
674
609
  # contains a wildcard that is specified for this data type property
@@ -758,14 +693,6 @@ module Aws::Inspector
758
693
  # This data type is used as a request parameter in the
759
694
  # AddAttributesToFindings and CreateAssessmentTemplate actions.
760
695
  #
761
- # @note When making an API call, you may pass Attribute
762
- # data as a hash:
763
- #
764
- # {
765
- # key: "AttributeKey", # required
766
- # value: "AttributeValue",
767
- # }
768
- #
769
696
  # @!attribute [rw] key
770
697
  # The attribute key.
771
698
  # @return [String]
@@ -783,14 +710,6 @@ module Aws::Inspector
783
710
  include Aws::Structure
784
711
  end
785
712
 
786
- # @note When making an API call, you may pass CreateAssessmentTargetRequest
787
- # data as a hash:
788
- #
789
- # {
790
- # assessment_target_name: "AssessmentTargetName", # required
791
- # resource_group_arn: "Arn",
792
- # }
793
- #
794
713
  # @!attribute [rw] assessment_target_name
795
714
  # The user-defined name that identifies the assessment target that you
796
715
  # want to create. The name must be unique within the AWS account.
@@ -824,22 +743,6 @@ module Aws::Inspector
824
743
  include Aws::Structure
825
744
  end
826
745
 
827
- # @note When making an API call, you may pass CreateAssessmentTemplateRequest
828
- # data as a hash:
829
- #
830
- # {
831
- # assessment_target_arn: "Arn", # required
832
- # assessment_template_name: "AssessmentTemplateName", # required
833
- # duration_in_seconds: 1, # required
834
- # rules_package_arns: ["Arn"], # required
835
- # user_attributes_for_findings: [
836
- # {
837
- # key: "AttributeKey", # required
838
- # value: "AttributeValue",
839
- # },
840
- # ],
841
- # }
842
- #
843
746
  # @!attribute [rw] assessment_target_arn
844
747
  # The ARN that specifies the assessment target for which you want to
845
748
  # create the assessment template.
@@ -892,13 +795,6 @@ module Aws::Inspector
892
795
  include Aws::Structure
893
796
  end
894
797
 
895
- # @note When making an API call, you may pass CreateExclusionsPreviewRequest
896
- # data as a hash:
897
- #
898
- # {
899
- # assessment_template_arn: "Arn", # required
900
- # }
901
- #
902
798
  # @!attribute [rw] assessment_template_arn
903
799
  # The ARN that specifies the assessment template for which you want to
904
800
  # create an exclusions preview.
@@ -926,18 +822,6 @@ module Aws::Inspector
926
822
  include Aws::Structure
927
823
  end
928
824
 
929
- # @note When making an API call, you may pass CreateResourceGroupRequest
930
- # data as a hash:
931
- #
932
- # {
933
- # resource_group_tags: [ # required
934
- # {
935
- # key: "TagKey", # required
936
- # value: "TagValue",
937
- # },
938
- # ],
939
- # }
940
- #
941
825
  # @!attribute [rw] resource_group_tags
942
826
  # A collection of keys and an array of possible values,
943
827
  # '\[\\\{"key":"key1","values":\["Value1","Value2"\]\\},\\\{"key":"Key2","values":\["Value3"\]\\}\]'.
@@ -966,13 +850,6 @@ module Aws::Inspector
966
850
  include Aws::Structure
967
851
  end
968
852
 
969
- # @note When making an API call, you may pass DeleteAssessmentRunRequest
970
- # data as a hash:
971
- #
972
- # {
973
- # assessment_run_arn: "Arn", # required
974
- # }
975
- #
976
853
  # @!attribute [rw] assessment_run_arn
977
854
  # The ARN that specifies the assessment run that you want to delete.
978
855
  # @return [String]
@@ -985,13 +862,6 @@ module Aws::Inspector
985
862
  include Aws::Structure
986
863
  end
987
864
 
988
- # @note When making an API call, you may pass DeleteAssessmentTargetRequest
989
- # data as a hash:
990
- #
991
- # {
992
- # assessment_target_arn: "Arn", # required
993
- # }
994
- #
995
865
  # @!attribute [rw] assessment_target_arn
996
866
  # The ARN that specifies the assessment target that you want to
997
867
  # delete.
@@ -1005,13 +875,6 @@ module Aws::Inspector
1005
875
  include Aws::Structure
1006
876
  end
1007
877
 
1008
- # @note When making an API call, you may pass DeleteAssessmentTemplateRequest
1009
- # data as a hash:
1010
- #
1011
- # {
1012
- # assessment_template_arn: "Arn", # required
1013
- # }
1014
- #
1015
878
  # @!attribute [rw] assessment_template_arn
1016
879
  # The ARN that specifies the assessment template that you want to
1017
880
  # delete.
@@ -1025,13 +888,6 @@ module Aws::Inspector
1025
888
  include Aws::Structure
1026
889
  end
1027
890
 
1028
- # @note When making an API call, you may pass DescribeAssessmentRunsRequest
1029
- # data as a hash:
1030
- #
1031
- # {
1032
- # assessment_run_arns: ["Arn"], # required
1033
- # }
1034
- #
1035
891
  # @!attribute [rw] assessment_run_arns
1036
892
  # The ARN that specifies the assessment run that you want to describe.
1037
893
  # @return [Array<String>]
@@ -1062,13 +918,6 @@ module Aws::Inspector
1062
918
  include Aws::Structure
1063
919
  end
1064
920
 
1065
- # @note When making an API call, you may pass DescribeAssessmentTargetsRequest
1066
- # data as a hash:
1067
- #
1068
- # {
1069
- # assessment_target_arns: ["Arn"], # required
1070
- # }
1071
- #
1072
921
  # @!attribute [rw] assessment_target_arns
1073
922
  # The ARNs that specifies the assessment targets that you want to
1074
923
  # describe.
@@ -1100,13 +949,6 @@ module Aws::Inspector
1100
949
  include Aws::Structure
1101
950
  end
1102
951
 
1103
- # @note When making an API call, you may pass DescribeAssessmentTemplatesRequest
1104
- # data as a hash:
1105
- #
1106
- # {
1107
- # assessment_template_arns: ["Arn"], # required
1108
- # }
1109
- #
1110
952
  # @!attribute [rw] assessment_template_arns
1111
953
  # @return [Array<String>]
1112
954
  #
@@ -1161,14 +1003,6 @@ module Aws::Inspector
1161
1003
  include Aws::Structure
1162
1004
  end
1163
1005
 
1164
- # @note When making an API call, you may pass DescribeExclusionsRequest
1165
- # data as a hash:
1166
- #
1167
- # {
1168
- # exclusion_arns: ["Arn"], # required
1169
- # locale: "EN_US", # accepts EN_US
1170
- # }
1171
- #
1172
1006
  # @!attribute [rw] exclusion_arns
1173
1007
  # The list of ARNs that specify the exclusions that you want to
1174
1008
  # describe.
@@ -1206,14 +1040,6 @@ module Aws::Inspector
1206
1040
  include Aws::Structure
1207
1041
  end
1208
1042
 
1209
- # @note When making an API call, you may pass DescribeFindingsRequest
1210
- # data as a hash:
1211
- #
1212
- # {
1213
- # finding_arns: ["Arn"], # required
1214
- # locale: "EN_US", # accepts EN_US
1215
- # }
1216
- #
1217
1043
  # @!attribute [rw] finding_arns
1218
1044
  # The ARN that specifies the finding that you want to describe.
1219
1045
  # @return [Array<String>]
@@ -1251,13 +1077,6 @@ module Aws::Inspector
1251
1077
  include Aws::Structure
1252
1078
  end
1253
1079
 
1254
- # @note When making an API call, you may pass DescribeResourceGroupsRequest
1255
- # data as a hash:
1256
- #
1257
- # {
1258
- # resource_group_arns: ["Arn"], # required
1259
- # }
1260
- #
1261
1080
  # @!attribute [rw] resource_group_arns
1262
1081
  # The ARN that specifies the resource group that you want to describe.
1263
1082
  # @return [Array<String>]
@@ -1288,14 +1107,6 @@ module Aws::Inspector
1288
1107
  include Aws::Structure
1289
1108
  end
1290
1109
 
1291
- # @note When making an API call, you may pass DescribeRulesPackagesRequest
1292
- # data as a hash:
1293
- #
1294
- # {
1295
- # rules_package_arns: ["Arn"], # required
1296
- # locale: "EN_US", # accepts EN_US
1297
- # }
1298
- #
1299
1110
  # @!attribute [rw] rules_package_arns
1300
1111
  # The ARN that specifies the rules package that you want to describe.
1301
1112
  # @return [Array<String>]
@@ -1334,14 +1145,6 @@ module Aws::Inspector
1334
1145
 
1335
1146
  # This data type is used in the AssessmentTemplateFilter data type.
1336
1147
  #
1337
- # @note When making an API call, you may pass DurationRange
1338
- # data as a hash:
1339
- #
1340
- # {
1341
- # min_seconds: 1,
1342
- # max_seconds: 1,
1343
- # }
1344
- #
1345
1148
  # @!attribute [rw] min_seconds
1346
1149
  # The minimum value of the duration range. Must be greater than zero.
1347
1150
  # @return [Integer]
@@ -1579,33 +1382,6 @@ module Aws::Inspector
1579
1382
  # This data type is used as a request parameter in the ListFindings
1580
1383
  # action.
1581
1384
  #
1582
- # @note When making an API call, you may pass FindingFilter
1583
- # data as a hash:
1584
- #
1585
- # {
1586
- # agent_ids: ["AgentId"],
1587
- # auto_scaling_groups: ["AutoScalingGroup"],
1588
- # rule_names: ["RuleName"],
1589
- # severities: ["Low"], # accepts Low, Medium, High, Informational, Undefined
1590
- # rules_package_arns: ["Arn"],
1591
- # attributes: [
1592
- # {
1593
- # key: "AttributeKey", # required
1594
- # value: "AttributeValue",
1595
- # },
1596
- # ],
1597
- # user_attributes: [
1598
- # {
1599
- # key: "AttributeKey", # required
1600
- # value: "AttributeValue",
1601
- # },
1602
- # ],
1603
- # creation_time_range: {
1604
- # begin_date: Time.now,
1605
- # end_date: Time.now,
1606
- # },
1607
- # }
1608
- #
1609
1385
  # @!attribute [rw] agent_ids
1610
1386
  # For a record to match a filter, one of the values that is specified
1611
1387
  # for this data type property must be the exact match of the value of
@@ -1667,15 +1443,6 @@ module Aws::Inspector
1667
1443
  include Aws::Structure
1668
1444
  end
1669
1445
 
1670
- # @note When making an API call, you may pass GetAssessmentReportRequest
1671
- # data as a hash:
1672
- #
1673
- # {
1674
- # assessment_run_arn: "Arn", # required
1675
- # report_file_format: "HTML", # required, accepts HTML, PDF
1676
- # report_type: "FINDING", # required, accepts FINDING, FULL
1677
- # }
1678
- #
1679
1446
  # @!attribute [rw] assessment_run_arn
1680
1447
  # The ARN that specifies the assessment run for which you want to
1681
1448
  # generate a report.
@@ -1727,17 +1494,6 @@ module Aws::Inspector
1727
1494
  include Aws::Structure
1728
1495
  end
1729
1496
 
1730
- # @note When making an API call, you may pass GetExclusionsPreviewRequest
1731
- # data as a hash:
1732
- #
1733
- # {
1734
- # assessment_template_arn: "Arn", # required
1735
- # preview_token: "UUID", # required
1736
- # next_token: "PaginationToken",
1737
- # max_results: 1,
1738
- # locale: "EN_US", # accepts EN_US
1739
- # }
1740
- #
1741
1497
  # @!attribute [rw] assessment_template_arn
1742
1498
  # The ARN that specifies the assessment template for which the
1743
1499
  # exclusions preview was requested.
@@ -1805,13 +1561,6 @@ module Aws::Inspector
1805
1561
  include Aws::Structure
1806
1562
  end
1807
1563
 
1808
- # @note When making an API call, you may pass GetTelemetryMetadataRequest
1809
- # data as a hash:
1810
- #
1811
- # {
1812
- # assessment_run_arn: "Arn", # required
1813
- # }
1814
- #
1815
1564
  # @!attribute [rw] assessment_run_arn
1816
1565
  # The ARN that specifies the assessment run that has the telemetry
1817
1566
  # data that you want to obtain.
@@ -1956,19 +1705,6 @@ module Aws::Inspector
1956
1705
  include Aws::Structure
1957
1706
  end
1958
1707
 
1959
- # @note When making an API call, you may pass ListAssessmentRunAgentsRequest
1960
- # data as a hash:
1961
- #
1962
- # {
1963
- # assessment_run_arn: "Arn", # required
1964
- # filter: {
1965
- # agent_healths: ["HEALTHY"], # required, accepts HEALTHY, UNHEALTHY, UNKNOWN
1966
- # agent_health_codes: ["IDLE"], # required, accepts IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, UNKNOWN
1967
- # },
1968
- # next_token: "PaginationToken",
1969
- # max_results: 1,
1970
- # }
1971
- #
1972
1708
  # @!attribute [rw] assessment_run_arn
1973
1709
  # The ARN that specifies the assessment run whose agents you want to
1974
1710
  # list.
@@ -2029,36 +1765,6 @@ module Aws::Inspector
2029
1765
  include Aws::Structure
2030
1766
  end
2031
1767
 
2032
- # @note When making an API call, you may pass ListAssessmentRunsRequest
2033
- # data as a hash:
2034
- #
2035
- # {
2036
- # assessment_template_arns: ["Arn"],
2037
- # filter: {
2038
- # name_pattern: "NamePattern",
2039
- # states: ["CREATED"], # accepts CREATED, START_DATA_COLLECTION_PENDING, START_DATA_COLLECTION_IN_PROGRESS, COLLECTING_DATA, STOP_DATA_COLLECTION_PENDING, DATA_COLLECTED, START_EVALUATING_RULES_PENDING, EVALUATING_RULES, FAILED, ERROR, COMPLETED, COMPLETED_WITH_ERRORS, CANCELED
2040
- # duration_range: {
2041
- # min_seconds: 1,
2042
- # max_seconds: 1,
2043
- # },
2044
- # rules_package_arns: ["Arn"],
2045
- # start_time_range: {
2046
- # begin_date: Time.now,
2047
- # end_date: Time.now,
2048
- # },
2049
- # completion_time_range: {
2050
- # begin_date: Time.now,
2051
- # end_date: Time.now,
2052
- # },
2053
- # state_change_time_range: {
2054
- # begin_date: Time.now,
2055
- # end_date: Time.now,
2056
- # },
2057
- # },
2058
- # next_token: "PaginationToken",
2059
- # max_results: 1,
2060
- # }
2061
- #
2062
1768
  # @!attribute [rw] assessment_template_arns
2063
1769
  # The ARNs that specify the assessment templates whose assessment runs
2064
1770
  # you want to list.
@@ -2120,17 +1826,6 @@ module Aws::Inspector
2120
1826
  include Aws::Structure
2121
1827
  end
2122
1828
 
2123
- # @note When making an API call, you may pass ListAssessmentTargetsRequest
2124
- # data as a hash:
2125
- #
2126
- # {
2127
- # filter: {
2128
- # assessment_target_name_pattern: "NamePattern",
2129
- # },
2130
- # next_token: "PaginationToken",
2131
- # max_results: 1,
2132
- # }
2133
- #
2134
1829
  # @!attribute [rw] filter
2135
1830
  # You can use this parameter to specify a subset of data to be
2136
1831
  # included in the action's response.
@@ -2186,23 +1881,6 @@ module Aws::Inspector
2186
1881
  include Aws::Structure
2187
1882
  end
2188
1883
 
2189
- # @note When making an API call, you may pass ListAssessmentTemplatesRequest
2190
- # data as a hash:
2191
- #
2192
- # {
2193
- # assessment_target_arns: ["Arn"],
2194
- # filter: {
2195
- # name_pattern: "NamePattern",
2196
- # duration_range: {
2197
- # min_seconds: 1,
2198
- # max_seconds: 1,
2199
- # },
2200
- # rules_package_arns: ["Arn"],
2201
- # },
2202
- # next_token: "PaginationToken",
2203
- # max_results: 1,
2204
- # }
2205
- #
2206
1884
  # @!attribute [rw] assessment_target_arns
2207
1885
  # A list of ARNs that specifies the assessment targets whose
2208
1886
  # assessment templates you want to list.
@@ -2264,15 +1942,6 @@ module Aws::Inspector
2264
1942
  include Aws::Structure
2265
1943
  end
2266
1944
 
2267
- # @note When making an API call, you may pass ListEventSubscriptionsRequest
2268
- # data as a hash:
2269
- #
2270
- # {
2271
- # resource_arn: "Arn",
2272
- # next_token: "PaginationToken",
2273
- # max_results: 1,
2274
- # }
2275
- #
2276
1945
  # @!attribute [rw] resource_arn
2277
1946
  # The ARN of the assessment template for which you want to list the
2278
1947
  # existing event subscriptions.
@@ -2323,15 +1992,6 @@ module Aws::Inspector
2323
1992
  include Aws::Structure
2324
1993
  end
2325
1994
 
2326
- # @note When making an API call, you may pass ListExclusionsRequest
2327
- # data as a hash:
2328
- #
2329
- # {
2330
- # assessment_run_arn: "Arn", # required
2331
- # next_token: "PaginationToken",
2332
- # max_results: 1,
2333
- # }
2334
- #
2335
1995
  # @!attribute [rw] assessment_run_arn
2336
1996
  # The ARN of the assessment run that generated the exclusions that you
2337
1997
  # want to list.
@@ -2382,38 +2042,6 @@ module Aws::Inspector
2382
2042
  include Aws::Structure
2383
2043
  end
2384
2044
 
2385
- # @note When making an API call, you may pass ListFindingsRequest
2386
- # data as a hash:
2387
- #
2388
- # {
2389
- # assessment_run_arns: ["Arn"],
2390
- # filter: {
2391
- # agent_ids: ["AgentId"],
2392
- # auto_scaling_groups: ["AutoScalingGroup"],
2393
- # rule_names: ["RuleName"],
2394
- # severities: ["Low"], # accepts Low, Medium, High, Informational, Undefined
2395
- # rules_package_arns: ["Arn"],
2396
- # attributes: [
2397
- # {
2398
- # key: "AttributeKey", # required
2399
- # value: "AttributeValue",
2400
- # },
2401
- # ],
2402
- # user_attributes: [
2403
- # {
2404
- # key: "AttributeKey", # required
2405
- # value: "AttributeValue",
2406
- # },
2407
- # ],
2408
- # creation_time_range: {
2409
- # begin_date: Time.now,
2410
- # end_date: Time.now,
2411
- # },
2412
- # },
2413
- # next_token: "PaginationToken",
2414
- # max_results: 1,
2415
- # }
2416
- #
2417
2045
  # @!attribute [rw] assessment_run_arns
2418
2046
  # The ARNs of the assessment runs that generate the findings that you
2419
2047
  # want to list.
@@ -2474,14 +2102,6 @@ module Aws::Inspector
2474
2102
  include Aws::Structure
2475
2103
  end
2476
2104
 
2477
- # @note When making an API call, you may pass ListRulesPackagesRequest
2478
- # data as a hash:
2479
- #
2480
- # {
2481
- # next_token: "PaginationToken",
2482
- # max_results: 1,
2483
- # }
2484
- #
2485
2105
  # @!attribute [rw] next_token
2486
2106
  # You can use this parameter when paginating results. Set the value of
2487
2107
  # this parameter to null on your first call to the
@@ -2527,13 +2147,6 @@ module Aws::Inspector
2527
2147
  include Aws::Structure
2528
2148
  end
2529
2149
 
2530
- # @note When making an API call, you may pass ListTagsForResourceRequest
2531
- # data as a hash:
2532
- #
2533
- # {
2534
- # resource_arn: "Arn", # required
2535
- # }
2536
- #
2537
2150
  # @!attribute [rw] resource_arn
2538
2151
  # The ARN that specifies the assessment template whose tags you want
2539
2152
  # to list.
@@ -2647,15 +2260,6 @@ module Aws::Inspector
2647
2260
  include Aws::Structure
2648
2261
  end
2649
2262
 
2650
- # @note When making an API call, you may pass PreviewAgentsRequest
2651
- # data as a hash:
2652
- #
2653
- # {
2654
- # preview_agents_arn: "Arn", # required
2655
- # next_token: "PaginationToken",
2656
- # max_results: 1,
2657
- # }
2658
- #
2659
2263
  # @!attribute [rw] preview_agents_arn
2660
2264
  # The ARN of the assessment target whose agents you want to preview.
2661
2265
  # @return [String]
@@ -2740,13 +2344,6 @@ module Aws::Inspector
2740
2344
  include Aws::Structure
2741
2345
  end
2742
2346
 
2743
- # @note When making an API call, you may pass RegisterCrossAccountAccessRoleRequest
2744
- # data as a hash:
2745
- #
2746
- # {
2747
- # role_arn: "Arn", # required
2748
- # }
2749
- #
2750
2347
  # @!attribute [rw] role_arn
2751
2348
  # The ARN of the IAM role that grants Amazon Inspector access to AWS
2752
2349
  # Services needed to perform security assessments.
@@ -2760,14 +2357,6 @@ module Aws::Inspector
2760
2357
  include Aws::Structure
2761
2358
  end
2762
2359
 
2763
- # @note When making an API call, you may pass RemoveAttributesFromFindingsRequest
2764
- # data as a hash:
2765
- #
2766
- # {
2767
- # finding_arns: ["Arn"], # required
2768
- # attribute_keys: ["AttributeKey"], # required
2769
- # }
2770
- #
2771
2360
  # @!attribute [rw] finding_arns
2772
2361
  # The ARNs that specify the findings that you want to remove
2773
2362
  # attributes from.
@@ -2831,14 +2420,6 @@ module Aws::Inspector
2831
2420
  # This data type is used as one of the elements of the ResourceGroup
2832
2421
  # data type.
2833
2422
  #
2834
- # @note When making an API call, you may pass ResourceGroupTag
2835
- # data as a hash:
2836
- #
2837
- # {
2838
- # key: "TagKey", # required
2839
- # value: "TagValue",
2840
- # }
2841
- #
2842
2423
  # @!attribute [rw] key
2843
2424
  # A tag key.
2844
2425
  # @return [String]
@@ -2952,19 +2533,6 @@ module Aws::Inspector
2952
2533
  include Aws::Structure
2953
2534
  end
2954
2535
 
2955
- # @note When making an API call, you may pass SetTagsForResourceRequest
2956
- # data as a hash:
2957
- #
2958
- # {
2959
- # resource_arn: "Arn", # required
2960
- # tags: [
2961
- # {
2962
- # key: "TagKey", # required
2963
- # value: "TagValue",
2964
- # },
2965
- # ],
2966
- # }
2967
- #
2968
2536
  # @!attribute [rw] resource_arn
2969
2537
  # The ARN of the assessment template that you want to set tags to.
2970
2538
  # @return [String]
@@ -2983,14 +2551,6 @@ module Aws::Inspector
2983
2551
  include Aws::Structure
2984
2552
  end
2985
2553
 
2986
- # @note When making an API call, you may pass StartAssessmentRunRequest
2987
- # data as a hash:
2988
- #
2989
- # {
2990
- # assessment_template_arn: "Arn", # required
2991
- # assessment_run_name: "AssessmentRunName",
2992
- # }
2993
- #
2994
2554
  # @!attribute [rw] assessment_template_arn
2995
2555
  # The ARN of the assessment template of the assessment run that you
2996
2556
  # want to start.
@@ -3023,14 +2583,6 @@ module Aws::Inspector
3023
2583
  include Aws::Structure
3024
2584
  end
3025
2585
 
3026
- # @note When making an API call, you may pass StopAssessmentRunRequest
3027
- # data as a hash:
3028
- #
3029
- # {
3030
- # assessment_run_arn: "Arn", # required
3031
- # stop_action: "START_EVALUATION", # accepts START_EVALUATION, SKIP_EVALUATION
3032
- # }
3033
- #
3034
2586
  # @!attribute [rw] assessment_run_arn
3035
2587
  # The ARN of the assessment run that you want to stop.
3036
2588
  # @return [String]
@@ -3052,15 +2604,6 @@ module Aws::Inspector
3052
2604
  include Aws::Structure
3053
2605
  end
3054
2606
 
3055
- # @note When making an API call, you may pass SubscribeToEventRequest
3056
- # data as a hash:
3057
- #
3058
- # {
3059
- # resource_arn: "Arn", # required
3060
- # event: "ASSESSMENT_RUN_STARTED", # required, accepts ASSESSMENT_RUN_STARTED, ASSESSMENT_RUN_COMPLETED, ASSESSMENT_RUN_STATE_CHANGED, FINDING_REPORTED, OTHER
3061
- # topic_arn: "Arn", # required
3062
- # }
3063
- #
3064
2607
  # @!attribute [rw] resource_arn
3065
2608
  # The ARN of the assessment template that is used during the event for
3066
2609
  # which you want to receive SNS notifications.
@@ -3115,14 +2658,6 @@ module Aws::Inspector
3115
2658
  # the SetTagsForResource action and a response element in the
3116
2659
  # ListTagsForResource action.
3117
2660
  #
3118
- # @note When making an API call, you may pass Tag
3119
- # data as a hash:
3120
- #
3121
- # {
3122
- # key: "TagKey", # required
3123
- # value: "TagValue",
3124
- # }
3125
- #
3126
2661
  # @!attribute [rw] key
3127
2662
  # A tag key.
3128
2663
  # @return [String]
@@ -3170,14 +2705,6 @@ module Aws::Inspector
3170
2705
 
3171
2706
  # This data type is used in the AssessmentRunFilter data type.
3172
2707
  #
3173
- # @note When making an API call, you may pass TimestampRange
3174
- # data as a hash:
3175
- #
3176
- # {
3177
- # begin_date: Time.now,
3178
- # end_date: Time.now,
3179
- # }
3180
- #
3181
2708
  # @!attribute [rw] begin_date
3182
2709
  # The minimum value of the timestamp range.
3183
2710
  # @return [Time]
@@ -3195,15 +2722,6 @@ module Aws::Inspector
3195
2722
  include Aws::Structure
3196
2723
  end
3197
2724
 
3198
- # @note When making an API call, you may pass UnsubscribeFromEventRequest
3199
- # data as a hash:
3200
- #
3201
- # {
3202
- # resource_arn: "Arn", # required
3203
- # event: "ASSESSMENT_RUN_STARTED", # required, accepts ASSESSMENT_RUN_STARTED, ASSESSMENT_RUN_COMPLETED, ASSESSMENT_RUN_STATE_CHANGED, FINDING_REPORTED, OTHER
3204
- # topic_arn: "Arn", # required
3205
- # }
3206
- #
3207
2725
  # @!attribute [rw] resource_arn
3208
2726
  # The ARN of the assessment template that is used during the event for
3209
2727
  # which you want to stop receiving SNS notifications.
@@ -3248,15 +2766,6 @@ module Aws::Inspector
3248
2766
  include Aws::Structure
3249
2767
  end
3250
2768
 
3251
- # @note When making an API call, you may pass UpdateAssessmentTargetRequest
3252
- # data as a hash:
3253
- #
3254
- # {
3255
- # assessment_target_arn: "Arn", # required
3256
- # assessment_target_name: "AssessmentTargetName", # required
3257
- # resource_group_arn: "Arn",
3258
- # }
3259
- #
3260
2769
  # @!attribute [rw] assessment_target_arn
3261
2770
  # The ARN of the assessment target that you want to update.
3262
2771
  # @return [String]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-inspector/customizations'
52
52
  # @!group service
53
53
  module Aws::Inspector
54
54
 
55
- GEM_VERSION = '1.44.0'
55
+ GEM_VERSION = '1.46.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-inspector
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.44.0
4
+ version: 1.46.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: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.165.0
22
+ version: 3.174.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.165.0
32
+ version: 3.174.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement