Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-swift-automation committed Feb 13, 2025
1 parent 13fd05c commit b19cecc
Show file tree
Hide file tree
Showing 6 changed files with 845 additions and 25 deletions.
274 changes: 274 additions & 0 deletions codegen/sdk-codegen/aws-models/accessanalyzer.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@
{
"target": "com.amazonaws.accessanalyzer#GetFindingRecommendation"
},
{
"target": "com.amazonaws.accessanalyzer#GetFindingsStatistics"
},
{
"target": "com.amazonaws.accessanalyzer#GetFindingV2"
},
Expand Down Expand Up @@ -1554,6 +1557,18 @@
"target": "com.amazonaws.accessanalyzer#AccessPreviewSummary"
}
},
"com.amazonaws.accessanalyzer#AccountAggregations": {
"type": "list",
"member": {
"target": "com.amazonaws.accessanalyzer#FindingAggregationAccountDetails"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 10
}
}
},
"com.amazonaws.accessanalyzer#AccountIdsList": {
"type": "list",
"member": {
Expand Down Expand Up @@ -3337,6 +3352,38 @@
"smithy.api#documentation": "<p>Contains information about an external access finding.</p>"
}
},
"com.amazonaws.accessanalyzer#ExternalAccessFindingsStatistics": {
"type": "structure",
"members": {
"resourceTypeStatistics": {
"target": "com.amazonaws.accessanalyzer#ResourceTypeStatisticsMap",
"traits": {
"smithy.api#documentation": "<p>The total number of active cross-account and public findings for each resource type of\n the specified external access analyzer.</p>"
}
},
"totalActiveFindings": {
"target": "smithy.api#Integer",
"traits": {
"smithy.api#documentation": "<p>The number of active findings for the specified external access analyzer.</p>"
}
},
"totalArchivedFindings": {
"target": "smithy.api#Integer",
"traits": {
"smithy.api#documentation": "<p>The number of archived findings for the specified external access analyzer.</p>"
}
},
"totalResolvedFindings": {
"target": "smithy.api#Integer",
"traits": {
"smithy.api#documentation": "<p>The number of resolved findings for the specified external access analyzer.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Provides aggregate statistics about the findings for the specified external access\n analyzer.</p>"
}
},
"com.amazonaws.accessanalyzer#FilterCriteriaMap": {
"type": "map",
"key": {
Expand Down Expand Up @@ -3452,6 +3499,41 @@
"smithy.api#documentation": "<p>Contains information about a finding.</p>"
}
},
"com.amazonaws.accessanalyzer#FindingAggregationAccountDetails": {
"type": "structure",
"members": {
"account": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>The ID of the Amazon Web Services account for which unused access finding details are provided.</p>"
}
},
"numberOfActiveFindings": {
"target": "smithy.api#Integer",
"traits": {
"smithy.api#documentation": "<p>The number of active unused access findings for the specified Amazon Web Services account.</p>"
}
},
"details": {
"target": "com.amazonaws.accessanalyzer#FindingAggregationAccountDetailsMap",
"traits": {
"smithy.api#documentation": "<p>Provides the number of active findings for each type of unused access for the specified\n Amazon Web Services account.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about the findings for an Amazon Web Services account in an organization unused\n access analyzer.</p>"
}
},
"com.amazonaws.accessanalyzer#FindingAggregationAccountDetailsMap": {
"type": "map",
"key": {
"target": "smithy.api#String"
},
"value": {
"target": "smithy.api#Integer"
}
},
"com.amazonaws.accessanalyzer#FindingChangeType": {
"type": "string",
"traits": {
Expand Down Expand Up @@ -3848,6 +3930,32 @@
"target": "com.amazonaws.accessanalyzer#FindingSummaryV2"
}
},
"com.amazonaws.accessanalyzer#FindingsStatistics": {
"type": "union",
"members": {
"externalAccessFindingsStatistics": {
"target": "com.amazonaws.accessanalyzer#ExternalAccessFindingsStatistics",
"traits": {
"smithy.api#documentation": "<p>The aggregate statistics for an external access analyzer.</p>"
}
},
"unusedAccessFindingsStatistics": {
"target": "com.amazonaws.accessanalyzer#UnusedAccessFindingsStatistics",
"traits": {
"smithy.api#documentation": "<p>The aggregate statistics for an unused access analyzer.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about the aggregate statistics for an external or unused access\n analyzer. Only one parameter can be used in a <code>FindingsStatistics</code>\n object.</p>"
}
},
"com.amazonaws.accessanalyzer#FindingsStatisticsList": {
"type": "list",
"member": {
"target": "com.amazonaws.accessanalyzer#FindingsStatistics"
}
},
"com.amazonaws.accessanalyzer#GenerateFindingRecommendation": {
"type": "operation",
"input": {
Expand Down Expand Up @@ -4746,6 +4854,79 @@
"smithy.api#output": {}
}
},
"com.amazonaws.accessanalyzer#GetFindingsStatistics": {
"type": "operation",
"input": {
"target": "com.amazonaws.accessanalyzer#GetFindingsStatisticsRequest"
},
"output": {
"target": "com.amazonaws.accessanalyzer#GetFindingsStatisticsResponse"
},
"errors": [
{
"target": "com.amazonaws.accessanalyzer#AccessDeniedException"
},
{
"target": "com.amazonaws.accessanalyzer#InternalServerException"
},
{
"target": "com.amazonaws.accessanalyzer#ResourceNotFoundException"
},
{
"target": "com.amazonaws.accessanalyzer#ThrottlingException"
},
{
"target": "com.amazonaws.accessanalyzer#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves a list of aggregated finding statistics for an external access or unused\n access analyzer.</p>",
"smithy.api#http": {
"uri": "/analyzer/findings/statistics",
"method": "POST",
"code": 200
},
"smithy.api#readonly": {},
"smithy.api#suppress": [
"HttpMethodSemantics"
]
}
},
"com.amazonaws.accessanalyzer#GetFindingsStatisticsRequest": {
"type": "structure",
"members": {
"analyzerArn": {
"target": "com.amazonaws.accessanalyzer#AnalyzerArn",
"traits": {
"smithy.api#documentation": "<p>The <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources\">ARN of\n the analyzer</a> used to generate the statistics.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#input": {}
}
},
"com.amazonaws.accessanalyzer#GetFindingsStatisticsResponse": {
"type": "structure",
"members": {
"findingsStatistics": {
"target": "com.amazonaws.accessanalyzer#FindingsStatisticsList",
"traits": {
"smithy.api#documentation": "<p>A group of external access or unused access findings statistics.</p>"
}
},
"lastUpdatedAt": {
"target": "com.amazonaws.accessanalyzer#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time at which the retrieval of the findings statistics was last updated. If the\n findings statistics have not been previously retrieved for the specified analyzer, this\n field will not be populated.</p>"
}
}
},
"traits": {
"smithy.api#output": {}
}
},
"com.amazonaws.accessanalyzer#GetGeneratedPolicy": {
"type": "operation",
"input": {
Expand Down Expand Up @@ -6691,6 +6872,35 @@
]
}
},
"com.amazonaws.accessanalyzer#ResourceTypeDetails": {
"type": "structure",
"members": {
"totalActivePublic": {
"target": "smithy.api#Integer",
"traits": {
"smithy.api#documentation": "<p>The total number of active public findings for the resource type.</p>"
}
},
"totalActiveCrossAccount": {
"target": "smithy.api#Integer",
"traits": {
"smithy.api#documentation": "<p>The total number of active cross-account findings for the resource type.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about the total number of active cross-account and public findings\n for a resource type of an external access analyzer.</p>"
}
},
"com.amazonaws.accessanalyzer#ResourceTypeStatisticsMap": {
"type": "map",
"key": {
"target": "com.amazonaws.accessanalyzer#ResourceType"
},
"value": {
"target": "com.amazonaws.accessanalyzer#ResourceTypeDetails"
}
},
"com.amazonaws.accessanalyzer#ResourcesList": {
"type": "list",
"member": {
Expand Down Expand Up @@ -7487,6 +7697,70 @@
"smithy.api#documentation": "<p>Contains information about an unused access analyzer.</p>"
}
},
"com.amazonaws.accessanalyzer#UnusedAccessFindingsStatistics": {
"type": "structure",
"members": {
"unusedAccessTypeStatistics": {
"target": "com.amazonaws.accessanalyzer#UnusedAccessTypeStatisticsList",
"traits": {
"smithy.api#documentation": "<p>A list of details about the total number of findings for each type of unused access for\n the analyzer. </p>"
}
},
"topAccounts": {
"target": "com.amazonaws.accessanalyzer#AccountAggregations",
"traits": {
"smithy.api#documentation": "<p>A list of one to ten Amazon Web Services accounts that have the most active findings for the unused\n access analyzer.</p>"
}
},
"totalActiveFindings": {
"target": "smithy.api#Integer",
"traits": {
"smithy.api#documentation": "<p>The total number of active findings for the unused access analyzer.</p>"
}
},
"totalArchivedFindings": {
"target": "smithy.api#Integer",
"traits": {
"smithy.api#documentation": "<p>The total number of archived findings for the unused access analyzer.</p>"
}
},
"totalResolvedFindings": {
"target": "smithy.api#Integer",
"traits": {
"smithy.api#documentation": "<p>The total number of resolved findings for the unused access analyzer.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Provides aggregate statistics about the findings for the specified unused access\n analyzer.</p>"
}
},
"com.amazonaws.accessanalyzer#UnusedAccessTypeStatistics": {
"type": "structure",
"members": {
"unusedAccessType": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>The type of unused access.</p>"
}
},
"total": {
"target": "smithy.api#Integer",
"traits": {
"smithy.api#documentation": "<p>The total number of findings for the specified unused access type.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about the total number of findings for a type of unused\n access.</p>"
}
},
"com.amazonaws.accessanalyzer#UnusedAccessTypeStatisticsList": {
"type": "list",
"member": {
"target": "com.amazonaws.accessanalyzer#UnusedAccessTypeStatistics"
}
},
"com.amazonaws.accessanalyzer#UnusedAction": {
"type": "structure",
"members": {
Expand Down
4 changes: 2 additions & 2 deletions codegen/sdk-codegen/aws-models/acm-pca.json
Original file line number Diff line number Diff line change
Expand Up @@ -2008,13 +2008,13 @@
"CrlType": {
"target": "com.amazonaws.acmpca#CrlType",
"traits": {
"smithy.api#documentation": "<p>Choose whether to use a partitioned or complete CRL. Your choice determines the maximum number of certificates that the certificate authority can issue and revoke, as described in the <a href=\"https://docs.aws.amazon.com/general/latest/gr/pca.html#limits_pca-connector-ad\">Amazon Web Services Private CA quotas</a>.</p>\n <ul>\n <li>\n <p>\n <code>PARTITIONED</code> - The default setting. Partitioned CRLs are an especially good option for devices that have limited processing power or storage capacity, such as certain IoT devices. Compared to complete CRLs, partitioned CRLs dramatically increase the number of certificates your private CA can issue. Each certificate that Amazon Web Services Private CA issues is bound to a specific CRL partition through the CRL distribution point (CDP) defined in <a href=\"https://datatracker.ietf.org/doc/html/rfc5280\">RFC 5280</a>.</p>\n <important>\n <p>To make sure that your client fetches the CRL from a valid endpoint, we recommend that you programmatically validate that the CRL's issuing distribution point (IDP) URI matches the certificate's CDP URI. Amazon Web Services Private CA marks the IDP extension as critical, which your client must be able to process.</p>\n </important>\n </li>\n <li>\n <p>\n <code>COMPLETE</code> - Amazon Web Services Private CA maintains a single CRL file for all unexpired certificates issued by a CA that have been revoked for any reason.</p>\n </li>\n </ul>"
"smithy.api#documentation": "<p>Specifies whether to create a complete or partitioned CRL. This setting determines the maximum \n\t\tnumber of certificates that the certificate authority can issue and revoke. For more information, see\n\t\t<a href=\"privateca/latest/userguide/pca.html#limits_pca\">Amazon Web Services Private CA quotas</a>.</p>\n <ul>\n <li>\n <p>\n <code>COMPLETE</code> - The default setting. Amazon Web Services Private CA maintains a single CRL file for all unexpired \n\t\t\t\tcertificates issued by a CA that have been revoked for any reason. Each certificate that Amazon Web Services Private CA\n\t\t\tissues is bound to a specific CRL through its CRL distribution point (CDP) extension, defined in <a href=\"https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.9\">\n\t\t\t\tRFC 5280</a>.</p>\n </li>\n <li>\n <p>\n <code>PARTITIONED</code> - Compared to complete CRLs, partitioned CRLs\n\t\t\tdramatically increase the number of certificates your private CA can issue. </p>\n <important>\n <p> When using partitioned CRLs, you must validate that the CRL's associated\n\t\t\t\t\t\tissuing distribution point (IDP) URI matches the certificate's CDP URI to ensure\n\t\t\t\t\t\tthe right CRL has been fetched. Amazon Web Services Private CA marks the IDP extension as critical, \n\t\t\t\t\t\twhich your client must be able to process.\n\t\t\t\t\t</p>\n </important>\n </li>\n </ul>"
}
},
"CustomPath": {
"target": "com.amazonaws.acmpca#CrlPathString",
"traits": {
"smithy.api#documentation": "<p>Designates a custom file path in S3 for CRL(s). For example, <code>http://&lt;CustomName&gt;/&lt;CustomPath&gt;/&lt;CrlPartition_GUID&gt;.crl</code>. You can change the custom path up to five times.</p>"
"smithy.api#documentation": "<p>Designates a custom file path in S3 for CRL(s). For example, <code>http://&lt;CustomName&gt;/\n\t\t\t&lt;CustomPath&gt;/&lt;CrlPartition_GUID&gt;.crl</code>. \n\t\t</p>"
}
}
},
Expand Down
Loading

0 comments on commit b19cecc

Please sign in to comment.