aws-sdk-connect 1.74.0 → 1.75.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -489,6 +489,8 @@ module Aws::Connect
489
489
  S3Config = Shapes::StructureShape.new(name: 'S3Config')
490
490
  SearchAvailablePhoneNumbersRequest = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersRequest')
491
491
  SearchAvailablePhoneNumbersResponse = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersResponse')
492
+ SearchSecurityProfilesRequest = Shapes::StructureShape.new(name: 'SearchSecurityProfilesRequest')
493
+ SearchSecurityProfilesResponse = Shapes::StructureShape.new(name: 'SearchSecurityProfilesResponse')
492
494
  SearchUsersRequest = Shapes::StructureShape.new(name: 'SearchUsersRequest')
493
495
  SearchUsersResponse = Shapes::StructureShape.new(name: 'SearchUsersResponse')
494
496
  SearchVocabulariesRequest = Shapes::StructureShape.new(name: 'SearchVocabulariesRequest')
@@ -501,8 +503,13 @@ module Aws::Connect
501
503
  SecurityProfileIds = Shapes::ListShape.new(name: 'SecurityProfileIds')
502
504
  SecurityProfileName = Shapes::StringShape.new(name: 'SecurityProfileName')
503
505
  SecurityProfilePermission = Shapes::StringShape.new(name: 'SecurityProfilePermission')
506
+ SecurityProfileSearchConditionList = Shapes::ListShape.new(name: 'SecurityProfileSearchConditionList')
507
+ SecurityProfileSearchCriteria = Shapes::StructureShape.new(name: 'SecurityProfileSearchCriteria')
508
+ SecurityProfileSearchSummary = Shapes::StructureShape.new(name: 'SecurityProfileSearchSummary')
504
509
  SecurityProfileSummary = Shapes::StructureShape.new(name: 'SecurityProfileSummary')
505
510
  SecurityProfileSummaryList = Shapes::ListShape.new(name: 'SecurityProfileSummaryList')
511
+ SecurityProfilesSearchFilter = Shapes::StructureShape.new(name: 'SecurityProfilesSearchFilter')
512
+ SecurityProfilesSearchSummaryList = Shapes::ListShape.new(name: 'SecurityProfilesSearchSummaryList')
506
513
  SecurityToken = Shapes::StringShape.new(name: 'SecurityToken')
507
514
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
508
515
  SingleSelectOptions = Shapes::ListShape.new(name: 'SingleSelectOptions')
@@ -2176,6 +2183,18 @@ module Aws::Connect
2176
2183
  SearchAvailablePhoneNumbersResponse.add_member(:available_numbers_list, Shapes::ShapeRef.new(shape: AvailableNumbersList, location_name: "AvailableNumbersList"))
2177
2184
  SearchAvailablePhoneNumbersResponse.struct_class = Types::SearchAvailablePhoneNumbersResponse
2178
2185
 
2186
+ SearchSecurityProfilesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
2187
+ SearchSecurityProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken"))
2188
+ SearchSecurityProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location_name: "MaxResults", metadata: {"box"=>true}))
2189
+ SearchSecurityProfilesRequest.add_member(:search_criteria, Shapes::ShapeRef.new(shape: SecurityProfileSearchCriteria, location_name: "SearchCriteria"))
2190
+ SearchSecurityProfilesRequest.add_member(:search_filter, Shapes::ShapeRef.new(shape: SecurityProfilesSearchFilter, location_name: "SearchFilter"))
2191
+ SearchSecurityProfilesRequest.struct_class = Types::SearchSecurityProfilesRequest
2192
+
2193
+ SearchSecurityProfilesResponse.add_member(:security_profiles, Shapes::ShapeRef.new(shape: SecurityProfilesSearchSummaryList, location_name: "SecurityProfiles"))
2194
+ SearchSecurityProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken"))
2195
+ SearchSecurityProfilesResponse.add_member(:approximate_total_count, Shapes::ShapeRef.new(shape: ApproximateTotalCount, location_name: "ApproximateTotalCount"))
2196
+ SearchSecurityProfilesResponse.struct_class = Types::SearchSecurityProfilesResponse
2197
+
2179
2198
  SearchUsersRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
