@@ -340,6 +340,126 @@ def get_aws_integration_iam_permissions_with_http_info(opts = {})
340340 return data , status_code , headers
341341 end
342342
343+ # Get resource collection IAM permissions.
344+ #
345+ # @see #get_aws_integration_iam_permissions_resource_collection_with_http_info
346+ def get_aws_integration_iam_permissions_resource_collection ( opts = { } )
347+ data , _status_code , _headers = get_aws_integration_iam_permissions_resource_collection_with_http_info ( opts )
348+ data
349+ end
350+
351+ # Get resource collection IAM permissions.
352+ #
353+ # Get all resource collection AWS IAM permissions required for the AWS integration.
354+ #
355+ # @param opts [Hash] the optional parameters
356+ # @return [Array<(AWSIntegrationIamPermissionsResponse, Integer, Hash)>] AWSIntegrationIamPermissionsResponse data, response status code and response headers
357+ def get_aws_integration_iam_permissions_resource_collection_with_http_info ( opts = { } )
358+
359+ if @api_client . config . debugging
360+ @api_client . config . logger . debug 'Calling API: AWSIntegrationAPI.get_aws_integration_iam_permissions_resource_collection ...'
361+ end
362+ # resource path
363+ local_var_path = '/api/v2/integration/aws/iam_permissions/resource_collection'
364+
365+ # query parameters
366+ query_params = opts [ :query_params ] || { }
367+
368+ # header parameters
369+ header_params = opts [ :header_params ] || { }
370+ # HTTP header 'Accept' (if needed)
371+ header_params [ 'Accept' ] = @api_client . select_header_accept ( [ 'application/json' ] )
372+
373+ # form parameters
374+ form_params = opts [ :form_params ] || { }
375+
376+ # http body (model)
377+ post_body = opts [ :debug_body ]
378+
379+ # return_type
380+ return_type = opts [ :debug_return_type ] || 'AWSIntegrationIamPermissionsResponse'
381+
382+ # auth_names
383+ auth_names = opts [ :debug_auth_names ] || [ :apiKeyAuth , :appKeyAuth ]
384+
385+ new_options = opts . merge (
386+ :operation => :get_aws_integration_iam_permissions_resource_collection ,
387+ :header_params => header_params ,
388+ :query_params => query_params ,
389+ :form_params => form_params ,
390+ :body => post_body ,
391+ :auth_names => auth_names ,
392+ :return_type => return_type ,
393+ :api_version => "V2"
394+ )
395+
396+ data , status_code , headers = @api_client . call_api ( Net ::HTTP ::Get , local_var_path , new_options )
397+ if @api_client . config . debugging
398+ @api_client . config . logger . debug "API called: AWSIntegrationAPI#get_aws_integration_iam_permissions_resource_collection\n Data: #{ data . inspect } \n Status code: #{ status_code } \n Headers: #{ headers } "
399+ end
400+ return data , status_code , headers
401+ end
402+
403+ # Get AWS integration standard IAM permissions.
404+ #
405+ # @see #get_aws_integration_iam_permissions_standard_with_http_info
406+ def get_aws_integration_iam_permissions_standard ( opts = { } )
407+ data , _status_code , _headers = get_aws_integration_iam_permissions_standard_with_http_info ( opts )
408+ data
409+ end
410+
411+ # Get AWS integration standard IAM permissions.
412+ #
413+ # Get all standard AWS IAM permissions required for the AWS integration.
414+ #
415+ # @param opts [Hash] the optional parameters
416+ # @return [Array<(AWSIntegrationIamPermissionsResponse, Integer, Hash)>] AWSIntegrationIamPermissionsResponse data, response status code and response headers
417+ def get_aws_integration_iam_permissions_standard_with_http_info ( opts = { } )
418+
419+ if @api_client . config . debugging
420+ @api_client . config . logger . debug 'Calling API: AWSIntegrationAPI.get_aws_integration_iam_permissions_standard ...'
421+ end
422+ # resource path
423+ local_var_path = '/api/v2/integration/aws/iam_permissions/standard'
424+
425+ # query parameters
426+ query_params = opts [ :query_params ] || { }
427+
428+ # header parameters
429+ header_params = opts [ :header_params ] || { }
430+ # HTTP header 'Accept' (if needed)
431+ header_params [ 'Accept' ] = @api_client . select_header_accept ( [ 'application/json' ] )
432+
433+ # form parameters
434+ form_params = opts [ :form_params ] || { }
435+
436+ # http body (model)
437+ post_body = opts [ :debug_body ]
438+
439+ # return_type
440+ return_type = opts [ :debug_return_type ] || 'AWSIntegrationIamPermissionsResponse'
441+
442+ # auth_names
443+ auth_names = opts [ :debug_auth_names ] || [ :apiKeyAuth , :appKeyAuth ]
444+
445+ new_options = opts . merge (
446+ :operation => :get_aws_integration_iam_permissions_standard ,
447+ :header_params => header_params ,
448+ :query_params => query_params ,
449+ :form_params => form_params ,
450+ :body => post_body ,
451+ :auth_names => auth_names ,
452+ :return_type => return_type ,
453+ :api_version => "V2"
454+ )
455+
456+ data , status_code , headers = @api_client . call_api ( Net ::HTTP ::Get , local_var_path , new_options )
457+ if @api_client . config . debugging
458+ @api_client . config . logger . debug "API called: AWSIntegrationAPI#get_aws_integration_iam_permissions_standard\n Data: #{ data . inspect } \n Status code: #{ status_code } \n Headers: #{ headers } "
459+ end
460+ return data , status_code , headers
461+ end
462+
343463 # List all AWS integrations.
344464 #
345465 # @see #list_aws_accounts_with_http_info
0 commit comments