diff --git a/CHANGELOG.md b/CHANGELOG.md index 313ac4afdc2..8d96a607f47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +Release v1.43.22 (2022-03-21) +=== + +### Service Client Updates +* `service/chime-sdk-meetings`: Updates service API and documentation +* `service/ecr`: Updates service documentation and paginators + * This release includes a fix in the DescribeImageScanFindings paginated output. +* `service/mediaconnect`: Updates service API and documentation +* `service/quicksight`: Updates service API and documentation + * AWS QuickSight Service Features - Expand public API support for group management. +* `service/ram`: Updates service documentation + Release v1.43.21 (2022-03-18) === diff --git a/aws/version.go b/aws/version.go index 94781da770d..79277614e23 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.43.21" +const SDKVersion = "1.43.22" diff --git a/models/apis/chime-sdk-meetings/2021-07-15/api-2.json b/models/apis/chime-sdk-meetings/2021-07-15/api-2.json index 0cfdfc98330..bace9cbc5c4 100644 --- a/models/apis/chime-sdk-meetings/2021-07-15/api-2.json +++ b/models/apis/chime-sdk-meetings/2021-07-15/api-2.json @@ -309,7 +309,8 @@ "MeetingHostId":{"shape":"ExternalUserId"}, "ExternalMeetingId":{"shape":"ExternalMeetingId"}, "NotificationsConfiguration":{"shape":"NotificationsConfiguration"}, - "MeetingFeatures":{"shape":"MeetingFeaturesConfiguration"} + "MeetingFeatures":{"shape":"MeetingFeaturesConfiguration"}, + "PrimaryMeetingId":{"shape":"PrimaryMeetingId"} } }, "CreateMeetingResponse":{ @@ -336,7 +337,8 @@ "ExternalMeetingId":{"shape":"ExternalMeetingId"}, "MeetingFeatures":{"shape":"MeetingFeaturesConfiguration"}, "NotificationsConfiguration":{"shape":"NotificationsConfiguration"}, - "Attendees":{"shape":"CreateMeetingWithAttendeesRequestItemList"} + "Attendees":{"shape":"CreateMeetingWithAttendeesRequestItemList"}, + "PrimaryMeetingId":{"shape":"PrimaryMeetingId"} } }, "CreateMeetingWithAttendeesRequestItemList":{ @@ -556,7 +558,8 @@ "ExternalMeetingId":{"shape":"ExternalMeetingId"}, "MediaRegion":{"shape":"MediaRegion"}, "MediaPlacement":{"shape":"MediaPlacement"}, - "MeetingFeatures":{"shape":"MeetingFeaturesConfiguration"} + "MeetingFeatures":{"shape":"MeetingFeaturesConfiguration"}, + "PrimaryMeetingId":{"shape":"PrimaryMeetingId"} } }, "MeetingFeatureStatus":{ @@ -590,6 +593,11 @@ "SqsQueueArn":{"shape":"Arn"} } }, + "PrimaryMeetingId":{ + "type":"string", + "max":64, + "min":2 + }, "ResultMax":{ "type":"integer", "max":100, diff --git a/models/apis/chime-sdk-meetings/2021-07-15/docs-2.json b/models/apis/chime-sdk-meetings/2021-07-15/docs-2.json index 705c3563e20..ecebab52c7a 100644 --- a/models/apis/chime-sdk-meetings/2021-07-15/docs-2.json +++ b/models/apis/chime-sdk-meetings/2021-07-15/docs-2.json @@ -290,6 +290,14 @@ "CreateMeetingWithAttendeesRequest$NotificationsConfiguration": "

The configuration for resource targets to receive notifications when meeting and attendee events occur.

" } }, + "PrimaryMeetingId": { + "base": null, + "refs": { + "CreateMeetingRequest$PrimaryMeetingId": "

When specified, replicates the media from the primary meeting to the new meeting.

", + "CreateMeetingWithAttendeesRequest$PrimaryMeetingId": "

When specified, replicates the media from the primary meeting to the new meeting.

", + "Meeting$PrimaryMeetingId": "

When specified, replicates the media from the primary meeting to this meeting.

" + } + }, "ResultMax": { "base": null, "refs": { diff --git a/models/apis/ecr/2015-09-21/docs-2.json b/models/apis/ecr/2015-09-21/docs-2.json index a3159cb8ba8..00962daf066 100644 --- a/models/apis/ecr/2015-09-21/docs-2.json +++ b/models/apis/ecr/2015-09-21/docs-2.json @@ -1686,7 +1686,7 @@ } }, "ScanningRepositoryFilter": { - "base": "

The details of a scanning repository filter.

", + "base": "

The details of a scanning repository filter. For more information on how to use filters, see Using filters in the Amazon Elastic Container Registry User Guide.

