Skip to content

Commit 4740960

Browse files
Updating Bedrock Knowledge Base Metadata & Filters feature with two new filters listContains and stringContains
Task executions now display a CANCELLING status when an execution is in the process of being cancelled. This release adds new ServiceAccount and ServiceAccountToken APIs. Documentation-only update for AWS Security Hub Added support for importing medical imaging data from Amazon S3 buckets across accounts and regions. CodeBuild Reserved Capacity VPC Support
1 parent 93b764a commit 4740960

File tree

91 files changed

+7112
-1015
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+7112
-1015
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.328
1+
1.11.329

generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/RetrievalFilter.h

Lines changed: 522 additions & 190 deletions
Large diffs are not rendered by default.

generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/RetrievalFilter.cpp

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ RetrievalFilter::RetrievalFilter() :
2626
m_inHasBeenSet(false),
2727
m_lessThanHasBeenSet(false),
2828
m_lessThanOrEqualsHasBeenSet(false),
29+
m_listContainsHasBeenSet(false),
2930
m_notEqualsHasBeenSet(false),
3031
m_notInHasBeenSet(false),
3132
m_orAllHasBeenSet(false),
32-
m_startsWithHasBeenSet(false)
33+
m_startsWithHasBeenSet(false),
34+
m_stringContainsHasBeenSet(false)
3335
{
3436
}
3537

@@ -41,10 +43,12 @@ RetrievalFilter::RetrievalFilter(JsonView jsonValue) :
4143
m_inHasBeenSet(false),
4244
m_lessThanHasBeenSet(false),
4345
m_lessThanOrEqualsHasBeenSet(false),
46+
m_listContainsHasBeenSet(false),
4447
m_notEqualsHasBeenSet(false),
4548
m_notInHasBeenSet(false),
4649
m_orAllHasBeenSet(false),
47-
m_startsWithHasBeenSet(false)
50+
m_startsWithHasBeenSet(false),
51+
m_stringContainsHasBeenSet(false)
4852
{
4953
*this = jsonValue;
5054
}
@@ -103,6 +107,13 @@ RetrievalFilter& RetrievalFilter::operator =(JsonView jsonValue)
103107
m_lessThanOrEqualsHasBeenSet = true;
104108
}
105109

110+
if(jsonValue.ValueExists("listContains"))
111+
{
112+
m_listContains = jsonValue.GetObject("listContains");
113+
114+
m_listContainsHasBeenSet = true;
115+
}
116+
106117
if(jsonValue.ValueExists("notEquals"))
107118
{
108119
m_notEquals = jsonValue.GetObject("notEquals");
@@ -134,6 +145,13 @@ RetrievalFilter& RetrievalFilter::operator =(JsonView jsonValue)
134145
m_startsWithHasBeenSet = true;
135146
}
136147

148+
if(jsonValue.ValueExists("stringContains"))
149+
{
150+
m_stringContains = jsonValue.GetObject("stringContains");
151+
152+
m_stringContainsHasBeenSet = true;
153+
}
154+
137155
return *this;
138156
}
139157

@@ -188,6 +206,12 @@ JsonValue RetrievalFilter::Jsonize() const
188206

189207
}
190208

209+
if(m_listContainsHasBeenSet)
210+
{
211+
payload.WithObject("listContains", m_listContains.Jsonize());
212+
213+
}
214+
191215
if(m_notEqualsHasBeenSet)
192216
{
193217
payload.WithObject("notEquals", m_notEquals.Jsonize());
@@ -217,6 +241,12 @@ JsonValue RetrievalFilter::Jsonize() const
217241

218242
}
219243

244+
if(m_stringContainsHasBeenSet)
245+
{
246+
payload.WithObject("stringContains", m_stringContains.Jsonize());
247+
248+
}
249+
220250
return payload;
221251
}
222252

generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/Build.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -999,26 +999,26 @@ namespace Model
999999

10001000

10011001
/**
1002-
* <p>How long, in minutes, for CodeBuild to wait before timing out this build if
1003-
* it does not get marked as completed.</p>
1002+
* <p>How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before
1003+
* timing out this build if it does not get marked as completed.</p>
10041004
*/
10051005
inline int GetTimeoutInMinutes() const{ return m_timeoutInMinutes; }
10061006

10071007
/**
1008-
* <p>How long, in minutes, for CodeBuild to wait before timing out this build if
1009-
* it does not get marked as completed.</p>
1008+
* <p>How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before
1009+
* timing out this build if it does not get marked as completed.</p>
10101010
*/
10111011
inline bool TimeoutInMinutesHasBeenSet() const { return m_timeoutInMinutesHasBeenSet; }
10121012

