From 7cbf32eb8100e023c513dad046b3845229fe50ed Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Thu, 7 Sep 2023 11:25:17 -0700 Subject: [PATCH] Release v1.45.5 (2023-09-07) (#4979) Release v1.45.5 (2023-09-07) === ### Service Client Updates * `service/neptunedata`: Updates service API * `service/securityhub`: Updates service documentation * `service/simspaceweaver`: Updates service API --- CHANGELOG.md | 8 + aws/endpoints/defaults.go | 3 + aws/version.go | 2 +- models/apis/neptunedata/2023-08-01/api-2.json | 40 ----- .../apis/securityhub/2018-10-26/docs-2.json | 70 ++++---- .../apis/simspaceweaver/2022-10-28/api-2.json | 5 + .../2022-10-28/endpoint-tests-1.json | 167 ++++++++++-------- models/endpoints/endpoints.json | 1 + service/neptunedata/api.go | 40 ----- service/securityhub/api.go | 70 ++++++++ service/simspaceweaver/api.go | 21 ++- 11 files changed, 234 insertions(+), 193 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba958ac6d71..a80d7748c70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +Release v1.45.5 (2023-09-07) +=== + +### Service Client Updates +* `service/neptunedata`: Updates service API +* `service/securityhub`: Updates service documentation +* `service/simspaceweaver`: Updates service API + Release v1.45.4 (2023-09-06) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index adcbba2076b..9970e49368e 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -7114,6 +7114,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "eu-central-1", + }: endpoint{}, endpointKey{ Region: "eu-west-2", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index 03f58a91183..d8db7b4fbf8 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.45.4" +const SDKVersion = "1.45.5" diff --git a/models/apis/neptunedata/2023-08-01/api-2.json b/models/apis/neptunedata/2023-08-01/api-2.json index 4354c78930c..65eb6934c45 100644 --- a/models/apis/neptunedata/2023-08-01/api-2.json +++ b/models/apis/neptunedata/2023-08-01/api-2.json @@ -12,7 +12,6 @@ }, "operations": { "CancelGremlinQuery": { - "authtype": "v4", "errors": [ { "shape": "BadRequestException" @@ -72,7 +71,6 @@ } }, "CancelLoaderJob": { - "authtype": "v4", "errors": [ { "shape": "BadRequestException" @@ -129,7 +127,6 @@ } }, "CancelMLDataProcessingJob": { - "authtype": "v4", "errors": [ { "shape": "UnsupportedOperationException" @@ -180,7 +177,6 @@ } }, "CancelMLModelTrainingJob": { - "authtype": "v4", "errors": [ { "shape": "UnsupportedOperationException" @@ -231,7 +227,6 @@ } }, "CancelMLModelTransformJob": { - "authtype": "v4", "errors": [ { "shape": "UnsupportedOperationException" @@ -282,7 +277,6 @@ } }, "CancelOpenCypherQuery": { - "authtype": "v4", "errors": [ { "shape": "InvalidNumericDataException" @@ -345,7 +339,6 @@ } }, "CreateMLEndpoint": { - "authtype": "v4", "errors": [ { "shape": "UnsupportedOperationException" @@ -395,7 +388,6 @@ } }, "DeleteMLEndpoint": { - "authtype": "v4", "errors": [ { "shape": "UnsupportedOperationException" @@ -446,7 +438,6 @@ } }, "DeletePropertygraphStatistics": { - "authtype": "v4", "errors": [ { "shape": "BadRequestException" @@ -500,7 +491,6 @@ } }, "DeleteSparqlStatistics": { - "authtype": "v4", "errors": [ { "shape": "BadRequestException" @@ -554,7 +544,6 @@ } }, "ExecuteFastReset": { - "authtype": "v4", "errors": [ { "shape": "InvalidParameterException" @@ -611,7 +600,6 @@ } }, "ExecuteGremlinExplainQuery": { - "authtype": "v4", "errors": [ { "shape": "QueryTooLargeException" @@ -688,7 +676,6 @@ } }, "ExecuteGremlinProfileQuery": { - "authtype": "v4", "errors": [ { "shape": "QueryTooLargeException" @@ -765,7 +752,6 @@ } }, "ExecuteGremlinQuery": { - "authtype": "v4", "errors": [ { "shape": "QueryTooLargeException" @@ -842,7 +828,6 @@ } }, "ExecuteOpenCypherExplainQuery": { - "authtype": "v4", "errors": [ { "shape": "QueryTooLargeException" @@ -922,7 +907,6 @@ } }, "GetEngineStatus": { - "authtype": "v4", "errors": [ { "shape": "UnsupportedOperationException" @@ -960,7 +944,6 @@ } }, "GetGremlinQueryStatus": { - "authtype": "v4", "errors": [ { "shape": "BadRequestException" @@ -1025,7 +1008,6 @@ } }, "GetMLDataProcessingJob": { - "authtype": "v4", "errors": [ { "shape": "UnsupportedOperationException" @@ -1075,7 +1057,6 @@ } }, "GetMLEndpoint": { - "authtype": "v4", "errors": [ { "shape": "UnsupportedOperationException" @@ -1125,7 +1106,6 @@ } }, "GetMLModelTrainingJob": { - "authtype": "v4", "errors": [ { "shape": "UnsupportedOperationException" @@ -1175,7 +1155,6 @@ } }, "GetMLModelTransformJob": { - "authtype": "v4", "errors": [ { "shape": "UnsupportedOperationException" @@ -1225,7 +1204,6 @@ } }, "GetOpenCypherQueryStatus": { - "authtype": "v4", "errors": [ { "shape": "InvalidNumericDataException" @@ -1293,7 +1271,6 @@ } }, "GetPropertygraphStatistics": { - "authtype": "v4", "errors": [ { "shape": "BadRequestException" @@ -1346,7 +1323,6 @@ } }, "GetPropertygraphSummary": { - "authtype": "v4", "errors": [ { "shape": "BadRequestException" @@ -1402,7 +1378,6 @@ } }, "GetRDFGraphSummary": { - "authtype": "v4", "errors": [ { "shape": "BadRequestException" @@ -1458,7 +1433,6 @@ } }, "GetSparqlStatistics": { - "authtype": "v4", "errors": [ { "shape": "BadRequestException" @@ -1511,7 +1485,6 @@ } }, "GetSparqlStream": { - "authtype": "v4", "errors": [ { "shape": "UnsupportedOperationException" @@ -1564,7 +1537,6 @@ } }, "ListGremlinQueries": { - "authtype": "v4", "errors": [ { "shape": "BadRequestException" @@ -1629,7 +1601,6 @@ } }, "ListLoaderJobs": { - "authtype": "v4", "errors": [ { "shape": "UnsupportedOperationException" @@ -1682,7 +1653,6 @@ } }, "ListMLDataProcessingJobs": { - "authtype": "v4", "errors": [ { "shape": "UnsupportedOperationException" @@ -1732,7 +1702,6 @@ } }, "ListMLEndpoints": { - "authtype": "v4", "errors": [ { "shape": "UnsupportedOperationException" @@ -1782,7 +1751,6 @@ } }, "ListMLModelTrainingJobs": { - "authtype": "v4", "errors": [ { "shape": "UnsupportedOperationException" @@ -1832,7 +1800,6 @@ } }, "ListMLModelTransformJobs": { - "authtype": "v4", "errors": [ { "shape": "UnsupportedOperationException" @@ -1882,7 +1849,6 @@ } }, "ListOpenCypherQueries": { - "authtype": "v4", "errors": [ { "shape": "InvalidNumericDataException" @@ -1950,7 +1916,6 @@ } }, "ManagePropertygraphStatistics": { - "authtype": "v4", "errors": [ { "shape": "BadRequestException" @@ -2007,7 +1972,6 @@ } }, "ManageSparqlStatistics": { - "authtype": "v4", "errors": [ { "shape": "BadRequestException" @@ -2064,7 +2028,6 @@ } }, "StartLoaderJob": { - "authtype": "v4", "errors": [ { "shape": "BadRequestException" @@ -2124,7 +2087,6 @@ } }, "StartMLDataProcessingJob": { - "authtype": "v4", "errors": [ { "shape": "UnsupportedOperationException" @@ -2174,7 +2136,6 @@ } }, "StartMLModelTrainingJob": { - "authtype": "v4", "errors": [ { "shape": "UnsupportedOperationException" @@ -2224,7 +2185,6 @@ } }, "StartMLModelTransformJob": { - "authtype": "v4", "errors": [ { "shape": "UnsupportedOperationException" diff --git a/models/apis/securityhub/2018-10-26/docs-2.json b/models/apis/securityhub/2018-10-26/docs-2.json index 1d2a176346d..42713147446 100644 --- a/models/apis/securityhub/2018-10-26/docs-2.json +++ b/models/apis/securityhub/2018-10-26/docs-2.json @@ -4545,11 +4545,11 @@ "DateFilterList": { "base": null, "refs": { - "AutomationRulesFindingFilters$FirstObservedAt": "

A timestamp that indicates when the potential security issue captured by a finding was first observed by the security findings product.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

", - "AutomationRulesFindingFilters$LastObservedAt": "

A timestamp that indicates when the potential security issue captured by a finding was most recently observed by the security findings product.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

", - "AutomationRulesFindingFilters$CreatedAt": "

A timestamp that indicates when this finding record was created.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

", - "AutomationRulesFindingFilters$UpdatedAt": "

A timestamp that indicates when the finding record was most recently updated.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

", - "AutomationRulesFindingFilters$NoteUpdatedAt": "

The timestamp of when the note was updated. Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

", + "AutomationRulesFindingFilters$FirstObservedAt": "

A timestamp that indicates when the potential security issue captured by a finding was first observed by the security findings product.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$LastObservedAt": "

A timestamp that indicates when the potential security issue captured by a finding was most recently observed by the security findings product.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$CreatedAt": "

A timestamp that indicates when this finding record was created.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$UpdatedAt": "

A timestamp that indicates when the finding record was most recently updated.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$NoteUpdatedAt": "

The timestamp of when the note was updated. Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", "AwsSecurityFindingFilters$FirstObservedAt": "

An ISO8601-formatted timestamp that indicates when the security findings provider first observed the potential security issue that a finding captured.

A correctly formatted example is 2020-05-21T20:16:34.724Z. The value cannot contain spaces, and date and time should be separated by T. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.

", "AwsSecurityFindingFilters$LastObservedAt": "

An ISO8601-formatted timestamp that indicates when the security findings provider most recently observed the potential security issue that a finding captured.

A correctly formatted example is 2020-05-21T20:16:34.724Z. The value cannot contain spaces, and date and time should be separated by T. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.

", "AwsSecurityFindingFilters$CreatedAt": "

An ISO8601-formatted timestamp that indicates when the security findings provider captured the potential security issue that a finding captured.

A correctly formatted example is 2020-05-21T20:16:34.724Z. The value cannot contain spaces, and date and time should be separated by T. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.

", @@ -5634,9 +5634,9 @@ "MapFilterList": { "base": null, "refs": { - "AutomationRulesFindingFilters$ResourceTags": "

A list of Amazon Web Services tags associated with a resource at the time the finding was processed.

", - "AutomationRulesFindingFilters$ResourceDetailsOther": "

Custom fields and values about the resource that a finding pertains to.

", - "AutomationRulesFindingFilters$UserDefinedFields": "

A list of user-defined name and value string pairs added to a finding.

", + "AutomationRulesFindingFilters$ResourceTags": "

A list of Amazon Web Services tags associated with a resource at the time the finding was processed.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$ResourceDetailsOther": "

Custom fields and values about the resource that a finding pertains to.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$UserDefinedFields": "

A list of user-defined name and value string pairs added to a finding.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", "AwsSecurityFindingFilters$ProductFields": "

A data type where security findings providers can include additional solution-specific details that aren't part of the defined AwsSecurityFinding format.

", "AwsSecurityFindingFilters$UserDefinedFields": "

A list of name/value string pairs associated with the finding. These are custom, user-defined fields added to a finding.

", "AwsSecurityFindingFilters$ResourceTags": "

A list of Amazon Web Services tags associated with a resource at the time the finding was processed.

", @@ -7421,8 +7421,8 @@ "NumberFilterList": { "base": null, "refs": { - "AutomationRulesFindingFilters$Confidence": "

The likelihood that a finding accurately identifies the behavior or issue that it was intended to identify. Confidence is scored on a 0–100 basis using a ratio scale. A value of 0 means 0 percent confidence, and a value of 100 means 100 percent confidence. For example, a data exfiltration detection based on a statistical deviation of network traffic has low confidence because an actual exfiltration hasn't been verified. For more information, see Confidence in the Security Hub User Guide.

", - "AutomationRulesFindingFilters$Criticality": "

The level of importance that is assigned to the resources that are associated with a finding. Criticality is scored on a 0–100 basis, using a ratio scale that supports only full integers. A score of 0 means that the underlying resources have no criticality, and a score of 100 is reserved for the most critical resources. For more information, see Criticality in the Security Hub User Guide.

", + "AutomationRulesFindingFilters$Confidence": "

The likelihood that a finding accurately identifies the behavior or issue that it was intended to identify. Confidence is scored on a 0–100 basis using a ratio scale. A value of 0 means 0 percent confidence, and a value of 100 means 100 percent confidence. For example, a data exfiltration detection based on a statistical deviation of network traffic has low confidence because an actual exfiltration hasn't been verified. For more information, see Confidence in the Security Hub User Guide.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$Criticality": "

The level of importance that is assigned to the resources that are associated with a finding. Criticality is scored on a 0–100 basis, using a ratio scale that supports only full integers. A score of 0 means that the underlying resources have no criticality, and a score of 100 is reserved for the most critical resources. For more information, see Criticality in the Security Hub User Guide.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", "AwsSecurityFindingFilters$SeverityProduct": "

The native severity as defined by the security findings provider's solution that generated the finding.

", "AwsSecurityFindingFilters$SeverityNormalized": "

The normalized severity of a finding.

", "AwsSecurityFindingFilters$Confidence": "

A finding's confidence. Confidence is defined as the likelihood that a finding accurately identifies the behavior or issue that it was intended to identify.

Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent confidence and 100 means 100 percent confidence.

", @@ -8206,31 +8206,31 @@ "StringFilterList": { "base": null, "refs": { - "AutomationRulesFindingFilters$ProductArn": "

The Amazon Resource Name (ARN) for a third-party product that generated a finding in Security Hub.

", - "AutomationRulesFindingFilters$AwsAccountId": "

The Amazon Web Services account ID in which a finding was generated.

", - "AutomationRulesFindingFilters$Id": "

The product-specific identifier for a finding.

", - "AutomationRulesFindingFilters$GeneratorId": "

The identifier for the solution-specific component that generated a finding.

", - "AutomationRulesFindingFilters$Type": "

One or more finding types in the format of namespace/category/classifier that classify a finding. For a list of namespaces, classifiers, and categories, see Types taxonomy for ASFF in the Security Hub User Guide.

", - "AutomationRulesFindingFilters$Title": "

A finding's title.

", - "AutomationRulesFindingFilters$Description": "

A finding's description.

", - "AutomationRulesFindingFilters$SourceUrl": "

Provides a URL that links to a page about the current finding in the finding product.

", - "AutomationRulesFindingFilters$ProductName": "

Provides the name of the product that generated the finding. For control-based findings, the product name is Security Hub.

", - "AutomationRulesFindingFilters$CompanyName": "

The name of the company for the product that generated the finding. For control-based findings, the company is Amazon Web Services.

", - "AutomationRulesFindingFilters$SeverityLabel": "

The severity value of the finding.

", - "AutomationRulesFindingFilters$ResourceType": "

The type of resource that the finding pertains to.

", - "AutomationRulesFindingFilters$ResourceId": "

The identifier for the given resource type. For Amazon Web Services resources that are identified by Amazon Resource Names (ARNs), this is the ARN. For Amazon Web Services resources that lack ARNs, this is the identifier as defined by the Amazon Web Service that created the resource. For non-Amazon Web Services resources, this is a unique identifier that is associated with the resource.

", - "AutomationRulesFindingFilters$ResourcePartition": "

The partition in which the resource that the finding pertains to is located. A partition is a group of Amazon Web Services Regions. Each Amazon Web Services account is scoped to one partition.

", - "AutomationRulesFindingFilters$ResourceRegion": "

The Amazon Web Services Region where the resource that a finding pertains to is located.

", - "AutomationRulesFindingFilters$ComplianceStatus": "

The result of a security check. This field is only used for findings generated from controls.

", - "AutomationRulesFindingFilters$ComplianceSecurityControlId": "

The security control ID for which a finding was generated. Security control IDs are the same across standards.

", - "AutomationRulesFindingFilters$ComplianceAssociatedStandardsId": "

The unique identifier of a standard in which a control is enabled. This field consists of the resource portion of the Amazon Resource Name (ARN) returned for a standard in the DescribeStandards API response.

", - "AutomationRulesFindingFilters$VerificationState": "

Provides the veracity of a finding.

", - "AutomationRulesFindingFilters$WorkflowStatus": "

Provides information about the status of the investigation into a finding.

", - "AutomationRulesFindingFilters$RecordState": "

Provides the current state of a finding.

", - "AutomationRulesFindingFilters$RelatedFindingsProductArn": "

The ARN for the product that generated a related finding.

", - "AutomationRulesFindingFilters$RelatedFindingsId": "

The product-generated identifier for a related finding.

", - "AutomationRulesFindingFilters$NoteText": "

The text of a user-defined note that's added to a finding.

", - "AutomationRulesFindingFilters$NoteUpdatedBy": "

The principal that created a note.

", + "AutomationRulesFindingFilters$ProductArn": "

The Amazon Resource Name (ARN) for a third-party product that generated a finding in Security Hub.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$AwsAccountId": "

The Amazon Web Services account ID in which a finding was generated.

Array Members: Minimum number of 1 item. Maximum number of 100 items.

", + "AutomationRulesFindingFilters$Id": "

The product-specific identifier for a finding.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$GeneratorId": "

The identifier for the solution-specific component that generated a finding.

Array Members: Minimum number of 1 item. Maximum number of 100 items.

", + "AutomationRulesFindingFilters$Type": "

One or more finding types in the format of namespace/category/classifier that classify a finding. For a list of namespaces, classifiers, and categories, see Types taxonomy for ASFF in the Security Hub User Guide.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$Title": "

A finding's title.

Array Members: Minimum number of 1 item. Maximum number of 100 items.

", + "AutomationRulesFindingFilters$Description": "

A finding's description.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$SourceUrl": "

Provides a URL that links to a page about the current finding in the finding product.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$ProductName": "

Provides the name of the product that generated the finding. For control-based findings, the product name is Security Hub.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$CompanyName": "

The name of the company for the product that generated the finding. For control-based findings, the company is Amazon Web Services.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$SeverityLabel": "

The severity value of the finding.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$ResourceType": "

The type of resource that the finding pertains to.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$ResourceId": "

The identifier for the given resource type. For Amazon Web Services resources that are identified by Amazon Resource Names (ARNs), this is the ARN. For Amazon Web Services resources that lack ARNs, this is the identifier as defined by the Amazon Web Service that created the resource. For non-Amazon Web Services resources, this is a unique identifier that is associated with the resource.

Array Members: Minimum number of 1 item. Maximum number of 100 items.

", + "AutomationRulesFindingFilters$ResourcePartition": "

The partition in which the resource that the finding pertains to is located. A partition is a group of Amazon Web Services Regions. Each Amazon Web Services account is scoped to one partition.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$ResourceRegion": "

The Amazon Web Services Region where the resource that a finding pertains to is located.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$ComplianceStatus": "

The result of a security check. This field is only used for findings generated from controls.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$ComplianceSecurityControlId": "

The security control ID for which a finding was generated. Security control IDs are the same across standards.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$ComplianceAssociatedStandardsId": "

The unique identifier of a standard in which a control is enabled. This field consists of the resource portion of the Amazon Resource Name (ARN) returned for a standard in the DescribeStandards API response.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$VerificationState": "

Provides the veracity of a finding.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$WorkflowStatus": "

Provides information about the status of the investigation into a finding.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$RecordState": "

Provides the current state of a finding.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$RelatedFindingsProductArn": "

The ARN for the product that generated a related finding.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$RelatedFindingsId": "

The product-generated identifier for a related finding.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$NoteText": "

The text of a user-defined note that's added to a finding.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", + "AutomationRulesFindingFilters$NoteUpdatedBy": "

The principal that created a note.

Array Members: Minimum number of 1 item. Maximum number of 20 items.

", "AwsSecurityFindingFilters$ProductArn": "

The ARN generated by Security Hub that uniquely identifies a third-party company (security findings provider) after this provider's product (solution that generates findings) is registered with Security Hub.

", "AwsSecurityFindingFilters$AwsAccountId": "

The Amazon Web Services account ID that a finding is generated in.

", "AwsSecurityFindingFilters$Id": "

The security findings provider-specific identifier for a finding.

", diff --git a/models/apis/simspaceweaver/2022-10-28/api-2.json b/models/apis/simspaceweaver/2022-10-28/api-2.json index 2d0423a08b6..c6a0e249d0d 100644 --- a/models/apis/simspaceweaver/2022-10-28/api-2.json +++ b/models/apis/simspaceweaver/2022-10-28/api-2.json @@ -663,6 +663,7 @@ }, "S3Destination":{ "type":"structure", + "required":["BucketName"], "members":{ "BucketName":{"shape":"BucketName"}, "ObjectKeyPrefix":{"shape":"ObjectKeyPrefix"} @@ -670,6 +671,10 @@ }, "S3Location":{ "type":"structure", + "required":[ + "BucketName", + "ObjectKey" + ], "members":{ "BucketName":{"shape":"BucketName"}, "ObjectKey":{"shape":"ObjectKey"} diff --git a/models/apis/simspaceweaver/2022-10-28/endpoint-tests-1.json b/models/apis/simspaceweaver/2022-10-28/endpoint-tests-1.json index 38383d6e5e0..b2b7e4f0a83 100644 --- a/models/apis/simspaceweaver/2022-10-28/endpoint-tests-1.json +++ b/models/apis/simspaceweaver/2022-10-28/endpoint-tests-1.json @@ -1,55 +1,55 @@ { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://simspaceweaver-fips.us-gov-east-1.api.aws" + "url": "https://simspaceweaver-fips.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://simspaceweaver-fips.us-gov-east-1.amazonaws.com" + "url": "https://simspaceweaver-fips.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://simspaceweaver.us-gov-east-1.api.aws" + "url": "https://simspaceweaver.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://simspaceweaver.us-gov-east-1.amazonaws.com" + "url": "https://simspaceweaver.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -60,9 +60,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -73,9 +73,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -86,9 +86,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -99,109 +99,109 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://simspaceweaver-fips.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://simspaceweaver-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://simspaceweaver-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://simspaceweaver.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://simspaceweaver.us-iso-east-1.c2s.ic.gov" + "url": "https://simspaceweaver.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://simspaceweaver-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://simspaceweaver-fips.us-east-1.amazonaws.com" + "url": "https://simspaceweaver-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://simspaceweaver.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://simspaceweaver.us-east-1.amazonaws.com" + "url": "https://simspaceweaver.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -210,9 +210,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -223,9 +223,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -234,9 +234,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -247,22 +247,35 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { + "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { "UseFIPS": false, - "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -272,9 +285,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -284,11 +297,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 2e8909562cd..50d1601ec16 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -3859,6 +3859,7 @@ "endpoints" : { "ap-southeast-2" : { }, "ca-central-1" : { }, + "eu-central-1" : { }, "eu-west-2" : { }, "fips-us-east-1" : { "credentialScope" : { diff --git a/service/neptunedata/api.go b/service/neptunedata/api.go index 5503827c013..ef96f961a4f 100644 --- a/service/neptunedata/api.go +++ b/service/neptunedata/api.go @@ -50,7 +50,6 @@ func (c *Neptunedata) CancelGremlinQueryRequest(input *CancelGremlinQueryInput) output = &CancelGremlinQueryOutput{} req = c.newRequest(op, input, output) - return } @@ -171,7 +170,6 @@ func (c *Neptunedata) CancelLoaderJobRequest(input *CancelLoaderJobInput) (req * output = &CancelLoaderJobOutput{} req = c.newRequest(op, input, output) - return } @@ -290,7 +288,6 @@ func (c *Neptunedata) CancelMLDataProcessingJobRequest(input *CancelMLDataProces output = &CancelMLDataProcessingJobOutput{} req = c.newRequest(op, input, output) - return } @@ -401,7 +398,6 @@ func (c *Neptunedata) CancelMLModelTrainingJobRequest(input *CancelMLModelTraini output = &CancelMLModelTrainingJobOutput{} req = c.newRequest(op, input, output) - return } @@ -512,7 +508,6 @@ func (c *Neptunedata) CancelMLModelTransformJobRequest(input *CancelMLModelTrans output = &CancelMLModelTransformJobOutput{} req = c.newRequest(op, input, output) - return } @@ -623,7 +618,6 @@ func (c *Neptunedata) CancelOpenCypherQueryRequest(input *CancelOpenCypherQueryI output = &CancelOpenCypherQueryOutput{} req = c.newRequest(op, input, output) - return } @@ -748,7 +742,6 @@ func (c *Neptunedata) CreateMLEndpointRequest(input *CreateMLEndpointInput) (req output = &CreateMLEndpointOutput{} req = c.newRequest(op, input, output) - return } @@ -860,7 +853,6 @@ func (c *Neptunedata) DeleteMLEndpointRequest(input *DeleteMLEndpointInput) (req output = &DeleteMLEndpointOutput{} req = c.newRequest(op, input, output) - return } @@ -971,7 +963,6 @@ func (c *Neptunedata) DeletePropertygraphStatisticsRequest(input *DeleteProperty output = &DeletePropertygraphStatisticsOutput{} req = c.newRequest(op, input, output) - return } @@ -1087,7 +1078,6 @@ func (c *Neptunedata) DeleteSparqlStatisticsRequest(input *DeleteSparqlStatistic output = &DeleteSparqlStatisticsOutput{} req = c.newRequest(op, input, output) - return } @@ -1203,7 +1193,6 @@ func (c *Neptunedata) ExecuteFastResetRequest(input *ExecuteFastResetInput) (req output = &ExecuteFastResetOutput{} req = c.newRequest(op, input, output) - return } @@ -1326,7 +1315,6 @@ func (c *Neptunedata) ExecuteGremlinExplainQueryRequest(input *ExecuteGremlinExp output = &ExecuteGremlinExplainQueryOutput{} req = c.newRequest(op, input, output) - return } @@ -1478,7 +1466,6 @@ func (c *Neptunedata) ExecuteGremlinProfileQueryRequest(input *ExecuteGremlinPro output = &ExecuteGremlinProfileQueryOutput{} req = c.newRequest(op, input, output) - return } @@ -1622,7 +1609,6 @@ func (c *Neptunedata) ExecuteGremlinQueryRequest(input *ExecuteGremlinQueryInput output = &ExecuteGremlinQueryOutput{} req = c.newRequest(op, input, output) - return } @@ -1767,7 +1753,6 @@ func (c *Neptunedata) ExecuteOpenCypherExplainQueryRequest(input *ExecuteOpenCyp output = &ExecuteOpenCypherExplainQueryOutput{} req = c.newRequest(op, input, output) - return } @@ -1913,7 +1898,6 @@ func (c *Neptunedata) GetEngineStatusRequest(input *GetEngineStatusInput) (req * output = &GetEngineStatusOutput{} req = c.newRequest(op, input, output) - return } @@ -2014,7 +1998,6 @@ func (c *Neptunedata) GetGremlinQueryStatusRequest(input *GetGremlinQueryStatusI output = &GetGremlinQueryStatusOutput{} req = c.newRequest(op, input, output) - return } @@ -2140,7 +2123,6 @@ func (c *Neptunedata) GetMLDataProcessingJobRequest(input *GetMLDataProcessingJo output = &GetMLDataProcessingJobOutput{} req = c.newRequest(op, input, output) - return } @@ -2251,7 +2233,6 @@ func (c *Neptunedata) GetMLEndpointRequest(input *GetMLEndpointInput) (req *requ output = &GetMLEndpointOutput{} req = c.newRequest(op, input, output) - return } @@ -2362,7 +2343,6 @@ func (c *Neptunedata) GetMLModelTrainingJobRequest(input *GetMLModelTrainingJobI output = &GetMLModelTrainingJobOutput{} req = c.newRequest(op, input, output) - return } @@ -2473,7 +2453,6 @@ func (c *Neptunedata) GetMLModelTransformJobRequest(input *GetMLModelTransformJo output = &GetMLModelTransformJobOutput{} req = c.newRequest(op, input, output) - return } @@ -2584,7 +2563,6 @@ func (c *Neptunedata) GetOpenCypherQueryStatusRequest(input *GetOpenCypherQueryS output = &GetOpenCypherQueryStatusOutput{} req = c.newRequest(op, input, output) - return } @@ -2713,7 +2691,6 @@ func (c *Neptunedata) GetPropertygraphStatisticsRequest(input *GetPropertygraphS output = &GetPropertygraphStatisticsOutput{} req = c.newRequest(op, input, output) - return } @@ -2829,7 +2806,6 @@ func (c *Neptunedata) GetPropertygraphSummaryRequest(input *GetPropertygraphSumm output = &GetPropertygraphSummaryOutput{} req = c.newRequest(op, input, output) - return } @@ -2945,7 +2921,6 @@ func (c *Neptunedata) GetRDFGraphSummaryRequest(input *GetRDFGraphSummaryInput) output = &GetRDFGraphSummaryOutput{} req = c.newRequest(op, input, output) - return } @@ -3061,7 +3036,6 @@ func (c *Neptunedata) GetSparqlStatisticsRequest(input *GetSparqlStatisticsInput output = &GetSparqlStatisticsOutput{} req = c.newRequest(op, input, output) - return } @@ -3177,7 +3151,6 @@ func (c *Neptunedata) GetSparqlStreamRequest(input *GetSparqlStreamInput) (req * output = &GetSparqlStreamOutput{} req = c.newRequest(op, input, output) - return } @@ -3303,7 +3276,6 @@ func (c *Neptunedata) ListGremlinQueriesRequest(input *ListGremlinQueriesInput) output = &ListGremlinQueriesOutput{} req = c.newRequest(op, input, output) - return } @@ -3430,7 +3402,6 @@ func (c *Neptunedata) ListLoaderJobsRequest(input *ListLoaderJobsInput) (req *re output = &ListLoaderJobsOutput{} req = c.newRequest(op, input, output) - return } @@ -3543,7 +3514,6 @@ func (c *Neptunedata) ListMLDataProcessingJobsRequest(input *ListMLDataProcessin output = &ListMLDataProcessingJobsOutput{} req = c.newRequest(op, input, output) - return } @@ -3654,7 +3624,6 @@ func (c *Neptunedata) ListMLEndpointsRequest(input *ListMLEndpointsInput) (req * output = &ListMLEndpointsOutput{} req = c.newRequest(op, input, output) - return } @@ -3765,7 +3734,6 @@ func (c *Neptunedata) ListMLModelTrainingJobsRequest(input *ListMLModelTrainingJ output = &ListMLModelTrainingJobsOutput{} req = c.newRequest(op, input, output) - return } @@ -3876,7 +3844,6 @@ func (c *Neptunedata) ListMLModelTransformJobsRequest(input *ListMLModelTransfor output = &ListMLModelTransformJobsOutput{} req = c.newRequest(op, input, output) - return } @@ -3987,7 +3954,6 @@ func (c *Neptunedata) ListOpenCypherQueriesRequest(input *ListOpenCypherQueriesI output = &ListOpenCypherQueriesOutput{} req = c.newRequest(op, input, output) - return } @@ -4117,7 +4083,6 @@ func (c *Neptunedata) ManagePropertygraphStatisticsRequest(input *ManageProperty output = &ManagePropertygraphStatisticsOutput{} req = c.newRequest(op, input, output) - return } @@ -4233,7 +4198,6 @@ func (c *Neptunedata) ManageSparqlStatisticsRequest(input *ManageSparqlStatistic output = &ManageSparqlStatisticsOutput{} req = c.newRequest(op, input, output) - return } @@ -4349,7 +4313,6 @@ func (c *Neptunedata) StartLoaderJobRequest(input *StartLoaderJobInput) (req *re output = &StartLoaderJobOutput{} req = c.newRequest(op, input, output) - return } @@ -4470,7 +4433,6 @@ func (c *Neptunedata) StartMLDataProcessingJobRequest(input *StartMLDataProcessi output = &StartMLDataProcessingJobOutput{} req = c.newRequest(op, input, output) - return } @@ -4581,7 +4543,6 @@ func (c *Neptunedata) StartMLModelTrainingJobRequest(input *StartMLModelTraining output = &StartMLModelTrainingJobOutput{} req = c.newRequest(op, input, output) - return } @@ -4692,7 +4653,6 @@ func (c *Neptunedata) StartMLModelTransformJobRequest(input *StartMLModelTransfo output = &StartMLModelTransformJobOutput{} req = c.newRequest(op, input, output) - return } diff --git a/service/securityhub/api.go b/service/securityhub/api.go index 42b31ea6e03..d14806da75c 100644 --- a/service/securityhub/api.go +++ b/service/securityhub/api.go @@ -8627,24 +8627,34 @@ type AutomationRulesFindingFilters struct { _ struct{} `type:"structure"` // The Amazon Web Services account ID in which a finding was generated. + // + // Array Members: Minimum number of 1 item. Maximum number of 100 items. AwsAccountId []*StringFilter `type:"list"` // The name of the company for the product that generated the finding. For control-based // findings, the company is Amazon Web Services. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. CompanyName []*StringFilter `type:"list"` // The unique identifier of a standard in which a control is enabled. This field // consists of the resource portion of the Amazon Resource Name (ARN) returned // for a standard in the DescribeStandards (https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_DescribeStandards.html) // API response. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. ComplianceAssociatedStandardsId []*StringFilter `type:"list"` // The security control ID for which a finding was generated. Security control // IDs are the same across standards. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. ComplianceSecurityControlId []*StringFilter `type:"list"` // The result of a security check. This field is only used for findings generated // from controls. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. ComplianceStatus []*StringFilter `type:"list"` // The likelihood that a finding accurately identifies the behavior or issue @@ -8655,6 +8665,8 @@ type AutomationRulesFindingFilters struct { // an actual exfiltration hasn't been verified. For more information, see Confidence // (https://docs.aws.amazon.com/securityhub/latest/userguide/asff-top-level-attributes.html#asff-confidence) // in the Security Hub User Guide. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. Confidence []*NumberFilter `type:"list"` // A timestamp that indicates when this finding record was created. @@ -8662,6 +8674,8 @@ type AutomationRulesFindingFilters struct { // Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time // Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot // contain spaces. For example, 2020-03-22T13:22:13.933Z. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. CreatedAt []*DateFilter `type:"list"` // The level of importance that is assigned to the resources that are associated @@ -8670,9 +8684,13 @@ type AutomationRulesFindingFilters struct { // resources have no criticality, and a score of 100 is reserved for the most // critical resources. For more information, see Criticality (https://docs.aws.amazon.com/securityhub/latest/userguide/asff-top-level-attributes.html#asff-criticality) // in the Security Hub User Guide. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. Criticality []*NumberFilter `type:"list"` // A finding's description. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. Description []*StringFilter `type:"list"` // A timestamp that indicates when the potential security issue captured by @@ -8681,12 +8699,18 @@ type AutomationRulesFindingFilters struct { // Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time // Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot // contain spaces. For example, 2020-03-22T13:22:13.933Z. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. FirstObservedAt []*DateFilter `type:"list"` // The identifier for the solution-specific component that generated a finding. + // + // Array Members: Minimum number of 1 item. Maximum number of 100 items. GeneratorId []*StringFilter `type:"list"` // The product-specific identifier for a finding. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. Id []*StringFilter `type:"list"` // A timestamp that indicates when the potential security issue captured by @@ -8695,37 +8719,57 @@ type AutomationRulesFindingFilters struct { // Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time // Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot // contain spaces. For example, 2020-03-22T13:22:13.933Z. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. LastObservedAt []*DateFilter `type:"list"` // The text of a user-defined note that's added to a finding. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. NoteText []*StringFilter `type:"list"` // The timestamp of when the note was updated. Uses the date-time format specified // in RFC 3339 section 5.6, Internet Date/Time Format (https://www.rfc-editor.org/rfc/rfc3339#section-5.6). // The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. NoteUpdatedAt []*DateFilter `type:"list"` // The principal that created a note. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. NoteUpdatedBy []*StringFilter `type:"list"` // The Amazon Resource Name (ARN) for a third-party product that generated a // finding in Security Hub. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. ProductArn []*StringFilter `type:"list"` // Provides the name of the product that generated the finding. For control-based // findings, the product name is Security Hub. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. ProductName []*StringFilter `type:"list"` // Provides the current state of a finding. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. RecordState []*StringFilter `type:"list"` // The product-generated identifier for a related finding. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. RelatedFindingsId []*StringFilter `type:"list"` // The ARN for the product that generated a related finding. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. RelatedFindingsProductArn []*StringFilter `type:"list"` // Custom fields and values about the resource that a finding pertains to. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. ResourceDetailsOther []*MapFilter `type:"list"` // The identifier for the given resource type. For Amazon Web Services resources @@ -8733,38 +8777,56 @@ type AutomationRulesFindingFilters struct { // Amazon Web Services resources that lack ARNs, this is the identifier as defined // by the Amazon Web Service that created the resource. For non-Amazon Web Services // resources, this is a unique identifier that is associated with the resource. + // + // Array Members: Minimum number of 1 item. Maximum number of 100 items. ResourceId []*StringFilter `type:"list"` // The partition in which the resource that the finding pertains to is located. // A partition is a group of Amazon Web Services Regions. Each Amazon Web Services // account is scoped to one partition. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. ResourcePartition []*StringFilter `type:"list"` // The Amazon Web Services Region where the resource that a finding pertains // to is located. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. ResourceRegion []*StringFilter `type:"list"` // A list of Amazon Web Services tags associated with a resource at the time // the finding was processed. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. ResourceTags []*MapFilter `type:"list"` // The type of resource that the finding pertains to. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. ResourceType []*StringFilter `type:"list"` // The severity value of the finding. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. SeverityLabel []*StringFilter `type:"list"` // Provides a URL that links to a page about the current finding in the finding // product. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. SourceUrl []*StringFilter `type:"list"` // A finding's title. + // + // Array Members: Minimum number of 1 item. Maximum number of 100 items. Title []*StringFilter `type:"list"` // One or more finding types in the format of namespace/category/classifier // that classify a finding. For a list of namespaces, classifiers, and categories, // see Types taxonomy for ASFF (https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-findings-format-type-taxonomy.html) // in the Security Hub User Guide. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. Type []*StringFilter `type:"list"` // A timestamp that indicates when the finding record was most recently updated. @@ -8772,15 +8834,23 @@ type AutomationRulesFindingFilters struct { // Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time // Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot // contain spaces. For example, 2020-03-22T13:22:13.933Z. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. UpdatedAt []*DateFilter `type:"list"` // A list of user-defined name and value string pairs added to a finding. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. UserDefinedFields []*MapFilter `type:"list"` // Provides the veracity of a finding. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. VerificationState []*StringFilter `type:"list"` // Provides information about the status of the investigation into a finding. + // + // Array Members: Minimum number of 1 item. Maximum number of 20 items. WorkflowStatus []*StringFilter `type:"list"` } diff --git a/service/simspaceweaver/api.go b/service/simspaceweaver/api.go index 4e125de0a17..72ecb3a2037 100644 --- a/service/simspaceweaver/api.go +++ b/service/simspaceweaver/api.go @@ -3022,7 +3022,9 @@ type S3Destination struct { // The name of an Amazon S3 bucket. For more information about buckets, see // Creating, configuring, and working with Amazon S3 buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-buckets-s3.html) // in the Amazon Simple Storage Service User Guide. - BucketName *string `min:"3" type:"string"` + // + // BucketName is a required field + BucketName *string `min:"3" type:"string" required:"true"` // A string prefix for an Amazon S3 object key. It's usually a folder name. // For more information about folders in Amazon S3, see Organizing objects in @@ -3052,6 +3054,9 @@ func (s S3Destination) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *S3Destination) Validate() error { invalidParams := request.ErrInvalidParams{Context: "S3Destination"} + if s.BucketName == nil { + invalidParams.Add(request.NewErrParamRequired("BucketName")) + } if s.BucketName != nil && len(*s.BucketName) < 3 { invalidParams.Add(request.NewErrParamMinLen("BucketName", 3)) } @@ -3084,13 +3089,17 @@ type S3Location struct { // The name of an Amazon S3 bucket. For more information about buckets, see // Creating, configuring, and working with Amazon S3 buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-buckets-s3.html) // in the Amazon Simple Storage Service User Guide. - BucketName *string `min:"3" type:"string"` + // + // BucketName is a required field + BucketName *string `min:"3" type:"string" required:"true"` // The key name of an object in Amazon S3. For more information about Amazon // S3 objects and object keys, see Uploading, downloading, and working with // objects in Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/userguide/uploading-downloading-objects.html) // in the Amazon Simple Storage Service User Guide. - ObjectKey *string `min:"1" type:"string"` + // + // ObjectKey is a required field + ObjectKey *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -3114,9 +3123,15 @@ func (s S3Location) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *S3Location) Validate() error { invalidParams := request.ErrInvalidParams{Context: "S3Location"} + if s.BucketName == nil { + invalidParams.Add(request.NewErrParamRequired("BucketName")) + } if s.BucketName != nil && len(*s.BucketName) < 3 { invalidParams.Add(request.NewErrParamMinLen("BucketName", 3)) } + if s.ObjectKey == nil { + invalidParams.Add(request.NewErrParamRequired("ObjectKey")) + } if s.ObjectKey != nil && len(*s.ObjectKey) < 1 { invalidParams.Add(request.NewErrParamMinLen("ObjectKey", 1)) }