Skip to content

Commit

Permalink
Merge branch 'release-1.35.35'
Browse files Browse the repository at this point in the history
* release-1.35.35:
  Bumping version to 1.35.35
  Update endpoints model
  Update to latest models
  Bump codecov/codecov-action from 4.5.0 to 4.6.0
  • Loading branch information
aws-sdk-python-automation committed Oct 7, 2024
2 parents dbc8fd9 + a40ddcc commit 6f70001
Show file tree
Hide file tree
Showing 12 changed files with 2,477 additions and 75 deletions.
22 changes: 22 additions & 0 deletions .changes/1.35.35.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"category": "``deadline``",
"description": "Add support for using the template from a previous job during job creation and listing parameter definitions for a job.",
"type": "api-change"
},
{
"category": "``marketplace-reporting``",
"description": "Documentation-only update for AWS Marketplace Reporting API.",
"type": "api-change"
},
{
"category": "``qconnect``",
"description": "This release adds support for the following capabilities: Configuration of the Gen AI system via AIAgent and AIPrompts. Integration support for Bedrock Knowledge Base.",
"type": "api-change"
},
{
"category": "``redshift``",
"description": "Add validation pattern to S3KeyPrefix on the EnableLogging API",
"type": "api-change"
}
]
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: |
python scripts/ci/run-tests --with-cov --with-xdist
- name: Run codecov
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238
with:
directory: tests

Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
CHANGELOG
=========

1.35.35
=======

* api-change:``deadline``: Add support for using the template from a previous job during job creation and listing parameter definitions for a job.
* api-change:``marketplace-reporting``: Documentation-only update for AWS Marketplace Reporting API.
* api-change:``qconnect``: This release adds support for the following capabilities: Configuration of the Gen AI system via AIAgent and AIPrompts. Integration support for Bedrock Knowledge Base.
* api-change:``redshift``: Add validation pattern to S3KeyPrefix on the EnableLogging API


1.35.34
=======

Expand Down
2 changes: 1 addition & 1 deletion botocore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import os
import re

__version__ = '1.35.34'
__version__ = '1.35.35'