", "refs": { "ScanningRepositoryFilterList$member": null } diff --git a/models/apis/ecr/2015-09-21/paginators-1.json b/models/apis/ecr/2015-09-21/paginators-1.json index 00766c8265f..e382b79e440 100644 --- a/models/apis/ecr/2015-09-21/paginators-1.json +++ b/models/apis/ecr/2015-09-21/paginators-1.json @@ -11,7 +11,10 @@ "imageScanFindings" ], "output_token": "nextToken", - "result_key": "imageScanFindings.findings" + "result_key": [ + "imageScanFindings.findings", + "imageScanFindings.enhancedFindings" + ] }, "DescribeImages": { "input_token": "nextToken", diff --git a/models/apis/mediaconnect/2018-11-14/api-2.json b/models/apis/mediaconnect/2018-11-14/api-2.json index 02de22ca926..0e888b45c65 100644 --- a/models/apis/mediaconnect/2018-11-14/api-2.json +++ b/models/apis/mediaconnect/2018-11-14/api-2.json @@ -1117,6 +1117,23 @@ } } }, + "AddMaintenance": { + "type": "structure", + "members": { + "MaintenanceDay": { + "shape": "MaintenanceDay", + "locationName": "maintenanceDay" + }, + "MaintenanceStartHour": { + "shape": "__string", + "locationName": "maintenanceStartHour" + } + }, + "required": [ + "MaintenanceDay", + "MaintenanceStartHour" + ] + }, "AddMediaStreamRequest": { "type": "structure", "members": { @@ -1313,6 +1330,10 @@ "VpcInterfaces": { "shape": "__listOfVpcInterfaceRequest", "locationName": "vpcInterfaces" + }, + "Maintenance": { + "shape": "AddMaintenance", + "locationName": "maintenance" } }, "required": [ @@ -1700,6 +1721,10 @@ "VpcInterfaces": { "shape": "__listOfVpcInterface", "locationName": "vpcInterfaces" + }, + "Maintenance": { + "shape": "Maintenance", + "locationName": "maintenance" } }, "required": [ @@ -2141,6 +2166,10 @@ "Status": { "shape": "Status", "locationName": "status" + }, + "Maintenance": { + "shape": "Maintenance", + "locationName": "maintenance" } }, "required": [ @@ -2152,6 +2181,39 @@ "Name" ] }, + "Maintenance": { + "type": "structure", + "members": { + "MaintenanceDay": { + "shape": "MaintenanceDay", + "locationName": "maintenanceDay" + }, + "MaintenanceDeadline": { + "shape": "__string", + "locationName": "maintenanceDeadline" + }, + "MaintenanceScheduledDate": { + "shape": "__string", + "locationName": "maintenanceScheduledDate" + }, + "MaintenanceStartHour": { + "shape": "__string", + "locationName": "maintenanceStartHour" + } + } + }, + "MaintenanceDay": { + "type": "string", + "enum": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ] + }, "MaxResults": { "type": "integer", "min": 1, @@ -3442,6 +3504,10 @@ "SourceFailoverConfig": { "shape": "UpdateFailoverConfig", "locationName": "sourceFailoverConfig" + }, + "Maintenance": { + "shape": "UpdateMaintenance", + "locationName": "maintenance" } }, "required": [ @@ -3549,6 +3615,23 @@ } } }, + "UpdateMaintenance": { + "type": "structure", + "members": { + "MaintenanceDay": { + "shape": "MaintenanceDay", + "locationName": "maintenanceDay" + }, + "MaintenanceScheduledDate": { + "shape": "__string", + "locationName": "maintenanceScheduledDate" + }, + "MaintenanceStartHour": { + "shape": "__string", + "locationName": "maintenanceStartHour" + } + } + }, "VpcInterface": { "type": "structure", "members": { diff --git a/models/apis/mediaconnect/2018-11-14/docs-2.json b/models/apis/mediaconnect/2018-11-14/docs-2.json index 821e0a7d9da..eb1fa826b55 100644 --- a/models/apis/mediaconnect/2018-11-14/docs-2.json +++ b/models/apis/mediaconnect/2018-11-14/docs-2.json @@ -70,6 +70,12 @@ "base": "The result of a successful AddFlowVpcInterfaces request. The response includes the details of the newly added VPC interfaces.", "refs": {} }, + "AddMaintenance": { + "base": "Create maintenance setting for a flow", + "refs": { + "CreateFlowRequest$Maintenance": null + } + }, "AddMediaStreamRequest": { "base": "The media stream that you want to add to the flow.", "refs": { @@ -326,6 +332,21 @@ "__listOfListedFlow$member": null } }, + "Maintenance": { + "base": "The maintenance setting of a flow", + "refs": { + "Flow$Maintenance": null, + "ListedFlow$Maintenance": null + } + }, + "MaintenanceDay": { + "base": null, + "refs": { + "AddMaintenance$MaintenanceDay": "A day of a week when the maintenance will happen. Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.", + "Maintenance$MaintenanceDay": "A day of a week when the maintenance will happen. Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.", + "UpdateMaintenance$MaintenanceDay": "A day of a week when the maintenance will happen. use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday." + } + }, "MediaStream": { "base": "A single track or stream of media that contains video, audio, or ancillary data. After you add a media stream to a flow, you can associate it with sources and outputs on that flow, as long as they use the CDI protocol or the ST 2110 JPEG XS protocol. Each source or output can consist of one or many media streams.", "refs": { @@ -632,6 +653,12 @@ "base": "The result of a successful UpdateFlowSource request. The response includes the ARN of the flow that was updated and the updated source configuration.", "refs": {} }, + "UpdateMaintenance": { + "base": "Update maintenance setting for a flow", + "refs": { + "UpdateFlowRequest$Maintenance": null + } + }, "VpcInterface": { "base": "The settings for a VPC Source.", "refs": { @@ -893,6 +920,7 @@ "AddFlowOutputsResponse$FlowArn": "The ARN of the flow that these outputs were added to.", "AddFlowSourcesResponse$FlowArn": "The ARN of the flow that these sources were added to.", "AddFlowVpcInterfacesResponse$FlowArn": "The ARN of the flow that these VPC interfaces were added to.", + "AddMaintenance$MaintenanceStartHour": "UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.", "AddMediaStreamRequest$Description": "A description that can help you quickly identify what your media stream is used for.", "AddMediaStreamRequest$MediaStreamName": "A name that helps you distinguish one media stream from another.", "AddMediaStreamRequest$VideoFormat": "The resolution of the video.", @@ -944,6 +972,9 @@ "ListedFlow$Description": "A description of the flow.", "ListedFlow$FlowArn": "The ARN of the flow.", "ListedFlow$Name": "The name of the flow.", + "Maintenance$MaintenanceDeadline": "The Maintenance has to be performed before this deadline in ISO UTC format. Example: 2021-01-30T08:30:00Z.", + "Maintenance$MaintenanceScheduledDate": "A scheduled date in ISO UTC format when the maintenance will happen. Use YYYY-MM-DD format. Example: 2021-01-30.", + "Maintenance$MaintenanceStartHour": "UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.", "MediaStream$Description": "A description that can help you quickly identify what your media stream is used for.", "MediaStream$MediaStreamName": "A name that helps you distinguish one media stream from another.", "MediaStream$VideoFormat": "The resolution of the video.", @@ -1031,6 +1062,8 @@ "UpdateFlowSourceRequest$VpcInterfaceName": "The name of the VPC interface to use for this source.", "UpdateFlowSourceRequest$WhitelistCidr": "The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.", "UpdateFlowSourceResponse$FlowArn": "The ARN of the flow that you want to update.", + "UpdateMaintenance$MaintenanceScheduledDate": "A scheduled date in ISO UTC format when the maintenance will happen. Use YYYY-MM-DD format. Example: 2021-01-30.", + "UpdateMaintenance$MaintenanceStartHour": "UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.", "VpcInterface$Name": "Immutable and has to be a unique against other VpcInterfaces in this Flow.", "VpcInterface$RoleArn": "Role Arn MediaConnect can assumes to create ENIs in customer's account", "VpcInterface$SubnetId": "Subnet must be in the AZ of the Flow", diff --git a/models/apis/quicksight/2018-04-01/api-2.json b/models/apis/quicksight/2018-04-01/api-2.json index 0fccdcbb18c..33e563a1a09 100644 --- a/models/apis/quicksight/2018-04-01/api-2.json +++ b/models/apis/quicksight/2018-04-01/api-2.json @@ -863,6 +863,24 @@ {"shape":"ResourceUnavailableException"} ] }, + "DescribeGroupMembership":{ + "name":"DescribeGroupMembership", + "http":{ + "method":"GET", + "requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}" + }, + "input":{"shape":"DescribeGroupMembershipRequest"}, + "output":{"shape":"DescribeGroupMembershipResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"PreconditionNotMetException"}, + {"shape":"InternalFailureException"}, + {"shape":"ResourceUnavailableException"} + ] + }, "DescribeIAMPolicyAssignment":{ "name":"DescribeIAMPolicyAssignment", "http":{ @@ -1604,6 +1622,25 @@ {"shape":"InternalFailureException"} ] }, + "SearchGroups":{ + "name":"SearchGroups", + "http":{ + "method":"POST", + "requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/groups-search" + }, + "input":{"shape":"SearchGroupsRequest"}, + "output":{"shape":"SearchGroupsResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InvalidNextTokenException"}, + {"shape":"PreconditionNotMetException"}, + {"shape":"InternalFailureException"}, + {"shape":"ResourceUnavailableException"} + ] + }, "TagResource":{ "name":"TagResource", "http":{ @@ -4612,6 +4649,48 @@ "RequestId":{"shape":"String"} } }, + "DescribeGroupMembershipRequest":{ + "type":"structure", + "required":[ + "MemberName", + "GroupName", + "AwsAccountId", + "Namespace" + ], + "members":{ + "MemberName":{ + "shape":"GroupMemberName", + "location":"uri", + "locationName":"MemberName" + }, + "GroupName":{ + "shape":"GroupName", + "location":"uri", + "locationName":"GroupName" + }, + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "Namespace":{ + "shape":"Namespace", + "location":"uri", + "locationName":"Namespace" + } + } + }, + "DescribeGroupMembershipResponse":{ + "type":"structure", + "members":{ + "GroupMember":{"shape":"GroupMember"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, "DescribeGroupRequest":{ "type":"structure", "required":[ @@ -5453,6 +5532,14 @@ "max":512, "min":1 }, + "GroupFilterAttribute":{ + "type":"string", + "enum":["GROUP_NAME"] + }, + "GroupFilterOperator":{ + "type":"string", + "enum":["StartsWith"] + }, "GroupList":{ "type":"list", "member":{"shape":"Group"} @@ -5479,6 +5566,25 @@ "min":1, "pattern":"[\\u0020-\\u00FF]+" }, + "GroupSearchFilter":{ + "type":"structure", + "required":[ + "Operator", + "Name", + "Value" + ], + "members":{ + "Operator":{"shape":"GroupFilterOperator"}, + "Name":{"shape":"GroupFilterAttribute"}, + "Value":{"shape":"String"} + } + }, + "GroupSearchFilterList":{ + "type":"list", + "member":{"shape":"GroupSearchFilter"}, + "max":1, + "min":1 + }, "GutterStyle":{ "type":"structure", "members":{ @@ -7471,6 +7577,50 @@ "RequestId":{"shape":"String"} } }, + "SearchGroupsRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "Namespace", + "Filters" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"next-token" + }, + "MaxResults":{ + "shape":"MaxResults", + "box":true, + "location":"querystring", + "locationName":"max-results" + }, + "Namespace":{ + "shape":"Namespace", + "location":"uri", + "locationName":"Namespace" + }, + "Filters":{"shape":"GroupSearchFilterList"} + } + }, + "SearchGroupsResponse":{ + "type":"structure", + "members":{ + "GroupList":{"shape":"GroupList"}, + "NextToken":{"shape":"String"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, "ServiceNowParameters":{ "type":"structure", "required":["SiteBaseUrl"], diff --git a/models/apis/quicksight/2018-04-01/docs-2.json b/models/apis/quicksight/2018-04-01/docs-2.json index c2158b00a65..411986fa95e 100644 --- a/models/apis/quicksight/2018-04-01/docs-2.json +++ b/models/apis/quicksight/2018-04-01/docs-2.json @@ -10,7 +10,7 @@ "CreateDataSource": "

Creates a data source.

", "CreateFolder": "

Creates an empty shared folder.

", "CreateFolderMembership": "

Adds an asset, such as a dashboard, analysis, or dataset into a folder.

", - "CreateGroup": "

Creates an Amazon QuickSight group.

The permissions resource is arn:aws:quicksight:us-east-1:<relevant-aws-account-id>:group/default/<group-name> .

The response is a group object.

", + "CreateGroup": "

Creates an Amazon QuickSight group.

The permissions resource is arn:aws:quicksight:<your-region>:<relevant-aws-account-id>:group/default/<group-name> .

The response is a group object.

", "CreateGroupMembership": "

Adds an Amazon QuickSight user to an Amazon QuickSight group.

", "CreateIAMPolicyAssignment": "

Creates an assignment with one specified IAM policy, identified by its Amazon Resource Name (ARN). This policy assignment is attached to the specified groups or users of Amazon QuickSight. Assignment names are unique per Amazon Web Services account. To avoid overwriting rules in other namespaces, use assignment names that are unique.

", "CreateIngestion": "

Creates and starts a new SPICE ingestion for a dataset. You can manually refresh datasets in an Enterprise edition account 32 times in a 24-hour period. You can manually refresh datasets in a Standard edition account 8 times in a 24-hour period. Each 24-hour period is measured starting 24 hours before the current date and time.

Any ingestions operating on tagged datasets inherit the same tags automatically for use in access control. For an example, see How do I create an IAM policy to control access to Amazon EC2 resources using tags? in the Amazon Web Services Knowledge Center. Tags are visible on the tagged dataset, but not on the ingestion resource.

", @@ -50,6 +50,7 @@ "DescribeFolderPermissions": "

Describes permissions for a folder.

", "DescribeFolderResolvedPermissions": "

Describes the folder resolved permissions. Permissions consists of both folder direct permissions and the inherited permissions from the ancestor folders.