2180
2199
  SearchUsersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken"))
2181
2200
  SearchUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location_name: "MaxResults", metadata: {"box"=>true}))
@@ -2217,6 +2236,21 @@ module Aws::Connect
2217
2236
 
2218
2237
  SecurityProfileIds.member = Shapes::ShapeRef.new(shape: SecurityProfileId)
2219
2238
 
2239
+ SecurityProfileSearchConditionList.member = Shapes::ShapeRef.new(shape: SecurityProfileSearchCriteria)
2240
+
2241
+ SecurityProfileSearchCriteria.add_member(:or_conditions, Shapes::ShapeRef.new(shape: SecurityProfileSearchConditionList, location_name: "OrConditions"))
2242
+ SecurityProfileSearchCriteria.add_member(:and_conditions, Shapes::ShapeRef.new(shape: SecurityProfileSearchConditionList, location_name: "AndConditions"))
2243
+ SecurityProfileSearchCriteria.add_member(:string_condition, Shapes::ShapeRef.new(shape: StringCondition, location_name: "StringCondition"))
2244
+ SecurityProfileSearchCriteria.struct_class = Types::SecurityProfileSearchCriteria
2245
+
2246
+ SecurityProfileSearchSummary.add_member(:id, Shapes::ShapeRef.new(shape: SecurityProfileId, location_name: "Id"))
2247
+ SecurityProfileSearchSummary.add_member(:organization_resource_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "OrganizationResourceId"))
2248
+ SecurityProfileSearchSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
2249
+ SecurityProfileSearchSummary.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location_name: "SecurityProfileName"))
2250
+ SecurityProfileSearchSummary.add_member(:description, Shapes::ShapeRef.new(shape: SecurityProfileDescription, location_name: "Description"))
2251
+ SecurityProfileSearchSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
2252
+ SecurityProfileSearchSummary.struct_class = Types::SecurityProfileSearchSummary
2253
+
2220
2254
  SecurityProfileSummary.add_member(:id, Shapes::ShapeRef.new(shape: SecurityProfileId, location_name: "Id"))
2221
2255
  SecurityProfileSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
2222
2256
  SecurityProfileSummary.add_member(:name, Shapes::ShapeRef.new(shape: SecurityProfileName, location_name: "Name"))
@@ -2224,6 +2258,11 @@ module Aws::Connect
2224
2258
 
2225
2259
  SecurityProfileSummaryList.member = Shapes::ShapeRef.new(shape: SecurityProfileSummary)
2226
2260
 
2261
+ SecurityProfilesSearchFilter.add_member(:tag_filter, Shapes::ShapeRef.new(shape: ControlPlaneTagFilter, location_name: "TagFilter"))
2262
+ SecurityProfilesSearchFilter.struct_class = Types::SecurityProfilesSearchFilter
2263
+
2264
+ SecurityProfilesSearchSummaryList.member = Shapes::ShapeRef.new(shape: SecurityProfileSearchSummary)
2265
+
2227
2266
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
2228
2267
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
2229
2268
 
@@ -4347,6 +4386,25 @@ module Aws::Connect
4347
4386
  )
4348
4387
  end)
4349
4388
 
4389
+ api.add_operation(:search_security_profiles, Seahorse::Model::Operation.new.tap do |o|
4390
+ o.name = "SearchSecurityProfiles"
4391
+ o.http_method = "POST"
4392
+ o.http_request_uri = "/search-security-profiles"
4393
+ o.input = Shapes::ShapeRef.new(shape: SearchSecurityProfilesRequest)
4394
+ o.output = Shapes::ShapeRef.new(shape: SearchSecurityProfilesResponse)
4395
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4396
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
4397
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4398
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4399
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4400
+ o[:pager] = Aws::Pager.new(
4401
+ limit_key: "max_results",
4402
+ tokens: {
4403
+ "next_token" => "next_token"
4404
+ }
4405
+ )
4406
+ end)
4407
+
4350
4408
  api.add_operation(:search_users, Seahorse::Model::Operation.new.tap do |o|
4351
4409
  o.name = "SearchUsers"
4352
4410
  o.http_method = "POST"