class NullHandler(logging.Handler):
Expand Down
6 changes: 6 additions & 0 deletions botocore/data/deadline/2023-10-12/paginators-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,12 @@
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "workers"
},
"ListJobParameterDefinitions": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "jobParameterDefinitions"
}
}
}
101 changes: 99 additions & 2 deletions botocore/data/deadline/2023-10-12/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,25 @@
"documentation":"<p>Lists members on a job.</p>",
"endpoint":{"hostPrefix":"management."}
},
"ListJobParameterDefinitions":{
"name":"ListJobParameterDefinitions",
"http":{
"method":"GET",
"requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/parameter-definitions",
"responseCode":200
},
"input":{"shape":"ListJobParameterDefinitionsRequest"},
"output":{"shape":"ListJobParameterDefinitionsResponse"},
"errors":[
{"shape":"AccessDeniedException"},
{"shape":"InternalServerErrorException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
{"shape":"ValidationException"}
],
"documentation":"<p>Lists parameter definitions of a job.</p>",
"endpoint":{"hostPrefix":"management."}
},
"ListJobs":{
"name":"ListJobs",
"http":{
Expand Down Expand Up @@ -3203,8 +3222,6 @@
"required":[
"farmId",
"queueId",
"template",
"templateType",
"priority"
],
"members":{
Expand Down Expand Up @@ -3262,6 +3279,10 @@
"maxRetriesPerTask":{
"shape":"MaxRetriesPerTask",
"documentation":"<p>The maximum number of retries for each task.</p>"
},
"sourceJobId":{
"shape":"JobId",
"documentation":"<p>The job ID for the source job.</p>"
}
}
},
Expand Down Expand Up @@ -5211,6 +5232,10 @@
"description":{
"shape":"JobDescription",
"documentation":"<p>The description of the job.</p> <important> <p>This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.</p> </important>"
},
"sourceJobId":{
"shape":"JobId",
"documentation":"<p>The job ID for the source job.</p>"
}
}
},
Expand Down Expand Up @@ -6693,6 +6718,16 @@
"documentation":"<p>The details of job parameters.</p>",
"union":true
},
"JobParameterDefinition":{
"type":"structure",
"members":{
},
"document":true
},
"JobParameterDefinitions":{
"type":"list",
"member":{"shape":"JobParameterDefinition"}
},
"JobParameters":{
"type":"map",
"key":{"shape":"String"},
Expand Down Expand Up @@ -6794,6 +6829,10 @@
"jobParameters":{
"shape":"JobParameters",
"documentation":"<p>The job parameters.</p>"
},
"sourceJobId":{
"shape":"JobId",
"documentation":"<p>The job ID for the source job.</p>"
}
},
"documentation":"<p>The details of a job search.</p>"
Expand Down Expand Up @@ -6877,6 +6916,10 @@
"maxRetriesPerTask":{
"shape":"MaxRetriesPerTask",
"documentation":"<p>The maximum number of retries for a job.</p>"
},
"sourceJobId":{
"shape":"JobId",
"documentation":"<p>The job ID for the source job.</p>"
}
},
"documentation":"<p>A summary of job details.</p>"
Expand Down Expand Up @@ -7260,6 +7303,60 @@
}
}
},
"ListJobParameterDefinitionsRequest":{
"type":"structure",
"required":[
"farmId",
"jobId",
"queueId"
],
"members":{
"farmId":{
"shape":"FarmId",
"documentation":"<p>The farm ID of the job to list.</p>",
"location":"uri",
"locationName":"farmId"
},
"jobId":{
"shape":"JobId",
"documentation":"<p>The job ID to include on the list.</p>",
"location":"uri",
"locationName":"jobId"
},
"queueId":{
"shape":"QueueId",
"documentation":"<p>The queue ID to include on the list.</p>",
"location":"uri",
"locationName":"queueId"
},
"nextToken":{
"shape":"String",
"documentation":"<p>The token for the next set of results, or <code>null</code> to start from the beginning.</p>",
"location":"querystring",
"locationName":"nextToken"
},
"maxResults":{
"shape":"MaxResults",
"documentation":"<p>The maximum number of results to return. Use this parameter with <code>NextToken</code> to get results as a set of sequential pages.</p>",
"location":"querystring",
"locationName":"maxResults"
}
}
},
"ListJobParameterDefinitionsResponse":{
"type":"structure",
"required":["jobParameterDefinitions"],
"members":{
"jobParameterDefinitions":{
"shape":"JobParameterDefinitions",
"documentation":"<p>Lists parameter definitions of a job.</p>"
},
"nextToken":{
"shape":"String",
"documentation":"<p>If Deadline Cloud returns <code>nextToken</code>, then there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then <code>nextToken</code> is set to <code>null</code>. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 <code>ValidationException</code> error.</p>"
}
}
},
"ListJobsRequest":{
"type":"structure",
"required":[
Expand Down
1 change: 1 addition & 0 deletions botocore/data/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -14266,6 +14266,7 @@
"eu-central-1" : { },
"eu-north-1" : { },
"eu-south-1" : { },
"eu-south-2" : { },
"eu-west-1" : { },
"eu-west-2" : { },
"eu-west-3" : { },
Expand Down
4 changes: 2 additions & 2 deletions botocore/data/marketplace-reporting/2018-05-10/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
{"shape":"BadRequestException"},
{"shape":"UnauthorizedException"}
],
"documentation":"<p>Generates an embedding URL for an Amazon QuickSight dashboard for an anonymous user.</p> <p>The following rules apply to a generated URL:</p> <ul> <li> <p>It contains a temporary bearer token, valid for 5 minutes after it is generated. Once redeemed within that period, it cannot be re-used again.</p> </li> <li> <p>It has a session lifetime of one hour. The 5-minute validity period runs separately from the session lifetime.</p> </li> </ul>"
"documentation":"<p>Generates an embedding URL for an Amazon QuickSight dashboard for an anonymous user.</p> <note> <p>This API is available only to Amazon Web Services Organization management accounts or delegated administrators registered for the procurement insights (<code>procurement-insights.marketplace.amazonaws.com</code>) feature.</p> </note> <p>The following rules apply to a generated URL:</p> <ul> <li> <p>It contains a temporary bearer token, valid for 5 minutes after it is generated. Once redeemed within that period, it cannot be re-used again.</p> </li> <li> <p>It has a session lifetime of one hour. The 5-minute validity period runs separately from the session lifetime.</p> </li> </ul>"
}
},
"shapes":{
Expand Down Expand Up @@ -137,5 +137,5 @@
"exception":true
}
},
"documentation":"<p>The AWS Marketplace <code>GetBuyerDashboard</code> API enables you to get a procurement insights dashboard programmatically. The API gets the agreement and cost analysis dashboards with data for all of the Amazon Web Services accounts in your Amazon Web Services organization. </p> <p>To use the API, you must complete the following prerequisites:</p> <ul> <li> <p>Enable all features for your organization. For more information, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">Enabling all features for an organization with Amazon Web Services Organizations</a>, in the <i>Amazon Web Services Organizations User Guide</i>.</p> </li> <li> <p>Call the service as the Amazon Web Services Organizations management account or an account registered as a delegated administrator for the procurement insights service. Users without management or delegated administrator accounts can use the dashboard, but they only see data for their accounts.</p> <p>For more information about management accounts, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tutorials_basic.html\">Tutorial: Creating and configuring an organization</a> and <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs-manage_accounts_management.html\">Managing the management account with Amazon Web Services Organizations</a>, both in the <i>Amazon Web Services Organizations User Guide</i>.</p> <p>For more information about delegated administrators, see <a href=\"https://docs.aws.amazon.com/marketplace/latest/buyerguide/management-delegates.html\">Using delegated administrators</a>, in the <i>AWS Marketplace Buyer Guide</i>.</p> </li> <li> <p>Create an IAM policy that enables the <code>aws-marketplace:GetBuyerDashboard</code> and <code>organizations:DescribeOrganization</code> permissions. In addition, the management account requires the <code>organizations:EnableAWSServiceAccess</code> and <code>iam:CreateServiceLinkedRole</code> permissions to create For more information about creating the policy, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html\">Policies and permissions in Amazon Web Services Identity and Access Management</a>, in the <i>IAM User Guide</i>.</p> </li> <li> <p>Use the Amazon Web Services Marketplace console to create the <code>AWSServiceRoleForProcurementInsightsPolicy</code> service-linked role. The role enables AWS Marketplace procurement visibility integration. The management account requires an IAM policy with the <code>organizations:EnableAWSServiceAccess</code> and <code>iam:CreateServiceLinkedRole</code> permissions to create the service-linked role and enable the service access. For more information, see <a href=\"https://docs.aws.amazon.com/marketplace/latest/buyerguide/orgs-access-slr.html\">Granting access to Amazon Web Services Organizations</a>, and <a href=\"https://docs.aws.amazon.com/marketplace/latest/buyerguide/buyer-service-linked-role-procurement.html\">Service-linked role to share procurement data</a>, in the <i>Amazon Web Services Marketplace Buyer Guide</i>.</p> </li> </ul>"
"documentation":"<p>The Amazon Web Services Marketplace <code>GetBuyerDashboard</code> API enables you to get a procurement insights dashboard programmatically. The API gets the agreement and cost analysis dashboards with data for all of the Amazon Web Services accounts in your Amazon Web Services Organization. </p> <p>To use the Amazon Web Services Marketplace Reporting API, you must complete the following prerequisites:</p> <ul> <li> <p>Enable all features for your organization. For more information, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">Enabling all features for an organization with Organizations</a>, in the <i>Organizations User Guide</i>.</p> </li> <li> <p>Call the service as the Organizations management account or an account registered as a delegated administrator for the procurement insights service.</p> <p>For more information about management accounts, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tutorials_basic.html\">Tutorial: Creating and configuring an organization</a> and <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs-manage_accounts_management.html\">Managing the management account with Organizations</a>, both in the <i>Organizations User Guide</i>.</p> <p>For more information about delegated administrators, see <a href=\"https://docs.aws.amazon.com/marketplace/latest/buyerguide/management-delegates.html\">Using delegated administrators</a>, in the <i>Amazon Web Services Marketplace Buyer Guide</i>.</p> </li> <li> <p>Create an IAM policy that enables the <code>aws-marketplace:GetBuyerDashboard</code> and <code>organizations:DescribeOrganization</code> permissions. In addition, the management account requires the <code>organizations:EnableAWSServiceAccess</code> and <code>iam:CreateServiceLinkedRole</code> permissions to create. For more information about creating the policy, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html\">Policies and permissions in Identity and Access Management</a>, in the <i>IAM User Guide</i>.</p> <note> <p>Access can be shared only by registering the desired linked account as a delegated administrator. That requires <code>organizations:RegisterDelegatedAdministrator</code> <code>organizations:ListDelegatedAdministrators</code> and <code>organizations:DeregisterDelegatedAdministrator</code> permissions.</p> </note> </li> <li> <p>Use the Amazon Web Services Marketplace console to create the <code>AWSServiceRoleForProcurementInsightsPolicy</code> service-linked role. The role enables Amazon Web Services Marketplace procurement visibility integration. The management account requires an IAM policy with the <code>organizations:EnableAWSServiceAccess</code> and <code>iam:CreateServiceLinkedRole</code> permissions to create the service-linked role and enable the service access. For more information, see <a href=\"https://docs.aws.amazon.com/marketplace/latest/buyerguide/orgs-access-slr.html\">Granting access to Organizations</a> and <a href=\"https://docs.aws.amazon.com/marketplace/latest/buyerguide/buyer-service-linked-role-procurement.html\">Service-linked role to share procurement data</a> in the <i>Amazon Web Services Marketplace Buyer Guide</i>.</p> </li> <li> <p>After creating the service-linked role, you must enable trusted access that grants Amazon Web Services Marketplace permission to access data from your Organizations. For more information, see <a href=\"https://docs.aws.amazon.com/marketplace/latest/buyerguide/orgs-access-slr.html\">Granting access to Organizations</a> in the <i>Amazon Web Services Marketplace Buyer Guide</i>.</p> </li> </ul>"
}
24 changes: 24 additions & 0 deletions botocore/data/qconnect/2020-10-19/paginators-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,30 @@
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "contentAssociationSummaries"
},
"ListAIAgentVersions": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "aiAgentVersionSummaries"
},
"ListAIAgents": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "aiAgentSummaries"
},
"ListAIPromptVersions": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "aiPromptVersionSummaries"
},
"ListAIPrompts": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "aiPromptSummaries"
}
}
}
Loading

0 comments on commit 6f70001

Please sign in to comment.