", "DescribeGroup": "

Returns an Amazon QuickSight group's description and Amazon Resource Name (ARN).

", + "DescribeGroupMembership": "

Use the DescribeGroupMembership operation to determine if a user is a member of the specified group. If the user exists and is a member of the specified group, an associated GroupMember object is returned.

", "DescribeIAMPolicyAssignment": "

Describes an existing IAM policy assignment, as specified by the assignment name.

", "DescribeIngestion": "

Describes a SPICE ingestion.

", "DescribeIpRestriction": "

Provides a summary and status of IP rules.

", @@ -92,6 +93,7 @@ "SearchAnalyses": "

Searches for analyses that belong to the user specified in the filter.

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

", "SearchDashboards": "

Searches for dashboards that belong to a user.

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

", "SearchFolders": "

Searches the subfolders in a folder.

", + "SearchGroups": "

Use the SearchGroups operation to search groups in a specified Amazon QuickSight namespace using the supplied filters.

", "TagResource": "

Assigns one or more tags (key-value pairs) to the specified Amazon QuickSight resource.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values. You can use the TagResource operation with a resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.

You can associate as many as 50 tags with a resource. Amazon QuickSight supports tagging on data set, data source, dashboard, and template.

Tagging for Amazon QuickSight works in a similar way to tagging for other Amazon Web Services services, except for the following:

", "UntagResource": "

Removes a tag or tags from a resource.

", "UpdateAccountCustomization": "

Updates Amazon QuickSight customizations the current Amazon Web Services Region. Currently, the only customization you can use is a theme.

You can use customizations for your Amazon Web Services account or, if you specify a namespace, for a Amazon QuickSight namespace instead. Customizations that apply to a namespace override customizations that apply to an Amazon Web Services account. To find out which customizations apply, use the DescribeAccountCustomization API operation.

", @@ -503,6 +505,7 @@ "DescribeFolderPermissionsRequest$AwsAccountId": "

The ID for the Amazon Web Services account that contains the folder.

", "DescribeFolderRequest$AwsAccountId": "

The ID for the Amazon Web Services account that contains the folder.

", "DescribeFolderResolvedPermissionsRequest$AwsAccountId": "

The ID for the Amazon Web Services account that contains the folder.

", + "DescribeGroupMembershipRequest$AwsAccountId": "

The ID for the Amazon Web Services account that the group is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.

", "DescribeGroupRequest$AwsAccountId": "

The ID for the Amazon Web Services account that the group is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.

", "DescribeIAMPolicyAssignmentRequest$AwsAccountId": "

The ID of the Amazon Web Services account that contains the assignment that you want to describe.

", "DescribeIngestionRequest$AwsAccountId": "

The Amazon Web Services account ID.

", @@ -546,6 +549,7 @@ "SearchAnalysesRequest$AwsAccountId": "

The ID of the Amazon Web Services account that contains the analyses that you're searching for.

", "SearchDashboardsRequest$AwsAccountId": "

The ID of the Amazon Web Services account that contains the user whose dashboards you're searching for.

", "SearchFoldersRequest$AwsAccountId": "

The ID for the Amazon Web Services account that contains the folder.

", + "SearchGroupsRequest$AwsAccountId": "

The ID for the Amazon Web Services account that the group is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.

", "UpdateAccountCustomizationRequest$AwsAccountId": "

The ID for the Amazon Web Services account that you want to update Amazon QuickSight customizations for.

", "UpdateAccountCustomizationResponse$AwsAccountId": "

The ID for the Amazon Web Services account that you want to update Amazon QuickSight customizations for.

", "UpdateAccountSettingsRequest$AwsAccountId": "

The ID for the Amazon Web Services account that contains the Amazon QuickSight settings that you want to list.

", @@ -1609,6 +1613,16 @@ "refs": { } }, + "DescribeGroupMembershipRequest": { + "base": null, + "refs": { + } + }, + "DescribeGroupMembershipResponse": { + "base": null, + "refs": { + } + }, "DescribeGroupRequest": { "base": null, "refs": { @@ -2013,17 +2027,31 @@ "UpdateGroupRequest$Description": "

The description for the group that you want to update.

" } }, + "GroupFilterAttribute": { + "base": null, + "refs": { + "GroupSearchFilter$Name": "

The name of the value that you want to use as a filter, for example \"Name\": \"GROUP_NAME\". Currently, the only supported name is GROUP_NAME.

" + } + }, + "GroupFilterOperator": { + "base": null, + "refs": { + "GroupSearchFilter$Operator": "

The comparison operator that you want to use as a filter, for example \"Operator\": \"StartsWith\". Currently, the only supported operator is StartsWith.

" + } + }, "GroupList": { "base": null, "refs": { "ListGroupsResponse$GroupList": "

The list of the groups.

", - "ListUserGroupsResponse$GroupList": "

The list of groups the user is a member of.

" + "ListUserGroupsResponse$GroupList": "

The list of groups the user is a member of.

", + "SearchGroupsResponse$GroupList": "

A list of groups in a specified namespace that match the filters you set in your SearchGroups request.

" } }, "GroupMember": { "base": "

A member of an Amazon QuickSight group. Currently, group members must be users. Groups can't be members of another group. .

", "refs": { "CreateGroupMembershipResponse$GroupMember": "

The group member.

", + "DescribeGroupMembershipResponse$GroupMember": null, "GroupMemberList$member": null } }, @@ -2038,6 +2066,7 @@ "refs": { "CreateGroupMembershipRequest$MemberName": "

The name of the user that you want to add to the group membership.

", "DeleteGroupMembershipRequest$MemberName": "

The name of the user that you want to delete from the group membership.

", + "DescribeGroupMembershipRequest$MemberName": "

The user name of the user that you want to search for.

", "GroupMember$MemberName": "

The name of the group member (user).

" } }, @@ -2048,12 +2077,25 @@ "CreateGroupRequest$GroupName": "

A name for the group that you want to create.

", "DeleteGroupMembershipRequest$GroupName": "

The name of the group that you want to delete the user from.

", "DeleteGroupRequest$GroupName": "

The name of the group that you want to delete.

", + "DescribeGroupMembershipRequest$GroupName": "

The name of the group that you want to search.

", "DescribeGroupRequest$GroupName": "

The name of the group that you want to describe.

", "Group$GroupName": "

The name of the group.

", "ListGroupMembershipsRequest$GroupName": "

The name of the group that you want to see a membership list of.

", "UpdateGroupRequest$GroupName": "

The name of the group that you want to update.

" } }, + "GroupSearchFilter": { + "base": "

A GroupSearchFilter object that you want to apply to your search.

", + "refs": { + "GroupSearchFilterList$member": null + } + }, + "GroupSearchFilterList": { + "base": null, + "refs": { + "SearchGroupsRequest$Filters": "

The structure for the search filters that you want to apply to your search.

" + } + }, "GutterStyle": { "base": "

The display options for gutter spacing between tiles on a sheet.

", "refs": { @@ -2655,7 +2697,8 @@ "ListUsersRequest$MaxResults": "

The maximum number of results to return from this request.

", "SearchAnalysesRequest$MaxResults": "

The maximum number of results to return.

", "SearchDashboardsRequest$MaxResults": "

The maximum number of results to be returned per request.

", - "SearchFoldersRequest$MaxResults": "

The maximum number of results to be returned per request.

" + "SearchFoldersRequest$MaxResults": "

The maximum number of results to be returned per request.

", + "SearchGroupsRequest$MaxResults": "

The maximum number of results to return from this request.

" } }, "MemberIdArnPair": { @@ -2684,28 +2727,29 @@ "AccountSettings$DefaultNamespace": "

The default Amazon QuickSight namespace for your Amazon Web Services account.

", "CreateAccountCustomizationRequest$Namespace": "

The Amazon QuickSight namespace that you want to add customizations to.

", "CreateAccountCustomizationResponse$Namespace": "

The namespace associated with the customization you're creating.

", - "CreateGroupMembershipRequest$Namespace": "

The namespace. Currently, you should set this to default.

", - "CreateGroupRequest$Namespace": "

The namespace. Currently, you should set this to default.

", + "CreateGroupMembershipRequest$Namespace": "

The namespace that you want the user to be a part of.

", + "CreateGroupRequest$Namespace": "

The namespace that you want the group to be a part of.

", "CreateIAMPolicyAssignmentRequest$Namespace": "

The namespace that contains the assignment.

", "CreateNamespaceRequest$Namespace": "

The name that you want to use to describe the new namespace.

", "CreateNamespaceResponse$Name": "

The name of the new namespace that you created.

", "DeleteAccountCustomizationRequest$Namespace": "

The Amazon QuickSight namespace that you're deleting the customizations from.

", - "DeleteGroupMembershipRequest$Namespace": "

The namespace. Currently, you should set this to default.

", - "DeleteGroupRequest$Namespace": "

The namespace. Currently, you should set this to default.

", + "DeleteGroupMembershipRequest$Namespace": "

The namespace of the group that you want to remove a user from.

", + "DeleteGroupRequest$Namespace": "

The namespace of the group that you want to delete.

", "DeleteIAMPolicyAssignmentRequest$Namespace": "

The namespace that contains the assignment.

", "DeleteNamespaceRequest$Namespace": "

The namespace that you want to delete.

", "DeleteUserByPrincipalIdRequest$Namespace": "

The namespace. Currently, you should set this to default.

", "DeleteUserRequest$Namespace": "

The namespace. Currently, you should set this to default.