10131013
/**
1014-
* <p>How long, in minutes, for CodeBuild to wait before timing out this build if
1015-
* it does not get marked as completed.</p>
1014+
* <p>How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before
1015+
* timing out this build if it does not get marked as completed.</p>
10161016
*/
10171017
inline void SetTimeoutInMinutes(int value) { m_timeoutInMinutesHasBeenSet = true; m_timeoutInMinutes = value; }
10181018

10191019
/**
1020-
* <p>How long, in minutes, for CodeBuild to wait before timing out this build if
1021-
* it does not get marked as completed.</p>
1020+
* <p>How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before
1021+
* timing out this build if it does not get marked as completed.</p>
10221022
*/
10231023
inline Build& WithTimeoutInMinutes(int value) { SetTimeoutInMinutes(value); return *this;}
10241024

generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/CreateFleetRequest.h

Lines changed: 103 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <aws/codebuild/model/ComputeType.h>
1212
#include <aws/codebuild/model/ScalingConfigurationInput.h>
1313
#include <aws/codebuild/model/FleetOverflowBehavior.h>
14+
#include <aws/codebuild/model/VpcConfig.h>
1415
#include <aws/core/utils/memory/stl/AWSVector.h>
1516
#include <aws/codebuild/model/Tag.h>
1617
#include <utility>
@@ -486,7 +487,12 @@ namespace Model
486487
* <code>QUEUE</code>, your overflow builds need to wait on the existing fleet
487488
* instance to become available.</p> </li> <li> <p>For overflow behavior
488489
* <code>ON_DEMAND</code>, your overflow builds run on CodeBuild on-demand.</p>
489-
* </li> </ul>
490+
* <p>If you choose to set your overflow behavior to on-demand while
491+
* creating a VPC-connected fleet, make sure that you add the required VPC
492+
* permissions to your project service role. For more information, see <a
493+
* href="https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface">Example
494+
* policy statement to allow CodeBuild access to Amazon Web Services services
495+
* required to create a VPC network interface</a>.</p> </li> </ul>
490496
*/
491497
inline const FleetOverflowBehavior& GetOverflowBehavior() const{ return m_overflowBehavior; }
492498

@@ -495,7 +501,12 @@ namespace Model
495501
* <code>QUEUE</code>, your overflow builds need to wait on the existing fleet
496502
* instance to become available.</p> </li> <li> <p>For overflow behavior
497503
* <code>ON_DEMAND</code>, your overflow builds run on CodeBuild on-demand.</p>
498-
* </li> </ul>
504+
* <p>If you choose to set your overflow behavior to on-demand while
505+
* creating a VPC-connected fleet, make sure that you add the required VPC
506+
* permissions to your project service role. For more information, see <a
507+
* href="https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface">Example
508+
* policy statement to allow CodeBuild access to Amazon Web Services services
509+
* required to create a VPC network interface</a>.</p> </li> </ul>
499510
*/
500511
inline bool OverflowBehaviorHasBeenSet() const { return m_overflowBehaviorHasBeenSet; }
501512

@@ -504,7 +515,12 @@ namespace Model
504515
* <code>QUEUE</code>, your overflow builds need to wait on the existing fleet
505516
* instance to become available.</p> </li> <li> <p>For overflow behavior
506517
* <code>ON_DEMAND</code>, your overflow builds run on CodeBuild on-demand.</p>
507-
* </li> </ul>
518+
* <p>If you choose to set your overflow behavior to on-demand while
519+
* creating a VPC-connected fleet, make sure that you add the required VPC
520+
* permissions to your project service role. For more information, see <a
521+
* href="https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface">Example
522+
* policy statement to allow CodeBuild access to Amazon Web Services services
523+
* required to create a VPC network interface</a>.</p> </li> </ul>
508524
*/
509525
inline void SetOverflowBehavior(const FleetOverflowBehavior& value) { m_overflowBehaviorHasBeenSet = true; m_overflowBehavior = value; }
510526

@@ -513,7 +529,12 @@ namespace Model
513529
* <code>QUEUE</code>, your overflow builds need to wait on the existing fleet
514530
* instance to become available.</p> </li> <li> <p>For overflow behavior
515531
* <code>ON_DEMAND</code>, your overflow builds run on CodeBuild on-demand.</p>
516-
* </li> </ul>
532+
* <p>If you choose to set your overflow behavior to on-demand while
533+
* creating a VPC-connected fleet, make sure that you add the required VPC
534+
* permissions to your project service role. For more information, see <a
535+
* href="https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface">Example
536+
* policy statement to allow CodeBuild access to Amazon Web Services services
537+
* required to create a VPC network interface</a>.</p> </li> </ul>
517538
*/
518539
inline void SetOverflowBehavior(FleetOverflowBehavior&& value) { m_overflowBehaviorHasBeenSet = true; m_overflowBehavior = std::move(value); }
519540