", "DescribeAccountCustomizationRequest$Namespace": "

The Amazon QuickSight namespace that you want to describe Amazon QuickSight customizations for.

", "DescribeAccountCustomizationResponse$Namespace": "

The Amazon QuickSight namespace that you're describing.

", - "DescribeGroupRequest$Namespace": "

The namespace. Currently, you should set this to default.

", + "DescribeGroupMembershipRequest$Namespace": "

The namespace that includes the group you are searching within.

", + "DescribeGroupRequest$Namespace": "

The namespace of the group that you want described.

", "DescribeIAMPolicyAssignmentRequest$Namespace": "

The namespace that contains the assignment.

", "DescribeNamespaceRequest$Namespace": "

The namespace that you want to describe.

", "DescribeUserRequest$Namespace": "

The namespace. Currently, you should set this to default.

", "GenerateEmbedUrlForAnonymousUserRequest$Namespace": "

The Amazon QuickSight namespace that the anonymous user virtually belongs to. If you are not using an Amazon QuickSight custom namespace, set this to default.

", "GetDashboardEmbedUrlRequest$Namespace": "

The Amazon QuickSight namespace that contains the dashboard IDs in this request. If you're not using a custom namespace, set Namespace = default.

", - "ListGroupMembershipsRequest$Namespace": "

The namespace. Currently, you should set this to default.

", - "ListGroupsRequest$Namespace": "

The namespace. Currently, you should set this to default.

", + "ListGroupMembershipsRequest$Namespace": "

The namespace of the group that you want a list of users from.

", + "ListGroupsRequest$Namespace": "

The namespace that you want a list of groups from.

", "ListIAMPolicyAssignmentsForUserRequest$Namespace": "

The namespace of the assignment.

", "ListIAMPolicyAssignmentsRequest$Namespace": "

The namespace for the assignments.

", "ListUserGroupsRequest$Namespace": "

The namespace. Currently, you should set this to default.

", @@ -2713,10 +2757,11 @@ "NamespaceInfoV2$Name": "

The name of the error.

", "RegisterUserRequest$Namespace": "

The namespace. Currently, you should set this to default.

", "RowLevelPermissionDataSet$Namespace": "

The namespace associated with the dataset that contains permissions for RLS.

", + "SearchGroupsRequest$Namespace": "

The namespace that you want to search.

", "UpdateAccountCustomizationRequest$Namespace": "

The namespace that you want to update Amazon QuickSight customizations for.

", "UpdateAccountCustomizationResponse$Namespace": "

The namespace associated with the customization that you're updating.

", "UpdateAccountSettingsRequest$DefaultNamespace": "

The default namespace for this Amazon Web Services account. Currently, the default is default. Identity and Access Management (IAM) users that register for the first time with Amazon QuickSight provide an email that becomes associated with the default namespace.

", - "UpdateGroupRequest$Namespace": "

The namespace. Currently, you should set this to default.

", + "UpdateGroupRequest$Namespace": "

The namespace of the group that you want to update.

", "UpdateIAMPolicyAssignmentRequest$Namespace": "

The namespace of the assignment.

", "UpdateUserRequest$Namespace": "

The namespace. Currently, you should set this to default.

" } @@ -3253,8 +3298,8 @@ "RoleName": { "base": null, "refs": { - "RegisterUserRequest$CustomPermissionsName": "

(Enterprise edition only) The name of the custom permissions profile that you want to assign to this user. Customized permissions allows you to control a user's access by restricting access the following operations:

To add custom permissions to an existing user, use UpdateUser instead.

A set of custom permissions includes any combination of these restrictions. Currently, you need to create the profile names for custom permission sets by using the Amazon QuickSight console. Then, you use the RegisterUser API operation to assign the named set of permissions to a QuickSight user.

Amazon QuickSight custom permissions are applied through IAM policies. Therefore, they override the permissions typically granted by assigning Amazon QuickSight users to one of the default security cohorts in Amazon QuickSight (admin, author, reader).

This feature is available only to Amazon QuickSight Enterprise edition subscriptions.

", - "UpdateUserRequest$CustomPermissionsName": "

(Enterprise edition only) The name of the custom permissions profile that you want to assign to this user. Customized permissions allows you to control a user's access by restricting access the following operations:

A set of custom permissions includes any combination of these restrictions. Currently, you need to create the profile names for custom permission sets by using the Amazon QuickSight console. Then, you use the RegisterUser API operation to assign the named set of permissions to a QuickSight user.

Amazon QuickSight custom permissions are applied through IAM policies. Therefore, they override the permissions typically granted by assigning Amazon QuickSight users to one of the default security cohorts in Amazon QuickSight (admin, author, reader).

This feature is available only to Amazon QuickSight Enterprise edition subscriptions.

", + "RegisterUserRequest$CustomPermissionsName": "

(Enterprise edition only) The name of the custom permissions profile that you want to assign to this user. Customized permissions allows you to control a user's access by restricting access the following operations:

To add custom permissions to an existing user, use UpdateUser instead.

A set of custom permissions includes any combination of these restrictions. Currently, you need to create the profile names for custom permission sets by using the Amazon QuickSight console. Then, you use the RegisterUser API operation to assign the named set of permissions to a Amazon QuickSight user.

Amazon QuickSight custom permissions are applied through IAM policies. Therefore, they override the permissions typically granted by assigning Amazon QuickSight users to one of the default security cohorts in Amazon QuickSight (admin, author, reader).

This feature is available only to Amazon QuickSight Enterprise edition subscriptions.

", + "UpdateUserRequest$CustomPermissionsName": "

(Enterprise edition only) The name of the custom permissions profile that you want to assign to this user. Customized permissions allows you to control a user's access by restricting access the following operations:

A set of custom permissions includes any combination of these restrictions. Currently, you need to create the profile names for custom permission sets by using the Amazon QuickSight console. Then, you use the RegisterUser API operation to assign the named set of permissions to a Amazon QuickSight user.

Amazon QuickSight custom permissions are applied through IAM policies. Therefore, they override the permissions typically granted by assigning Amazon QuickSight users to one of the default security cohorts in Amazon QuickSight (admin, author, reader).

This feature is available only to Amazon QuickSight Enterprise edition subscriptions.

", "User$CustomPermissionsName": "

The custom permissions profile associated with this user.

" } }, @@ -3371,6 +3416,16 @@ "refs": { } }, + "SearchGroupsRequest": { + "base": null, + "refs": { + } + }, + "SearchGroupsResponse": { + "base": null, + "refs": { + } + }, "ServiceNowParameters": { "base": "

The parameters for ServiceNow.

", "refs": { @@ -3539,6 +3594,7 @@ "DescribeFolderPermissionsResponse$Status": "

The HTTP status of the request.

", "DescribeFolderResolvedPermissionsResponse$Status": "

The HTTP status of the request.

", "DescribeFolderResponse$Status": "

The HTTP status of the request.

", + "DescribeGroupMembershipResponse$Status": "

The HTTP status of the request.

", "DescribeGroupResponse$Status": "

The HTTP status of the request.

", "DescribeIAMPolicyAssignmentResponse$Status": "

The HTTP status of the request.

", "DescribeIngestionResponse$Status": "

The HTTP status of the request.

", @@ -3582,6 +3638,7 @@ "SearchAnalysesResponse$Status": "

The HTTP status of the request.

", "SearchDashboardsResponse$Status": "

The HTTP status of the request.

", "SearchFoldersResponse$Status": "

The HTTP status of the request.

", + "SearchGroupsResponse$Status": "

The HTTP status of the request.

", "TagResourceResponse$Status": "

The HTTP status of the request.

", "UntagResourceResponse$Status": "

The HTTP status of the request.

", "UpdateAccountCustomizationResponse$Status": "

The HTTP status of the request.

", @@ -3683,6 +3740,7 @@ "DescribeFolderPermissionsResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "DescribeFolderResolvedPermissionsResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "DescribeFolderResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", + "DescribeGroupMembershipResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "DescribeGroupResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "DescribeIAMPolicyAssignmentResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "DescribeIngestionRequest$DataSetId": "

The ID of the dataset used in the ingestion.

", @@ -3706,6 +3764,7 @@ "GetDashboardEmbedUrlResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "GetSessionEmbedUrlResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "Group$PrincipalId": "

The principal ID of the group.

", + "GroupSearchFilter$Value": "

The value of the named item, in this case GROUP_NAME, that you want to use as a filter.

", "IAMPolicyAssignment$AssignmentId": "

Assignment ID.

", "IdentityMap$key": null, "IdentityTypeNotSupportedException$Message": null, @@ -3817,6 +3876,9 @@ "SearchFoldersRequest$NextToken": "

The token for the next set of results, or null if there are no more results.

", "SearchFoldersResponse$NextToken": "

The token for the next set of results, or null if there are no more results.

", "SearchFoldersResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", + "SearchGroupsRequest$NextToken": "

A pagination token that can be used in a subsequent request.

", + "SearchGroupsResponse$NextToken": "

A pagination token that can be used in a subsequent request.

", + "SearchGroupsResponse$RequestId": "

The Amazon Web Services request ID for this operation.

", "SessionLifetimeInMinutesInvalidException$Message": null, "SessionLifetimeInMinutesInvalidException$RequestId": "

The Amazon Web Services request ID for this request.

", "StringList$member": null, diff --git a/models/apis/ram/2018-01-04/docs-2.json b/models/apis/ram/2018-01-04/docs-2.json index bc7385f5b78..b1dee0db303 100644 --- a/models/apis/ram/2018-01-04/docs-2.json +++ b/models/apis/ram/2018-01-04/docs-2.json @@ -21,7 +21,7 @@ "ListPrincipals": "