@@ -522,7 +543,12 @@ namespace Model
522543
* <code>QUEUE</code>, your overflow builds need to wait on the existing fleet
523544
* instance to become available.</p> </li> <li> <p>For overflow behavior
524545
* <code>ON_DEMAND</code>, your overflow builds run on CodeBuild on-demand.</p>
525-
* </li> </ul>
546+
* <p>If you choose to set your overflow behavior to on-demand while
547+
* creating a VPC-connected fleet, make sure that you add the required VPC
548+
* permissions to your project service role. For more information, see <a
549+
* href="https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface">Example
550+
* policy statement to allow CodeBuild access to Amazon Web Services services
551+
* required to create a VPC network interface</a>.</p> </li> </ul>
526552
*/
527553
inline CreateFleetRequest& WithOverflowBehavior(const FleetOverflowBehavior& value) { SetOverflowBehavior(value); return *this;}
528554

@@ -531,11 +557,76 @@ namespace Model
531557
* <code>QUEUE</code>, your overflow builds need to wait on the existing fleet
532558
* instance to become available.</p> </li> <li> <p>For overflow behavior
533559
* <code>ON_DEMAND</code>, your overflow builds run on CodeBuild on-demand.</p>
534-
* </li> </ul>
560+
* <p>If you choose to set your overflow behavior to on-demand while
561+
* creating a VPC-connected fleet, make sure that you add the required VPC
562+
* permissions to your project service role. For more information, see <a
563+
* href="https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface">Example
564+
* policy statement to allow CodeBuild access to Amazon Web Services services
565+
* required to create a VPC network interface</a>.</p> </li> </ul>
535566
*/
536567
inline CreateFleetRequest& WithOverflowBehavior(FleetOverflowBehavior&& value) { SetOverflowBehavior(std::move(value)); return *this;}
537568

538569

570+
571+
inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
572+
573+
574+
inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
575+
576+
577+
inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
578+
579+
580+
inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
581+
582+
583+
inline CreateFleetRequest& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
584+
585+
586+
inline CreateFleetRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
587+
588+
589+
/**
590+
* <p>The service role associated with the compute fleet.</p>
591+
*/
592+
inline const Aws::String& GetFleetServiceRole() const{ return m_fleetServiceRole; }
593+
594+
/**
595+
* <p>The service role associated with the compute fleet.</p>
596+
*/
597+
inline bool FleetServiceRoleHasBeenSet() const { return m_fleetServiceRoleHasBeenSet; }
598+
599+
/**
600+
* <p>The service role associated with the compute fleet.</p>
601+
*/
602+
inline void SetFleetServiceRole(const Aws::String& value) { m_fleetServiceRoleHasBeenSet = true; m_fleetServiceRole = value; }
603+
604+
/**
605+
* <p>The service role associated with the compute fleet.</p>
606+
*/
607+
inline void SetFleetServiceRole(Aws::String&& value) { m_fleetServiceRoleHasBeenSet = true; m_fleetServiceRole = std::move(value); }
608+
609+
/**
610+
* <p>The service role associated with the compute fleet.</p>
611+
*/
612+
inline void SetFleetServiceRole(const char* value) { m_fleetServiceRoleHasBeenSet = true; m_fleetServiceRole.assign(value); }
613+
614+
/**
615+
* <p>The service role associated with the compute fleet.</p>
616+
*/
617+
inline CreateFleetRequest& WithFleetServiceRole(const Aws::String& value) { SetFleetServiceRole(value); return *this;}
618+
619+
/**
620+
* <p>The service role associated with the compute fleet.</p>
621+
*/
622+
inline CreateFleetRequest& WithFleetServiceRole(Aws::String&& value) { SetFleetServiceRole(std::move(value)); return *this;}
623+
624+
/**
625+
* <p>The service role associated with the compute fleet.</p>
626+
*/
627+
inline CreateFleetRequest& WithFleetServiceRole(const char* value) { SetFleetServiceRole(value); return *this;}
628+
629+
539630
/**
540631
* <p>A list of tag key and value pairs associated with this compute fleet.</p>
541632
* <p>These tags are available for use by Amazon Web Services services that support
@@ -612,6 +703,12 @@ namespace Model
612703
FleetOverflowBehavior m_overflowBehavior;
613704
bool m_overflowBehaviorHasBeenSet = false;
614705

706+
VpcConfig m_vpcConfig;
707+
bool m_vpcConfigHasBeenSet = false;
708+
709+
Aws::String m_fleetServiceRole;
710+
bool m_fleetServiceRoleHasBeenSet = false;
711+
615712
Aws::Vector<Tag> m_tags;
616713
bool m_tagsHasBeenSet = false;
617714
};

0 commit comments

Comments
 (0)