Lists the principals that you are sharing resources with or that are sharing resources with you.

", "ListResourceSharePermissions": "

Lists the RAM permissions that are associated with a resource share.

", "ListResourceTypes": "

Lists the resource types that can be shared by RAM.

", - "ListResources": "

Lists the resources that you added to a resource shares or the resources that are shared with you.

", + "ListResources": "

Lists the resources that you added to a resource share or the resources that are shared with you.

", "PromoteResourceShareCreatedFromPolicy": "

When you attach a resource-based permission policy to a resource, it automatically creates a resource share. However, resource shares created this way are visible only to the resource share owner, and the resource share can't be modified in RAM.

You can use this operation to promote the resource share to a full RAM resource share. When you promote a resource share, you can then manage the resource share in RAM and it becomes visible to all of the principals you shared it with.

", "RejectResourceShareInvitation": "

Rejects an invitation to a resource share from another Amazon Web Services account.

", "TagResource": "

Adds the specified tag keys and values to the specified resource share. The tags are attached only to the resource share, not to the resources that are in the resource share.

", @@ -430,9 +430,9 @@ "ResourceOwner": { "base": null, "refs": { - "GetResourceSharesRequest$resourceOwner": "

Specifies that you want to retrieve details of only those resource shares that match the following:

", - "ListPrincipalsRequest$resourceOwner": "

Specifies that you want to list information for only resource shares that match the following:

", - "ListResourcesRequest$resourceOwner": "

Specifies that you want to list only the resource shares that match the following:

" + "GetResourceSharesRequest$resourceOwner": "

Specifies that you want to retrieve details of only those resource shares that match the following:

", + "ListPrincipalsRequest$resourceOwner": "

Specifies that you want to list information for only resource shares that match the following:

", + "ListResourcesRequest$resourceOwner": "

Specifies that you want to list only the resource shares that match the following:

" } }, "ResourceRegionScope": { diff --git a/service/chimesdkmeetings/api.go b/service/chimesdkmeetings/api.go index 05c86268364..071d75ebfe7 100644 --- a/service/chimesdkmeetings/api.go +++ b/service/chimesdkmeetings/api.go @@ -1629,6 +1629,10 @@ type CreateMeetingInput struct { // The configuration for resource targets to receive notifications when meeting // and attendee events occur. NotificationsConfiguration *NotificationsConfiguration `type:"structure"` + + // When specified, replicates the media from the primary meeting to the new + // meeting. + PrimaryMeetingId *string `min:"2" type:"string"` } // String returns the string representation. @@ -1670,6 +1674,9 @@ func (s *CreateMeetingInput) Validate() error { if s.MeetingHostId != nil && len(*s.MeetingHostId) < 2 { invalidParams.Add(request.NewErrParamMinLen("MeetingHostId", 2)) } + if s.PrimaryMeetingId != nil && len(*s.PrimaryMeetingId) < 2 { + invalidParams.Add(request.NewErrParamMinLen("PrimaryMeetingId", 2)) + } if s.NotificationsConfiguration != nil { if err := s.NotificationsConfiguration.Validate(); err != nil { invalidParams.AddNested("NotificationsConfiguration", err.(request.ErrInvalidParams)) @@ -1718,6 +1725,12 @@ func (s *CreateMeetingInput) SetNotificationsConfiguration(v *NotificationsConfi return s } +// SetPrimaryMeetingId sets the PrimaryMeetingId field's value. +func (s *CreateMeetingInput) SetPrimaryMeetingId(v string) *CreateMeetingInput { + s.PrimaryMeetingId = &v + return s +} + type CreateMeetingOutput struct { _ struct{} `type:"structure"` @@ -1799,6 +1812,10 @@ type CreateMeetingWithAttendeesInput struct { // The configuration for resource targets to receive notifications when meeting // and attendee events occur. NotificationsConfiguration *NotificationsConfiguration `type:"structure"` + + // When specified, replicates the media from the primary meeting to the new + // meeting. + PrimaryMeetingId *string `min:"2" type:"string"` } // String returns the string representation. @@ -1846,6 +1863,9 @@ func (s *CreateMeetingWithAttendeesInput) Validate() error { if s.MeetingHostId != nil && len(*s.MeetingHostId) < 2 { invalidParams.Add(request.NewErrParamMinLen("MeetingHostId", 2)) } + if s.PrimaryMeetingId != nil && len(*s.PrimaryMeetingId) < 2 { + invalidParams.Add(request.NewErrParamMinLen("PrimaryMeetingId", 2)) + } if s.Attendees != nil { for i, v := range s.Attendees { if v == nil { @@ -1910,6 +1930,12 @@ func (s *CreateMeetingWithAttendeesInput) SetNotificationsConfiguration(v *Notif return s } +// SetPrimaryMeetingId sets the PrimaryMeetingId field's value. +func (s *CreateMeetingWithAttendeesInput) SetPrimaryMeetingId(v string) *CreateMeetingWithAttendeesInput { + s.PrimaryMeetingId = &v + return s +} + type CreateMeetingWithAttendeesOutput struct { _ struct{} `type:"structure"` @@ -2965,6 +2991,9 @@ type Meeting struct { // The Amazon Chime SDK meeting ID. MeetingId *string `type:"string"` + + // When specified, replicates the media from the primary meeting to this meeting. + PrimaryMeetingId *string `min:"2" type:"string"` } // String returns the string representation. @@ -3021,6 +3050,12 @@ func (s *Meeting) SetMeetingId(v string) *Meeting { return s } +// SetPrimaryMeetingId sets the PrimaryMeetingId field's value. +func (s *Meeting) SetPrimaryMeetingId(v string) *Meeting { + s.PrimaryMeetingId = &v + return s +} + // The configuration settings of the features available to a meeting.> type MeetingFeaturesConfiguration struct { _ struct{} `type:"structure"` diff --git a/service/ecr/api.go b/service/ecr/api.go index 9920230c19f..bcfef8bc80e 100644 --- a/service/ecr/api.go +++ b/service/ecr/api.go @@ -12662,7 +12662,9 @@ func (s *ScanNotFoundException) RequestID() string { return s.RespMetadata.RequestID } -// The details of a scanning repository filter. +// The details of a scanning repository filter. For more information on how +// to use filters, see Using filters (https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html#image-scanning-filters) +// in the Amazon Elastic Container Registry User Guide. type ScanningRepositoryFilter struct { _ struct{} `type:"structure"` diff --git a/service/mediaconnect/api.go b/service/mediaconnect/api.go index 8e82acf1f51..ec9e6ff14a5 100644 --- a/service/mediaconnect/api.go +++ b/service/mediaconnect/api.go @@ -3894,6 +3894,68 @@ func (s *AddFlowVpcInterfacesOutput) SetVpcInterfaces(v []*VpcInterface) *AddFlo return s } +// Create maintenance setting for a flow +type AddMaintenance struct { + _ struct{} `type:"structure"` + + // A day of a week when the maintenance will happen. Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday. + // + // MaintenanceDay is a required field + MaintenanceDay *string `locationName:"maintenanceDay" type:"string" required:"true" enum:"MaintenanceDay"` + + // UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes + // must be 00. Example: 13:00. The default value is 02:00. + // + // MaintenanceStartHour is a required field + MaintenanceStartHour *string `locationName:"maintenanceStartHour" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AddMaintenance) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AddMaintenance) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AddMaintenance) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AddMaintenance"} + if s.MaintenanceDay == nil { + invalidParams.Add(request.NewErrParamRequired("MaintenanceDay")) + } + if s.MaintenanceStartHour == nil { + invalidParams.Add(request.NewErrParamRequired("MaintenanceStartHour")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaintenanceDay sets the MaintenanceDay field's value. +func (s *AddMaintenance) SetMaintenanceDay(v string) *AddMaintenance { + s.MaintenanceDay = &v + return s +} + +// SetMaintenanceStartHour sets the MaintenanceStartHour field's value. +func (s *AddMaintenance) SetMaintenanceStartHour(v string) *AddMaintenance { + s.MaintenanceStartHour = &v + return s +} + // The media stream that you want to add to the flow. type AddMediaStreamRequest struct { _ struct{} `type:"structure"` @@ -4352,6 +4414,9 @@ type CreateFlowInput struct { // The entitlements that you want to grant on a flow. Entitlements []*GrantEntitlementRequest `locationName:"entitlements" type:"list"` + // Create maintenance setting for a flow + Maintenance *AddMaintenance `locationName:"maintenance" type:"structure"` + // The media streams that you want to add to the flow. You can associate these // media streams with sources and outputs on the flow. MediaStreams []*AddMediaStreamRequest `locationName:"mediaStreams" type:"list"` @@ -4410,6 +4475,11 @@ func (s *CreateFlowInput) Validate() error { } } } + if s.Maintenance != nil { + if err := s.Maintenance.Validate(); err != nil { + invalidParams.AddNested("Maintenance", err.(request.ErrInvalidParams)) + } + } if s.MediaStreams != nil { for i, v := range s.MediaStreams { if v == nil { @@ -4474,6 +4544,12 @@ func (s *CreateFlowInput) SetEntitlements(v []*GrantEntitlementRequest) *CreateF return s } +// SetMaintenance sets the Maintenance field's value. +func (s *CreateFlowInput) SetMaintenance(v *AddMaintenance) *CreateFlowInput { + s.Maintenance = v + return s +} + // SetMediaStreams sets the MediaStreams field's value. func (s *CreateFlowInput) SetMediaStreams(v []*AddMediaStreamRequest) *CreateFlowInput { s.MediaStreams = v @@ -5482,6 +5558,9 @@ type Flow struct { // FlowArn is a required field FlowArn *string `locationName:"flowArn" type:"string" required:"true"` + // The maintenance setting of a flow + Maintenance *Maintenance `locationName:"maintenance" type:"structure"` + // The media streams that are associated with the flow. After you associate // a media stream with a source, you can also associate it with outputs on the // flow. @@ -5564,6 +5643,12 @@ func (s *Flow) SetFlowArn(v string) *Flow { return s } +// SetMaintenance sets the Maintenance field's value. +func (s *Flow) SetMaintenance(v *Maintenance) *Flow { + s.Maintenance = v + return s +} + // SetMediaStreams sets the MediaStreams field's value. func (s *Flow) SetMediaStreams(v []*MediaStream) *Flow { s.MediaStreams = v @@ -6962,6 +7047,9 @@ type ListedFlow struct { // FlowArn is a required field FlowArn *string `locationName:"flowArn" type:"string" required:"true"` + // The maintenance setting of a flow + Maintenance *Maintenance `locationName:"maintenance" type:"structure"` + // The name of the flow. // // Name is a required field @@ -7017,6 +7105,12 @@ func (s *ListedFlow) SetFlowArn(v string) *ListedFlow { return s } +// SetMaintenance sets the Maintenance field's value. +func (s *ListedFlow) SetMaintenance(v *Maintenance) *ListedFlow { + s.Maintenance = v + return s +} + // SetName sets the Name field's value. func (s *ListedFlow) SetName(v string) *ListedFlow { s.Name = &v @@ -7035,6 +7129,68 @@ func (s *ListedFlow) SetStatus(v string) *ListedFlow { return s } +// The maintenance setting of a flow +type Maintenance struct { + _ struct{} `type:"structure"` + + // A day of a week when the maintenance will happen. Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday. + MaintenanceDay *string `locationName:"maintenanceDay" type:"string" enum:"MaintenanceDay"` + + // The Maintenance has to be performed before this deadline in ISO UTC format. + // Example: 2021-01-30T08:30:00Z. + MaintenanceDeadline *string `locationName:"maintenanceDeadline" type:"string"` + + // A scheduled date in ISO UTC format when the maintenance will happen. Use + // YYYY-MM-DD format. Example: 2021-01-30. + MaintenanceScheduledDate *string `locationName:"maintenanceScheduledDate" type:"string"` + + // UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes + // must be 00. Example: 13:00. The default value is 02:00. + MaintenanceStartHour *string `locationName:"maintenanceStartHour" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Maintenance) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Maintenance) GoString() string { + return s.String() +} + +// SetMaintenanceDay sets the MaintenanceDay field's value. +func (s *Maintenance) SetMaintenanceDay(v string) *Maintenance { + s.MaintenanceDay = &v + return s +} + +// SetMaintenanceDeadline sets the MaintenanceDeadline field's value. +func (s *Maintenance) SetMaintenanceDeadline(v string) *Maintenance { + s.MaintenanceDeadline = &v + return s +} + +// SetMaintenanceScheduledDate sets the MaintenanceScheduledDate field's value. +func (s *Maintenance) SetMaintenanceScheduledDate(v string) *Maintenance { + s.MaintenanceScheduledDate = &v + return s +} + +// SetMaintenanceStartHour sets the MaintenanceStartHour field's value. +func (s *Maintenance) SetMaintenanceStartHour(v string) *Maintenance { + s.MaintenanceStartHour = &v + return s +} + // A single track or stream of media that contains video, audio, or ancillary // data. After you add a media stream to a flow, you can associate it with sources // and outputs on that flow, as long as they use the CDI protocol or the ST @@ -10124,6 +10280,9 @@ type UpdateFlowInput struct { // FlowArn is a required field FlowArn *string `location:"uri" locationName:"flowArn" type:"string" required:"true"` + // Update maintenance setting for a flow + Maintenance *UpdateMaintenance `locationName:"maintenance" type:"structure"` + // The settings for source failover. SourceFailoverConfig *UpdateFailoverConfig `locationName:"sourceFailoverConfig" type:"structure"` } @@ -10168,6 +10327,12 @@ func (s *UpdateFlowInput) SetFlowArn(v string) *UpdateFlowInput { return s } +// SetMaintenance sets the Maintenance field's value. +func (s *UpdateFlowInput) SetMaintenance(v *UpdateMaintenance) *UpdateFlowInput { + s.Maintenance = v + return s +} + // SetSourceFailoverConfig sets the SourceFailoverConfig field's value. func (s *UpdateFlowInput) SetSourceFailoverConfig(v *UpdateFailoverConfig) *UpdateFlowInput { s.SourceFailoverConfig = v @@ -10882,6 +11047,58 @@ func (s *UpdateFlowSourceOutput) SetSource(v *Source) *UpdateFlowSourceOutput { return s } +// Update maintenance setting for a flow +type UpdateMaintenance struct { + _ struct{} `type:"structure"` + + // A day of a week when the maintenance will happen. use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday. + MaintenanceDay *string `locationName:"maintenanceDay" type:"string" enum:"MaintenanceDay"` + + // A scheduled date in ISO UTC format when the maintenance will happen. Use + // YYYY-MM-DD format. Example: 2021-01-30. + MaintenanceScheduledDate *string `locationName:"maintenanceScheduledDate" type:"string"` + + // UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes + // must be 00. Example: 13:00. The default value is 02:00. + MaintenanceStartHour *string `locationName:"maintenanceStartHour" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateMaintenance) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateMaintenance) GoString() string { + return s.String() +} + +// SetMaintenanceDay sets the MaintenanceDay field's value. +func (s *UpdateMaintenance) SetMaintenanceDay(v string) *UpdateMaintenance { + s.MaintenanceDay = &v + return s +} + +// SetMaintenanceScheduledDate sets the MaintenanceScheduledDate field's value. +func (s *UpdateMaintenance) SetMaintenanceScheduledDate(v string) *UpdateMaintenance { + s.MaintenanceScheduledDate = &v + return s +} + +// SetMaintenanceStartHour sets the MaintenanceStartHour field's value. +func (s *UpdateMaintenance) SetMaintenanceStartHour(v string) *UpdateMaintenance { + s.MaintenanceStartHour = &v + return s +} + // The settings for a VPC Source. type VpcInterface struct { _ struct{} `type:"structure"` @@ -11263,6 +11480,42 @@ func KeyType_Values() []string { } } +const ( + // MaintenanceDayMonday is a MaintenanceDay enum value + MaintenanceDayMonday = "Monday" + + // MaintenanceDayTuesday is a MaintenanceDay enum value + MaintenanceDayTuesday = "Tuesday" + + // MaintenanceDayWednesday is a MaintenanceDay enum value + MaintenanceDayWednesday = "Wednesday" + + // MaintenanceDayThursday is a MaintenanceDay enum value + MaintenanceDayThursday = "Thursday" + + // MaintenanceDayFriday is a MaintenanceDay enum value + MaintenanceDayFriday = "Friday" + + // MaintenanceDaySaturday is a MaintenanceDay enum value + MaintenanceDaySaturday = "Saturday" + + // MaintenanceDaySunday is a MaintenanceDay enum value + MaintenanceDaySunday = "Sunday" +) + +// MaintenanceDay_Values returns all elements of the MaintenanceDay enum +func MaintenanceDay_Values() []string { + return []string{ + MaintenanceDayMonday, + MaintenanceDayTuesday, + MaintenanceDayWednesday, + MaintenanceDayThursday, + MaintenanceDayFriday, + MaintenanceDaySaturday, + MaintenanceDaySunday, + } +} + const ( // MediaStreamTypeVideo is a MediaStreamType enum value MediaStreamTypeVideo = "video" diff --git a/service/quicksight/api.go b/service/quicksight/api.go index 9afa57348d7..d24aa7262c5 100644 --- a/service/quicksight/api.go +++ b/service/quicksight/api.go @@ -921,7 +921,7 @@ func (c *QuickSight) CreateGroupRequest(input *CreateGroupInput) (req *request.R // // Creates an Amazon QuickSight group. // -// The permissions resource is arn:aws:quicksight:us-east-1::group/default/ . +// The permissions resource is arn:aws:quicksight:::group/default/ . // // The response is a group object. // @@ -5001,6 +5001,109 @@ func (c *QuickSight) DescribeGroupWithContext(ctx aws.Context, input *DescribeGr return out, req.Send() } +const opDescribeGroupMembership = "DescribeGroupMembership" + +// DescribeGroupMembershipRequest generates a "aws/request.Request" representing the +// client's request for the DescribeGroupMembership operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeGroupMembership for more information on using the DescribeGroupMembership +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeGroupMembershipRequest method. +// req, resp := client.DescribeGroupMembershipRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeGroupMembership +func (c *QuickSight) DescribeGroupMembershipRequest(input *DescribeGroupMembershipInput) (req *request.Request, output *DescribeGroupMembershipOutput) { + op := &request.Operation{ + Name: opDescribeGroupMembership, + HTTPMethod: "GET", + HTTPPath: "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}", + } + + if input == nil { + input = &DescribeGroupMembershipInput{} + } + + output = &DescribeGroupMembershipOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeGroupMembership API operation for Amazon QuickSight. +// +// Use the DescribeGroupMembership operation to determine if a user is a member +// of the specified group. If the user exists and is a member of the specified +// group, an associated GroupMember object is returned. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon QuickSight's +// API operation DescribeGroupMembership for usage and error information. +// +// Returned Error Types: +// * AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// * InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// * ResourceNotFoundException +// One or more resources can't be found. +// +// * ThrottlingException +// Access is throttled. +// +// * PreconditionNotMetException +// One or more preconditions aren't met. +// +// * InternalFailureException +// An internal failure occurred. +// +// * ResourceUnavailableException +// This resource is currently unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeGroupMembership +func (c *QuickSight) DescribeGroupMembership(input *DescribeGroupMembershipInput) (*DescribeGroupMembershipOutput, error) { + req, out := c.DescribeGroupMembershipRequest(input) + return out, req.Send() +} + +// DescribeGroupMembershipWithContext is the same as DescribeGroupMembership with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeGroupMembership for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *QuickSight) DescribeGroupMembershipWithContext(ctx aws.Context, input *DescribeGroupMembershipInput, opts ...request.Option) (*DescribeGroupMembershipOutput, error) { + req, out := c.DescribeGroupMembershipRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeIAMPolicyAssignment = "DescribeIAMPolicyAssignment" // DescribeIAMPolicyAssignmentRequest generates a "aws/request.Request" representing the @@ -10168,6 +10271,111 @@ func (c *QuickSight) SearchFoldersWithContext(ctx aws.Context, input *SearchFold return out, req.Send() } +const opSearchGroups = "SearchGroups" + +// SearchGroupsRequest generates a "aws/request.Request" representing the +// client's request for the SearchGroups operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See SearchGroups for more information on using the SearchGroups +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the SearchGroupsRequest method. +// req, resp := client.SearchGroupsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchGroups +func (c *QuickSight) SearchGroupsRequest(input *SearchGroupsInput) (req *request.Request, output *SearchGroupsOutput) { + op := &request.Operation{ + Name: opSearchGroups, + HTTPMethod: "POST", + HTTPPath: "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups-search", + } + + if input == nil { + input = &SearchGroupsInput{} + } + + output = &SearchGroupsOutput{} + req = c.newRequest(op, input, output) + return +} + +// SearchGroups API operation for Amazon QuickSight. +// +// Use the SearchGroups operation to search groups in a specified Amazon QuickSight +// namespace using the supplied filters. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon QuickSight's +// API operation SearchGroups for usage and error information. +// +// Returned Error Types: +// * AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// * InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// * ResourceNotFoundException +// One or more resources can't be found. +// +// * ThrottlingException +// Access is throttled. +// +// * InvalidNextTokenException +// The NextToken value isn't valid. +// +// * PreconditionNotMetException +// One or more preconditions aren't met. +// +// * InternalFailureException +// An internal failure occurred. +// +// * ResourceUnavailableException +// This resource is currently unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchGroups +func (c *QuickSight) SearchGroups(input *SearchGroupsInput) (*SearchGroupsOutput, error) { + req, out := c.SearchGroupsRequest(input) + return out, req.Send() +} + +// SearchGroupsWithContext is the same as SearchGroups with the addition of +// the ability to pass a context and additional request options. +// +// See SearchGroups for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *QuickSight) SearchGroupsWithContext(ctx aws.Context, input *SearchGroupsInput, opts ...request.Option) (*SearchGroupsOutput, error) { + req, out := c.SearchGroupsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opTagResource = "TagResource" // TagResourceRequest generates a "aws/request.Request" representing the @@ -16418,7 +16626,7 @@ type CreateGroupInput struct { // GroupName is a required field GroupName *string `min:"1" type:"string" required:"true"` - // The namespace. Currently, you should set this to default. + // The namespace that you want the group to be a part of. // // Namespace is a required field Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` @@ -16517,7 +16725,7 @@ type CreateGroupMembershipInput struct { // MemberName is a required field MemberName *string `location:"uri" locationName:"MemberName" min:"1" type:"string" required:"true"` - // The namespace. Currently, you should set this to default. + // The namespace that you want the user to be a part of. // // Namespace is a required field Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` @@ -21075,7 +21283,7 @@ type DeleteGroupInput struct { // GroupName is a required field GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"` - // The namespace. Currently, you should set this to default. + // The namespace of the group that you want to delete. // // Namespace is a required field Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` @@ -21165,7 +21373,7 @@ type DeleteGroupMembershipInput struct { // MemberName is a required field MemberName *string `location:"uri" locationName:"MemberName" min:"1" type:"string" required:"true"` - // The namespace. Currently, you should set this to default. + // The namespace of the group that you want to remove a user from. // // Namespace is a required field Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` @@ -24097,7 +24305,7 @@ type DescribeGroupInput struct { // GroupName is a required field GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"` - // The namespace. Currently, you should set this to default. + // The namespace of the group that you want described. // // Namespace is a required field Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` @@ -24167,6 +24375,158 @@ func (s *DescribeGroupInput) SetNamespace(v string) *DescribeGroupInput { return s } +type DescribeGroupMembershipInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the Amazon Web Services account that the group is in. Currently, + // you use the ID for the Amazon Web Services account that contains your Amazon + // QuickSight account. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The name of the group that you want to search. + // + // GroupName is a required field + GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"` + + // The user name of the user that you want to search for. + // + // MemberName is a required field + MemberName *string `location:"uri" locationName:"MemberName" min:"1" type:"string" required:"true"` + + // The namespace that includes the group you are searching within. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeGroupMembershipInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeGroupMembershipInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeGroupMembershipInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeGroupMembershipInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.GroupName == nil { + invalidParams.Add(request.NewErrParamRequired("GroupName")) + } + if s.GroupName != nil && len(*s.GroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) + } + if s.MemberName == nil { + invalidParams.Add(request.NewErrParamRequired("MemberName")) + } + if s.MemberName != nil && len(*s.MemberName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MemberName", 1)) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *DescribeGroupMembershipInput) SetAwsAccountId(v string) *DescribeGroupMembershipInput { + s.AwsAccountId = &v + return s +} + +// SetGroupName sets the GroupName field's value. +func (s *DescribeGroupMembershipInput) SetGroupName(v string) *DescribeGroupMembershipInput { + s.GroupName = &v + return s +} + +// SetMemberName sets the MemberName field's value. +func (s *DescribeGroupMembershipInput) SetMemberName(v string) *DescribeGroupMembershipInput { + s.MemberName = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *DescribeGroupMembershipInput) SetNamespace(v string) *DescribeGroupMembershipInput { + s.Namespace = &v + return s +} + +type DescribeGroupMembershipOutput struct { + _ struct{} `type:"structure"` + + // A member of an Amazon QuickSight group. Currently, group members must be + // users. Groups can't be members of another group. . + GroupMember *GroupMember `type:"structure"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeGroupMembershipOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeGroupMembershipOutput) GoString() string { + return s.String() +} + +// SetGroupMember sets the GroupMember field's value. +func (s *DescribeGroupMembershipOutput) SetGroupMember(v *GroupMember) *DescribeGroupMembershipOutput { + s.GroupMember = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *DescribeGroupMembershipOutput) SetRequestId(v string) *DescribeGroupMembershipOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeGroupMembershipOutput) SetStatus(v int64) *DescribeGroupMembershipOutput { + s.Status = &v + return s +} + type DescribeGroupOutput struct { _ struct{} `type:"structure"` @@ -27179,6 +27539,84 @@ func (s *GroupMember) SetMemberName(v string) *GroupMember { return s } +// A GroupSearchFilter object that you want to apply to your search. +type GroupSearchFilter struct { + _ struct{} `type:"structure"` + + // The name of the value that you want to use as a filter, for example "Name": + // "GROUP_NAME". Currently, the only supported name is GROUP_NAME. + // + // Name is a required field + Name *string `type:"string" required:"true" enum:"GroupFilterAttribute"` + + // The comparison operator that you want to use as a filter, for example "Operator": + // "StartsWith". Currently, the only supported operator is StartsWith. + // + // Operator is a required field + Operator *string `type:"string" required:"true" enum:"GroupFilterOperator"` + + // The value of the named item, in this case GROUP_NAME, that you want to use + // as a filter. + // + // Value is a required field + Value *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GroupSearchFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GroupSearchFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GroupSearchFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GroupSearchFilter"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Operator == nil { + invalidParams.Add(request.NewErrParamRequired("Operator")) + } + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *GroupSearchFilter) SetName(v string) *GroupSearchFilter { + s.Name = &v + return s +} + +// SetOperator sets the Operator field's value. +func (s *GroupSearchFilter) SetOperator(v string) *GroupSearchFilter { + s.Operator = &v + return s +} + +// SetValue sets the Value field's value. +func (s *GroupSearchFilter) SetValue(v string) *GroupSearchFilter { + s.Value = &v + return s +} + // The display options for gutter spacing between tiles on a sheet. type GutterStyle struct { _ struct{} `type:"structure"` @@ -29107,7 +29545,7 @@ type ListGroupMembershipsInput struct { // The maximum number of results to return from this request. MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` - // The namespace. Currently, you should set this to default. + // The namespace of the group that you want a list of users from. // // Namespace is a required field Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` @@ -29266,7 +29704,7 @@ type ListGroupsInput struct { // The maximum number of results to return. MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` - // The namespace. Currently, you should set this to default. + // The namespace that you want a list of groups from. // // Namespace is a required field Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` @@ -32686,7 +33124,7 @@ type RegisterUserInput struct { // A set of custom permissions includes any combination of these restrictions. // Currently, you need to create the profile names for custom permission sets // by using the Amazon QuickSight console. Then, you use the RegisterUser API - // operation to assign the named set of permissions to a QuickSight user. + // operation to assign the named set of permissions to a Amazon QuickSight user. // // Amazon QuickSight custom permissions are applied through IAM policies. Therefore, // they override the permissions typically granted by assigning Amazon QuickSight @@ -34731,6 +35169,181 @@ func (s *SearchFoldersOutput) SetStatus(v int64) *SearchFoldersOutput { return s } +type SearchGroupsInput struct { + _ struct{} `type:"structure"` + + // The ID for the Amazon Web Services account that the group is in. Currently, + // you use the ID for the Amazon Web Services account that contains your Amazon + // QuickSight account. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The structure for the search filters that you want to apply to your search. + // + // Filters is a required field + Filters []*GroupSearchFilter `min:"1" type:"list" required:"true"` + + // The maximum number of results to return from this request. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + + // The namespace that you want to search. + // + // Namespace is a required field + Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` + + // A pagination token that can be used in a subsequent request. + NextToken *string `location:"querystring" locationName:"next-token" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SearchGroupsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SearchGroupsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SearchGroupsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SearchGroupsInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.Filters == nil { + invalidParams.Add(request.NewErrParamRequired("Filters")) + } + if s.Filters != nil && len(s.Filters) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Filters", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Namespace != nil && len(*s.Namespace) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Namespace", 1)) + } + if s.Filters != nil { + for i, v := range s.Filters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *SearchGroupsInput) SetAwsAccountId(v string) *SearchGroupsInput { + s.AwsAccountId = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *SearchGroupsInput) SetFilters(v []*GroupSearchFilter) *SearchGroupsInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *SearchGroupsInput) SetMaxResults(v int64) *SearchGroupsInput { + s.MaxResults = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *SearchGroupsInput) SetNamespace(v string) *SearchGroupsInput { + s.Namespace = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *SearchGroupsInput) SetNextToken(v string) *SearchGroupsInput { + s.NextToken = &v + return s +} + +type SearchGroupsOutput struct { + _ struct{} `type:"structure"` + + // A list of groups in a specified namespace that match the filters you set + // in your SearchGroups request. + GroupList []*Group `type:"list"` + + // A pagination token that can be used in a subsequent request. + NextToken *string `type:"string"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SearchGroupsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SearchGroupsOutput) GoString() string { + return s.String() +} + +// SetGroupList sets the GroupList field's value. +func (s *SearchGroupsOutput) SetGroupList(v []*Group) *SearchGroupsOutput { + s.GroupList = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *SearchGroupsOutput) SetNextToken(v string) *SearchGroupsOutput { + s.NextToken = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *SearchGroupsOutput) SetRequestId(v string) *SearchGroupsOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *SearchGroupsOutput) SetStatus(v int64) *SearchGroupsOutput { + s.Status = &v + return s +} + // The parameters for ServiceNow. type ServiceNowParameters struct { _ struct{} `type:"structure"` @@ -40091,7 +40704,7 @@ type UpdateGroupInput struct { // GroupName is a required field GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"` - // The namespace. Currently, you should set this to default. + // The namespace of the group that you want to update. // // Namespace is a required field Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` @@ -41623,7 +42236,7 @@ type UpdateUserInput struct { // A set of custom permissions includes any combination of these restrictions. // Currently, you need to create the profile names for custom permission sets // by using the Amazon QuickSight console. Then, you use the RegisterUser API - // operation to assign the named set of permissions to a QuickSight user. + // operation to assign the named set of permissions to a Amazon QuickSight user. // // Amazon QuickSight custom permissions are applied through IAM policies. Therefore, // they override the permissions typically granted by assigning Amazon QuickSight @@ -42773,6 +43386,30 @@ func GeoSpatialDataRole_Values() []string { } } +const ( + // GroupFilterAttributeGroupName is a GroupFilterAttribute enum value + GroupFilterAttributeGroupName = "GROUP_NAME" +) + +// GroupFilterAttribute_Values returns all elements of the GroupFilterAttribute enum +func GroupFilterAttribute_Values() []string { + return []string{ + GroupFilterAttributeGroupName, + } +} + +const ( + // GroupFilterOperatorStartsWith is a GroupFilterOperator enum value + GroupFilterOperatorStartsWith = "StartsWith" +) + +// GroupFilterOperator_Values returns all elements of the GroupFilterOperator enum +func GroupFilterOperator_Values() []string { + return []string{ + GroupFilterOperatorStartsWith, + } +} + const ( // IdentityStoreQuicksight is a IdentityStore enum value IdentityStoreQuicksight = "QUICKSIGHT" diff --git a/service/quicksight/quicksightiface/interface.go b/service/quicksight/quicksightiface/interface.go index b219cc90c1e..2d270ba41a4 100644 --- a/service/quicksight/quicksightiface/interface.go +++ b/service/quicksight/quicksightiface/interface.go @@ -252,6 +252,10 @@ type QuickSightAPI interface { DescribeGroupWithContext(aws.Context, *quicksight.DescribeGroupInput, ...request.Option) (*quicksight.DescribeGroupOutput, error) DescribeGroupRequest(*quicksight.DescribeGroupInput) (*request.Request, *quicksight.DescribeGroupOutput) + DescribeGroupMembership(*quicksight.DescribeGroupMembershipInput) (*quicksight.DescribeGroupMembershipOutput, error) + DescribeGroupMembershipWithContext(aws.Context, *quicksight.DescribeGroupMembershipInput, ...request.Option) (*quicksight.DescribeGroupMembershipOutput, error) + DescribeGroupMembershipRequest(*quicksight.DescribeGroupMembershipInput) (*request.Request, *quicksight.DescribeGroupMembershipOutput) + DescribeIAMPolicyAssignment(*quicksight.DescribeIAMPolicyAssignmentInput) (*quicksight.DescribeIAMPolicyAssignmentOutput, error) DescribeIAMPolicyAssignmentWithContext(aws.Context, *quicksight.DescribeIAMPolicyAssignmentInput, ...request.Option) (*quicksight.DescribeIAMPolicyAssignmentOutput, error) DescribeIAMPolicyAssignmentRequest(*quicksight.DescribeIAMPolicyAssignmentInput) (*request.Request, *quicksight.DescribeIAMPolicyAssignmentOutput) @@ -462,6 +466,10 @@ type QuickSightAPI interface { SearchFoldersWithContext(aws.Context, *quicksight.SearchFoldersInput, ...request.Option) (*quicksight.SearchFoldersOutput, error) SearchFoldersRequest(*quicksight.SearchFoldersInput) (*request.Request, *quicksight.SearchFoldersOutput) + SearchGroups(*quicksight.SearchGroupsInput) (*quicksight.SearchGroupsOutput, error) + SearchGroupsWithContext(aws.Context, *quicksight.SearchGroupsInput, ...request.Option) (*quicksight.SearchGroupsOutput, error) + SearchGroupsRequest(*quicksight.SearchGroupsInput) (*request.Request, *quicksight.SearchGroupsOutput) + TagResource(*quicksight.TagResourceInput) (*quicksight.TagResourceOutput, error) TagResourceWithContext(aws.Context, *quicksight.TagResourceInput, ...request.Option) (*quicksight.TagResourceOutput, error) TagResourceRequest(*quicksight.TagResourceInput) (*request.Request, *quicksight.TagResourceOutput) diff --git a/service/ram/api.go b/service/ram/api.go index f110ca44eb3..1550c955124 100644 --- a/service/ram/api.go +++ b/service/ram/api.go @@ -2564,8 +2564,8 @@ func (c *RAM) ListResourcesRequest(input *ListResourcesInput) (req *request.Requ // ListResources API operation for AWS Resource Access Manager. // -// Lists the resources that you added to a resource shares or the resources -// that are shared with you. +// Lists the resources that you added to a resource share or the resources that +// are shared with you. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4769,9 +4769,10 @@ type GetResourceSharesInput struct { // Specifies that you want to retrieve details of only those resource shares // that match the following: // - // * SELF – resources that you are sharing + // * SELF – resource shares that your account shares with other accounts // - // * OTHER-ACCOUNTS – resources that other accounts share with you + // * OTHER-ACCOUNTS – resource shares that other accounts share with your + // account // // ResourceOwner is a required field ResourceOwner *string `locationName:"resourceOwner" type:"string" required:"true" enum:"ResourceOwner"` @@ -5807,9 +5808,9 @@ type ListPrincipalsInput struct { // Specifies that you want to list information for only resource shares that // match the following: // - // * SELF – resources that you are sharing + // * SELF – principals that your account is sharing resources with // - // * OTHER-ACCOUNTS – resources that other accounts share with you + // * OTHER-ACCOUNTS – principals that are sharing resources with your account // // ResourceOwner is a required field ResourceOwner *string `locationName:"resourceOwner" type:"string" required:"true" enum:"ResourceOwner"` @@ -6232,9 +6233,9 @@ type ListResourcesInput struct { // Specifies that you want to list only the resource shares that match the following: // - // * SELF – resources that you are sharing + // * SELF – resources that your account shares with other accounts // - // * OTHER-ACCOUNTS – resources that other accounts share with you + // * OTHER-ACCOUNTS – resources that other accounts share with your account // // ResourceOwner is a required field ResourceOwner *string `locationName:"resourceOwner" type:"string" required:"true" enum:"ResourceOwner"`